![]() |
The Gaudi Framework
v27r0
|
Data service base class. More...
Classes | |
struct | tagROOT |
Public Member Functions | |
CLID | rootCLID () const override |
IDataManagerSvc: Accessor for root event CLID. More... | |
const std::string & | rootName () const override |
Name for root Event. More... | |
STATUS | registerAddress (CSTR &path, ADDRESS *pAddr) override |
IDataManagerSvc: Register object address with the data store. More... | |
STATUS | registerAddress (OBJECT *parent, CSTR &path, ADDRESS *pAddr) override |
IDataManagerSvc: Register object address with the data store. More... | |
STATUS | registerAddress (IRegistry *parent, CSTR &path, ADDRESS *pAdd) override |
IDataManagerSvc: Register object address with the data store. More... | |
STATUS | unregisterAddress (CSTR &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
STATUS | unregisterAddress (OBJECT *pParent, CSTR &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
STATUS | unregisterAddress (IRegistry *pParent, CSTR &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
STATUS | objectLeaves (const OBJECT *pObject, std::vector< IRegistry * > &leaves) override |
Explore the object store: retrieve all leaves attached to the object. More... | |
STATUS | objectLeaves (const IRegistry *pObject, std::vector< IRegistry * > &leaves) override |
Explore the object store: retrieve all leaves attached to the object. More... | |
STATUS | objectParent (const OBJECT *pObject, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
STATUS | objectParent (const IRegistry *pObject, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
STATUS | clearSubTree (CSTR &path) override |
Remove all data objects below the sub tree identified. More... | |
STATUS | clearSubTree (OBJECT *pObject) override |
Remove all data objects below the sub tree identified. More... | |
STATUS | clearStore () override |
IDataManagerSvc: Remove all data objects in the data store. More... | |
STATUS | traverseSubTree (CSTR &path, AGENT *pAgent) override |
Analyze by traversing all data objects below the sub tree. More... | |
STATUS | traverseSubTree (OBJECT *pObject, AGENT *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree. More... | |
STATUS | traverseTree (AGENT *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects in the data store. More... | |
STATUS | setRoot (std::string path, OBJECT *pObj) override |
Initialize data store for new event by giving new event path and root object. More... | |
STATUS | setRoot (std::string path, ADDRESS *pAddr) override |
Initialize data store for new event by giving new event path and address of root object. More... | |
STATUS | setDataLoader (IConversionSvc *pDataLoader, IDataProviderSvc *dpsvc=nullptr) override |
IDataManagerSvc: Pass a default data loader to the service. More... | |
STATUS | addPreLoadItem (const DataStoreItem &item) override |
Add an item to the preload list. More... | |
STATUS | addPreLoadItem (CSTR &item) override |
Add an item to the preload list. More... | |
STATUS | removePreLoadItem (const DataStoreItem &item) override |
Remove an item from the preload list. More... | |
STATUS | removePreLoadItem (CSTR &item) override |
Add an item to the preload list. More... | |
STATUS | resetPreLoad () override |
Clear the preload list. More... | |
STATUS | preLoad () override |
load all preload items of the list More... | |
STATUS | registerObject (CSTR &path, OBJECT *pObj) override |
Register object with the data store. More... | |
STATUS | registerObject (CSTR &parent, CSTR &obj, OBJECT *pObj) override |
Register object with the data store. More... | |
STATUS | registerObject (CSTR &parent, int item, OBJECT *pObj) override |
Register object with the data store. More... | |
STATUS | registerObject (OBJECT *parent, CSTR &obj, OBJECT *pObj) override |
Register object with the data store. More... | |
STATUS | registerObject (OBJECT *parent, int obj, OBJECT *pObj) override |
Register object with the data store. More... | |
STATUS | unregisterObject (CSTR &path) override |
Unregister object from the data store. More... | |
STATUS | unregisterObject (CSTR &parent, CSTR &obj) override |
Unregister object from the data store. More... | |
STATUS | unregisterObject (CSTR &parent, int obj) override |
Unregister object from the data store. More... | |
STATUS | unregisterObject (OBJECT *pObj) override |
Unregister object from the data store. More... | |
STATUS | unregisterObject (OBJECT *pObj, CSTR &path) override |
Unregister object from the data store. More... | |
STATUS | unregisterObject (OBJECT *pObj, int item) override |
Unregister object from the data store. More... | |
STATUS | retrieveObject (IRegistry *parent, CSTR &path, OBJECT *&pObj) override |
Retrieve object from data store. More... | |
STATUS | retrieveObject (CSTR &path, OBJECT *&pObj) override |
Retrieve object identified by its full path from the data store. More... | |
STATUS | retrieveObject (CSTR &parent, CSTR &path, OBJECT *&pObj) override |
Retrieve object from data store. More... | |
STATUS | retrieveObject (CSTR &parent, int item, OBJECT *&pObj) override |
Retrieve object from data store. More... | |
STATUS | retrieveObject (OBJECT *parent, CSTR &path, OBJECT *&pObj) override |
Retrieve object from data store. More... | |
STATUS | retrieveObject (OBJECT *parent, int item, OBJECT *&pObj) override |
Retrieve object from data store. More... | |
STATUS | findObject (CSTR &path, OBJECT *&pObj) override |
Find object identified by its full path in the data store. More... | |
STATUS | findObject (IRegistry *parent, CSTR &path, OBJECT *&pObj) override |
Find object identified by its full path in the data store. More... | |
STATUS | findObject (CSTR &parent, CSTR &path, OBJECT *&pObj) override |
Find object in the data store. More... | |
STATUS | findObject (CSTR &parent, int item, OBJECT *&pObject) override |
Find object in the data store. More... | |
STATUS | findObject (OBJECT *parent, CSTR &path, OBJECT *&pObject) override |
Find object in the data store. More... | |
STATUS | findObject (OBJECT *parent, int item, OBJECT *&pObject) override |
Find object in the data store. More... | |
STATUS | linkObject (IRegistry *from, CSTR &objPath, OBJECT *to) override |
Add a link to another object. More... | |
STATUS | linkObject (CSTR &from, CSTR &objPath, OBJECT *to) override |
Add a link to another object. More... | |
STATUS | linkObject (OBJECT *from, CSTR &objPath, OBJECT *to) override |
Add a link to another object. More... | |
STATUS | linkObject (CSTR &fullPath, OBJECT *to) override |
Add a link to another object. More... | |
STATUS | unlinkObject (IRegistry *from, CSTR &objPath) override |
Remove a link to another object. More... | |
STATUS | unlinkObject (CSTR &from, CSTR &objPath) override |
Remove a link to another object. More... | |
STATUS | unlinkObject (OBJECT *from, CSTR &objPath) override |
Remove a link to another object. More... | |
STATUS | unlinkObject (CSTR &path) override |
Remove a link to another object. More... | |
STATUS | updateObject (IRegistry *pDirectory) override |
Update object identified by its directory entry. More... | |
STATUS | updateObject (CSTR &path) override |
Update object. More... | |
STATUS | updateObject (OBJECT *pObj) override |
Update object. More... | |
STATUS | updateObject (CSTR &parent, CSTR &updatePath) override |
Update object. More... | |
STATUS | updateObject (OBJECT *parent, CSTR &updatePath) override |
Update object. More... | |
STATUS | create (CSTR &nam, CSTR &typ) override |
Create a partition object. The name identifies the partition uniquely. More... | |
STATUS | create (CSTR &nam, CSTR &typ, IInterface *&pPartition) override |
Create a partition object. The name identifies the partition uniquely. More... | |
STATUS | drop (CSTR &nam) override |
Drop a partition object. The name identifies the partition uniquely. More... | |
STATUS | drop (IInterface *pPartition) override |
Drop a partition object. The name identifies the partition uniquely. More... | |
STATUS | activate (CSTR &nam) override |
Activate a partition object. The name identifies the partition uniquely. More... | |
STATUS | activate (IInterface *pPartition) override |
Activate a partition object. More... | |
STATUS | get (CSTR &nam, IInterface *&pPartition) const override |
Access a partition object. The name identifies the partition uniquely. More... | |
StatusCode | activePartition (std::string &nam, IInterface *&pPartition) const override |
Access the active partition object. More... | |
STATUS | attachServices () |
STATUS | detachServices () |
STATUS | initialize () override |
Service initialisation. More... | |
STATUS | reinitialize () override |
Service initialisation. More... | |
STATUS | finalize () override |
Service initialisation. More... | |
MultiStoreSvc (CSTR &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
~MultiStoreSvc () override | |
Standard Destructor. More... | |
STATUS | preparePartitions () |
Prepare partition for usage. More... | |
STATUS | clearPartitions () |
Clear all partitions. More... | |
STATUS | makePartitions () |
Create all partitions according to job options. More... | |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Protected Types | |
enum | { no_type = 0, address_type = 1, object_type = 2 } |
Root type (address or object) More... | |
typedef std::vector< std::string > | PartitionDefs |
typedef std::map< std::string, Partition > | Partitions |
Protected Member Functions | |
template<typename... Args, typename... UArgs> | |
STATUS | call_ (STATUS(IDataProviderSvc::*pmf)(Args...), UArgs &&...args) |
template<typename... Args, typename... UArgs> | |
STATUS | call_ (STATUS(IDataManagerSvc::*pmf)(Args...), UArgs &&...args) |
Protected Attributes | |
CLID | m_rootCLID |
Integer Property corresponding to CLID of root entry. More... | |
std::string | m_rootName |
Name of root event. More... | |
std::string | m_loader |
Data loader name. More... | |
SmartIF< IConversionSvc > | m_dataLoader |
Pointer to data loader service. More... | |
SmartIF< IAddressCreator > | m_addrCreator |
Reference to address creator. More... | |
struct MultiStoreSvc::tagROOT | m_root |
Partition | m_current |
Current partition. More... | |
Partitions | m_partitions |
Datastore partitions. More... | |
PartitionDefs | m_partitionDefs |
Datastore partition definitions. More... | |
std::string | m_defaultPartition |
Default partition. More... | |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
Data service base class.
A data service manages the transient data stores and implements the IDataProviderSvc, the IDataManagerSvc and the IPartitionControl interfaces.
Definition at line 67 of file MultiStoreSvc.cpp.
|
protected |
Definition at line 73 of file MultiStoreSvc.cpp.
|
protected |
Definition at line 74 of file MultiStoreSvc.cpp.
|
protected |
Root type (address or object)
Enumerator | |
---|---|
no_type | |
address_type | |
object_type |
Definition at line 86 of file MultiStoreSvc.cpp.
|
inline |
Standard Constructor.
Definition at line 605 of file MultiStoreSvc.cpp.
|
inlineoverride |
Standard Destructor.
Definition at line 616 of file MultiStoreSvc.cpp.
Activate a partition object. The name identifies the partition uniquely.
Definition at line 475 of file MultiStoreSvc.cpp.
|
inlineoverride |
Activate a partition object.
Definition at line 486 of file MultiStoreSvc.cpp.
|
inlineoverride |
Access the active partition object.
Definition at line 511 of file MultiStoreSvc.cpp.
|
inlineoverride |
Add an item to the preload list.
Definition at line 262 of file MultiStoreSvc.cpp.
Add an item to the preload list.
Definition at line 266 of file MultiStoreSvc.cpp.
|
inline |
Definition at line 522 of file MultiStoreSvc.cpp.
|
inlineprotected |
Definition at line 107 of file MultiStoreSvc.cpp.
|
inlineprotected |
Definition at line 113 of file MultiStoreSvc.cpp.
|
inline |
Clear all partitions.
Definition at line 660 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Remove all data objects in the data store.
Definition at line 178 of file MultiStoreSvc.cpp.
Remove all data objects below the sub tree identified.
Definition at line 170 of file MultiStoreSvc.cpp.
Remove all data objects below the sub tree identified.
Definition at line 174 of file MultiStoreSvc.cpp.
Create a partition object. The name identifies the partition uniquely.
Definition at line 431 of file MultiStoreSvc.cpp.
|
inlineoverride |
Create a partition object. The name identifies the partition uniquely.
Definition at line 436 of file MultiStoreSvc.cpp.
|
inline |
Definition at line 547 of file MultiStoreSvc.cpp.
Drop a partition object. The name identifies the partition uniquely.
Definition at line 449 of file MultiStoreSvc.cpp.
|
inlineoverride |
Drop a partition object. The name identifies the partition uniquely.
Definition at line 461 of file MultiStoreSvc.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 592 of file MultiStoreSvc.cpp.
Find object identified by its full path in the data store.
Definition at line 354 of file MultiStoreSvc.cpp.
Find object identified by its full path in the data store.
Definition at line 358 of file MultiStoreSvc.cpp.
Find object in the data store.
Definition at line 362 of file MultiStoreSvc.cpp.
Find object in the data store.
Definition at line 366 of file MultiStoreSvc.cpp.
Find object in the data store.
Definition at line 370 of file MultiStoreSvc.cpp.
Find object in the data store.
Definition at line 374 of file MultiStoreSvc.cpp.
|
inlineoverride |
Access a partition object. The name identifies the partition uniquely.
Definition at line 500 of file MultiStoreSvc.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 554 of file MultiStoreSvc.cpp.
Add a link to another object.
Definition at line 378 of file MultiStoreSvc.cpp.
Add a link to another object.
Definition at line 382 of file MultiStoreSvc.cpp.
Add a link to another object.
Definition at line 386 of file MultiStoreSvc.cpp.
Add a link to another object.
Definition at line 390 of file MultiStoreSvc.cpp.
|
inline |
Create all partitions according to job options.
Definition at line 667 of file MultiStoreSvc.cpp.
|
inlineoverride |
Explore the object store: retrieve all leaves attached to the object.
Definition at line 154 of file MultiStoreSvc.cpp.
|
inlineoverride |
Explore the object store: retrieve all leaves attached to the object.
Definition at line 158 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 162 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 166 of file MultiStoreSvc.cpp.
|
inlineoverride |
|
inline |
Prepare partition for usage.
Definition at line 624 of file MultiStoreSvc.cpp.
IDataManagerSvc: Register object address with the data store.
Definition at line 130 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Register object address with the data store.
Definition at line 134 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Register object address with the data store.
Definition at line 138 of file MultiStoreSvc.cpp.
Register object with the data store.
Definition at line 286 of file MultiStoreSvc.cpp.
Register object with the data store.
Definition at line 290 of file MultiStoreSvc.cpp.
Register object with the data store.
Definition at line 294 of file MultiStoreSvc.cpp.
Register object with the data store.
Definition at line 298 of file MultiStoreSvc.cpp.
Register object with the data store.
Definition at line 302 of file MultiStoreSvc.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 568 of file MultiStoreSvc.cpp.
|
inlineoverride |
Remove an item from the preload list.
Definition at line 270 of file MultiStoreSvc.cpp.
Add an item to the preload list.
Definition at line 274 of file MultiStoreSvc.cpp.
|
inlineoverride |
|
inlineoverride |
Retrieve object from data store.
Definition at line 330 of file MultiStoreSvc.cpp.
Retrieve object identified by its full path from the data store.
Definition at line 334 of file MultiStoreSvc.cpp.
Retrieve object from data store.
Definition at line 338 of file MultiStoreSvc.cpp.
Retrieve object from data store.
Definition at line 342 of file MultiStoreSvc.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 346 of file MultiStoreSvc.cpp.
Retrieve object from data store.
Definition at line 350 of file MultiStoreSvc.cpp.
|
inlineoverride |
IDataManagerSvc: Accessor for root event CLID.
Definition at line 121 of file MultiStoreSvc.cpp.
|
inlineoverride |
|
inlineoverride |
IDataManagerSvc: Pass a default data loader to the service.
Definition at line 253 of file MultiStoreSvc.cpp.
Initialize data store for new event by giving new event path and root object.
Takes care to clear the store before reinitializing it
Definition at line 211 of file MultiStoreSvc.cpp.
Initialize data store for new event by giving new event path and address of root object.
Takes care to clear the store before reinitializing it
Definition at line 231 of file MultiStoreSvc.cpp.
Analyze by traversing all data objects below the sub tree.
Definition at line 198 of file MultiStoreSvc.cpp.
IDataManagerSvc: Analyze by traversing all data objects below the sub tree.
Definition at line 202 of file MultiStoreSvc.cpp.
IDataManagerSvc: Analyze by traversing all data objects in the data store.
Definition at line 206 of file MultiStoreSvc.cpp.
Remove a link to another object.
Definition at line 394 of file MultiStoreSvc.cpp.
Remove a link to another object.
Definition at line 398 of file MultiStoreSvc.cpp.
Remove a link to another object.
Definition at line 402 of file MultiStoreSvc.cpp.
Remove a link to another object.
Definition at line 406 of file MultiStoreSvc.cpp.
IDataManagerSvc: Unregister object address from the data store.
Definition at line 142 of file MultiStoreSvc.cpp.
IDataManagerSvc: Unregister object address from the data store.
Definition at line 146 of file MultiStoreSvc.cpp.
IDataManagerSvc: Unregister object address from the data store.
Definition at line 150 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 306 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 310 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 314 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 318 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 322 of file MultiStoreSvc.cpp.
Unregister object from the data store.
Definition at line 326 of file MultiStoreSvc.cpp.
Update object identified by its directory entry.
Definition at line 410 of file MultiStoreSvc.cpp.
Update object.
Definition at line 414 of file MultiStoreSvc.cpp.
Update object.
Definition at line 418 of file MultiStoreSvc.cpp.
Update object.
Definition at line 422 of file MultiStoreSvc.cpp.
Update object.
Definition at line 426 of file MultiStoreSvc.cpp.
|
protected |
Reference to address creator.
Definition at line 84 of file MultiStoreSvc.cpp.
|
protected |
Current partition.
Definition at line 97 of file MultiStoreSvc.cpp.
|
protected |
Pointer to data loader service.
Definition at line 82 of file MultiStoreSvc.cpp.
|
protected |
Default partition.
Definition at line 103 of file MultiStoreSvc.cpp.
|
protected |
Data loader name.
Definition at line 80 of file MultiStoreSvc.cpp.
|
protected |
Datastore partition definitions.
Definition at line 101 of file MultiStoreSvc.cpp.
|
protected |
Datastore partitions.
Definition at line 99 of file MultiStoreSvc.cpp.
|
protected |
|
protected |
Integer Property corresponding to CLID of root entry.
Definition at line 76 of file MultiStoreSvc.cpp.
|
protected |
Name of root event.
Definition at line 78 of file MultiStoreSvc.cpp.