#ifndef GAUDIEXAMPLES_INCIDENTLISTENERTESTALG_H_ #define GAUDIEXAMPLES_INCIDENTLISTENERTESTALG_H_ #include "GaudiAlg/GaudiAlgorithm.h" #include class IIncidentSvc; class IncidentListenerTest; class IncidentListenerTestAlg: public GaudiAlgorithm { public: IncidentListenerTestAlg(const std::string& name , ISvcLocator* pSvcLocator ); virtual ~IncidentListenerTestAlg(); StatusCode initialize(); StatusCode execute(); StatusCode finalize(); static std::string &incident(); private: static std::string s_incidentType; IIncidentSvc *m_incSvc; std::auto_ptr m_listener[6]; }; #endif /*GAUDIEXAMPLES_INCIDENTLISTENERTESTALG_H_*/