![]() |
The Gaudi Framework
v27r0
|
Data service base class. More...
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... | |
StatusCode | registerAddress (const std::string &path, IOpaqueAddress *pAddr) override |
IDataManagerSvc: Register object address with the data store. More... | |
StatusCode | registerAddress (DataObject *parent, const std::string &path, IOpaqueAddress *pAddr) override |
IDataManagerSvc: Register object address with the data store. More... | |
StatusCode | registerAddress (IRegistry *parent, const std::string &path, IOpaqueAddress *pAdd) override |
IDataManagerSvc: Register object address with the data store. More... | |
StatusCode | unregisterAddress (const std::string &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
StatusCode | unregisterAddress (DataObject *pParent, const std::string &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
StatusCode | unregisterAddress (IRegistry *pParent, const std::string &path) override |
IDataManagerSvc: Unregister object address from the data store. More... | |
StatusCode | objectLeaves (const DataObject *pObject, std::vector< IRegistry * > &leaves) override |
Explore the object store: retrieve all leaves attached to the object. More... | |
StatusCode | objectLeaves (const IRegistry *pObject, std::vector< IRegistry * > &leaves) override |
Explore the object store: retrieve all leaves attached to the object. More... | |
StatusCode | objectParent (const DataObject *pObject, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
StatusCode | objectParent (const IRegistry *pObject, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. More... | |
StatusCode | clearSubTree (const std::string &path) override |
Remove all data objects below the sub tree identified. More... | |
StatusCode | clearSubTree (DataObject *pObject) override |
Remove all data objects below the sub tree identified. More... | |
StatusCode | clearStore () override |
IDataManagerSvc: Remove all data objects in the data store. More... | |
StatusCode | traverseSubTree (const std::string &path, IDataStoreAgent *pAgent) override |
Analyze by traversing all data objects below the sub tree. More... | |
StatusCode | traverseSubTree (DataObject *pObject, IDataStoreAgent *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree. More... | |
StatusCode | traverseTree (IDataStoreAgent *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects in the data store. More... | |
StatusCode | setRoot (std::string path, DataObject *pObj) override |
Initialize data store for new event by giving new event path and root object. More... | |
StatusCode | setRoot (std::string path, IOpaqueAddress *pAddr) override |
Initialize data store for new event by giving new event path and address of root object. More... | |
StatusCode | setDataLoader (IConversionSvc *pDataLoader, IDataProviderSvc *dpsvc __attribute__((unused))=nullptr) override |
IDataManagerSvc: Pass a default data loader to the service. More... | |
StatusCode | addPreLoadItem (const DataStoreItem &item) override |
Add an item to the preload list. More... | |
StatusCode | addPreLoadItem (const std::string &item) override |
Add an item to the preload list. More... | |
StatusCode | removePreLoadItem (const DataStoreItem &item) override |
Remove an item from the preload list. More... | |
StatusCode | removePreLoadItem (const std::string &item) override |
Add an item to the preload list. More... | |
StatusCode | resetPreLoad () override |
Clear the preload list. More... | |
StatusCode | preLoad () override |
load all preload items of the list More... | |
StatusCode | registerObject (const std::string &path, DataObject *pObj) override |
Register object with the data store. (The most common one is the only monitored one for the time being....) More... | |
StatusCode | registerObject (const std::string &parent, const std::string &obj, DataObject *pObj) override |
Register object with the data store. More... | |
StatusCode | registerObject (const std::string &parent, int item, DataObject *pObj) override |
Register object with the data store. More... | |
StatusCode | registerObject (DataObject *parent, const std::string &obj, DataObject *pObj) override |
Register object with the data store. More... | |
StatusCode | registerObject (DataObject *parent, int obj, DataObject *pObj) override |
Register object with the data store. More... | |
StatusCode | unregisterObject (const std::string &path) override |
Unregister object from the data store. More... | |
StatusCode | unregisterObject (const std::string &parent, const std::string &obj) override |
Unregister object from the data store. More... | |
StatusCode | unregisterObject (const std::string &parent, int obj) override |
Unregister object from the data store. More... | |
StatusCode | unregisterObject (DataObject *pObj) override |
Unregister object from the data store. More... | |
StatusCode | unregisterObject (DataObject *pObj, const std::string &path) override |
Unregister object from the data store. More... | |
StatusCode | unregisterObject (DataObject *pObj, int item) override |
Unregister object from the data store. More... | |
StatusCode | retrieveObject (IRegistry *parent, const std::string &path, DataObject *&pObj) override |
Retrieve object from data store. More... | |
StatusCode | retrieveObject (const std::string &path, DataObject *&pObj) override |
Retrieve object identified by its full path from the data store. More... | |
StatusCode | retrieveObject (const std::string &parent, const std::string &path, DataObject *&pObj) override |
Retrieve object from data store. More... | |
StatusCode | retrieveObject (const std::string &parent, int item, DataObject *&pObj) override |
Retrieve object from data store. More... | |
StatusCode | retrieveObject (DataObject *parent, const std::string &path, DataObject *&pObj) override |
Retrieve object from data store. More... | |
StatusCode | retrieveObject (DataObject *parent, int item, DataObject *&pObj) override |
Retrieve object from data store. More... | |
StatusCode | findObject (const std::string &path, DataObject *&pObj) override |
Find object identified by its full path in the data store. More... | |
StatusCode | findObject (IRegistry *parent, const std::string &path, DataObject *&pObj) override |
Find object identified by its full path in the data store. More... | |
StatusCode | findObject (const std::string &parent, const std::string &path, DataObject *&pObj) override |
Find object in the data store. More... | |
StatusCode | findObject (const std::string &parent, int item, DataObject *&pObject) override |
Find object in the data store. More... | |
StatusCode | findObject (DataObject *parent, const std::string &path, DataObject *&pObject) override |
Find object in the data store. More... | |
StatusCode | findObject (DataObject *parent, int item, DataObject *&pObject) override |
Find object in the data store. More... | |
StatusCode | linkObject (IRegistry *from, const std::string &objPath, DataObject *to) override |
Add a link to another object. More... | |
StatusCode | linkObject (const std::string &from, const std::string &objPath, DataObject *to) override |
Add a link to another object. More... | |
StatusCode | linkObject (DataObject *from, const std::string &objPath, DataObject *to) override |
Add a link to another object. More... | |
StatusCode | linkObject (const std::string &fullPath, DataObject *to) override |
Add a link to another object. More... | |
StatusCode | unlinkObject (IRegistry *from, const std::string &objPath) override |
Remove a link to another object. More... | |
StatusCode | unlinkObject (const std::string &from, const std::string &objPath) override |
Remove a link to another object. More... | |
StatusCode | unlinkObject (DataObject *from, const std::string &objPath) override |
Remove a link to another object. More... | |
StatusCode | unlinkObject (const std::string &path) override |
Remove a link to another object. More... | |
StatusCode | updateObject (IRegistry *pDirectory) override |
Update object identified by its directory entry. More... | |
StatusCode | updateObject (const std::string &path) override |
Update object. More... | |
StatusCode | updateObject (DataObject *pObj) override |
Update object. More... | |
StatusCode | updateObject (const std::string &parent, const std::string &updatePath) override |
Update object. More... | |
StatusCode | updateObject (DataObject *parent, const std::string &updatePath) override |
Update object. More... | |
StatusCode | clearStore (size_t partition) override |
Remove all data objects in one 'slot' of the data store. More... | |
StatusCode | selectStore (size_t partition) override |
Activate a partition object. The identifies the partition uniquely. More... | |
StatusCode | setNumberOfStores (size_t slots) override |
Set the number of event slots (copies of DataSvc objects). More... | |
size_t | getNumberOfStores () override |
Get the number of event slots (copies of DataSvc objects). More... | |
StatusCode | getNewDataObjects (std::vector< std::string > &products) override |
Get the list of new DataObjects in the current store. More... | |
bool | newDataObjectsPresent () override |
Check if new DataObjects are in the current store. More... | |
size_t | allocateStore (int evtnumber) override |
Allocate a store partition for a given event number. More... | |
StatusCode | freeStore (size_t partition) override |
Free a store partition. More... | |
size_t | getPartitionNumber (int eventnumber) const override |
Get the partition number corresponding to a given event. More... | |
StatusCode | attachServices () |
StatusCode | detachServices () |
StatusCode | initialize () override |
Service initialisation. More... | |
StatusCode | reinitialize () override |
Service initialisation. More... | |
StatusCode | finalize () override |
Service initialisation. More... | |
HiveWhiteBoard (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
virtual | ~HiveWhiteBoard () |
Standard 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... | |
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 | |
typedef std::vector< Partition > | Partitions |
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... | |
IConversionSvc * | m_dataLoader |
Pointer to data loader service. More... | |
IAddressCreator * | m_addrCreator |
Reference to address creator. More... | |
Partitions | m_partitions |
Datastore partitions. More... | |
int | m_slots |
Datastore slots. More... | |
bool | m_forceLeaves |
Allow forced creation of default leaves on registerObject. More... | |
bool | m_enableFaultHdlr |
Flag to enable interrupts on data creation requests. 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 87 of file HiveWhiteBoard.cpp.
|
protected |
Definition at line 93 of file HiveWhiteBoard.cpp.
|
inline |
Standard Constructor.
Definition at line 583 of file HiveWhiteBoard.cpp.
|
inlinevirtual |
Standard Destructor.
Definition at line 597 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add an item to the preload list.
Definition at line 226 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add an item to the preload list.
Definition at line 231 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Allocate a store partition for a given event number.
Definition at line 454 of file HiveWhiteBoard.cpp.
|
inline |
Definition at line 489 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Remove all data objects in the data store.
Definition at line 179 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove all data objects in one 'slot' of the data store.
Definition at line 413 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove all data objects below the sub tree identified.
Definition at line 171 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove all data objects below the sub tree identified.
Definition at line 175 of file HiveWhiteBoard.cpp.
|
inline |
Definition at line 510 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 573 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object identified by its full path in the data store.
Definition at line 332 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object identified by its full path in the data store.
Definition at line 336 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object in the data store.
Definition at line 340 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object in the data store.
Definition at line 344 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object in the data store.
Definition at line 348 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Find object in the data store.
Definition at line 352 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Free a store partition.
Definition at line 472 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Get the list of new DataObjects in the current store.
Definition at line 440 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Get the number of event slots (copies of DataSvc objects).
Definition at line 435 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Get the partition number corresponding to a given event.
Definition at line 480 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 523 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add a link to another object.
Definition at line 356 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add a link to another object.
Definition at line 360 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add a link to another object.
Definition at line 364 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add a link to another object.
Definition at line 368 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Check if new DataObjects are in the current store.
Definition at line 448 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Explore the object store: retrieve all leaves attached to the object.
Definition at line 155 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Explore the object store: retrieve all leaves attached to the object.
Definition at line 159 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 163 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 167 of file HiveWhiteBoard.cpp.
|
inlineoverride |
load all preload items of the list
Definition at line 251 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Register object address with the data store.
Definition at line 131 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Register object address with the data store.
Definition at line 135 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Register object address with the data store.
Definition at line 139 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Register object with the data store. (The most common one is the only monitored one for the time being....)
Definition at line 259 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Register object with the data store.
Definition at line 268 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Register object with the data store.
Definition at line 272 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Register object with the data store.
Definition at line 276 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Register object with the data store.
Definition at line 280 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Service initialisation.
Definition at line 557 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove an item from the preload list.
Definition at line 236 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Add an item to the preload list.
Definition at line 241 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Clear the preload list.
Definition at line 246 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 308 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object identified by its full path from the data store.
Definition at line 312 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 316 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 320 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 324 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Retrieve object from data store.
Definition at line 328 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Accessor for root event CLID.
Definition at line 116 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Name for root Event.
Definition at line 120 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Activate a partition object. The identifies the partition uniquely.
Definition at line 418 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Pass a default data loader to the service.
The optional data provider is not considered. On the other hand, the data provider is specified to be the whiteboard.
Definition at line 212 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Set the number of event slots (copies of DataSvc objects).
Definition at line 424 of file HiveWhiteBoard.cpp.
|
inlineoverride |
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 198 of file HiveWhiteBoard.cpp.
|
inlineoverride |
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 204 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Analyze by traversing all data objects below the sub tree.
Definition at line 185 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree.
Definition at line 189 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Analyze by traversing all data objects in the data store.
Definition at line 193 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove a link to another object.
Definition at line 372 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove a link to another object.
Definition at line 376 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove a link to another object.
Definition at line 380 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Remove a link to another object.
Definition at line 384 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Unregister object address from the data store.
Definition at line 143 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Unregister object address from the data store.
Definition at line 147 of file HiveWhiteBoard.cpp.
|
inlineoverride |
IDataManagerSvc: Unregister object address from the data store.
Definition at line 151 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 284 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 288 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 292 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 296 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 300 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Unregister object from the data store.
Definition at line 304 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Update object identified by its directory entry.
Definition at line 388 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Update object.
Definition at line 392 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Update object.
Definition at line 396 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Update object.
Definition at line 400 of file HiveWhiteBoard.cpp.
|
inlineoverride |
Update object.
Definition at line 404 of file HiveWhiteBoard.cpp.
|
protected |
Reference to address creator.
Definition at line 104 of file HiveWhiteBoard.cpp.
|
protected |
Pointer to data loader service.
Definition at line 102 of file HiveWhiteBoard.cpp.
|
protected |
Flag to enable interrupts on data creation requests.
Definition at line 112 of file HiveWhiteBoard.cpp.
|
protected |
Allow forced creation of default leaves on registerObject.
Definition at line 110 of file HiveWhiteBoard.cpp.
|
protected |
Data loader name.
Definition at line 100 of file HiveWhiteBoard.cpp.
|
protected |
Datastore partitions.
Definition at line 106 of file HiveWhiteBoard.cpp.
|
protected |
Integer Property corresponding to CLID of root entry.
Definition at line 96 of file HiveWhiteBoard.cpp.
|
protected |
Name of root event.
Definition at line 98 of file HiveWhiteBoard.cpp.
|
protected |
Datastore slots.
Definition at line 108 of file HiveWhiteBoard.cpp.