57 "force creation of default leaves on registerObject" };
61 "enable incidents on data creation requests" };
65 "enable incidents on data access requests" };
73 std::unique_ptr<DataSvcHelpers::RegistryEntry>
m_root;
80 const std::string&
rootName()
const override;
246 using extends::extends;
263 virtual DataObject* createDefaultObject()
const;
289 DataObject* i_handleDataFault(
IRegistry* pReg, std::string_view path = std::string_view{} );
unsigned int CLID
Class ID definition.
A DataObject is the base class of any identifiable object on any data store.
Description of the DataStoreItem class.
Definition of an entry in the transient data store.
StatusCode reinitialize() override
Service initialization.
StatusCode traverseSubTree(std::string_view sub_tree_path, IDataStoreAgent *pAgent) override
IDataManagerSvc: Analyze by traversing all data objects below the sub tree identified by its full pat...
StatusCode setRoot(std::string root_name, DataObject *pRootObj) override
Initialize data store for new event by giving new event path and root object.
DataSvc(const DataSvc &)=delete
copy constructor disabled
StatusCode finalize() override
Service initialization.
Gaudi::Property< std::string > m_rootName
StatusCode findObject(std::string_view fullPath, DataObject *&pObject) override
Find object identified by its full path in the data store.
StatusCode resetPreLoad() override
Clear the preload list.
virtual StatusCode preLoad(int depth, int load_depth, DataObject *pObject)
Execute one level of preloading and recursively load until the final level is reached.
StatusCode clearSubTree(std::string_view sub_tree_path) override
IDataManagerSvc: Remove all data objects below the sub tree identified by its full path name.
virtual StatusCode i_setRoot(std::string root_name, DataObject *pRootObj)
Initialize data store for new event by giving new event path and root object.
SmartIF< IConversionSvc > m_dataLoader
Pointer to data loader service.
StatusCode setDataLoader(IConversionSvc *svc, IDataProviderSvc *dpsvc=nullptr) override
IDataManagerSvc: IDataManagerSvc: Pass a default data loader to the service and optionally a data pro...
StatusCode objectLeaves(const DataObject *pObject, std::vector< IRegistry * > &refLeaves) override
IDataManagerSvc: Explore the object store: retrieve all leaves attached to the object.
StatusCode initialize() override
Service initialization.
StatusCode unregisterAddress(std::string_view fullPath) override
IDataManagerSvc: Unregister object address from the data store.
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to incident service.
StatusCode unregisterObject(std::string_view fullPath) override
Unregister object from the data store.
StatusCode registerObject(std::string_view parentPath, std::string_view objPath, DataObject *pObject) override
Register object with the data store.
StatusCode addPreLoadItem(const DataStoreItem &item) override
Add an item to the preload list.
Gaudi::Property< std::vector< std::string > > m_inhibitPathes
Gaudi::Property< bool > m_enableAccessHdlr
Gaudi::Property< CLID > m_rootCLID
Gaudi::Property< std::string > m_accessName
StatusCode retrieveObject(IRegistry *pDirectory, std::string_view path, DataObject *&pObject) override
Retrieve object from data store.
DataSvc & operator=(const DataSvc &)=delete
Fake assignment operator (never implemented).
const std::string & rootName() const override
IDataManagerSvc: Accessor for root event name.
StatusCode registerAddress(std::string_view fullPath, IOpaqueAddress *pAddress) override
IDataManagerSvc: Register object address with the data store.
StatusCode traverseTree(IDataStoreAgent *pAgent) override
IDataManagerSvc: Analyze by traversing all data objects in the data store.
bool checkRoot()
Check if root path is valid.
CLID rootCLID() const override
IDataManagerSvc: Accessor for root event CLID.
StatusCode objectParent(const DataObject *pObject, IRegistry *&refpParent) override
IDataManagerSvc: Explore the object store: retrieve the object's parent.
StatusCode updateObject(IRegistry *pDirectory) override
Update object identified by its directory entry.
StatusCode removePreLoadItem(const DataStoreItem &item) override
Remove an item from the preload list.
Gaudi::Property< bool > m_forceLeaves
Gaudi::Property< bool > m_enableFaultHdlr
StatusCode clearStore() override
IDataManagerSvc: Remove all data objects in the data store.
Gaudi::Property< std::string > m_faultName
std::vector< DataStoreItem > m_preLoads
Items to be pre-loaded.
StatusCode unlinkObject(IRegistry *from, std::string_view objPath) override
Remove a link to another object.
StatusCode linkObject(IRegistry *from, std::string_view objPath, DataObject *to) override
Add a link to another object.
std::unique_ptr< DataSvcHelpers::RegistryEntry > m_root
Pointer to root entry.
Implementation of property with value of concrete type.
Data provider interface definition.
virtual StatusCode retrieveObject(IRegistry *pDirectory, std::string_view path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.
virtual StatusCode linkObject(IRegistry *from, std::string_view objPath, DataObject *toObj)=0
Add a link to another object.
virtual StatusCode unlinkObject(IRegistry *from, std::string_view objPath)=0
Remove a link to another object.
virtual StatusCode findObject(IRegistry *pDirectory, std::string_view path, DataObject *&pObject)=0
Find object identified by its directory entry.
StatusCode registerObject(std::string_view fullPath, DataObject *pObject)
Register object with the data store.
Generic data agent interface.
Opaque address interface definition.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.
virtual StatusCode registerAddress(std::string_view fullPath, IOpaqueAddress *pAddress)=0
Register object address with the data store.
virtual StatusCode unregisterAddress(std::string_view fullPath)=0
Unregister object address from the data store.