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