The Gaudi Framework
master (594c33fa)
|
Class wrapping the communication between condition users and conditions backend. More...
#include </builds/gaudi/Gaudi/GaudiTestSuite/include/Gaudi/TestSuite/Conditions/ConditionAccessorHolder.h>
Public Member Functions | |
ConditionAccessor (base_class *owner, const std::string &keyName, const ConditionKey &keyDefault, const std::string &keyDoc="") | |
Constructor a ConditionAccessor instance registering it to the current holder. More... | |
const ConditionKey & | key () const |
Helper to access the key of the current accessor. More... | |
const T & | get (const ConditionContext &ctx) const |
Get the condition value for the requested condition slot. More... | |
Private Attributes | |
Gaudi::Property< ConditionKey > | m_key |
Internal property object for the condition key. More... | |
Class wrapping the communication between condition users and conditions backend.
Users must use instances of this class as data members, passing this
to the data member constructor.
See Gaudi::TestSuite::Conditions::UserAlg::m_cond
Definition at line 103 of file ConditionAccessorHolder.h.
|
inline |
Constructor a ConditionAccessor instance registering it to the current holder.
Definition at line 106 of file ConditionAccessorHolder.h.
|
inline |
Get the condition value for the requested condition slot.
Definition at line 118 of file ConditionAccessorHolder.h.
|
inline |
Helper to access the key of the current accessor.
Definition at line 115 of file ConditionAccessorHolder.h.
|
private |
Internal property object for the condition key.
Definition at line 124 of file ConditionAccessorHolder.h.