Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_SMARTDATAOBJECTPTR_H
12 #define GAUDIKERNEL_SMARTDATAOBJECTPTR_H 1
65 : m_dataProvider( pService ), m_pRegistry( pDir ), m_path(
std::move(
path ) ), m_accessFunc( access ) {}
180 #endif // GAUDIKERNEL_SMARTDATAOBJECTPTR_H
static DataObject * retrieve(SmartDataObjectPtr *ptr)
Static Object retrieval method.
DataObject * findObject()
Object find method.
DataObject *(*)(SmartDataObjectPtr *ptr) AccessFunction
IRegistry * directory()
Access to data directory.
virtual SmartDataObjectPtr & operator=(const SmartDataObjectPtr &)=default
Assignment operator.
static DataObject * find(SmartDataObjectPtr *ptr)
Static Object find method.
Helper class to configure smart pointer functionality.
DataObject * updateObject()
Object update method.
SmartDataObjectPtr(const SmartDataObjectPtr &)=default
Copy constructor: Construct an copy of a SmartDataStorePtr instance.
Helper class to configure smart pointer functionality.
void setService(IDataProviderSvc *svc)
Assign data service.
DataObject * retrieveObject()
Object retrieve method.
constexpr static const auto SUCCESS
static DataObject * update(SmartDataObjectPtr *ptr)
Static Object update method.
virtual ~SmartDataObjectPtr()=default
Standard Destructor.
std::string m_path
Path to object.
const std::string & path() const
Path name.
SmartDataObjectPtr(AccessFunction access, IDataProviderSvc *pService, IRegistry *pDir, std::string path)
Standard constructor: Construct an SmartDataObjectPtr instance.
IDataProviderSvc * service()
Retrieve data service.
const StatusCode & getLastError() const
Access to potential errors during data accesses.
DataObject * accessData()
Static Object retrieval method: must call specific function.