2 #ifndef INTERFACES_IINCIDENTSVC_H
3 #define INTERFACES_IINCIDENTSVC_H
33 const std::string&
type =
"",
36 bool singleShot =
false ) = 0;
42 const std::string&
type =
"" ) = 0;
44 virtual void getListeners(std::vector<IIncidentListener*>& lis,
45 const std::string&
type =
"")
const = 0;
50 virtual void fireIncident(
const Incident& incident ) = 0;
54 #endif // GAUDIKERNEL_IINCIDENTSVC_H
The interface implemented by any class wanting to listen to Incidents.
Definition of the basic interface.
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Base class for all Incidents (computing events).
The interface implemented by the IncidentSvc service.