1 #ifndef GAUDIKERNEL_DATAOBJECT_H 2 #define GAUDIKERNEL_DATAOBJECT_H 20 static const CLID CLID_DataObject = 1;
33 unsigned long m_refCount = 0;
35 unsigned char m_version = 0;
55 virtual unsigned long addRef();
57 virtual unsigned long release();
59 virtual const CLID& clID()
const;
61 static const CLID& classID();
69 void setRegistry(
IRegistry* pRegistry ) { m_pRegistry = pRegistry; }
76 unsigned char version()
const {
return m_version; }
78 void setVersion(
unsigned char vsn ) { m_version = vsn; }
80 unsigned long refCount()
const {
return m_refCount; }
83 s <<
"DataObject at " <<
std::hex <<
this;
98 #endif // GAUDIKERNEL_DATAOBJECT_H
IRegistry * registry() const
Get pointer to Registry.
GAUDI_API void popCurrentDataObject()
The stream buffer is a small object collecting object data.
GAUDI_API DataObject * getCurrentDataObject()
LinkManager * linkMgr() const
Retrieve Link manager.
virtual std::ostream & fillStream(std::ostream &s) const
Fill the output stream (ASCII)
unsigned char version() const
Retrieve version number of this object representation.
unsigned long refCount() const
Return the refcount.
This class is used for returning status codes from appropriate routines.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
unsigned int CLID
Class ID definition.
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
friend std::ostream & operator<<(std::ostream &s, const DataObject &obj)
Output operator (ASCII)
std::unique_ptr< LinkManager > m_pLinkMgr
Store of symbolic links.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
A LinkManager is the object aggregated into a DataObject, which is responsible for the handling of no...
Header file for std:chrono::duration-based Counters.
void setVersion(unsigned char vsn)
Set version number of this object representation.