13#ifndef RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTERLEGACY_HPP
14#define RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTERLEGACY_HPP
61 const std::shared_ptr<elt::oldb::CiiOldb>&
oldb);
85 const std::type_info& type,
109 static const std::map<std::type_index, std::string> S_METADATA_INSTANCE_MAP;
115 static const std::map<std::string, const std::type_info&> S_TYPE_INFO_MAP;
This class provides a wrapper for a data point path.
Definition dataPointPath.hpp:74
Provides access to the OLDB to read and write datapoints.
Definition oldbAdapterLegacy.hpp:39
Implementation of the Runtime Configuration Repository backed by the OLDB.
Definition runtimeRepoAdapterLegacy.hpp:26
static const std::string SUPPORTED_URI_SCHEME
Definition runtimeRepoAdapterLegacy.hpp:28
RuntimeRepoAdapterLegacy & operator=(const RuntimeRepoAdapterLegacy &)=delete
This class cannot be copy assigned.
RuntimeRepoAdapterLegacy(const RuntimeRepoAdapterLegacy &)=delete
This class cannot be copy constructed.
std::string GetServerAlias(const DataPointPath &path) const override
Fetches the server alias for a specific datapoint.
Definition runtimeRepoAdapterLegacy.cpp:79
void CreateDataPoint(const DataPointPath &path, const std::type_info &type) override
Creates a new datapoint in the currently set external Redis server.
Definition runtimeRepoAdapterLegacy.cpp:53
RuntimeRepoAdapterLegacy(RuntimeRepoAdapterLegacy &&)=default
Objects of this class can be moved.
static void InitMetadata()
Initialises the type metadata in the CII configuration service for the Runtime Configuration Reposito...
Definition runtimeRepoAdapterLegacy.cpp:90
RuntimeRepoAdapterLegacy()=delete
Do not allow construction with no arguments.
virtual ~RuntimeRepoAdapterLegacy()=default
RuntimeRepoAdapterLegacy & operator=(RuntimeRepoAdapterLegacy &&)=default
Objects of this class can be moved with the move assignment operator.
Base interface for all Runtime Configuration Repository adapters.
Definition runtimeRepoIf.hpp:27
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...
Definition runtimeRepoIf.cpp:34
Definition commandReplier.cpp:22
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Header file needed to instantiate a OldbAdapterLegacy.
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.