![]() |
The Gaudi Framework
v30r4 (9b837755)
|
Configurable entity associated with a DataHandle property. More...
#include <GaudiKernel/DataHandleConfigurable.h>
Public Member Functions | |
DataHandleConfigurable (const IDataHandleMetadata &metadata, DataObjID defaultKey) | |
Initialize by providing access to the metadata singleton. More... | |
const IDataHandleMetadata & | metadata () const |
Propagate metadata of the underlying DataHandle type. More... | |
const DataObjID & | targetKey () const |
Tell what the currently configured target is. More... | |
void | setTargetKey (const DataObjID &key) |
Change the target of the data handle. More... | |
Private Attributes | |
std::reference_wrapper< const IDataHandleMetadata > | m_metadata |
DataObjID | m_key |
Friends | |
std::ostream & | operator<< (std::ostream &str, const DataHandleConfigurable &d) |
Boilerplate for Gaudi::Property compatibility. More... | |
Configurable entity associated with a DataHandle property.
This class combines access to the IDataHandleMetadata with a configurable target DataObjID. It is what the Property machinery will eventually interact with.
Definition at line 18 of file DataHandleConfigurable.h.
|
inline |
Initialize by providing access to the metadata singleton.
Definition at line 22 of file DataHandleConfigurable.h.
|
inline |
Propagate metadata of the underlying DataHandle type.
Definition at line 28 of file DataHandleConfigurable.h.
|
inline |
|
inline |
Tell what the currently configured target is.
Definition at line 31 of file DataHandleConfigurable.h.
|
friend |
Boilerplate for Gaudi::Property compatibility.
Definition at line 49 of file DataHandleConfigurable.cpp.
|
private |
Definition at line 41 of file DataHandleConfigurable.h.
|
private |
Definition at line 40 of file DataHandleConfigurable.h.