RTC Toolkit  2.0.0
runtimeRepoAdapter.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTER_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTER_HPP
14 
17 
18 namespace rtctk::componentFramework {
19 
21 public:
23  RuntimeRepoAdapter() = delete;
24 
27 
30 
33 
36 
43  explicit RuntimeRepoAdapter(const elt::mal::Uri& baseuri);
44 
52  explicit RuntimeRepoAdapter(const elt::mal::Uri& baseuri,
53  const std::shared_ptr<elt::oldb::CiiOldb>& oldb);
54  virtual ~RuntimeRepoAdapter() = default;
55 
68  static void InitMetadata();
69 
70 private:
75  static const std::map<std::type_index, std::string> S_METADATA_INSTANCE_MAP;
76 
81  static const std::map<std::string, const std::type_info&> S_TYPE_INFO_MAP;
82 };
83 
84 } // namespace rtctk::componentFramework
85 
86 #endif // RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOADAPTER_HPP
rtctk::componentFramework::RuntimeRepoAdapter::RuntimeRepoAdapter
RuntimeRepoAdapter(RuntimeRepoAdapter &&)=default
Objects of this class can be moved.
rtctk::componentFramework::OldbAdapter
Provides access to the OLDB to read and write datapoints.
Definition: oldbAdapter.hpp:34
rtctk::componentFramework::RuntimeRepoAdapter::InitMetadata
static void InitMetadata()
Initialises the type metadata in the CII configuration service for the Runtime Configuration Reposito...
Definition: runtimeRepoAdapter.cpp:38
rtctk::componentFramework
Definition: commandReplier.cpp:20
rtctk::componentFramework::RuntimeRepoAdapter::RuntimeRepoAdapter
RuntimeRepoAdapter()=delete
Do not allow construction with no arguments.
rtctk::componentFramework::RuntimeRepoAdapter::operator=
RuntimeRepoAdapter & operator=(const RuntimeRepoAdapter &)=delete
This class cannot be copy assigned.
rtctk::componentFramework::RuntimeRepoAdapter::~RuntimeRepoAdapter
virtual ~RuntimeRepoAdapter()=default
rtctk::componentFramework::RuntimeRepoAdapter::operator=
RuntimeRepoAdapter & operator=(RuntimeRepoAdapter &&)=default
Objects of this class can be moved with the move assignment operator.
rtctk::componentFramework::RuntimeRepoIf
Definition: runtimeRepoIf.hpp:20
runtimeRepoIf.hpp
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.
rtctk::componentFramework::RuntimeRepoAdapter
Definition: runtimeRepoAdapter.hpp:20
oldbAdapter.hpp
Header file needed to instantiate a OldbAdapter.
rtctk::componentFramework::RuntimeRepoAdapter::RuntimeRepoAdapter
RuntimeRepoAdapter(const RuntimeRepoAdapter &)=delete
This class cannot be copy constructed.