IIncidentListener.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IIncidentListener.h,v 1.4 2004/07/19 06:47:55 mato Exp $
2 #ifndef GAUDIKERNEL_IINCIDENTLISTENER_H
3 #define GAUDIKERNEL_IINCIDENTLISTENER_H
4 
5 // Include Files
6 #include "GaudiKernel/IInterface.h"
7 #include "GaudiKernel/Incident.h"
8 #include <string>
9 
14 class GAUDI_API IIncidentListener: virtual public IInterface {
15 public:
18 
20  virtual void handle(const Incident&) = 0;
21 };
22 
23 #endif // GAUDIKERNEL_IINCIDENTLISTENER_H
#define GAUDI_API
Definition: Kernel.h:108
The interface implemented by any class wanting to listen to Incidents.
Definition of the basic interface.
Definition: IInterface.h:160
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
Base class for all Incidents (computing events).
Definition: Incident.h:16