48 return (v.size() == 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...
virtual const std::string & name() const
Retrieve the name of the instance.
StandardEventType
Defines the standard (= used by the framework) auditable event types.
Base class with common functionalities shared by few auditor implementations.
virtual void before(StandardEventType evt, const std::string &caller)
Audit the start of a standard "event" for callers that do not implement INamedInterface.
const CustomEventType & CustomEventTypeRef
Used in function calls for optimization purposes.
virtual ~CommonAuditor()
Destructor.
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".
CommonAuditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
virtual void after(StandardEventType evt, const std::string &caller, const StatusCode &sc)
Audit the end of a standard "event" for callers that do not implement INamedInterface.
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
Base class from which all concrete auditor classes should be derived.