RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
runtimeRepoAdapterLegacy.hpp
Go to the documentation of this file.
1
13#ifndef RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTERLEGACY_HPP
14#define RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTERLEGACY_HPP
15
16#pragma GCC diagnostic push
17#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
18
21
23
33class [[deprecated]] RuntimeRepoAdapterLegacy : public RuntimeRepoIf, public OldbAdapterLegacy {
34public:
35 inline static const std::string SUPPORTED_URI_SCHEME = "cii.oldb";
36
39
42
45
48
51
58 explicit RuntimeRepoAdapterLegacy(const elt::mal::Uri& baseuri);
59
67 explicit RuntimeRepoAdapterLegacy(const elt::mal::Uri& baseuri,
68 const std::shared_ptr<elt::oldb::CiiOldb>& oldb);
69 virtual ~RuntimeRepoAdapterLegacy() = default;
70
71 using RuntimeRepoIf::CreateDataPoint;
72
89 void CreateDataPoint(const DataPointPath& path, const std::type_info& type) override;
90
91 void CreateDataPoint(const DataPointPath& path,
92 const std::type_info& type,
93 const std::string& server_alias) override;
94
95 std::string GetServerAlias(const DataPointPath& path) const override;
96
109 static void InitMetadata();
110
111private:
116 static const std::map<std::type_index, std::string> S_METADATA_INSTANCE_MAP;
117
122 static const std::map<std::string, const std::type_info&> S_TYPE_INFO_MAP;
123};
124
125} // namespace rtctk::componentFramework
126
127#pragma GCC diagnostic pop
128
129#endif // RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTERLEGACY_HPP
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:44
Implementation of the Runtime Configuration Repository backed by the OLDB.
Definition runtimeRepoAdapterLegacy.hpp:33
RuntimeRepoAdapterLegacy & operator=(const RuntimeRepoAdapterLegacy &)=delete
This class cannot be copy assigned.
RuntimeRepoAdapterLegacy(const RuntimeRepoAdapterLegacy &)=delete
This class cannot be copy constructed.
RuntimeRepoAdapterLegacy(RuntimeRepoAdapterLegacy &&)=default
Objects of this class can be moved.
RuntimeRepoAdapterLegacy()=delete
Do not allow construction with no arguments.
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
Definition commandReplier.cpp:22
Header file needed to instantiate a OldbAdapterLegacy.
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.