The Gaudi Framework
master (37c0b60a)
|
#include <GaudiKernel/IDataManagerSvc.h>
Public Member Functions | |
DeclareInterfaceID (IDataManagerSvc, 4, 0) | |
InterfaceID. More... | |
virtual CLID | rootCLID () const =0 |
Get class ID of root Event. More... | |
virtual const std::string & | rootName () const =0 |
Get Name of root Event. More... | |
virtual StatusCode | setDataLoader (IConversionSvc *svc, IDataProviderSvc *dpsvc=nullptr)=0 |
Pass a default data loader to the service. More... | |
virtual StatusCode | objectParent (const DataObject *pObject, IRegistry *&refpParent)=0 |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
virtual StatusCode | objectParent (const IRegistry *pRegistry, IRegistry *&refpParent)=0 |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
virtual StatusCode | objectLeaves (const DataObject *pObject, std::vector< IRegistry * > &refLeaves)=0 |
Explore the object store: retrieve all leaves attached to the object The object is identified by its pointer. More... | |
virtual StatusCode | objectLeaves (const IRegistry *pRegistry, std::vector< IRegistry * > &refLeaves)=0 |
Explore the object store: retrieve all leaves attached to the object The object is identified by the pointer to the registry entry. More... | |
virtual StatusCode | clearSubTree (std::string_view sub_path)=0 |
Remove all data objects below the sub tree identified by its full path name. More... | |
virtual StatusCode | clearSubTree (DataObject *pObject)=0 |
Remove all data objects below the sub tree identified by the object. More... | |
virtual StatusCode | clearStore ()=0 |
Remove all data objects in the data store. More... | |
virtual StatusCode | traverseSubTree (std::string_view sub_tree_path, IDataStoreAgent *pAgent)=0 |
Analyse by traversing all data objects below the sub tree identified by its full path name. More... | |
template<typename F , typename = std::enable_if_t<!std::is_convertible_v<F, IDataStoreAgent*>>> | |
StatusCode | traverseSubTree (std::string_view sub_path, F &&f) |
Analyse by traversing all data objects below the sub tree identified by its full path name. More... | |
virtual StatusCode | traverseSubTree (DataObject *pObject, IDataStoreAgent *pAgent)=0 |
Analyse by traversing all data objects below the sub tree identified by the object. More... | |
template<typename F , typename = std::enable_if_t<!std::is_convertible_v<F, IDataStoreAgent*>>> | |
StatusCode | traverseSubTree (DataObject *pObject, F &&f) |
Analyse by traversing all data objects below the sub tree identified by the object. More... | |
virtual StatusCode | traverseTree (IDataStoreAgent *pAgent)=0 |
Analyse by traversing all data objects in the data store. More... | |
template<typename F , typename = std::enable_if_t<!std::is_convertible_v<F, IDataStoreAgent*>>> | |
StatusCode | traverseTree (F &&f) |
Analyse by traversing all data objects in the data store. More... | |
virtual StatusCode | setRoot (std::string root_name, DataObject *pObject)=0 |
Initialize data store for new event by giving new event path. More... | |
virtual StatusCode | setRoot (std::string root_path, IOpaqueAddress *pRootAddr)=0 |
Initialize data store for new event by giving new event path. More... | |
virtual StatusCode | registerAddress (std::string_view fullPath, IOpaqueAddress *pAddress)=0 |
Register object address with the data store. More... | |
StatusCode | registerAddress (DataObject *parentObj, std::string_view objectPath, IOpaqueAddress *pAddress) |
Register object address with the data store. More... | |
virtual StatusCode | registerAddress (IRegistry *parentObj, std::string_view objectPath, IOpaqueAddress *pAddress)=0 |
Register object address with the data store. More... | |
virtual StatusCode | unregisterAddress (std::string_view fullPath)=0 |
Unregister object address from the data store. More... | |
StatusCode | unregisterAddress (DataObject *pParent, std::string_view objPath) |
Unregister object address from the data store. More... | |
virtual StatusCode | unregisterAddress (IRegistry *pParent, std::string_view objPath)=0 |
Unregister object address from the data store. More... | |
Additional Inherited Members | |
Public Types inherited from extend_interfaces< IInterface > | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
take union of the ext_iids of all Interfaces... More... | |
The data manager interface of the service allows to:
Definition at line 55 of file IDataManagerSvc.h.
|
pure virtual |
Remove all data objects in the data store.
|
pure virtual |
Remove all data objects below the sub tree identified by the object.
The object itself is removed as well.
pObject | [IN] Pointer to object |
|
pure virtual |
Remove all data objects below the sub tree identified by its full path name.
sub_path | [IN] Path to sub-tree node. |
IDataManagerSvc::DeclareInterfaceID | ( | IDataManagerSvc | , |
4 | , | ||
0 | |||
) |
|
pure virtual |
Explore the object store: retrieve all leaves attached to the object The object is identified by its pointer.
Allow to access and browse the leaf objects of the identified object.
pObject | [IN] Pointer to the object. |
refLeaves | [OUT] Reference to storage location, where the objects leaves should be stored. |
|
pure virtual |
Explore the object store: retrieve all leaves attached to the object The object is identified by the pointer to the registry entry.
Allow to access and browse the leaf objects of the identified object.
pRegistry | [IN] Pointer to the registry of the obejct. |
refLeaves | [OUT] Reference to storage location, where the objects leaves should be stored. |
|
pure virtual |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
The object is identified by its pointer.
pObject | [IN] Pointer to the object. |
refpParent | [OUT] Reference to store the parent's registry entry. |
|
pure virtual |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
The object is identified by the pointer to the registry entry.
pRegistry | [IN] Pointer to the object. |
refpParent | [OUT] Reference to store the parent's registry entry. |
|
inline |
Register object address with the data store.
Connect the object identified by its pointer to the parent object and the relative path of the object with respect to the parent.
parentObj | [IN] Pointer to parent object. |
objectPath | [IN] Path of the object relative to the parent node |
pAddress | [IN] Pointer to the object to be connected. |
Definition at line 215 of file IDataManagerSvc.h.
|
pure virtual |
Register object address with the data store.
Connect the object identified by its pointer to the parent object and the relative path of the object with respect to the parent.
parentObj | [IN] Pointer to parent object. |
objectPath | [IN] Path of the object relative to the parent node |
pAddress | [IN] Pointer to the object to be connected. |
|
pure virtual |
Register object address with the data store.
Connect the object identified by its pointer to the node object identified by its path.
fullPath | [IN] Path to parent node of the object. |
pAddress | [IN] Pointer to the object to be registered. |
|
pure virtual |
Get class ID of root Event.
|
pure virtual |
Get Name of root Event.
|
pure virtual |
Pass a default data loader to the service.
This service will be asked to load non existant data items.
svc | [IN] Pointer to persistency service instance |
dpsvc | [IN] Pointer to data provider instance (optional) |
|
pure virtual |
Initialize data store for new event by giving new event path.
Implicitly this clears the entire data store.
root_name | [IN] String containing root path name |
pObject | [IN] Pointer to root node object |
|
pure virtual |
Initialize data store for new event by giving new event path.
Implicitly this clears the entire data store.
root_name | [IN] String containing root path name |
pRootAddr | [IN] Pointer to opaque root node address |
|
inline |
Analyse by traversing all data objects below the sub tree identified by the object.
The object itself is removed as well.
pObject | [IN] Pointer to object |
f | [IN] Callable which will be called on each data object it should have the signature bool(IRegistry*,int level) |
Definition at line 161 of file IDataManagerSvc.h.
|
pure virtual |
Analyse by traversing all data objects below the sub tree identified by the object.
The object itself is removed as well.
pObject | [IN] Pointer to object |
pAgent | [IN] Pointer to the datastore agent traversing the store |
|
inline |
Analyse by traversing all data objects below the sub tree identified by its full path name.
sub_path | [IN] Path to sub-tree node. |
f | [IN] callable which will be called for each data object it should have the signature bool(IRegistry*,int level) |
Definition at line 140 of file IDataManagerSvc.h.
|
pure virtual |
Analyse by traversing all data objects below the sub tree identified by its full path name.
sub_path | [IN] Path to sub-tree node. |
|
inline |
Analyse by traversing all data objects in the data store.
f | [IN] callable which will be called for each data object it should have the signature bool(IRegistry*,int level) |
Definition at line 177 of file IDataManagerSvc.h.
|
pure virtual |
Analyse by traversing all data objects in the data store.
|
inline |
Unregister object address from the data store.
The object is identified by parent object and the path of the object relative to the parent.
pParent | [IN] Pointer to parent object. |
objPath | [IN] Path name of the object relative to the parent. |
Definition at line 243 of file IDataManagerSvc.h.
|
pure virtual |
Unregister object address from the data store.
The object is identified by parent object and the path of the object relative to the parent.
pParent | [IN] Pointer to parent object. |
objPath | [IN] Path name of the object relative to the parent. |
|
pure virtual |
Unregister object address from the data store.
The object is identified by full path name.
fullPath | [IN] Path name of the object. |