#include <TVirtualIncidentListener.h>
Public Member Functions | |
virtual | ~TVirtualIncidentListener () |
Virtual destructor, to make vtable happy... | |
virtual void | handle (const TIncident &inc)=0 |
Function that is called when certain "incidents" happen. |
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.