RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
persistentRepoIf.hpp
Go to the documentation of this file.
1
11
12#ifndef RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOIF_HPP
13#define RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOIF_HPP
14
16
18
24class RTCTK_API PersistentRepoIf : virtual public RepositoryIf {
25public:
33 using AdapterIdType = elt::mal::Uri;
34
35 ~PersistentRepoIf() override = default;
36
59 static std::unique_ptr<PersistentRepoIf> CreateAdapter(const elt::mal::Uri& uri);
60
68 virtual elt::mal::Uri GetUri() const = 0;
69};
70
71} // namespace rtctk::componentFramework
72
73#endif // RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOIF_HPP
Base interface for all Persistent Configuration Repository adapters.
Definition persistentRepoIf.hpp:24
virtual elt::mal::Uri GetUri() const =0
Get the URI used when creating this adapter object.
elt::mal::Uri AdapterIdType
The type used to distinguish between different adapters implementing RuntimeRepoIf.
Definition persistentRepoIf.hpp:33
static std::unique_ptr< PersistentRepoIf > CreateAdapter(const elt::mal::Uri &uri)
Factory method used to create the appropriate Persistent Configuration Repository adapter depending o...
Definition persistentRepoIf.cpp:17
#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 RepositoryIf and related base classes.