1 #ifndef GAUDIAUD_COMMONAUDITOR_H 2 #define GAUDIAUD_COMMONAUDITOR_H 50 return v.
empty() || ( ( v[0] !=
"none" ) && ( find( v.
begin(), v.
end(),
evt ) != v.
end() ) );
54 this,
"EventTypes", {},
"list of event types to audit ([]=all, ['none']=none)"};
56 this,
"CustomEventTypes", {},
"[[deprecated]] use EventTypes instead"};
59 #endif // GAUDIAUD_COMMONAUDITOR_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Implementation of property with value of concrete type.
Base class with common functionalities shared by few auditor implementations.
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.
This class is used for returning status codes from appropriate routines.
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
Base class from which all concrete auditor classes should be derived.