|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TMessageHandler
13 #define ROOT_TMessageHandler
Handle messages that might be generated by the system.
Bool_t HandleDerived() const
virtual ~TMessageHandler()
Clean up the message handler.
virtual Int_t GetMessageCount(Long_t messId) const
Return counter for message with ID=messid.
TMessageHandler(const TClass *cl, Bool_t derived=kTRUE)
Create a new message handler for class cl and add it to the list of message handlers.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
The TNamed class is the base class for all named ROOT classes.
virtual Bool_t Notify()
This method must be overridden to handle object notification.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Mother of all ROOT objects.
#define ClassDef(name, id)
virtual Int_t GetTotalMessageCount() const
Return total number of messages.
virtual void Print(Option_t *option="") const
Print statistics for this message handler.
virtual void Add()
Add this message handler to the list of messages handlers.
virtual void Remove()
Remove this message handler from the list of messages handlers.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual void HandleMessage(Long_t id, const TObject *obj)
Store message origin, keep statistics and call Notify().