29 if ( 0 == ni ) {
return 0 ; }
42 ( const
std::
string& name ,
89 if (alg != 0)
m_svc -> setCurrentAlg ( alg ).ignore() ;
96 if (alg != 0)
m_svc -> unSetCurrentAlg ( alg ).ignore() ;
103 if (alg != 0)
m_svc -> setCurrentAlg ( alg ).ignore() ;
110 if (alg != 0)
m_svc -> unSetCurrentAlg ( alg ).ignore() ;
117 if (alg != 0)
m_svc -> setCurrentAlg ( alg ).ignore() ;
125 if (alg != 0)
m_svc -> unSetCurrentAlg ( alg ).ignore() ;
virtual void afterInitialize(INamedInterface *a)
Definition of the MsgStream class used to transmit messages.
virtual StatusCode finalize()
StatusCode service(const std::string &name, T *&svc, bool createIf=false) const
Access a service by name, creating it if it doesn't already exist.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual const std::string & name() const
Retrieve the name of the instance.
Description: Register/Unregister the AlgContext of each algorithm before entering the algorithm and a...
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
virtual ~AlgContextAuditor()
virtual destructor
virtual StatusCode initialize()
standard initialization,
IAlgContextSvc * m_svc
the pointer to Algorithm Context Service
virtual void afterFinalize(INamedInterface *a)
bool isFailure() const
Test for a status code of FAILURE.
virtual void afterExecute(INamedInterface *a, const StatusCode &s)
#define DECLARE_COMPONENT(type)
virtual StatusCode finalize()
standard finalization,
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
virtual void beforeExecute(INamedInterface *a)
The IAlgorithm is the interface implemented by the Algorithm base class.
IInterface compliant class extending IInterface with the name() method.
virtual unsigned long release()=0
Release Interface instance.
virtual void beforeInitialize(INamedInterface *a)
virtual void beforeFinalize(INamedInterface *a)
virtual StatusCode initialize()
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Base class from which all concrete auditor classes should be derived.