RTC Toolkit 6.0.0-pre2
Loading...
Searching...
No Matches
oldbIf.hpp
Go to the documentation of this file.
1
12
13#ifndef RTCTK_COMPONENTFRAMEWORK_OLDBIF_HPP
14#define RTCTK_COMPONENTFRAMEWORK_OLDBIF_HPP
15
17
19
25class RTCTK_API OldbIf : virtual public RepositorySubscriberIf {
26public:
34 using AdapterIdType = elt::mal::Uri;
35
36 ~OldbIf() override = default;
37
60 static std::unique_ptr<OldbIf> 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_OLDBIF_HPP
Base interface for all OLDB adapters.
Definition oldbIf.hpp:25
static std::unique_ptr< OldbIf > CreateAdapter(const elt::mal::Uri &uri)
Factory method used to create the appropriate OLDB adapter depending on the URI scheme.
Definition oldbIf.cpp:18
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 OldbIf.
Definition oldbIf.hpp:34
#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 RepositorySubscriberIf and related base classes.