39 sc = aud->sysInitialize();
55 return i->
name() == item_name;
80 error() <<
"Error constructing Auditor " << it <<
endmsg;
105 if ( it->isEnabled() ) it->sysFinalize().
ignore();
117 if ( it->isEnabled() ) it->before(
evt, obj );
124 if ( it->isEnabled() ) it->before(
evt,
name );
131 if ( it->isEnabled() ) it->before(
evt, obj );
138 if ( it->isEnabled() ) it->before(
evt,
name );
146 if ( it->isEnabled() ) it->after(
evt, obj, sc );
153 if ( it->isEnabled() ) it->after(
evt,
name, sc );
160 if ( it->isEnabled() ) it->after(
evt, obj, sc );
167 if ( it->isEnabled() ) it->after(
evt,
name, sc );
172 #define OBSOLETION( name ) \ 173 void AuditorSvc::name( INamedInterface* ) { \ 174 throw GaudiException( "The method IAuditor::" #name " is obsolete do not call it.", "AuditorSvc::" #name, \ 175 StatusCode::FAILURE ); \ 186 throw GaudiException(
"The method afterExecute is obsolete do not call it.",
"AuditorSvc::afterExecute",
StatusCode initialize() override
Definition of the MsgStream class used to transmit messages.
StatusCode initialize() override
Small smart pointer class with automatic reference counting for IInterface.
Define general base for Gaudi exception.
StatusCode finalize() override
void after(StandardEventType, INamedInterface *, const StatusCode &) override
constexpr static const auto SUCCESS
StatusCode sysFinalize() override
const std::string & type() const
std::vector< SmartIF< IAuditor > > m_pAudList
void before(StandardEventType, INamedInterface *) override
The following methods are meant to be implemented by the child class...
bool isEnabled() const override
virtual const std::string & name() const =0
Retrieve the name of the instance.
#define DECLARE_COMPONENT(type)
const std::string & name() const override
Retrieve name of the service.
SmartIF< IAuditor > newAuditor_(MsgStream &, std::string_view)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Helper class to parse a string of format "type/name".
StatusCode sysInitialize() override
const std::string & name() const
This class is used for returning status codes from appropriate routines.
MsgStream & msgStream() const
Return an uninitialized MsgStream.
StatusCode sysFinalize() override
Finalize Service.
SmartIF< IAuditor > findAuditor_(std::string_view)
IInterface compliant class extending IInterface with the name() method.
const StatusCode & ignore() const
Ignore/check StatusCode.
StatusCode finalize() override
IAuditor * getAuditor(const std::string &name) override
constexpr static const auto FAILURE
StatusCode syncAuditors_()
The IAuditor is the interface implmented by the AlgAuditor base class.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Gaudi::Property< std::vector< std::string > > m_audNameList
StatusCode sysInitialize() override
Initialize Service.