|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef ATHENAROOTCOMPS_ROOTDATABUCKETBRANCH_H
12 #define ATHENAROOTCOMPS_ROOTDATABUCKETBRANCH_H 1
29 const std::string& type_name,
37 const std::type_info& ti,
59 bool isConst =
true)
override;
64 bool isConst =
true)
override;
69 virtual void lock()
override;
73 virtual const std::type_info&
tinfo()
const override
Interface for registering a transient object in t2p map.
DataBucketBranch(CLID clid, const std::type_info &ti, void *ptr=NULL)
A non-templated base class for DataBucket, allows to access the transient object address as a void*.
virtual void relinquish() override
Give up ownership of the DataBucket contents.
virtual const std::type_info & tinfo() const override
Return the type_info for the stored object.
T * cast(SG::IRegisterTransient *irt=0, bool isConst=true)
Return the contents of the DataBucket, converted to type T.
const std::type_info & TypeInfo() const
virtual ~DataBucketBranch() override
Some weak symbol referencing magic...
virtual void lock() override
If the held object derives from ILockable, call lock() on it.
DataBucketBranch(CLID clid, const RootType &type, void *ptr)
uint32_t CLID
The Class ID type.
virtual void * cast(CLID clid, SG::IRegisterTransient *itr, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by clid.
virtual void * object() override
DataBucketBranch(CLID clid, const std::string &type_name, void *ptr=NULL)
virtual const CLID & clID() const override