|
Gaudi Framework, version v25r1 |
| Home | Generated: Mon Mar 24 2014 |
It is a simple guard, which "locks" the scope for the Auditor Service is am exception-safe way. More...
#include <GaudiKernel/Guards.h>

Public Member Functions | |
| AuditorGuard (INamedInterface *obj, IAuditor *svc, IAuditor::StandardEventType evt) | |
| constructor | |
| AuditorGuard (INamedInterface *obj, IAuditor *svc, IAuditor::CustomEventTypeRef evt) | |
| constructor | |
| AuditorGuard (INamedInterface *obj, IAuditor *svc, IAuditor::StandardEventType evt, const StatusCode &sc) | |
| constructor | |
| AuditorGuard (INamedInterface *obj, IAuditor *svc, IAuditor::CustomEventTypeRef evt, const StatusCode &sc) | |
| constructor | |
| AuditorGuard (const std::string &name, IAuditor *svc, IAuditor::StandardEventType evt) | |
| constructor | |
| AuditorGuard (const std::string &name, IAuditor *svc, IAuditor::CustomEventTypeRef evt) | |
| constructor | |
| AuditorGuard (const std::string &name, IAuditor *svc, IAuditor::StandardEventType evt, const StatusCode &sc) | |
| constructor | |
| AuditorGuard (const std::string &name, IAuditor *svc, IAuditor::CustomEventTypeRef evt, const StatusCode &sc) | |
| constructor | |
| ~AuditorGuard () | |
| dectructor | |
| const StatusCode & | code () const |
Private Member Functions | |
| AuditorGuard () | |
| the default constructor is disabled | |
| AuditorGuard (const AuditorGuard &right) | |
| no copy | |
| AuditorGuard & | operator= (const AuditorGuard &right) |
| no assignement | |
| void | i_before () |
| void | i_after () |
Private Attributes | |
| INamedInterface * | m_obj |
| the guarded object | |
| std::string | m_objName |
| the guarded object name (if there is no INamedInterface) | |
| IAuditor * | m_svc |
| auditor service | |
| IAuditor::StandardEventType | m_evt |
| Event type (standard events) | |
| IAuditor::CustomEventType | m_cevt |
| Event type (custom events) | |
| const StatusCode * | m_sc |
| Pointer to a status code instance, to be passed to the "after" function if needed The instance must have a scope larger than the one of the guard. | |
| bool | m_customEvtType |
| Flag to remember which event type was used. | |
It is a simple guard, which "locks" the scope for the Auditor Service is am exception-safe way.
The pattern ensures that "post-action" will be always executed
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | INamedInterface * | obj, |
| IAuditor * | svc, | ||
| IAuditor::StandardEventType | evt | ||
| ) |
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | INamedInterface * | obj, |
| IAuditor * | svc, | ||
| IAuditor::CustomEventTypeRef | evt | ||
| ) |
constructor
Definition at line 78 of file Guards.cpp.
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | INamedInterface * | obj, |
| IAuditor * | svc, | ||
| IAuditor::StandardEventType | evt, | ||
| const StatusCode & | sc | ||
| ) |
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | INamedInterface * | obj, |
| IAuditor * | svc, | ||
| IAuditor::CustomEventTypeRef | evt, | ||
| const StatusCode & | sc | ||
| ) |
constructor
Definition at line 105 of file Guards.cpp.
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | const std::string & | name, |
| IAuditor * | svc, | ||
| IAuditor::StandardEventType | evt | ||
| ) |
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | const std::string & | name, |
| IAuditor * | svc, | ||
| IAuditor::CustomEventTypeRef | evt | ||
| ) |
constructor
Definition at line 132 of file Guards.cpp.
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | const std::string & | name, |
| IAuditor * | svc, | ||
| IAuditor::StandardEventType | evt, | ||
| const StatusCode & | sc | ||
| ) |
| Gaudi::Guards::AuditorGuard::AuditorGuard | ( | const std::string & | name, |
| IAuditor * | svc, | ||
| IAuditor::CustomEventTypeRef | evt, | ||
| const StatusCode & | sc | ||
| ) |
constructor
Definition at line 159 of file Guards.cpp.
| Gaudi::Guards::AuditorGuard::~AuditorGuard | ( | ) |
|
private |
the default constructor is disabled
|
private |
no copy
|
inline |
|
inlineprivate |
Definition at line 309 of file Guards.h.
|
inlineprivate |
|
private |
no assignement
|
private |
|
private |
|
private |
|
private |
|
private |
the guarded object name (if there is no INamedInterface)
|
private |
|
private |