1 #include "GaudiKernel/Auditor.h"
18 virtual void before(StandardEventType
evt,
const std::string& caller);
20 virtual void before(CustomEventTypeRef evt,
const std::string& caller);
28 virtual void after(StandardEventType evt,
const std::string& caller,
const StatusCode&
sc);
30 virtual void after(CustomEventTypeRef evt,
const std::string& caller,
const StatusCode& sc);
37 virtual void i_before(CustomEventTypeRef evt,
const std::string& caller) = 0;
39 virtual void i_after(CustomEventTypeRef evt,
const std::string& caller,
const StatusCode& sc) = 0;
50 (find(v.begin(), v.end(),
evt) != v.end())
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Base class with common functionalities shared by few auditor implementations.
virtual void before(StandardEventType evt, const std::string &caller)
bool i_auditEventType(const std::string &evt)
Check if we are requested to audit the passed event type.
void i_updateCustomTypes(Property &)
Update handler for the obsolete property CustomEventTypes.
This class is used for returning status codes from appropriate routines.
StringArrayProperty m_customTypes
const TYPE & value() const
explicit conversion
IInterface compliant class extending IInterface with the name() method.
Property base class allowing Property* collections to be "homogeneous".
const std::string & name() const override
CommonAuditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
virtual void after(StandardEventType evt, const std::string &caller, const StatusCode &sc)
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)=0
catch all "before" method, implemented in the derived class
StringArrayProperty m_types
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)=0
catch all "after" method, implemented in the derived class
virtual ~CommonAuditor()=default
Destructor.
Base class from which all concrete auditor classes should be derived.