RTC Toolkit  0.1.0-alpha
fakeOldbAdapter.hpp
Go to the documentation of this file.
1 
9 #ifndef RTCTK_COMPONENTFRAMEWORK_FAKEOLDBADAPTER_HPP
10 #define RTCTK_COMPONENTFRAMEWORK_FAKEOLDBADAPTER_HPP
11 
12 #include <exception>
13 #include <mal/utility/Uri.hpp>
16 
17 namespace rtctk::componentFramework {
18 
90 class FakeOldbAdapter : public FileRepository, public OldbApiIf {
91 public:
92 
94  FakeOldbAdapter() = delete;
95 
97  FakeOldbAdapter(const FakeOldbAdapter&) = delete;
98 
101 
104 
107 
108  explicit FakeOldbAdapter(const ::elt::mal::Uri& datauri);
109  virtual ~FakeOldbAdapter();
110 };
111 
112 } // namespace rtctk::componentFramework
113 
114 #endif // RTCTK_COMPONENTFRAMEWORK_FAKEOLDBADAPTER_HPP
rtctk::componentFramework::FakeOldbAdapter::FakeOldbAdapter
FakeOldbAdapter()=delete
Do not allow construction with no arguments.
rtctk::componentFramework::FakeOldbAdapter::FakeOldbAdapter
FakeOldbAdapter(FakeOldbAdapter &&)=default
The move constructor.
rtctk::componentFramework::FileRepository
Definition: fileRepository.hpp:44
rtctk::componentFramework
Definition: rtcComponent.hpp:17
rtctk::componentFramework::FakeOldbAdapter::~FakeOldbAdapter
virtual ~FakeOldbAdapter()
Definition: fakeOldbAdapter.cpp:30
oldbApiIf.hpp
Header file for OldbApiIf, which defines the API for OldbAdapters.
rtctk::componentFramework::OldbApiIf
Definition: oldbApiIf.hpp:18
rtctk::componentFramework::FakeOldbAdapter
A file based OLDB adapter that simulates OLDB with a local YAML file.
Definition: fakeOldbAdapter.hpp:90
fileRepository.hpp
Declaration of FileRepository that provides a simple file based repository.
rtctk::componentFramework::FakeOldbAdapter::operator=
FakeOldbAdapter & operator=(const FakeOldbAdapter &)=delete
This class cannot be copy assigned.
rtctk::componentFramework::FakeOldbAdapter::FakeOldbAdapter
FakeOldbAdapter(const FakeOldbAdapter &)=delete
This class cannot be copy constructed.
rtctk::componentFramework::FakeOldbAdapter::operator=
FakeOldbAdapter & operator=(FakeOldbAdapter &&)=default
The move assignment operator.