#ifndef GAUDIEXAMPLES_INCIDENTLISTENERTEST_H_ #define GAUDIEXAMPLES_INCIDENTLISTENERTEST_H_ #include "GaudiKernel/IIncidentListener.h" #include "GaudiKernel/SmartIF.h" class ISvcLocator; class IMessageSvc; class IIncidentSvc; /** @class IncidentListenerTest IncidentListenerTest.h * */ class IncidentListenerTest: public implements1 { public: /// Constructor IncidentListenerTest( const std::string& name, ISvcLocator* svcloc, long shots = -1 ); /// Destructor virtual ~IncidentListenerTest(); /// Reimplements from IIncidentListener virtual void handle(const Incident& incident); private: std::string m_name; long m_shots; SmartIF m_msgSvc; SmartIF m_incSvc; }; #endif /*GAUDIEXAMPLES_INCIDENTLISTENERTEST_H_*/