![]() |
The Gaudi Framework
v26r1
|
Description: Register/Unregister the AlgContext of each algorithm before entering the algorithm and after leaving it. More...
#include <src/AlgContextAuditor.h>


Public Member Functions | |
| virtual void | beforeInitialize (INamedInterface *a) |
| virtual void | afterInitialize (INamedInterface *a) |
| virtual void | beforeExecute (INamedInterface *a) |
| virtual void | afterExecute (INamedInterface *a, const StatusCode &s) |
| virtual void | beforeFinalize (INamedInterface *a) |
| virtual void | afterFinalize (INamedInterface *a) |
| AlgContextAuditor (const std::string &name, ISvcLocator *pSvc) | |
| standard constructor | |
| virtual | ~AlgContextAuditor () |
| virtual destructor | |
| virtual StatusCode | initialize () |
| standard initialization, | |
| virtual StatusCode | finalize () |
| standard finalization, | |
Public Member Functions inherited from Auditor | |
| Auditor (const std::string &name, ISvcLocator *svcloc) | |
| Constructor. | |
| virtual | ~Auditor () |
| Destructor. | |
| StatusCode | sysInitialize () |
| Initialization method invoked by the framework. | |
| StatusCode | sysFinalize () |
| Finalization method invoked by the framework. | |
| virtual void | before (StandardEventType, INamedInterface *) |
| The following methods are meant to be implemented by the child class... | |
| virtual void | before (StandardEventType, const std::string &) |
| virtual void | before (CustomEventTypeRef, INamedInterface *) |
| virtual void | before (CustomEventTypeRef, const std::string &) |
| virtual void | after (StandardEventType, INamedInterface *, const StatusCode &) |
| virtual void | after (StandardEventType, const std::string &, const StatusCode &) |
| virtual void | after (CustomEventTypeRef, INamedInterface *, const StatusCode &) |
| virtual void | after (CustomEventTypeRef, const std::string &, const StatusCode &) |
| virtual void | beforeReinitialize (INamedInterface *) |
| virtual void | afterReinitialize (INamedInterface *) |
| virtual void | beforeBeginRun (INamedInterface *) |
| virtual void | afterBeginRun (INamedInterface *) |
| virtual void | beforeEndRun (INamedInterface *) |
| virtual void | afterEndRun (INamedInterface *) |
| virtual const std::string & | name () const |
| virtual bool | isEnabled () const |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| int | outputLevel () const |
| Retrieve the output level of current auditor. | |
| void | setOutputLevel (int level) |
| Set the output level for current auditor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| The standard service locator. | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&svc, bool createIf=false) const |
| Access a service by name, creating it if it doesn't already exist. | |
| virtual StatusCode | setProperty (const Property &p) |
| Set a value of a property of an auditor. | |
| virtual StatusCode | setProperty (const std::string &s) |
| Implementation of IProperty::setProperty. | |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| Implementation of IProperty::setProperty. | |
| virtual StatusCode | getProperty (Property *p) const |
| Get the value of a property. | |
| virtual const Property & | getProperty (const std::string &name) const |
| Get the property by name. | |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| Implementation of IProperty::getProperty. | |
| const std::vector< Property * > & | getProperties () const |
| Get all properties. | |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| StatusCode | setProperties () |
| Set the auditor's properties. | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. | |
| Auditor (const std::string &name, ISvcLocator *svcloc) | |
| Constructor. | |
| virtual | ~Auditor () |
| Destructor. | |
| StatusCode | sysInitialize () |
| Initialization method invoked by the framework. | |
| StatusCode | sysFinalize () |
| Finalization method invoked by the framework. | |
| virtual void | before (StandardEventType, INamedInterface *) |
| The following methods are meant to be implemented by the child class... | |
| virtual void | before (StandardEventType, const std::string &) |
| virtual void | before (CustomEventTypeRef, INamedInterface *) |
| virtual void | before (CustomEventTypeRef, const std::string &) |
| virtual void | after (StandardEventType, INamedInterface *, const StatusCode &) |
| virtual void | after (StandardEventType, const std::string &, const StatusCode &) |
| virtual void | after (CustomEventTypeRef, INamedInterface *, const StatusCode &) |
| virtual void | after (CustomEventTypeRef, const std::string &, const StatusCode &) |
| virtual void | beforeReinitialize (INamedInterface *) |
| virtual void | afterReinitialize (INamedInterface *) |
| virtual void | beforeBeginRun (INamedInterface *) |
| virtual void | afterBeginRun (INamedInterface *) |
| virtual void | beforeEndRun (INamedInterface *) |
| virtual void | afterEndRun (INamedInterface *) |
| virtual const std::string & | name () const |
| virtual bool | isEnabled () const |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| int | outputLevel () const |
| Retrieve the output level of current auditor. | |
| void | setOutputLevel (int level) |
| Set the output level for current auditor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| The standard service locator. | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&svc, bool createIf=false) const |
| Access a service by name, creating it if it doesn't already exist. | |
| virtual StatusCode | setProperty (const Property &p) |
| Set a value of a property of an auditor. | |
| virtual StatusCode | setProperty (const std::string &s) |
| Implementation of IProperty::setProperty. | |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| Implementation of IProperty::setProperty. | |
| virtual StatusCode | getProperty (Property *p) const |
| Get the value of a property. | |
| virtual const Property & | getProperty (const std::string &name) const |
| Get the property by name. | |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| Implementation of IProperty::getProperty. | |
| const std::vector< Property * > & | getProperties () const |
| Get all properties. | |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| StatusCode | setProperties () |
| Set the auditor's properties. | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. | |
Private Member Functions | |
| AlgContextAuditor () | |
| the default constructor is disabled | |
| AlgContextAuditor (const AlgContextAuditor &) | |
| copy constructor is disabled | |
| AlgContextAuditor & | operator= (const AlgContextAuditor &) |
| assignment operator is disabled | |
Private Attributes | |
| IAlgContextSvc * | m_svc |
| the pointer to Algorithm Context Service | |
Additional Inherited Members | |
Public Types inherited from Auditor | |
| typedef Gaudi::PluginService::Factory < IAuditor *, const std::string &, ISvcLocator * > | Factory |
| typedef Gaudi::PluginService::Factory < IAuditor *, const std::string &, ISvcLocator * > | Factory |
Description: Register/Unregister the AlgContext of each algorithm before entering the algorithm and after leaving it.
Definition at line 22 of file AlgContextAuditor.h.
| AlgContextAuditor::AlgContextAuditor | ( | const std::string & | name, |
| ISvcLocator * | pSvc | ||
| ) |
|
virtual |
|
private |
the default constructor is disabled
|
private |
copy constructor is disabled
|
virtual |
Reimplemented from Auditor.
Definition at line 121 of file AlgContextAuditor.cpp.
|
virtual |
Reimplemented from Auditor.
Definition at line 107 of file AlgContextAuditor.cpp.
|
virtual |
Reimplemented from Auditor.
Definition at line 93 of file AlgContextAuditor.cpp.
|
virtual |
Reimplemented from Auditor.
Definition at line 114 of file AlgContextAuditor.cpp.
|
virtual |
Reimplemented from Auditor.
Definition at line 100 of file AlgContextAuditor.cpp.
|
virtual |
Reimplemented from Auditor.
Definition at line 86 of file AlgContextAuditor.cpp.
|
virtual |
standard finalization,
Reimplemented from Auditor.
Definition at line 79 of file AlgContextAuditor.cpp.
|
virtual |
standard initialization,
Reimplemented from Auditor.
Definition at line 54 of file AlgContextAuditor.cpp.
|
private |
assignment operator is disabled
|
private |
the pointer to Algorithm Context Service
Definition at line 56 of file AlgContextAuditor.h.