Go to the documentation of this file.
12 #ifndef RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOADAPTER_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOADAPTER_HPP
15 #include <mal/utility/Uri.hpp>
69 elt::mal::Uri m_baseuri;
74 #endif // RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOADAPTER_HPP
virtual void CreateDataPoint(const DataPointPath &path, const std::type_info &type)=0
Creates a new datapoint in the repository with a specified type.
Definition: persistentRepoIf.hpp:19
PersistentRepoAdapter(PersistentRepoAdapter &&)=default
Objects of this class can be moved.
A request object to pass information about datapoints that should be read (written) from (to) the rep...
Definition: repositoryIf.hpp:45
Header file for PersistentRepoIf, which defines the API for PersistentRepoAdapter.
PersistentRepoAdapter & operator=(const PersistentRepoAdapter &)=delete
This class cannot be copy assigned.
Implements the Persistent Configuration Repository adapter that uses the CII configuration service as...
Definition: persistentRepoAdapter.hpp:30
Definition: commandReplier.cpp:20
Response SendWriteRequest(const Request &request) override
Sends a request to write data to the repository.
Definition: persistentRepoAdapter.cpp:59
bool DataPointExists(const DataPointPath &path) const override
Checks for the existence of a datapoint in the repository.
Definition: persistentRepoAdapter.cpp:41
const std::type_info & GetDataPointType(const DataPointPath &path) const override
Fetches the type of the datapoint.
Definition: persistentRepoAdapter.cpp:31
std::pair< StringList, StringList > GetChildren(const DataPointPath &path) const override
Queries the datapoints and child paths for a given path.
Definition: persistentRepoAdapter.cpp:47
PersistentRepoAdapter()=delete
Do not allow construction with no arguments.
Declaration of FileRepository that provides a simple file based repository.
virtual ~PersistentRepoAdapter()=default
PersistentRepoAdapter(const PersistentRepoAdapter &)=delete
This class cannot be copy constructed.
virtual void CreateDataPoint(const DataPointPath &path, const std::type_info &type)=0
Creates a new datapoint in the repository with a specified type.
This class provides a wraper for DataPoint paths which ensures that they only contain valid character...
Definition: dataPointPath.hpp:34
An object used to wait for a request to complete.
Definition: repositoryIf.hpp:106
std::size_t GetDataPointSize(const DataPointPath &path) const override
Fetches the size of the datapoint's data.
Definition: persistentRepoAdapter.cpp:36
PersistentRepoAdapter & operator=(PersistentRepoAdapter &&)=default
Objects of this class can be moved with the move assignment operator.
void DeleteDataPoint(const DataPointPath &path) override
Deletes a datapoint.
Definition: persistentRepoAdapter.cpp:27
Response SendReadRequest(const Request &request) const override
Sends a request to read data from the repository.
Definition: persistentRepoAdapter.cpp:53