| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
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:14
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:25
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:234
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h