RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
oldbIf.hpp
Go to the documentation of this file.
1
11
12#ifndef RTCTK_COMPONENTFRAMEWORK_OLDBIF_HPP
13#define RTCTK_COMPONENTFRAMEWORK_OLDBIF_HPP
14
16
18
24class RTCTK_API OldbIf : virtual public RepositorySubscriberIf {
25public:
33 using AdapterIdType = elt::mal::Uri;
34
35 ~OldbIf() override = default;
36
59 static std::unique_ptr<OldbIf> 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_OLDBIF_HPP
Base interface for all OLDB adapters.
Definition oldbIf.hpp:24
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:17
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:33
#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.