1 #ifndef GAUDIKERNEL_DATAHANDLEHOLDERBASE 2 #define GAUDIKERNEL_DATAHANDLEHOLDERBASE 1 11 #include <unordered_set> 15 template <
typename Container>
47 if ( handle.
owner() != this ) {
51 m_handles.insert( &handle );
56 if ( handle.
owner() != this ) {
59 m_handles.erase( &handle );
77 for (
auto h : m_handles ) h->init();
89 #endif // !GAUDIKERNEL_DATAHANDLEHOLDERBASE constexpr static const auto FAILURE
Define general base for Gaudi exception.
virtual void setOwner(IDataHandleHolder *o)
Implementation of property with value of concrete type.
const DataObjIDColl & outputDataObjs() const override
virtual Mode mode() const
void initDataHandleHolder()
initializes all handles - called by the sysInitialize method of any descendant of this ...
virtual const DataObjIDColl & extraOutputDeps() const override
void renounce(Gaudi::DataHandle &handle) override
void declare(Gaudi::DataHandle &handle) override
std::vector< Gaudi::DataHandle * > outputHandles() const override
const DataObjIDColl & inputDataObjs() const override
std::vector< Gaudi::DataHandle * > inputHandles() const override
void addDependency(const DataObjID &id, const Gaudi::DataHandle::Mode &mode) override
Base class used to extend a class implementing other interfaces.
T back_inserter(T...args)
virtual const DataObjIDColl & extraInputDeps() const override
DataObjIDColl m_outputDataObjs
virtual IDataHandleHolder * owner() const
std::unordered_set< Gaudi::DataHandle * > m_handles