![]() |
The Gaudi Framework
master (b9786168)
|
Use a minimal event store implementation, and adds everything required to satisfy the IDataProviderSvc, IDataManagerSvc and IHiveWhiteBoard interfaces by throwing exceptions except when the functionality is really needed... More...


Public Member Functions | |
| CLID | rootCLID () const override |
| const std::string & | rootName () const override |
| StatusCode | setDataLoader (IConversionSvc *svc, IDataProviderSvc *dpsvc) override |
| size_t | allocateStore (int evtnumber) override |
| Allocate a store partition for a given event number. | |
| StatusCode | freeStore (size_t partition) override |
| Free a store partition. | |
| size_t | freeSlots () override |
| StatusCode | selectStore (size_t partition) override |
| Activate a partition object. The identifies the partition uniquely. | |
| StatusCode | clearStore () override |
| StatusCode | clearStore (size_t partition) override |
| Remove all data objects in one 'slot' of the data store. | |
| StatusCode | setNumberOfStores (size_t slots) override |
| Set the number of event slots (copies of DataSvc objects). | |
| size_t | getNumberOfStores () const override |
| size_t | getPartitionNumber (int eventnumber) const override |
| Get the partition number corresponding to a given event. | |
| bool | exists (const DataObjID &id) override |
| StatusCode | objectParent (const DataObject *, IRegistry *&) override |
| StatusCode | objectParent (const IRegistry *, IRegistry *&) override |
| StatusCode | objectLeaves (const DataObject *, std::vector< IRegistry * > &) override |
| StatusCode | objectLeaves (const IRegistry *, std::vector< IRegistry * > &) override |
| StatusCode | clearSubTree (std::string_view) override |
| StatusCode | clearSubTree (DataObject *obj) override |
| StatusCode | traverseSubTree (std::string_view, IDataStoreAgent *) override |
| StatusCode | traverseSubTree (DataObject *obj, IDataStoreAgent *pAgent) override |
| StatusCode | traverseTree (IDataStoreAgent *pAgent) override |
| StatusCode | setRoot (std::string root_name, DataObject *pObject) override |
| StatusCode | setRoot (std::string root_path, IOpaqueAddress *pRootAddr) override |
| StatusCode | unregisterAddress (std::string_view) override |
| StatusCode | unregisterAddress (IRegistry *, std::string_view) override |
| StatusCode | registerAddress (std::string_view fullPath, IOpaqueAddress *pAddress) override |
| StatusCode | registerAddress (IRegistry *parentObj, std::string_view objectPath, IOpaqueAddress *pAddress) override |
| StatusCode | registerObject (std::string_view parentPath, std::string_view objectPath, DataObject *pObject) override |
| StatusCode | registerObject (DataObject *parentObj, std::string_view objectPath, DataObject *pObject) override |
| StatusCode | unregisterObject (std::string_view) override |
| StatusCode | unregisterObject (DataObject *obj) override |
| StatusCode | unregisterObject (DataObject *obj, std::string_view sr) override |
| StatusCode | retrieveObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject) override |
| StatusCode | findObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject) override |
| StatusCode | findObject (std::string_view fullPath, DataObject *&pObject) override |
| StatusCode | updateObject (IRegistry *) override |
| StatusCode | updateObject (DataObject *) override |
| StatusCode | addPreLoadItem (const DataStoreItem &) override |
| StatusCode | removePreLoadItem (const DataStoreItem &) override |
| StatusCode | resetPreLoad () override |
| StatusCode | preLoad () override |
| StatusCode | linkObject (IRegistry *, std::string_view, DataObject *) override |
| StatusCode | linkObject (std::string_view, DataObject *) override |
| StatusCode | unlinkObject (IRegistry *, std::string_view) override |
| StatusCode | unlinkObject (DataObject *, std::string_view) override |
| StatusCode | unlinkObject (std::string_view) override |
| StatusCode | initialize () override |
| StatusCode | finalize () override |
Public Member Functions inherited from extends< Service, IDataProviderSvc, IDataManagerSvc, IHiveWhiteBoard > | |
| void const * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. | |
Public Member Functions inherited from Service | |
| const std::string & | name () const override |
| Retrieve name of the service. | |
| StatusCode | configure () override |
| StatusCode | initialize () override |
| StatusCode | start () override |
| StatusCode | stop () override |
| StatusCode | finalize () override |
| StatusCode | terminate () override |
| Gaudi::StateMachine::State | FSMState () const override |
| Gaudi::StateMachine::State | targetFSMState () const override |
| StatusCode | reinitialize () override |
| StatusCode | restart () override |
| StatusCode | sysInitialize () override |
| Initialize Service. | |
| StatusCode | sysStart () override |
| Initialize Service. | |
| StatusCode | sysStop () override |
| Initialize Service. | |
| StatusCode | sysFinalize () override |
| Finalize Service. | |
| StatusCode | sysReinitialize () override |
| Re-initialize the Service. | |
| StatusCode | sysRestart () override |
| Re-initialize the Service. | |
| Service (std::string name, ISvcLocator *svcloc) | |
| Standard Constructor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const override |
| Retrieve pointer to service locator. | |
| template<typename IFace = IService> | |
| SmartIF< IFace > | service (const std::string &name, bool createIf=true) const |
| template<class T> | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none") |
| template<class T> | |
| StatusCode | declareTool (ToolHandle< T > &handle, bool createIf=true) |
| template<class T> | |
| StatusCode | declareTool (ToolHandle< T > &handle, const std::string &toolTypeAndName, bool createIf=true) |
| Declare used tool. | |
| template<class T> | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, ToolHandleArray< T > &hndlArr, const std::string &doc="none") |
| template<class T> | |
| void | addToolsArray (ToolHandleArray< T > &hndlArr) |
| const std::vector< IAlgTool * > & | tools () const |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. | |
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > | |
| StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) |
| Set the property from a property. | |
| StatusCode | setProperty (const std::string &name, const char *v) |
| Special case for string literals. | |
| StatusCode | setProperty (const std::string &name, const std::string &v) |
| Special case for std::string. | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| PropertyHolder ()=default | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Details::PropertyBase &prop) |
| Declare a property. | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
| Helper to wrap a regular data member and use it as a regular property. | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none") |
| Declare a PropertyBase instance setting name and documentation. | |
| Gaudi::Details::PropertyBase * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
| Declare a remote property. | |
| StatusCode | setProperty (const std::string &name, const Gaudi::Details::PropertyBase &p) override |
| set the property from another property with a different name | |
| StatusCode | setProperty (const std::string &s) override |
| set the property from the formatted string | |
| StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) |
| Set the property from a property. | |
| StatusCode | setProperty (const std::string &name, const char *v) |
| Special case for string literals. | |
| StatusCode | setProperty (const std::string &name, const std::string &v) |
| Special case for std::string. | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| StatusCode | setPropertyRepr (const std::string &n, const std::string &r) override |
| set the property from name and value string representation | |
| StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override |
| get the property | |
| const Gaudi::Details::PropertyBase & | getProperty (std::string_view name) const override |
| get the property by name | |
| StatusCode | getProperty (std::string_view n, std::string &v) const override |
| convert the property to the string | |
| const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override |
| get all properties | |
| bool | hasProperty (std::string_view name) const override |
| Return true if we have a property with the given name. | |
| Gaudi::Details::PropertyBase * | property (std::string_view name) const |
| \fixme property and bindPropertiesTo should be protected | |
| void | bindPropertiesTo (Gaudi::Interfaces::IOptionsSvc &optsSvc) |
| PropertyHolder (const PropertyHolder &)=delete | |
| PropertyHolder & | operator= (const PropertyHolder &)=delete |
Public Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| MSG::Level | msgLevel () const |
| get the cached level (originally extracted from the embedded MsgStream) | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream | |
Public Member Functions inherited from CommonMessagingBase | |
| virtual | ~CommonMessagingBase ()=default |
| Virtual destructor. | |
| const SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) | |
Private Member Functions | |
| std::size_t | poolSize () const |
| void | fillStats (Partition &p) const |
| void | initStore (Partition &p) const |
Private Attributes | |
| Gaudi::Property< CLID > | m_rootCLID { this, "RootCLID", 110 , "CLID of root entry" } |
| Gaudi::Property< std::string > | m_rootName { this, "RootName", "/Event", "name of root entry" } |
| Gaudi::Property< bool > | m_forceLeaves |
| Gaudi::Property< std::string > | m_loader { this, "DataLoader", "EventPersistencySvc" } |
| Gaudi::Property< size_t > | m_slots { this, "EventSlots", 1, "number of event slots" } |
| Gaudi::Property< bool > | m_printPoolStats { this, "PrintPoolStats", false, "Print memory pool statistics" } |
| Gaudi::Property< std::size_t > | m_poolSize { this, "PoolSize", 1024, "Initial per-event memory pool size [KiB]" } |
| Gaudi::Property< std::size_t > | m_estStoreBuckets |
| Gaudi::Accumulators::AveragingCounter< std::size_t > | m_usedPoolSize |
| Gaudi::Accumulators::AveragingCounter< std::size_t > | m_servedPoolAllocations |
| Gaudi::Accumulators::AveragingCounter< std::size_t > | m_usedPoolAllocations |
| Gaudi::Accumulators::AveragingCounter< std::size_t > | m_storeEntries |
| Gaudi::Accumulators::AveragingCounter< std::size_t > | m_storeBuckets |
| SmartIF< IConversionSvc > | m_dataLoader |
| std::vector< DataStoreItem > | m_preLoads |
| Items to be pre-loaded. | |
| std::vector< Synced< Partition > > | m_partitions |
| The actual store(s) | |
| tbb::concurrent_queue< size_t > | m_freeSlots |
| Gaudi::Property< std::vector< std::string > > | m_inhibitPrefixes |
| Gaudi::Property< bool > | m_followLinksToAncestors |
| std::string_view | m_onlyThisID |
Additional Inherited Members | |
Public Types inherited from extends< Service, IDataProviderSvc, IDataManagerSvc, IHiveWhiteBoard > | |
| using | base_class |
| Typedef to this class. | |
| using | extend_interfaces_base |
| Typedef to the base of this class. | |
Public Types inherited from Service | |
| using | Factory = Gaudi::PluginService::Factory<IService*( const std::string&, ISvcLocator* )> |
Public Types inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > | |
| using | PropertyHolderImpl |
| Typedef used to refer to this class from derived classes, as in. | |
Public Types inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| using | base_class |
Public Types inherited from extend_interfaces< Interfaces... > | |
| using | ext_iids |
| take union of the ext_iids of all Interfaces... | |
Protected Member Functions inherited from Service | |
| std::vector< IAlgTool * > & | tools () |
| ~Service () override | |
| int | outputLevel () const |
get the Service's output level | |
Protected Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| MSG::Level | setUpMessaging () const |
| Set up local caches. | |
| MSG::Level | resetMessaging () |
| Reinitialize internal states. | |
| void | updateMsgStreamOutputLevel (int level) |
| Update the output level of the cached MsgStream. | |
Protected Attributes inherited from Service | |
| Gaudi::StateMachine::State | m_state = Gaudi::StateMachine::OFFLINE |
| Service state. | |
| Gaudi::StateMachine::State | m_targetState = Gaudi::StateMachine::OFFLINE |
| Service state. | |
| Gaudi::Property< int > | m_outputLevel { this, "OutputLevel", MSG::NIL, "output level" } |
| flag indicating whether ToolHandle tools have been added to m_tools | |
| Gaudi::Property< bool > | m_auditorInitialize { this, "AuditInitialize", false, "trigger auditor on initialize()" } |
| Gaudi::Property< bool > | m_auditorStart { this, "AuditStart", false, "trigger auditor on start()" } |
| Gaudi::Property< bool > | m_auditorStop { this, "AuditStop", false, "trigger auditor on stop()" } |
| Gaudi::Property< bool > | m_auditorFinalize { this, "AuditFinalize", false, "trigger auditor on finalize()" } |
| Gaudi::Property< bool > | m_auditorReinitialize { this, "AuditReinitialize", false, "trigger auditor on reinitialize()" } |
| Gaudi::Property< bool > | m_auditorRestart { this, "AuditRestart", false, "trigger auditor on restart()" } |
| Gaudi::Property< bool > | m_autoRetrieveTools |
| Gaudi::Property< bool > | m_checkToolDeps |
| SmartIF< IAuditorSvc > | m_pAuditorSvc |
| Auditor Service. | |
Use a minimal event store implementation, and adds everything required to satisfy the IDataProviderSvc, IDataManagerSvc and IHiveWhiteBoard interfaces by throwing exceptions except when the functionality is really needed...
Definition at line 235 of file EvtStoreSvc.cpp.
|
override |
Definition at line 653 of file EvtStoreSvc.cpp.
|
override |
Allocate a store partition for a given event number.
Definition at line 419 of file EvtStoreSvc.cpp.
|
override |
Definition at line 480 of file EvtStoreSvc.cpp.
|
override |
Remove all data objects in one 'slot' of the data store.
Definition at line 465 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 320 of file EvtStoreSvc.cpp.
|
override |
Definition at line 473 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 309 of file EvtStoreSvc.cpp.
|
inlineprivate |
Definition at line 252 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 395 of file EvtStoreSvc.cpp.
|
override |
Definition at line 644 of file EvtStoreSvc.cpp.
|
override |
Definition at line 647 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 302 of file EvtStoreSvc.cpp.
|
override |
Free a store partition.
Definition at line 457 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 307 of file EvtStoreSvc.cpp.
|
override |
Get the partition number corresponding to a given event.
Definition at line 446 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 373 of file EvtStoreSvc.cpp.
|
inlineprivate |
Definition at line 264 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 367 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 368 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 316 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 317 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 314 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 315 of file EvtStoreSvc.cpp.
|
inlineprivate |
Definition at line 250 of file EvtStoreSvc.cpp.
|
override |
Definition at line 663 of file EvtStoreSvc.cpp.
|
override |
Definition at line 552 of file EvtStoreSvc.cpp.
|
override |
Definition at line 549 of file EvtStoreSvc.cpp.
|
override |
Definition at line 607 of file EvtStoreSvc.cpp.
|
override |
Definition at line 601 of file EvtStoreSvc.cpp.
|
override |
Definition at line 658 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 361 of file EvtStoreSvc.cpp.
|
override |
Definition at line 632 of file EvtStoreSvc.cpp.
|
override |
Definition at line 411 of file EvtStoreSvc.cpp.
|
override |
Definition at line 412 of file EvtStoreSvc.cpp.
|
override |
Activate a partition object. The identifies the partition uniquely.
Definition at line 452 of file EvtStoreSvc.cpp.
|
override |
Definition at line 413 of file EvtStoreSvc.cpp.
|
override |
Set the number of event slots (copies of DataSvc objects).
Definition at line 432 of file EvtStoreSvc.cpp.
|
override |
Definition at line 509 of file EvtStoreSvc.cpp.
|
override |
Definition at line 520 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 325 of file EvtStoreSvc.cpp.
|
override |
Definition at line 488 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 328 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 370 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 369 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 371 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 334 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 333 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 342 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 345 of file EvtStoreSvc.cpp.
|
override |
Definition at line 650 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 357 of file EvtStoreSvc.cpp.
|
inlineoverride |
Definition at line 356 of file EvtStoreSvc.cpp.
|
private |
Definition at line 273 of file EvtStoreSvc.cpp.
|
private |
Definition at line 244 of file EvtStoreSvc.cpp.
|
private |
Definition at line 288 of file EvtStoreSvc.cpp.
|
private |
Definition at line 238 of file EvtStoreSvc.cpp.
|
private |
Definition at line 281 of file EvtStoreSvc.cpp.
|
private |
Definition at line 283 of file EvtStoreSvc.cpp.
|
private |
Definition at line 240 of file EvtStoreSvc.cpp.
|
private |
Definition at line 291 of file EvtStoreSvc.cpp.
|
private |
The actual store(s)
Definition at line 279 of file EvtStoreSvc.cpp.
|
private |
Definition at line 243 of file EvtStoreSvc.cpp.
|
private |
Items to be pre-loaded.
Definition at line 276 of file EvtStoreSvc.cpp.
|
private |
Definition at line 242 of file EvtStoreSvc.cpp.
|
private |
Definition at line 236 of file EvtStoreSvc.cpp.
|
private |
Definition at line 237 of file EvtStoreSvc.cpp.
|
private |
Definition at line 246 of file EvtStoreSvc.cpp.
|
private |
Definition at line 241 of file EvtStoreSvc.cpp.
|
private |
Definition at line 247 of file EvtStoreSvc.cpp.
|
private |
Definition at line 247 of file EvtStoreSvc.cpp.
|
private |
Definition at line 247 of file EvtStoreSvc.cpp.
|
mutableprivate |
Definition at line 246 of file EvtStoreSvc.cpp.