27 aud = Auditor::Factory::create( item.
type(), item.
name(), serviceLocator().get() );
51 if ( (*it)->name() == item_name ) {
125 if((*it)->isEnabled()) {
126 (*it)->sysFinalize().
ignore();
140 if((*it)->isEnabled()) {
141 (*it)->before(evt,obj);
149 if((*it)->isEnabled()) {
150 (*it)->before(evt,name);
158 if((*it)->isEnabled()) {
159 (*it)->before(evt,obj);
167 if((*it)->isEnabled()) {
168 (*it)->before(evt,name);
177 if((*it)->isEnabled()) {
178 (*it)->after(evt,obj,sc);
186 if((*it)->isEnabled()) {
187 (*it)->after(evt,name,sc);
195 if((*it)->isEnabled()) {
196 (*it)->after(evt,obj,sc);
204 if((*it)->isEnabled()) {
205 (*it)->after(evt,name,sc);
211 #define OBSOLETION(name) \
212 void AuditorSvc::name(INamedInterface*) { \
213 throw GaudiException("The method IAuditor::" #name " is obsolete do not call it.", \
214 "AuditorSvc::" #name , StatusCode::FAILURE); \
225 throw GaudiException(
"The method afterExecute is obsolete do not call it.",
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
StandardEventType
Defines the standard (= used by the framework) auditable event types.
virtual void before(StandardEventType, INamedInterface *)
The following methods are meant to be implemented by the child class...
virtual IAuditor * getAuditor(const std::string &name)
management functionality: retrieve an Auditor
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
const CustomEventType & CustomEventTypeRef
Used in function calls for optimization purposes.
virtual bool isEnabled() const
Tell if the auditor is enabled or not.
AuditorSvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode sysFinalize()
Finalize Service.
bool isFailure() const
Test for a status code of FAILURE.
#define DECLARE_COMPONENT(type)
virtual void after(StandardEventType, INamedInterface *, const StatusCode &)
Audit the end of a standard "event".
Helper class to parse a string of format "type/name".
IAuditor * newAuditor_(MsgStream &, const std::string &)
This class is used for returning status codes from appropriate routines.
IAuditor * findAuditor_(const std::string &)
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).
virtual const std::string & name() const
Retrieve name of the service.
virtual StatusCode sysInitialize()
Initialize Service.
virtual StatusCode sysInitialize()
Initialize Service.
IInterface compliant class extending IInterface with the name() method.
virtual unsigned long release()=0
Release Interface instance.
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
const std::string & type() const
std
AIDA -> ROTO converter.
Templated class to add the standard messaging functionalities.
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
const std::string & name() const
Property * declareProperty(const std::string &name, T &property, const std::string &doc="none") const
Declare the named property.
StatusCode syncAuditors_()
The IAuditor is the interface implmented by the AlgAuditor base class.
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual StatusCode sysFinalize()
Finalize Service.
virtual StatusCode sysInitialize()=0
Used by AuditorSvc.