Go to the documentation of this file.
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 sysFinalize() override
void after(StandardEventType, INamedInterface *, const StatusCode &) override
StatusCode initialize() override
StatusCode sysInitialize() override
Initialize Service
const std::string & name() const
StatusCode syncAuditors_()
std::vector< SmartIF< IAuditor > > m_pAudList
void before(StandardEventType, INamedInterface *) override
The following methods are meant to be implemented by the child class...
StatusCode initialize() override
get
decorate the vector of properties
virtual const std::string & name() const =0
Retrieve the name of the instance.
StatusCode finalize() override
Helper class to parse a string of format "type/name".
const std::string & name() const override
Retrieve name of the service
bool isEnabled() const override
StatusCode finalize() override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
const std::string & type() const
SmartIF< IAuditor > newAuditor_(MsgStream &, std::string_view)
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
StatusCode sysInitialize() override
constexpr static const auto SUCCESS
StatusCode sysFinalize() override
Finalize Service
#define DECLARE_COMPONENT(type)
Gaudi::Property< std::vector< std::string > > m_audNameList
SmartIF< IAuditor > findAuditor_(std::string_view)
constexpr static const auto FAILURE
IAuditor * getAuditor(const std::string &name) override