an iterator over instances of a given type in an IProxyDict
(such as StoreGateSvc). It d-casts and caches locally the pointed-at object, to speed-up subsequent accesses. It can be reset by the store for asynchronous updates (IOVSvc)
More...
#include <DataHandleBase.h>
Inherits IResetable.
Inherited by DataHandle< DATA >, DataHandle< AthenaAttributeList >, DataHandle< CaloRec::CaloCellFactor >, DataHandle< CondAttrListCollection >, DataHandle< CondMultChanCollection >, DataHandle< GenericDbTable >, DataHandle< ILArAutoCorr >, DataHandle< ILArPedestal >, DataHandle< ILArShape >, and DataHandle< StrawDxContainer >.
an iterator over instances of a given type in an IProxyDict
(such as StoreGateSvc). It d-casts and caches locally the pointed-at object, to speed-up subsequent accesses. It can be reset by the store for asynchronous updates (IOVSvc)
Definition at line 37 of file DataHandleBase.h.
◆ ID_type
◆ DataHandleBase() [1/4]
DataHandleBase::DataHandleBase |
( |
| ) |
|
◆ DataHandleBase() [2/4]
◆ DataHandleBase() [3/4]
◆ DataHandleBase() [4/4]
◆ ~DataHandleBase()
DataHandleBase::~DataHandleBase |
( |
| ) |
|
|
virtual |
◆ clid()
virtual CLID DataHandleBase::clid |
( |
| ) |
const |
|
pure virtual |
◆ finalReset()
virtual void IResetable::finalReset |
( |
| ) |
|
|
inlinevirtualinherited |
◆ ID()
ID_type DataHandleBase::ID |
( |
| ) |
const |
|
inline |
◆ isConst()
bool DataHandleBase::isConst |
( |
| ) |
const |
◆ isInitialized()
bool DataHandleBase::isInitialized |
( |
| ) |
const |
◆ isSet()
bool DataHandleBase::isSet |
( |
| ) |
const |
|
inlinevirtual |
◆ key()
const std::string & DataHandleBase::key |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ reset()
virtual void IResetable::reset |
( |
bool |
hard | ) |
|
|
pure virtualinherited |
Clear cached data from this object.
If HARD is true, then also clear any data that depends on the identity of the current event store. HARD will be set if the handle could potentially be looking at a different store the next time it is used. (This happens in Hive.)
For example, a VarHandle caches both a pointer to the referenced object and a pointer to the DataProxy used to reference it. If HARD is false, then only the object pointer need be cleared; but if it is true, then the DataProxy pointer should be cleared as well (and the object deregistered from the store).
Implemented in DataHandle< DATA >, DataHandle< ILArPedestal >, DataHandle< CondAttrListCollection >, DataHandle< ILArShape >, DataHandle< CondMultChanCollection >, DataHandle< ILArAutoCorr >, DataHandle< CaloRec::CaloCellFactor >, DataHandle< AthenaAttributeList >, DataHandle< GenericDbTable >, DataHandle< StrawDxContainer >, SG::VarHandleBase, and SG::UpdateHandle< T >.
◆ setState() [1/5]
◆ setState() [2/5]
◆ setState() [3/5]
Definition at line 123 of file DataHandleBase.cxx.
140 for (; itr != itrEnd; itr++) {
141 if (itr->second->isValid()) {
145 return StatusCode::SUCCESS;
152 return StatusCode::FAILURE;
◆ setState() [4/5]
Definition at line 217 of file DataHandleBase.cxx.
220 return StatusCode::FAILURE;
231 return StatusCode::SUCCESS;
◆ setState() [5/5]
StatusCode DataHandleBase::setState |
( |
SG::DataProxy * |
proxy | ) |
const |
Definition at line 156 of file DataHandleBase.cxx.
159 return StatusCode::FAILURE;
171 return StatusCode::SUCCESS;
◆ m_itr
iterator pointing at the beginning of the range of proxies
Definition at line 109 of file DataHandleBase.h.
◆ m_itrEnd
iterator pointing at the end of the range of proxies
Definition at line 112 of file DataHandleBase.h.
◆ m_proxy
◆ m_useItr
bool DataHandleBase::m_useItr |
|
mutableprotected |
The documentation for this class was generated from the following files: