|
| RuntimeRepoAdapter ()=delete |
| Do not allow construction with no arguments. More...
|
|
| RuntimeRepoAdapter (const RuntimeRepoAdapter &)=delete |
| This class cannot be copy constructed. More...
|
|
RuntimeRepoAdapter & | operator= (const RuntimeRepoAdapter &)=delete |
| This class cannot be copy assigned. More...
|
|
| RuntimeRepoAdapter (RuntimeRepoAdapter &&)=default |
| Objects of this class can be moved. More...
|
|
RuntimeRepoAdapter & | operator= (RuntimeRepoAdapter &&)=default |
| Objects of this class can be moved with the move assignment operator. More...
|
|
| RuntimeRepoAdapter (const elt::mal::Uri &baseuri) |
| Constructs an adapter for the Runtime Configuration Repository service using the OLDB backend. More...
|
|
| RuntimeRepoAdapter (const elt::mal::Uri &baseuri, const std::shared_ptr< elt::oldb::CiiOldb > &oldb) |
| Constructs an adapter for the Runtime Configuration Repository service with a specific OLDB API interface. More...
|
|
virtual | ~RuntimeRepoAdapter ()=default |
|
virtual | ~RuntimeRepoIf ()=default |
|
virtual | ~RepositoryIf () |
|
template<typename T > |
void | CreateDataPoint (const DataPointPath &path) |
| Creates a new datapoint in the repository. More...
|
|
template<typename T > |
void | CreateDataPoint (const DataPointPath &path, const T default_value) |
| Creates a new datapoint in the repository and sets a default value. More...
|
|
template<typename T > |
T | GetDataPoint (const DataPointPath &path) const |
| Fetches a datapoint from the repository. More...
|
|
template<typename T > |
void | SetDataPoint (const DataPointPath &path, const T value) |
| Sets a datapoint in the repository. More...
|
|
template<typename T > |
void | ReadDataPoint (const DataPointPath &path, T &buffer) const |
| Reads a datapoint from the repository. More...
|
|
template<typename T > |
void | WriteDataPoint (const DataPointPath &path, const T &buffer) |
| Writes a datapoint to the repository. More...
|
|
void | WriteDataPoint (const DataPointPath &path, const char *buffer) |
|
template<> |
void | CreateDataPoint (const DataPointPath &path, const char *default_value) |
|
template<> |
void | SetDataPoint (const DataPointPath &path, const char *value) |
|
virtual | ~RepositorySubscriberIf () |
|
template<typename T , typename F > |
void | Subscribe (const DataPointPath &path, T &buffer, F handler) const |
| A convenience template function that will register a callback to receive new datapoint values in a synchronous manner. More...
|
|
void | Unsubscribe (const DataPointPath &path) const |
| A simple convenience function that will deregister all callbacks for receiving new datapoint values. More...
|
|
| OldbAdapter ()=delete |
| Do not allow construction with no arguments. More...
|
|
| OldbAdapter (const OldbAdapter &)=delete |
| This class cannot be copy constructed. More...
|
|
OldbAdapter & | operator= (const OldbAdapter &)=delete |
| This class cannot be copy assigned. More...
|
|
| OldbAdapter (OldbAdapter &&)=default |
| Objects of this class can be moved. More...
|
|
OldbAdapter & | operator= (OldbAdapter &&)=default |
| Objects of this class can be moved with the move assignment operator. More...
|
|
| OldbAdapter (const elt::mal::Uri &baseuri) |
| Constructs an adapter for the OLDB service with the default OLDB API interface. More...
|
|
| OldbAdapter (const elt::mal::Uri &baseuri, const std::shared_ptr< elt::oldb::CiiOldb > &oldb) |
| Constructs an adapter for the OLDB service with a specific OLDB API interface. More...
|
|
virtual | ~OldbAdapter () |
| Destroys the adapter for the OLDB service releasing allocated resources. More...
|
|
void | CreateDataPoint (const DataPointPath &path, const std::type_info &type) override |
| Creates a new datapoint in the OLDB. More...
|
|
void | DeleteDataPoint (const DataPointPath &path) override |
| Deletes a datapoint in the OLDB. More...
|
|
const std::type_info & | GetDataPointType (const DataPointPath &path) const override |
| Retrieves the corresponding C++ type for the datapoint from the OLDB. More...
|
|
std::size_t | GetDataPointSize (const DataPointPath &path) const override |
| Returns the size of a datapoint in the OLDB. More...
|
|
bool | DataPointExists (const DataPointPath &path) const override |
| Checks for the existence of a datapoint in the repository. More...
|
|
std::pair< StringList, StringList > | GetChildren (const DataPointPath &path) const override |
| Queries the datapoints and child paths for a given path. More...
|
|
Response | SendReadRequest (const Request &request) const override |
| Sends a request to read data from the repository. More...
|
|
Response | SendWriteRequest (const Request &request) override |
| Sends a request to write data to the repository. More...
|
|
Response | SendSubscribeRequest (const SubscribeRequest &request) const override |
| This is called to asynchronously send a subscription request for datapoints. More...
|
|
Response | SendUnsubscribeRequest (const UnsubscribeRequest &request) const override |
| This is called to asynchronously send a request to unsubscribe from various notifications. More...
|
|
template<typename T , typename U , typename V > |
void | CastAndRegisterSubscription (const SubscribeRequest::Parameters ¶ms, const std::shared_ptr< CiiOldbTypedDataBase > &datapoint, std::function< void(T *, const std::shared_ptr< CiiOldbDpValue< U >> &)> write_function) const |
|
virtual void | CreateDataPoint (const DataPointPath &path, const std::type_info &type)=0 |
| Creates a new datapoint in the repository with a specified type. More...
|
|
template<typename T > |
void | CreateDataPoint (const DataPointPath &path) |
| Creates a new datapoint in the repository. More...
|
|
template<typename T > |
void | CreateDataPoint (const DataPointPath &path, const T default_value) |
| Creates a new datapoint in the repository and sets a default value. More...
|
|
template<> |
void | CreateDataPoint (const DataPointPath &path, const char *default_value) |
|
virtual | ~OldbIf ()=default |
|