ATLAS Offline Software
|
Class providing an interface for classes listening to xAOD incidents. More...
#include <TVirtualIncidentListener.h>
Public Member Functions | |
virtual | ~TVirtualIncidentListener () |
Virtual destructor, to make vtable happy... More... | |
virtual void | handle (const TIncident &inc)=0 |
Function that is called when certain "incidents" happen. More... | |
Class providing an interface for classes listening to xAOD incidents.
Generic xAOD reading code may want to be able to know when certain "incidents" happen during file processing. In order to do so, a user class has to implement this interface, and then the objects that want to receive incidents, have to register themselves in the xAOD::TEvent object that they want to listen to.
Naturally, the design here is taken straight from Gaudi's IncidentSvc.
Definition at line 25 of file TVirtualIncidentListener.h.
|
inlinevirtual |
Virtual destructor, to make vtable happy...
Definition at line 29 of file TVirtualIncidentListener.h.
Function that is called when certain "incidents" happen.