5 "List of event types to audit ([]=all, ['none']=none)");
14 log <<
MSG::WARNING <<
"Property CustomEventTypes is deprecated, use EventTypes instead" <<
endmsg;
Definition of the MsgStream class used to transmit messages.
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.
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
StandardEventType
Defines the standard (= used by the framework) auditable event types.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
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.
virtual const std::string & name() const =0
Retrieve the name of the instance.
bool i_auditEventType(const std::string &evt)
Check if we are requested to audit the passed event type.
virtual void declareUpdateHandler(PropertyCallbackFunctor *pf)
set new callback for update
Property * declareProperty(const std::string &name, T &property, const std::string &doc="none") const
Declare the named property.
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
virtual bool setValue(const TYPE &value)
implementation of PropertyWithValue::setValue
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.