1 #ifndef GAUDIKERNEL_SMARTDATAOBJECTPTR_H 2 #define GAUDIKERNEL_SMARTDATAOBJECTPTR_H 1 58 : m_dataProvider( pService ), m_pRegistry( pDir ), m_path(
std::move( path ) ), m_accessFunc( access )
175 #endif // GAUDIKERNEL_SMARTDATAOBJECTPTR_H static DataObject * find(SmartDataObjectPtr *ptr)
Static Object find method.
DataObject * retrieveObject()
Object retrieve method.
Data provider interface definition.
SmartDataObjectPtr(AccessFunction access, IDataProviderSvc *pService, IRegistry *pDir, std::string path)
Standard constructor: Construct an SmartDataObjectPtr instance.
void setService(IDataProviderSvc *svc)
Assign data service.
IDataProviderSvc * service()
Retrieve data service.
static DataObject * update(SmartDataObjectPtr *ptr)
Static Object update method.
PropertyMgr & operator=(const PropertyMgr &)=delete
static DataObject * retrieve(SmartDataObjectPtr *ptr)
Static Object retrieval method.
Helper class to configure smart pointer functionality.
This class is used for returning status codes from appropriate routines.
std::string m_path
Path to object.
DataObject * accessData()
Static Object retrieval method: must call specific function.
const std::string & path() const
Path name.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
constexpr static const auto SUCCESS
AccessFunction m_accessFunc
Data access function.
A small class used to access easily (and efficiently) data items residing in data stores...
Helper class to configure smart pointer functionality.
DataObject * findObject()
Object find method.
const StatusCode & getLastError() const
Access to potential errors during data accesses.
IRegistry * directory()
Access to data directory.
DataObject *(*)(SmartDataObjectPtr *ptr) AccessFunction
A DataObject is the base class of any identifiable object on any data store.
DataObject * updateObject()
Object update method.