| The Gaudi Framework v27r1

- 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
13 class GAUDI_API IIncidentListener: virtual public IInterface {
14 public:
16 DeclareInterfaceID(IIncidentListener,2,0);
17
19 virtual void handle(const Incident&) = 0;
20 };
21
22 #endif // GAUDIKERNEL_IINCIDENTLISTENER_H
Incident.h
IIncidentListener
The interface implemented by any class wanting to listen to Incidents.
Definition: IIncidentListener.h:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
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
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h