1 #ifndef GAUDIKERNEL_DATASVC_H
2 #define GAUDIKERNEL_DATASVC_H
10 #include <boost/utility/string_ref.hpp>
23 namespace DataSvcHelpers {
76 virtual CLID rootCLID()
const;
79 virtual std::string rootName()
const;
82 virtual StatusCode registerAddress(
const std::string& fullPath,
87 const std::string& objectPath,
92 const std::string& objectPath,
96 virtual StatusCode unregisterAddress(
const std::string& fullPath);
100 const std::string& objPath);
104 const std::string& objPath);
110 std::vector<IRegistry*>& refLeaves);
115 std::vector<IRegistry*>& refLeaves);
127 virtual StatusCode clearSubTree(
const std::string& sub_tree_path );
140 virtual StatusCode traverseSubTree(
const std::string& sub_tree_path,
152 virtual StatusCode setRoot(
const std::string& root_name,
158 virtual StatusCode i_setRoot(
const std::string& root_name,
163 virtual StatusCode setRoot (
const std::string& root_path,
170 virtual StatusCode i_setRoot (
const std::string& root_path,
182 virtual StatusCode addPreLoadItem(
const std::string& itemPath );
188 virtual StatusCode removePreLoadItem(
const std::string& itemPath );
208 virtual StatusCode registerObject(
const std::string& fullPath,
212 virtual StatusCode registerObject(
const std::string& parentPath,
213 const std::string& objPath,
217 virtual StatusCode registerObject(
const std::string& parentPath,
223 const std::string& objPath,
232 virtual StatusCode unregisterObject(
const std::string& fullPath );
235 virtual StatusCode unregisterObject(
const std::string& parentPath,
236 const std::string& objectPath );
239 virtual StatusCode unregisterObject(
const std::string& parentPath,
247 const std::string& objectPath );
255 const std::string&
path,
259 virtual StatusCode retrieveObject(
const std::string& fullPath,
263 virtual StatusCode retrieveObject(
const std::string& parentPath,
264 const std::string& objPath,
268 virtual StatusCode retrieveObject(
const std::string& parentPath,
274 const std::string& objPath,
283 virtual StatusCode findObject(
const std::string& fullPath,
288 const std::string&
path,
292 virtual StatusCode findObject(
const std::string& parentPath,
293 const std::string& objPath,
297 virtual StatusCode findObject(
const std::string& parentPath,
303 const std::string& objPath,
313 const std::string& objPath,
317 virtual StatusCode linkObject(
const std::string& fromPath,
318 const std::string& objPath,
323 const std::string& objPath,
327 virtual StatusCode linkObject(
const std::string& fullPath,
332 const std::string& objPath );
335 virtual StatusCode unlinkObject(
const std::string& fromPath,
336 const std::string& objPath );
340 const std::string& objPath );
343 virtual StatusCode unlinkObject(
const std::string& fullPath );
349 virtual StatusCode updateObject(
const std::string& updatePath );
355 virtual StatusCode updateObject(
const std::string& parentPath,
356 const std::string& updatePath );
360 const std::string& updatePath );
395 virtual DataObject* createDefaultObject()
const;
410 const std::string&
path,
421 boost::string_ref
path,
425 #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.