![]() |
The Gaudi Framework
master (1a7a3838)
|
A configurable, dynamically sized sequence of homogeneous data handles. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/DataHandle.h>


Public Member Functions | |
| template<typename Owner> | |
| DataHandleVector (Owner *parent, std::string name, const std::vector< std::string > &keys, std::string doc="") | |
| Declare a vector data-handle property on an owning component. | |
| template<typename Owner> | |
| DataHandleVector (Owner *parent, const std::pair< std::string, std::vector< std::string > > &keys) | |
| Construct from the property-name/default-value pair used by the Functional algorithm data-handle machinery. | |
| template<typename Owner, typename Keys> | |
| DataHandleVector (std::tuple< Owner, Keys > &&keys) | |
| Adapt the owner/name-and-default tuple produced internally by DataHandleMixin to the public constructor. | |
| template<typename Owner, typename Name, typename Keys> | |
| DataHandleVector (std::tuple< Owner, Name, Keys > &&keys) | |
| Adapt the owner/name/default tuple produced internally by DataHandleMixin to the public constructor. | |
| void | setKeys (std::span< const DataObjID > keys) override |
| Replace the configured TES keys and their registered typed handles. | |
| void | clear () |
| Remove all configured keys and unregister their typed handles. | |
| const std::vector< DataObjID > & | keys () const override |
| Configured TES keys, in property order. | |
| const std::vector< Handle< T > > & | handles () const |
| Typed handles, in property order. | |
| const DataObjID & | at (std::size_t i) const |
Configured TES key at i. | |
| auto | size () const |
| Number of configured handles. | |
| DataHandle::Mode | mode () const override |
| Access mode shared by every contained handle. | |
| std::string | type () const override |
| Demangled C++ type accessed by every contained handle. | |
| Public Member Functions inherited from Gaudi::DataHandleVectorBase | |
| virtual | ~DataHandleVectorBase ()=default |
| std::string | pythonPropertyClassName () const |
| Python class used to represent the property value. | |
| std::string | semantics () const |
| GaudiConfig2 semantics name including handle mode and value type. | |
| std::string | pythonRepr () const |
| Python expression reproducing the configured value. | |
Protected Attributes | |
| IDataHandleHolder * | m_owner = nullptr |
| std::vector< DataObjID > | m_keys |
| std::vector< Handle< T > > | m_handles |
Additional Inherited Members | |
| Public Types inherited from Gaudi::DataHandleVectorBase | |
| using | PropertyType = DataHandleVectorProperty |
A configurable, dynamically sized sequence of homogeneous data handles.
Every contained handle is registered with the parent IDataHandleHolder, so schedulers see each configured location as an individual dependency.
| Handle | data-handle template, such as DataObjectReadHandle |
| T | data type accessed by every handle |
Definition at line 132 of file DataHandle.h.
|
inline |
Declare a vector data-handle property on an owning component.
| parent | component which owns the property and contained handles |
| name | property name |
| keys | initial sequence of TES keys |
| doc | property documentation |
Definition at line 142 of file DataHandle.h.
|
inline |
Construct from the property-name/default-value pair used by the Functional algorithm data-handle machinery.
| parent | component which owns the property and contained handles |
| keys | property name and initial sequence of TES keys |
Definition at line 159 of file DataHandle.h.
|
inline |
Adapt the owner/name-and-default tuple produced internally by DataHandleMixin to the public constructor.
| keys | owner followed by a property-name/default-value pair |
Definition at line 168 of file DataHandle.h.
|
inline |
Adapt the owner/name/default tuple produced internally by DataHandleMixin to the public constructor.
| keys | owner, property name, and initial sequence of TES keys |
Definition at line 176 of file DataHandle.h.
|
inline |
|
inline |
Remove all configured keys and unregister their typed handles.
Definition at line 188 of file DataHandle.h.
|
inline |
|
inlineoverridevirtual |
Configured TES keys, in property order.
Implements Gaudi::DataHandleVectorBase.
Definition at line 191 of file DataHandle.h.
|
inlineoverridevirtual |
Access mode shared by every contained handle.
Implements Gaudi::DataHandleVectorBase.
Definition at line 200 of file DataHandle.h.
|
inlineoverridevirtual |
Replace the configured TES keys and their registered typed handles.
Implements Gaudi::DataHandleVectorBase.
Definition at line 180 of file DataHandle.h.
|
inline |
|
inlineoverridevirtual |
Demangled C++ type accessed by every contained handle.
Implements Gaudi::DataHandleVectorBase.
Definition at line 202 of file DataHandle.h.
|
protected |
Definition at line 207 of file DataHandle.h.
|
protected |
Definition at line 206 of file DataHandle.h.
|
protected |
Definition at line 205 of file DataHandle.h.