IObjectManager(std::unique_ptr< THolder > holder)
Constructor.
const THolder * holder() const
Accessor to the Holder object.
::Bool_t m_isSet
Was the object set for the current event?
virtual void setObject(void *obj) override
Function replacing the object being handled.
virtual::Bool_t isSet() const override
Check if the object was set for the current event.
ROutObjManager(std::string_view key, std::unique_ptr< THolder > holder)
Constructor, getting hold of the created objects.
virtual const void * object() const override
Function getting a const pointer to the object being handled.
virtual::Bool_t create() override
Create the object for the current event.
const std::string & key()
virtual void reset() override
Reset the object at the end of processing of an event.
virtual::Int_t getEntry(::Int_t getall=0) override
Function for updating the object in memory if needed.
~ROutObjManager()
Destructor.
std::string m_key
The name of the (SG) key.
virtual void set(void *obj)
Replace the managed object.
const void * get() const
Return a typeless const pointer to the held object.