47 using extends::extends;
62 error() <<
"Updating 'Auditors' after initialize is not supported. Use addAuditor instead." <<
endmsg;
65 "list of auditors names",
66 "OrderedSet<std::string>" };
70 std::vector<std::unique_ptr<Gaudi::IAuditor>>
m_pAudList;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
This service manages Auditors.
StatusCode sysFinalize() override
void before(std::string const &, std::string const &, EventContext const &) override
std::vector< std::unique_ptr< Gaudi::IAuditor > > m_pAudList
void after(std::string const &, std::string const &, EventContext const &, StatusCode const &) override
Gaudi::IAuditor * getAuditor(std::string const &name) const override
management functionality: retrieve an Auditor
std::unique_ptr< Gaudi::IAuditor > newAuditor(MsgStream &, std::string_view)
Gaudi::Property< bool > m_isEnabled
StatusCode sysInitialize() override
StatusCode addAuditor(std::string const &name) override
adds a new Auditor
StatusCode finalize() override
Gaudi::Property< std::vector< std::string > > m_audNameList
bool isEnabled() const override
StatusCode initialize() override
bool hasAuditor(std::string const &name) const override
management functionality: check if an Auditor exists
std::optional< StatusCode > removesAuditor(std::string const &name) override
removes an Auditor. Returns whether the Auditor was present (and thus removed)
StatusCode syncAuditors()
internal mathod to update auditors when m_audNameList is changed
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
This class represents an entry point to all the event specific data.
The IAuditor is the interface implemented by the Auditor base class.
Implementation of property with value of concrete type.
Definition of the MsgStream class used to transmit messages.
Gaudi::StateMachine::State FSMState() const override
StatusCode sysFinalize() override
Finalize Service.
StatusCode sysInitialize() override
Initialize Service.
const std::string & name() const override
Retrieve name of the service.
StatusCode initialize() override
This class is used for returning status codes from appropriate routines.
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
Base class used to extend a class implementing other interfaces.