1 #ifndef GAUDIKERNEL_DATASVC_H
2 #define GAUDIKERNEL_DATASVC_H
21 namespace DataSvcHelpers {
75 virtual CLID rootCLID()
const;
78 virtual std::string rootName()
const;
81 virtual StatusCode registerAddress(
const std::string& fullPath,
86 const std::string& objectPath,
91 const std::string& objectPath,
95 virtual StatusCode unregisterAddress(
const std::string& fullPath);
99 const std::string& objPath);
103 const std::string& objPath);
109 std::vector<IRegistry*>& refLeaves);
114 std::vector<IRegistry*>& refLeaves);
126 virtual StatusCode clearSubTree(
const std::string& sub_tree_path );
139 virtual StatusCode traverseSubTree(
const std::string& sub_tree_path,
151 virtual StatusCode setRoot(
const std::string& root_name,
157 virtual StatusCode i_setRoot(
const std::string& root_name,
162 virtual StatusCode setRoot (
const std::string& root_path,
169 virtual StatusCode i_setRoot (
const std::string& root_path,
181 virtual StatusCode addPreLoadItem(
const std::string& itemPath );
187 virtual StatusCode removePreLoadItem(
const std::string& itemPath );
207 virtual StatusCode registerObject(
const std::string& fullPath,
211 virtual StatusCode registerObject(
const std::string& parentPath,
212 const std::string& objPath,
216 virtual StatusCode registerObject(
const std::string& parentPath,
222 const std::string& objPath,
231 virtual StatusCode unregisterObject(
const std::string& fullPath );
234 virtual StatusCode unregisterObject(
const std::string& parentPath,
235 const std::string& objectPath );
238 virtual StatusCode unregisterObject(
const std::string& parentPath,
246 const std::string& objectPath );
254 const std::string&
path,
258 virtual StatusCode retrieveObject(
const std::string& fullPath,
262 virtual StatusCode retrieveObject(
const std::string& parentPath,
263 const std::string& objPath,
267 virtual StatusCode retrieveObject(
const std::string& parentPath,
273 const std::string& objPath,
282 virtual StatusCode findObject(
const std::string& fullPath,
287 const std::string&
path,
291 virtual StatusCode findObject(
const std::string& parentPath,
292 const std::string& objPath,
296 virtual StatusCode findObject(
const std::string& parentPath,
302 const std::string& objPath,
312 const std::string& objPath,
316 virtual StatusCode linkObject(
const std::string& fromPath,
317 const std::string& objPath,
322 const std::string& objPath,
326 virtual StatusCode linkObject(
const std::string& fullPath,
331 const std::string& objPath );
334 virtual StatusCode unlinkObject(
const std::string& fromPath,
335 const std::string& objPath );
339 const std::string& objPath );
342 virtual StatusCode unlinkObject(
const std::string& fullPath );
348 virtual StatusCode updateObject(
const std::string& updatePath );
354 virtual StatusCode updateObject(
const std::string& parentPath,
355 const std::string& updatePath );
359 const std::string& updatePath );
394 virtual DataObject* createDefaultObject()
const;
409 const std::string&
path,
419 #endif // GAUDIKERNEL_DATASVC_H
bool m_enableAccessHdlr
Flag to enable interrupts on data access requests.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
bool m_enableFaultHdlr
Flag to enable interrupts on data creation requests.
std::string m_rootName
Name of root event.
LoadItems m_preLoads
Items to be pre-loaded.
std::string m_accessName
Name of the data access incident.
bool checkRoot()
Check if root path is valid.
Base class used to extend a class implementing other interfaces.
DataSvcHelpers::RegistryEntry * m_root
Pointer to root entry.
Description of the DataStoreItem class.
IIncidentSvc * m_incidentSvc
Pointer to incident service.
IConversionSvc * m_dataLoader
Pointer to data loader service.
DataSvcHelpers::InhibitMap * m_inhibitMap
Map with object paths to be inhibited from loading.
std::vector< DataStoreItem > LoadItems
Define set of load items.
This class is used for returning status codes from appropriate routines.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
unsigned int CLID
Class ID definition.
bool m_forceLeaves
Allow forced creation of default leaves on registerObject.
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
Definition of an entry in the transient data store.
std::string m_faultName
Name of the data fault incident.
Generic data agent interface.
std::vector< std::string > m_inhibitPathes
Property for the inhibited leaves.
CLID m_rootCLID
Integer Property corresponding to CLID of root entry.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
The interface implemented by the IncidentSvc service.