RTC Toolkit 6.0.0-pre2
Loading...
Searching...
No Matches
persistentRepoIf.hpp
Go to the documentation of this file.
1
12
13#ifndef RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOIF_HPP
14#define RTCTK_COMPONENTFRAMEWORK_PERSISTENTREPOIF_HPP
15
17
19
25class RTCTK_API PersistentRepoIf : virtual public RepositoryIf {
26public:
34 using AdapterIdType = elt::mal::Uri;
35
36 ~PersistentRepoIf() override = default;
37
60 static std::unique_ptr<PersistentRepoIf> 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_PERSISTENTREPOIF_HPP
Base interface for all Persistent Configuration Repository adapters.
Definition persistentRepoIf.hpp:25
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:34
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:18
#define RTCTK_API
Helper to indicate that a class or function must be exported in the public symbol table.
Definition config.hpp:33
Definition commandReplier.cpp:22
Header file for RepositoryIf and related base classes.