Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
11 #ifndef GAUDIHIVE_DATAOBJECTHANDLEBASE_H
12 #define GAUDIHIVE_DATAOBJECTHANDLEBASE_H
48 template <
class OWNER,
class K,
typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>>
53 p->template setOwnerType<OWNER>();
SmartIF< IDataProviderSvc > m_EDS
SmartIF< IMessageSvc > m_MS
void setOptional(bool optional=true)
DataObjectHandleBase & operator=(const DataObjectHandleBase &)
bool isOptional() const
Check if the data object declared is optional for the algorithm.
DataObjectHandleBase(OWNER *owner, Gaudi::DataHandle::Mode m, std::string name, K key={}, std::string doc="")
Autodeclaring constructor with property name, mode, key and documentation.
virtual IDataHandleHolder * owner() const
DataObjectHandleBase(const DataObjectHandleBase &)=delete
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h.
DataObject * fetch() const
std::atomic< bool > m_searchDone
Whether the search part of the fetch method (so dealing with alt names was already executed or not.
friend std::ostream & operator<<(std::ostream &str, const DataObjectHandleBase &d)
~DataObjectHandleBase() override
DataObjectHandleBase(DataObjID k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner)
std::mutex m_searchMutex
A Mutex protecting the calls to the search part of the fetch method, so that we are sure that we only...