12 #ifndef ROOT_TMessageHandler 13 #define ROOT_TMessageHandler virtual Int_t GetMessageCount(Int_t messId) const
Return counter for message with ID=messid.
Handle messages that might be generated by the system.
virtual void Add()
Add this message handler to the list of messages handlers.
virtual void HandleMessage(Int_t id, const TObject *obj)
Store message origin, keep statistics and call Notify().
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
#define ClassDef(name, id)
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.
Bool_t HandleDerived() const
The ROOT global object gROOT contains a list of all defined classes.
virtual ~TMessageHandler()
Clean up the message handler.
virtual void Print(Option_t *option="") const
Print statistics for this message handler.
virtual void Remove()
Remove this message handler from the list of messages handlers.
Mother of all ROOT objects.
virtual Int_t GetTotalMessageCount() const
Return total number of messages.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
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.