![]() |
The Gaudi Framework
master (ff829712)
|
Data service base class. More...
#include <GaudiKernel/TsDataSvc.h>
Public Member Functions | |
CLID | rootCLID () const override |
IDataManagerSvc: Accessor for root event CLID. | |
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 | registerAddress (IRegistry *parentObj, std::string_view objectPath, IOpaqueAddress *pAddress) override |
IDataManagerSvc: Register object address with the data store. | |
StatusCode | unregisterAddress (std::string_view fullPath) override |
IDataManagerSvc: Unregister object address from the data store. | |
StatusCode | unregisterAddress (IRegistry *pParent, std::string_view objPath) override |
IDataManagerSvc: Unregister object address from the data store. | |
StatusCode | objectLeaves (const DataObject *pObject, std::vector< IRegistry * > &refLeaves) override |
IDataManagerSvc: Explore the object store: retrieve all leaves attached to the object. | |
StatusCode | objectLeaves (const IRegistry *pRegistry, std::vector< IRegistry * > &refLeaves) override |
IDataManagerSvc: Explore the object store: retrieve all leaves attached to the object. | |
StatusCode | objectParent (const DataObject *pObject, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. | |
StatusCode | objectParent (const IRegistry *pRegistry, IRegistry *&refpParent) override |
IDataManagerSvc: Explore the object store: retrieve the object's parent. | |
StatusCode | clearSubTree (std::string_view sub_tree_path) override |
IDataManagerSvc: Remove all data objects below the sub tree identified by its full path name. | |
StatusCode | clearSubTree (DataObject *pObject) override |
IDataManagerSvc: Remove all data objects below the sub tree identified by the object. | |
StatusCode | clearStore () override |
IDataManagerSvc: Remove all data objects in the data store. | |
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 path name. | |
StatusCode | traverseSubTree (DataObject *pObject, IDataStoreAgent *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree. | |
StatusCode | traverseTree (IDataStoreAgent *pAgent) override |
IDataManagerSvc: Analyze by traversing all data objects in the data store. | |
StatusCode | setRoot (std::string root_name, DataObject *pRootObj) override |
Initialize data store for new event by giving new event path and root object. | |
virtual StatusCode | i_setRoot (std::string root_name, DataObject *pRootObj) |
Initialize data store for new event by giving new event path and root object. | |
StatusCode | i_setRoot (DataObject *pRootObj) |
StatusCode | setRoot (std::string root_path, IOpaqueAddress *pRootAddr) override |
Initialize data store for new event by giving new event path and address of root object. | |
virtual StatusCode | i_setRoot (std::string root_path, IOpaqueAddress *pRootAddr) |
Initialize data store for new event by giving new event path and address of root object. | |
StatusCode | i_setRoot (IOpaqueAddress *pRootAddr) |
StatusCode | setDataLoader (IConversionSvc *svc, IDataProviderSvc *dpsvc=nullptr) override |
IDataManagerSvc: IDataManagerSvc: Pass a default data loader to the service and optionally a data provider. | |
StatusCode | addPreLoadItem (const DataStoreItem &item) override |
Add an item to the preload list. | |
StatusCode | removePreLoadItem (const DataStoreItem &item) override |
Remove an item from the preload list. | |
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 | preLoad () override |
load all preload items of the list | |
StatusCode | registerObject (std::string_view parentPath, std::string_view objPath, DataObject *pObject) override |
Register object with the data store. | |
StatusCode | registerObject (DataObject *parentObj, std::string_view objPath, DataObject *pObject) override |
Register object with the data store. | |
StatusCode | unregisterObject (std::string_view fullPath) override |
Unregister object from the data store. | |
StatusCode | unregisterObject (DataObject *pObject) override |
Unregister object from the data store. | |
StatusCode | unregisterObject (DataObject *pObject, std::string_view objectPath) override |
Unregister object from the data store. | |
StatusCode | retrieveObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject) override |
Retrieve object from data store. | |
StatusCode | findObject (std::string_view fullPath, DataObject *&pObject) override |
Find object identified by its full path in the data store. | |
StatusCode | findObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject) override |
Find object identified by its full path in the data store. | |
StatusCode | linkObject (IRegistry *from, std::string_view objPath, DataObject *to) override |
Add a link to another object. | |
StatusCode | linkObject (std::string_view fullPath, DataObject *to) override |
Add a link to another object. | |
StatusCode | unlinkObject (IRegistry *from, std::string_view objPath) override |
Remove a link to another object. | |
StatusCode | unlinkObject (DataObject *fromObj, std::string_view objPath) override |
Remove a link to another object. | |
StatusCode | unlinkObject (std::string_view fullPath) override |
Remove a link to another object. | |
StatusCode | updateObject (IRegistry *pDirectory) override |
Update object identified by its directory entry. | |
StatusCode | updateObject (DataObject *toUpdate) override |
Update object. | |
StatusCode | initialize () override |
Service initialization. | |
StatusCode | reinitialize () override |
Service initialization. | |
StatusCode | finalize () override |
Service initialization. | |
TsDataSvc (const std::string &name, ISvcLocator *svc) | |
constructor | |
TsDataSvc (const TsDataSvc &)=delete | |
no copy constructor | |
TsDataSvc & | operator= (const TsDataSvc &)=delete |
no assignment operator | |
StatusCode | registerAddress (DataObject *parentObj, std::string_view objectPath, IOpaqueAddress *pAddress) |
Register object address with the data store. | |
StatusCode | unregisterAddress (DataObject *pParent, std::string_view objPath) |
Unregister object address from the data store. | |
StatusCode | registerObject (std::string_view fullPath, DataObject *pObject) |
Register object with the data store. | |
StatusCode | registerObject (std::string_view parentPath, int item, DataObject *pObject) |
Register object with the data store. | |
StatusCode | registerObject (DataObject *parentObj, int item, DataObject *pObject) |
Register object with the data store. | |
StatusCode | retrieveObject (std::string_view fullPath, DataObject *&pObject) |
Retrieve object identified by its full path from the data store. | |
StatusCode | retrieveObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (std::string_view parentPath, int item, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, int item, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | findObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (std::string_view parentPath, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
StatusCode | findObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (DataObject *parentObj, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
StatusCode | linkObject (std::string_view fromPath, std::string_view objPath, DataObject *toObj) |
Add a link to another object. | |
StatusCode | linkObject (DataObject *fromObj, std::string_view objPath, DataObject *toObj) |
Add a link to another object. | |
StatusCode | unlinkObject (std::string_view fromPath, std::string_view objPath) |
Remove a link to another object. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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 |
![]() | |
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 | |
![]() | |
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) | |
Protected Member Functions | |
bool | checkRoot () |
Check if root path is valid. | |
virtual IConversionSvc * | getDataLoader (IRegistry *pReg) |
Retrieve customizable data loader according to registry entry to be retrieved. | |
virtual DataObject * | createDefaultObject () const |
Create default objects in case forced creation of leaves is requested. | |
virtual StatusCode | loadObject (IRegistry *pNode) |
Invoke Persistency service to create transient object from its persistent representation. | |
virtual StatusCode | loadObject (IConversionSvc *pLoader, IRegistry *pNode) |
Invoke Persistency service to create transient object from its persistent representation. | |
StatusCode | retrieveEntry (DataSvcHelpers::RegistryEntry *pNode, std::string_view path, DataSvcHelpers::RegistryEntry *&pEntry) |
Retrieve registry entry from store. | |
DataObject * | handleDataFault (IRegistry *pReg, std::string_view path={}) |
Invoke data fault handling if enabled. | |
![]() | |
std::vector< IAlgTool * > & | tools () |
~Service () override | |
int | outputLevel () const |
get the Service's output level | |
![]() | |
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 | |
tsDataSvcMutex | m_accessMutex |
Mutex to protect access to the store. | |
![]() | |
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. | |
Private Attributes | |
IConversionSvc * | m_dataLoader = nullptr |
Pointer to data loader service. | |
ServiceHandle< IIncidentSvc > | m_incidentSvc |
Handle to incident service. | |
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::vector< std::string > > | m_inhibitPathes { this, "InhibitPaths", {}, "inhibited leaves" } |
Gaudi::Property< bool > | m_enableFaultHdlr |
Gaudi::Property< std::string > | m_faultName { this, "DataFaultName", "DataFault", "Name of the data fault incident" } |
Gaudi::Property< bool > | m_enableAccessHdlr |
Gaudi::Property< std::string > | m_accessName { this, "DataAccessName", "DataAccess", "Name of the data access incident" } |
std::vector< DataStoreItem > | m_preLoads |
Items to be pre-loaded. | |
std::unique_ptr< DataSvcHelpers::RegistryEntry > | m_root |
Pointer to root entry. | |
Additional Inherited Members | |
![]() | |
using | base_class |
Typedef to this class. | |
using | extend_interfaces_base |
Typedef to the base of this class. | |
![]() | |
using | Factory = Gaudi::PluginService::Factory<IService*( const std::string&, ISvcLocator* )> |
![]() | |
using | PropertyHolderImpl |
Typedef used to refer to this class from derived classes, as in. | |
![]() | |
using | base_class |
![]() | |
using | ext_iids |
take union of the ext_iids of all Interfaces... | |
Data service base class.
A data service manages the transient data stores and implements the IDataProviderSvc and IDataManagerSvc interfaces.
The accessor methods are protected with a lock. This is done having in mind the DetDataSvc and the retrieval of subdetectors in a multithreaded FW. This solution cannot solve the problem of having different conditions set available simultaneously but it is the simplest solution to allow multiple algorithms running concurrently to access detector components. In first approximation, since for the data we have the whiteboard, we protect only the retrieval of objects.
Definition at line 53 of file TsDataSvc.h.
TsDataSvc::TsDataSvc | ( | const std::string & | name, |
ISvcLocator * | svc ) |
constructor
Definition at line 57 of file TsDataSvc.cpp.
|
delete |
no copy constructor
|
override |
Add an item to the preload list.
Definition at line 741 of file TsDataSvc.cpp.
|
inlineprotected |
Check if root path is valid.
Definition at line 260 of file TsDataSvc.h.
|
override |
IDataManagerSvc: Remove all data objects in the data store.
Definition at line 89 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Remove all data objects below the sub tree identified by the object.
Definition at line 78 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Remove all data objects below the sub tree identified by its full path name.
Definition at line 63 of file TsDataSvc.cpp.
|
protectedvirtual |
Create default objects in case forced creation of leaves is requested.
Definition at line 836 of file TsDataSvc.cpp.
|
override |
Service initialization.
Service initialisation.
Definition at line 821 of file TsDataSvc.cpp.
|
inline |
Find object identified by its parent object and an integer identifier in the data store.
In case the object is not present the pointer will be set to NULL.
parentObj | Pointer to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 368 of file IDataProviderSvc.h.
|
inline |
Find object identified by its parent object and the path to the object relative to the parent.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.
parentObj | Pointer to parent node of the object. |
objectPath | Relative path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 356 of file IDataProviderSvc.h.
|
override |
Find object identified by its full path in the data store.
Retrieve object identified by its directory from the data store.
Definition at line 608 of file TsDataSvc.cpp.
|
override |
Find object identified by its full path in the data store.
Definition at line 622 of file TsDataSvc.cpp.
|
inline |
Find object identified by its parent object and an integer identifier in the data store.
In case the object is not present the pointer will be set to NULL.
parentPath | Path to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 343 of file IDataProviderSvc.h.
|
inline |
Find object identified by its parent object and the path to the object relative to the parent.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.
parentPath | Path to parent node of the object. |
objectPath | Relative path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 329 of file IDataProviderSvc.h.
|
protectedvirtual |
Retrieve customizable data loader according to registry entry to be retrieved.
Definition at line 841 of file TsDataSvc.cpp.
|
protected |
Invoke data fault handling if enabled.
pReg | [IN] Pointer to missing registry entry |
path | [IN] Sub-path of requested object from pReg |
Definition at line 414 of file TsDataSvc.cpp.
|
inline |
Definition at line 147 of file TsDataSvc.h.
|
inline |
Definition at line 158 of file TsDataSvc.h.
|
virtual |
Initialize data store for new event by giving new event path and root object.
Does not clear the store before reinitializing it. This could lead to errors and should be handle with care. Use setRoot if unsure
Definition at line 134 of file TsDataSvc.cpp.
|
virtual |
Initialize data store for new event by giving new event path and address of root object.
Does not clear the store before reinitializing it. This could lead to errors and should be handle with care. Use setRoot if unsure
Definition at line 158 of file TsDataSvc.cpp.
|
override |
Service initialization.
Definition at line 788 of file TsDataSvc.cpp.
|
inline |
Add a link to another object.
Both objects must already be registered with the data store. Once linked, the object can only be unregistered after unlinking.
fromObj | Pointer to the object the link originates. |
objPath | Path of the entry to be linked relative to from. |
toObj | Pointer to the object the link points to. |
Definition at line 498 of file IDataProviderSvc.h.
|
override |
Add a link to another object.
Definition at line 672 of file TsDataSvc.cpp.
|
inline |
Add a link to another object.
Both objects must already be registered with the data store. Once linked, the object can only be unregistered after unlinking.
fromPath | Path to the object the link originates. |
objPath | Path of the entry to be linked relative to from. |
toObj | Pointer to the object the link points to. |
Definition at line 484 of file IDataProviderSvc.h.
|
override |
Add a link to another object.
Definition at line 696 of file TsDataSvc.cpp.
|
protectedvirtual |
Invoke Persistency service to create transient object from its persistent representation.
Reimplemented in DetDataSvc.
Definition at line 452 of file TsDataSvc.cpp.
|
protectedvirtual |
Invoke Persistency service to create transient object from its persistent representation.
Reimplemented in DetDataSvc.
Definition at line 444 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Explore the object store: retrieve all leaves attached to the object.
IDataManagerSvc: Explore an object identified by its pointer.
Definition at line 193 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Explore the object store: retrieve all leaves attached to the object.
IDataManagerSvc: Explore an object identified by the pointer to the registry entry.
Definition at line 201 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 178 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Explore the object store: retrieve the object's parent.
Definition at line 183 of file TsDataSvc.cpp.
|
override |
load all preload items of the list
Definition at line 777 of file TsDataSvc.cpp.
|
virtual |
Execute one level of preloading and recursively load until the final level is reached.
Preload one level deep, then recursively call the next level.
depth | current level of loading from requested parent |
load_depth | maximum level of object loading |
pObject | pointer to next level root object |
Definition at line 761 of file TsDataSvc.cpp.
|
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 210 of file IDataManagerSvc.h.
|
override |
IDataManagerSvc: Register object address with the data store.
Definition at line 218 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Register object address with the data store.
Definition at line 212 of file TsDataSvc.cpp.
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the node object identified by its pointer.
parentObj | Pointer to parent object. |
item | item number of the object linked to the parent |
pObject | Pointer to the object to be connected. |
Definition at line 112 of file IDataProviderSvc.h.
|
override |
Register object with the data store.
Definition at line 300 of file TsDataSvc.cpp.
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the node object identified by its path.
fullPath | Path to parent node of the object. |
pObject | Pointer to the object to be registered. |
Definition at line 67 of file IDataProviderSvc.h.
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the parent object and an integer identifier.
parentPath | Path to parent node of the object. |
item | item number of the object linked to the parent |
pObject | Pointer to the object to be registered. |
Definition at line 90 of file IDataProviderSvc.h.
|
override |
Register object with the data store.
Definition at line 288 of file TsDataSvc.cpp.
|
override |
Service initialization.
Service reinitialization.
Definition at line 798 of file TsDataSvc.cpp.
|
override |
|
override |
Clear the preload list.
Definition at line 755 of file TsDataSvc.cpp.
|
protected |
Retrieve registry entry from store.
Definition at line 520 of file TsDataSvc.cpp.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the pointer to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.
parentObj | Pointer to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 296 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the pointer to the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.
parentObj | Pointer to parent node of the object. |
objectPath | Path of the object relative to the parent. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 282 of file IDataProviderSvc.h.
|
override |
Retrieve object from data store.
Retrieve object identified by its directory from the data store.
Definition at line 599 of file TsDataSvc.cpp.
|
inline |
Retrieve object identified by its full path from the data store.
The result will be returned in the second argument. In case the object is not present it will be loaded and converted if possible.
fullPath | Path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 238 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the path to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.
parentPath | Path to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 268 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the path of the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.
parentPath | Path to parent node of the object. |
objectPath | Path of the object relative to the parent. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 252 of file IDataProviderSvc.h.
|
override |
IDataManagerSvc: Accessor for root event CLID.
CLID for root Event.
Definition at line 830 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Accessor for root event name.
Name for root Event.
Definition at line 833 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: IDataManagerSvc: Pass a default data loader to the service and optionally a data provider.
IDataManagerSvc: Pass a default data loader to the service.
Definition at line 169 of file TsDataSvc.cpp.
|
override |
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 124 of file TsDataSvc.cpp.
|
override |
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 148 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree.
IDataManagerSvc: Analyse by traversing all data objects below the sub tree.
Definition at line 105 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Analyze by traversing all data objects below the sub tree identified by its full path name.
IDataManagerSvc: Analyse by traversing all data objects below the sub tree identified by its full path name.
Definition at line 98 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Analyze by traversing all data objects in the data store.
IDataManagerSvc: Analyse by traversing all data objects in the data store.
Definition at line 114 of file TsDataSvc.cpp.
|
override |
Remove a link to another object.
Definition at line 735 of file TsDataSvc.cpp.
|
override |
Remove a link to another object.
Definition at line 707 of file TsDataSvc.cpp.
|
inline |
Remove a link to another object.
Both objects must be registered with the data store. This entry point can be used to unlink objects e.g. in order to unregister them.
fromPath | Path to the object the link originates. |
objPath | Path of the entry to be linked relative to from. |
Definition at line 527 of file IDataProviderSvc.h.
|
override |
Remove a link to another object.
Definition at line 727 of file TsDataSvc.cpp.
|
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 238 of file IDataManagerSvc.h.
|
override |
IDataManagerSvc: Unregister object address from the data store.
Definition at line 259 of file TsDataSvc.cpp.
|
override |
IDataManagerSvc: Unregister object address from the data store.
Definition at line 253 of file TsDataSvc.cpp.
|
override |
Unregister object from the data store.
Definition at line 383 of file TsDataSvc.cpp.
|
override |
Unregister object from the data store.
Definition at line 396 of file TsDataSvc.cpp.
|
override |
Unregister object from the data store.
Definition at line 368 of file TsDataSvc.cpp.
|
override |
Update object.
Definition at line 641 of file TsDataSvc.cpp.
|
override |
Update object identified by its directory entry.
Update object.
Definition at line 634 of file TsDataSvc.cpp.
|
protected |
Mutex to protect access to the store.
Definition at line 292 of file TsDataSvc.h.
|
private |
Definition at line 72 of file TsDataSvc.h.
|
private |
Pointer to data loader service.
Definition at line 56 of file TsDataSvc.h.
|
private |
Definition at line 70 of file TsDataSvc.h.
|
private |
Definition at line 66 of file TsDataSvc.h.
|
private |
Definition at line 68 of file TsDataSvc.h.
|
private |
Definition at line 62 of file TsDataSvc.h.
|
private |
Handle to incident service.
Definition at line 58 of file TsDataSvc.h.
|
private |
Definition at line 64 of file TsDataSvc.h.
|
private |
Items to be pre-loaded.
Definition at line 75 of file TsDataSvc.h.
|
private |
Pointer to root entry.
Definition at line 77 of file TsDataSvc.h.
|
private |
Definition at line 60 of file TsDataSvc.h.
|
private |
Definition at line 61 of file TsDataSvc.h.