![]() |
The Gaudi Framework
master (9f3f8895)
|
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/DataHandle.h>


Public Types | |
| enum | Mode { Reader = 1 << 2 , Writer = 1 << 4 } |
| using | PropertyType = DataHandleProperty |
Public Member Functions | |
| DataHandle (DataObjID k, Mode a=Reader, IDataHandleHolder *owner=nullptr) | |
| DataHandle (DataObjID k, bool isCond, Mode a=Reader, IDataHandleHolder *owner=nullptr) | |
| virtual | ~DataHandle ()=default |
| virtual void | setOwner (IDataHandleHolder *o) |
| virtual IDataHandleHolder * | owner () const |
| virtual Mode | mode () const |
| virtual void | setKey (DataObjID key) |
| virtual void | updateKey (std::string key) |
| virtual const std::string & | objKey () const |
| virtual const DataObjID & | fullKey () const |
| virtual void | reset (bool) |
| virtual std::string | pythonRepr () const |
| virtual bool | init () |
| virtual bool | isCondition () const |
Protected Attributes | |
| DataObjID | m_key = { "NONE" } |
| The key of the object behind this DataHandle Although it may look strange to have it mutable, this can actually change in case the object had alternative names, and it should not be visible to the end user, for which the Handle is still the same. | |
| IDataHandleHolder * | m_owner = nullptr |
Static Protected Attributes | |
| static const std::string | default_type = "unknown_t" |
Private Attributes | |
| Mode | m_mode = Reader |
| bool | m_isCond = false |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const DataHandle &d) |
Definition at line 43 of file DataHandle.h.
Definition at line 53 of file DataHandle.h.
|
inline |
Definition at line 47 of file DataHandle.h.
|
inline |
Definition at line 50 of file DataHandle.h.
|
virtualdefault |
|
inlinevirtual |
Definition at line 66 of file DataHandle.h.
|
inlinevirtual |
Reimplemented in DataObjectHandleBase.
Definition at line 71 of file DataHandle.h.
|
inlinevirtual |
Definition at line 74 of file DataHandle.h.
|
inlinevirtual |
Definition at line 60 of file DataHandle.h.
|
inlinevirtual |
Definition at line 65 of file DataHandle.h.
|
inlinevirtual |
Definition at line 58 of file DataHandle.h.
|
virtual |
Reimplemented in DataObjectHandle< T >, DataObjectHandle< AnyDataWithViewWrapper< View, Owned > >, DataObjectHandle< AnyDataWrapper< T > >, DataObjectHandle< DataObject >, DataObjectHandle< Gaudi::NamedRange_< T > >, DataObjectHandle< Gaudi::Range_< T > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Reader, T, U > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Writer, T, U > >, and DataObjectHandle< std::optional< Gaudi::NamedRange_< T > > >.
Definition at line 19 of file DataHandle.cpp.
|
inlinevirtual |
Definition at line 68 of file DataHandle.h.
|
inlinevirtual |
Definition at line 62 of file DataHandle.h.
|
inlinevirtual |
Definition at line 57 of file DataHandle.h.
|
inlinevirtual |
Definition at line 63 of file DataHandle.h.
|
friend |
Definition at line 72 of file DataHandle.cpp.
|
staticprotected |
Definition at line 88 of file DataHandle.h.
|
private |
Definition at line 92 of file DataHandle.h.
|
protected |
The key of the object behind this DataHandle Although it may look strange to have it mutable, this can actually change in case the object had alternative names, and it should not be visible to the end user, for which the Handle is still the same.
Definition at line 85 of file DataHandle.h.
Definition at line 91 of file DataHandle.h.
|
protected |
Definition at line 86 of file DataHandle.h.