Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IIncidentSvc Class Reference

The interface implemented by the IncidentSvc service. More...

#include <GaudiKernel/IIncidentSvc.h>

Inheritance diagram for IIncidentSvc:

IInterface List of all members.

Public Methods

virtual void addListener (IIncidentListener* lis, const std::string& type = "", long priority = 0 ) = 0
 Add listener. More...

virtual void removeListener (IIncidentListener* lis, const std::string& type = "" ) = 0
 Remove listener. More...

virtual void fireIncident ( const Incident& incident ) = 0
 Fire an Incident. More...


Static Public Methods

const InterfaceID& interfaceID ()
 Retrieve interface ID. More...


Detailed Description

The interface implemented by the IncidentSvc service.

It is used by Listeners to declare themselves that they are interested by Incidents of a certain type and by Incident originators.

Author(s):
Pere Mato

Definition at line 24 of file IIncidentSvc.h.


Member Function Documentation

void IIncidentSvc::addListener ( IIncidentListener * lis,
const std::string & type = "",
long priority = 0 ) [pure virtual]
 

Add listener.

Parameters:
lis   Listener address
type   Incident type
priority   Priority in handling incident

void IIncidentSvc::fireIncident ( const Incident & incident ) [pure virtual]
 

Fire an Incident.

Parameters:
Incident   being fired

const InterfaceID & IIncidentSvc::interfaceID ( ) [inline, static]
 

Retrieve interface ID.

Reimplemented from IInterface.

Definition at line 28 of file IIncidentSvc.h.

void IIncidentSvc::removeListener ( IIncidentListener * lis,
const std::string & type = "" ) [pure virtual]
 

Remove listener.

Parameters:
lis   Listener address
type   Incident type


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:12 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000