10 #include "GaudiKernel/MsgStream.h"
11 #include "GaudiKernel/ISvcLocator.h"
12 #include "GaudiKernel/IIncidentSvc.h"
33 declareProperty (
"Check" , m_check ,
"Flag to perform more checks" );
46 m_inc -> removeListener (
this ) ;
59 m_inc -> addListener (
this , IncidentType::BeginEvent ) ;
60 m_inc -> addListener (
this , IncidentType::EndEvent ) ;
66 <<
"Non-empty stack of algorithms #"
80 <<
"Non-empty stack of algorithms #"
86 m_inc -> removeListener (
this ) ;
155 <<
"Non-empty stack of algorithms #"
Definition of the MsgStream class used to transmit messages.
StatusCode initialize() override
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode finalize() override
void handle(const Incident &) override
handle incident
SmartIF< IIncidentSvc > m_inc
pointer to Incident Service
StatusCode unSetCurrentAlg(IAlgorithm *a) override
remove the algorithm ("pop_back")
bool isFailure() const
Test for a status code of FAILURE.
boost::thread_specific_ptr< IAlgContextSvc::Algorithms > m_algorithms
the stack of current algorithms
std::vector< IAlgorithm * > Algorithms
the actual type of algorithm' stack
This class is used for returning status codes from appropriate routines.
#define DECLARE_COMPONENT(type)
The IAlgorithm is the interface implemented by the Algorithm base class.
Base class used to extend a class implementing other interfaces.
Base class for all Incidents (computing events).
StatusCode service(const std::string &name, const T *&psvc, bool createIf=true) const
Access a service by name, creating it if it doesn't already exist.
StatusCode initialize() override
standard initialization of the service
StatusCode finalize() override
standard finalization of the service
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
StatusCode setCurrentAlg(IAlgorithm *a) override
set the currently executing algorithm ("push_back")
IAlgorithm * currentAlg() const override
accessor to current algorithm: