RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
runtimeRepoIf.hpp
Go to the documentation of this file.
1
11
12#ifndef RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOIF_HPP
13#define RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOIF_HPP
14
16
17#include <mutex>
18
20
27public:
35 using AdapterIdType = elt::mal::Uri;
36
37 ~RuntimeRepoIf() override = default;
38
60 static std::unique_ptr<RuntimeRepoIf> CreateAdapter(const elt::mal::Uri& uri);
61
69 virtual elt::mal::Uri GetUri() const = 0;
70};
71
72} // namespace rtctk::componentFramework
73
74#endif // RTCTK_COMPONENTFRAMEWORK_RUNTIMEREPOIF_HPP
Base interface for all Runtime Configuration Repository adapters.
Definition runtimeRepoIf.hpp:26
static std::unique_ptr< RuntimeRepoIf > CreateAdapter(const elt::mal::Uri &uri)
Factory method used to create the appropriate Runtime Configuration Repository adapter depending on t...
Definition runtimeRepoIf.cpp:18
elt::mal::Uri AdapterIdType
The type used to distinguish between different adapters implementing RuntimeRepoIf.
Definition runtimeRepoIf.hpp:35
virtual elt::mal::Uri GetUri() const =0
Get the URI used when creating this adapter object.
#define RTCTK_API
Helper to indicate that a class or function must be exported in the public symbol table.
Definition config.hpp:32
Definition commandReplier.cpp:21
Header file for RepositorySubscriberIf and related base classes.