11 throw GaudiException(
"Property CustomEventTypes is deprecated, but both CustomEventTypes and EventTypes used",
46 if ( caller )
after( evt, caller->
name(), sc );
constexpr static const auto FAILURE
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Gaudi::Property< std::vector< std::string > > m_types
void before(StandardEventType evt, const std::string &caller) override
bool i_auditEventType(const std::string &evt)
Check if we are requested to audit the passed event type.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
This class is used for returning status codes from appropriate routines.
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
IInterface compliant class extending IInterface with the name() method.
Gaudi::Property< std::vector< std::string > > m_customTypes
CommonAuditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)=0
catch all "before" method, implemented in the derived class
void after(StandardEventType evt, const std::string &caller, const StatusCode &sc) override
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)=0
catch all "after" method, implemented in the derived class
const std::string & name() const override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual const std::string & name() const =0
Retrieve the name of the instance.
Base class from which all concrete auditor classes should be derived.