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