12 #ifndef ROOT_TMessageHandler
13 #define ROOT_TMessageHandler
virtual Int_t GetTotalMessageCount() const
Return total number of messages.
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.
void Emit(const char *signal)
Acitvate signal without args.
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 void Print(Option_t *option="") const
Print statistics for this message handler.
virtual Int_t GetMessageCount(Int_t messId) const
Return counter for message with ID=messid.
virtual ~TMessageHandler()
Clean up the message handler.
virtual void Remove()
Remove this message handler from the list of messages handlers.
Mother of all ROOT objects.
TMessageHandler(const TClass *cl, Bool_t derived=kTRUE)