| The Gaudi Framework v32r1 (f65d50dc)

IIncidentListener.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IINCIDENTLISTENER_H
2 #define GAUDIKERNEL_IINCIDENTLISTENER_H
3
4 // Include Files
5 #include "GaudiKernel/IInterface.h"
6 #include "GaudiKernel/Incident.h"
7 #include <string>
8
9 class EventContext;
10
15 class GAUDI_API IIncidentListener : virtual public IInterface {
16 public:
18 DeclareInterfaceID( IIncidentListener, 2, 0 );
19
21 virtual void handle( const Incident& ) = 0;
22 };
23
24 #endif // GAUDIKERNEL_IINCIDENTLISTENER_H
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
Incident.h
IIncidentListener
The interface implemented by any class wanting to listen to Incidents.
Definition: IIncidentListener.h:15
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h