13 : m_name( name ), m_pSvcLocator( pSvcLocator ), m_isInitialized( false ), m_isFinalized( false )
177 log <<
MSG::FATAL <<
" Exception with tag=" << Exception.
tag() <<
" is catched " <<
endmsg;
212 auto jos = service<IJobOptionsSvc>(
"JobOptionsSvc" );
219 return jos->setMyProperties(
name(),
this );
StatusCode sysInitialize() override
Initialization method invoked by the framework.
bool isEnabled() const override
constexpr static const auto FAILURE
Definition of the MsgStream class used to transmit messages.
virtual StatusCode finalize()
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
void beforeInitialize(INamedInterface *) override
StatusCode setProperties()
Set the auditor's properties.
void beforeBeginRun(INamedInterface *) override
StatusCode sysFinalize() override
Finalization method invoked by the framework.
void afterEndRun(INamedInterface *) override
std::string m_name
Auditor's name for identification.
Gaudi::Property< bool > m_isEnabled
void afterBeginRun(INamedInterface *) override
bool m_isInitialized
Auditor has been initialized flag.
void beforeExecute(INamedInterface *) override
SmartIF< ISvcLocator > m_pSvcLocator
Pointer to service locator service.
Auditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
void afterExecute(INamedInterface *, const StatusCode &) override
void updateMsgStreamOutputLevel(int level)
Update the output level of the cached MsgStream.
This class is used for returning status codes from appropriate routines.
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
MSG::Level setUpMessaging() const
Set up local caches.
void beforeReinitialize(INamedInterface *) override
void after(StandardEventType, INamedInterface *, const StatusCode &) override
virtual const std::string & tag() const
name tag for the exception, or exception type
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
const SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
constexpr static const auto SUCCESS
void afterInitialize(INamedInterface *) override
IInterface compliant class extending IInterface with the name() method.
void afterFinalize(INamedInterface *) override
void beforeFinalize(INamedInterface *) override
virtual StatusCode initialize()
void before(StandardEventType, INamedInterface *) override
The following methods are meant to be implemented by the child class...
Gaudi::Property< int > m_outputLevel
void beforeEndRun(INamedInterface *) override
const std::string & name() const override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
void afterReinitialize(INamedInterface *) override
bool m_isFinalized
Auditor has been finalized flag.