ATLAS Offline Software
Public Member Functions | List of all members
xAOD::TVirtualIncidentListener Class Referenceabstract

Class providing an interface for classes listening to xAOD incidents. More...

#include <TVirtualIncidentListener.h>

Collaboration diagram for xAOD::TVirtualIncidentListener:

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...
 

Detailed Description

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.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h

Definition at line 25 of file TVirtualIncidentListener.h.

Constructor & Destructor Documentation

◆ ~TVirtualIncidentListener()

virtual xAOD::TVirtualIncidentListener::~TVirtualIncidentListener ( )
inlinevirtual

Virtual destructor, to make vtable happy...

Definition at line 29 of file TVirtualIncidentListener.h.

29 {}

Member Function Documentation

◆ handle()

virtual void xAOD::TVirtualIncidentListener::handle ( const TIncident inc)
pure virtual

Function that is called when certain "incidents" happen.


The documentation for this class was generated from the following file: