|
| | RuntimeRepoAdapter ()=delete |
| | Do not allow construction with no arguments.
|
| |
| | RuntimeRepoAdapter (const RuntimeRepoAdapter &)=delete |
| | This class cannot be copy constructed.
|
| |
| RuntimeRepoAdapter & | operator= (const RuntimeRepoAdapter &)=delete |
| | This class cannot be copy assigned.
|
| |
| | RuntimeRepoAdapter (RuntimeRepoAdapter &&)=default |
| | Objects of this class can be moved.
|
| |
| RuntimeRepoAdapter & | operator= (RuntimeRepoAdapter &&)=default |
| | Objects of this class can be moved with the move assignment operator.
|
| |
| | RuntimeRepoAdapter (const elt::mal::Uri &baseuri) |
| | Constructs an adapter for the Runtime Configuration Repository service.
|
| |
| virtual | ~RuntimeRepoAdapter () |
| |
| virtual | ~RuntimeRepoIf ()=default |
| |
| std::string | GetDefaultServerAlias () const |
| | Get the current default server alias setting.
|
| |
| void | SetDefaultServerAlias (const std::string &server_alias) |
| | Set the current default server alias setting.
|
| |
| virtual void | CreateDataPoint (const DataPointPath &path, const std::type_info &type, const std::string &server_alias) |
| | Creates a new datapoint in the repository with a specified type on a particular external Redis server.
|
| |
| template<typename T > |
| void | CreateDataPoint (const DataPointPath &path, const T default_value, const std::string &server_alias) |
| | Creates a new datapoint in the repository with a default value on a particular external Redis server.
|
| |
| virtual std::string | GetServerAlias (const DataPointPath &path) const |
| | Fetches the server alias for a specific datapoint.
|
| |
| template<typename T > |
| void | CreateDataPoint (const DataPointPath &path) |
| | Creates a new datapoint in the repository.
|
| |
| template<typename T > |
| void | CreateDataPoint (const DataPointPath &path, const T &initial_value) |
| | Creates a new datapoint in the repository with an initial value.
|
| |
| void | CreateDataPoint (const DataPointPath &path, const char *initial_value) |
| |
| virtual void | CreateDataPoint (const DataPointPath &path, const std::type_info &type) |
| | Creates a new datapoint in the repository with a specified type.
|
| |
| | RepositorySubscriberIf ()=default |
| |
| virtual | ~RepositorySubscriberIf ()=default |
| |
| template<typename T = void, typename F , std::enable_if_t< std::is_convertible_v< F, NotifyCallbackType > or(not std::is_same_v< T, void > and std::is_convertible_v< F, ValueCallbackType< std::conditional_t< std::is_same_v< T, void >, std::byte, T > > >), bool > = true> |
| Subscription | Subscribe (const DataPointPath &path, const F &cb_value, const ErrorCallbackType &cb_error) const |
| | Subscribes to datapoint values change events by registering callbacks.
|
| |
| Subscription | Subscribe (const CallbackType &cb_created, const CallbackType &cb_deleted, const ErrorCallbackType &cb_error) const |
| | Subscribes to datapoint creation and deletion events by registering callbacks.
|
| |
| virtual RepositoryIf::Response | SendSubscribeRequest (const SubscribeRequest &request) const |
| | This is called to asynchronously send a subscription request for datapoints.
|
| |
| virtual RepositoryIf::Response | SendUnsubscribeRequest (const UnsubscribeRequest &request) const |
| | This is called to asynchronously send a request to unsubscribe from various notifications.
|
| |
| template<typename T , typename F , std::enable_if_t< not std::is_convertible_v< T, RepositorySubscriberIf::NotifyCallbackType >, bool > = true> |
| 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.
|
| |
| template<typename F > |
| void | Subscribe (const DataPointPath &path, F handler) const |
| | A convenience template function that will register a callback to receive datapoint value change notifications in a synchronous manner.
|
| |
| void | Unsubscribe (const DataPointPath &path) const |
| | A simple convenience function that will deregister all callbacks for receiving new datapoint values.
|
| |
| | RepositoryIf ()=default |
| |
| virtual | ~RepositoryIf ()=default |
| |
| BatchResponse | SendRequest (const BatchRequest &request) |
| |
| BatchResponse | SendRequest (const BatchRequest &request) const |
| |
| template<typename T > |
| void | CreateDataPoint (const DataPointPath &path) |
| | Creates a new datapoint in the repository.
|
| |
| template<typename T > |
| void | CreateDataPoint (const DataPointPath &path, const T &initial_value) |
| | Creates a new datapoint in the repository with an initial value.
|
| |
| void | CreateDataPoint (const DataPointPath &path, const char *initial_value) |
| |
| void | DeleteDataPoint (const DataPointPath &path, bool recurse=false) |
| | Deletes a datapoint.
|
| |
| const std::type_info & | GetDataPointType (const DataPointPath &path) const |
| | Fetches the type of the datapoint.
|
| |
| size_t | GetDataPointSize (const DataPointPath &path) const |
| | Fetches the size of the datapoint's data.
|
| |
| RtcVectorUInt64 | GetDataPointShape (const DataPointPath &path) const |
| | Fetches the shape of the datapoint's data.
|
| |
| bool | DataPointExists (const DataPointPath &path) const |
| | Checks for the existence of a datapoint in the repository.
|
| |
| std::pair< PathList, PathList > | GetChildren (const DataPointPath &path, bool recurse=false) const |
| | Queries the child datapoints and paths for a given parent path.
|
| |
| template<typename T > |
| T | GetDataPoint (const DataPointPath &path) const |
| | Fetches a datapoint from the repository.
|
| |
| template<typename T > |
| void | SetDataPoint (const DataPointPath &path, const T &value) |
| | Sets a datapoint in the repository.
|
| |
| void | SetDataPoint (const DataPointPath &path, const char *value) |
| |
| template<typename T > |
| void | ReadDataPoint (const DataPointPath &path, T &buffer) const |
| | Reads a datapoint from the repository.
|
| |
| template<typename T > |
| void | WriteDataPoint (const DataPointPath &path, const T &buffer) |
| | Writes a datapoint to the repository.
|
| |
| void | WriteDataPoint (const DataPointPath &path, const char *buffer) |
| |
| template<typename... T> |
| void | WriteDataPoints (const T &... args) |
| |
| template<typename... T> |
| void | ReadDataPoints (T &... args) const |
| |
| virtual Response | SendReadRequest (const ReadRequest &request) const |
| | Sends a request to read data from the repository.
|
| |
| virtual Response | SendWriteRequest (const WriteRequest &request) |
| | Sends a request to write data to the repository.
|
| |
Implementation of the Runtime Configuration Repository Adapter.