| The Gaudi Framework v29r1 (5cd95fa2)

- 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 {
17 public:
19 DeclareInterfaceID( IIncidentListener, 2, 0 );
20
22 virtual void handle( const Incident& ) = 0;
23 };
24
25 #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
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
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h