12#ifndef ROOT_TMessageHandler
13#define ROOT_TMessageHandler
int Int_t
Signed integer 4 bytes (int).
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
TClass instances represent classes, structs and namespaces in the ROOT type system.
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.
virtual ~TMessageHandler()
Clean up the message handler.
Bool_t HandleDerived() const
virtual void Remove()
Remove this message handler from the list of messages handlers.
virtual void HandleMessage(Long_t id, const TObject *obj)
Store message origin, keep statistics and call Notify().
void Print(Option_t *option="") const override
Print statistics for this message handler.
virtual Int_t GetTotalMessageCount() const
Return total number of messages.
virtual void Add()
Add this message handler to the list of messages handlers.
void * GetSender() override
Bool_t Notify() override
This method must be overridden to handle object notification.
Mother of all ROOT objects.
TObject()
TObject constructor.
TQObject(const TQObject &)=delete
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.