|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TrigOutputHandling_BareDataBucket_h
5 #define TrigOutputHandling_BareDataBucket_h
42 virtual const std::type_info&
tinfo()
const override {
49 bool isConst =
true)
override {
50 return (
m_clid == clid and isConst ) ?
m_data :
nullptr;
55 bool isConst =
true)
override {
63 virtual void lock()
override { };
virtual void relinquish() override
Give up ownership of the DataBucket contents.
virtual ~BareDataBucket() override
Interface for registering a transient object in t2p map.
char data[hepevt_bytes_allocation_ATLAS]
BareDataBucket & operator=(const BareDataBucket &)=delete
virtual void * cast(CLID clid, SG::IRegisterTransient *, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by clid.
Allows to insert void* returned from serialisation into the store.
A non-templated base class for DataBucket, allows to access the transient object address as a void*.
virtual const CLID & clID() const override
virtual const std::type_info & tinfo() const override
Return the type_info for the stored object.
virtual void * object() override
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
BareDataBucket(void *data, CLID clid, RootType type)
BareDataBucket & operator=(BareDataBucket &&)=delete
virtual void lock() override
If the held object derives from ILockable, call lock() on it.
BareDataBucket(BareDataBucket &&)=delete
uint32_t CLID
The Class ID type.
BareDataBucket(const BareDataBucket &)=delete
void Destruct(void *place) const
virtual void * cast(const std::type_info &tinfo, SG::IRegisterTransient *, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by std::type_info.