1 #ifndef GAUDIKERNEL_DATASVC_H 2 #define GAUDIKERNEL_DATASVC_H 14 #include <boost/utility/string_ref.hpp> 55 Gaudi::Property<bool> m_forceLeaves{
this,
"ForceLeaves",
false,
"force creation of default leaves on registerObject"};
59 "enable incidents on data creation requests"};
63 "enable incidents on data access requests"};
75 DataSvcHelpers::InhibitMap* m_inhibitMap =
nullptr;
79 CLID rootCLID()
const override;
95 StatusCode unregisterAddress( boost::string_ref fullPath )
override;
117 StatusCode clearSubTree( boost::string_ref sub_tree_path )
override;
186 StatusCode registerObject( boost::string_ref parentPath, boost::string_ref objPath,
DataObject* pObject )
override;
192 StatusCode unregisterObject( boost::string_ref fullPath )
override;
230 StatusCode unlinkObject( boost::string_ref fullPath )
override;
248 using extends::extends;
265 virtual DataObject* createDefaultObject()
const;
291 DataObject* i_handleDataFault(
IRegistry* pReg, boost::string_ref path = boost::string_ref{} );
293 #endif // GAUDIKERNEL_DATASVC_H
std::unique_ptr< DataSvcHelpers::RegistryEntry > m_root
Pointer to root entry.
virtual StatusCode unlinkObject(IRegistry *from, boost::string_ref objPath)=0
Remove a link to another object.
Implementation of property with value of concrete type.
virtual StatusCode findObject(IRegistry *pDirectory, boost::string_ref path, DataObject *&pObject)=0
Find object identified by its directory entry.
bool checkRoot()
Check if root path is valid.
Data provider interface definition.
Description of the DataStoreItem class.
PropertyMgr & operator=(const PropertyMgr &)=delete
virtual StatusCode linkObject(IRegistry *from, boost::string_ref objPath, DataObject *toObj)=0
Add a link to another object.
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...
virtual StatusCode retrieveObject(IRegistry *pDirectory, boost::string_ref path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.
unsigned int CLID
Class ID definition.
Definition of an entry in the transient data store.
virtual StatusCode unregisterAddress(boost::string_ref fullPath)=0
Unregister object address from the data store.
StatusCode registerObject(boost::string_ref fullPath, DataObject *pObject)
Register object with the data store.
Generic data agent interface.
Base class used to extend a class implementing other interfaces.
virtual StatusCode registerAddress(boost::string_ref fullPath, IOpaqueAddress *pAddress)=0
Register object address with the data store.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
std::vector< DataStoreItem > m_preLoads
Items to be pre-loaded.
The interface implemented by the IncidentSvc service.