RTC Toolkit  1.0.0
fileOldbAdapter.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_COMPONENTFRAMEWORK_FILEOLDBADAPTER_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_FILEOLDBADAPTER_HPP
14 
15 #include <mal/utility/Uri.hpp>
18 
19 namespace rtctk::componentFramework {
20 
92 class FileOldbAdapter : public FileRepository, public OldbIf {
93 public:
95  FileOldbAdapter() = delete;
96 
98  FileOldbAdapter(const FileOldbAdapter&) = delete;
99 
102 
105 
108 
116  explicit FileOldbAdapter(const elt::mal::Uri& datauri);
117 
122  virtual ~FileOldbAdapter();
123 
124  RepositoryIf::Response SendSubscribeRequest(const SubscribeRequest& request) const override;
126 };
127 
128 } // namespace rtctk::componentFramework
129 
130 #endif // RTCTK_COMPONENTFRAMEWORK_FILEOLDBADAPTER_HPP
rtctk::componentFramework::FileOldbAdapter::SendSubscribeRequest
RepositoryIf::Response SendSubscribeRequest(const SubscribeRequest &request) const override
This is called to asynchronously send a subscription request for datapoints.
Definition: fileOldbAdapter.cpp:24
rtctk::componentFramework::FileOldbAdapter::FileOldbAdapter
FileOldbAdapter(FileOldbAdapter &&)=default
The move constructor.
rtctk::componentFramework::FileRepository
Implements a file based repository that stores datapoints in local YAML and FITS files.
Definition: fileRepository.hpp:68
rtctk::componentFramework
Definition: commandReplier.cpp:20
rtctk::componentFramework::RepositorySubscriberIf::SubscribeRequest
A request object to pass information about datapoints to subscribe to.
Definition: repositorySubscriberIf.hpp:31
rtctk::componentFramework::FileOldbAdapter::SendUnsubscribeRequest
RepositoryIf::Response SendUnsubscribeRequest(const UnsubscribeRequest &request) const override
This is called to asynchronously send a request to unsubscribe from various notifications.
Definition: fileOldbAdapter.cpp:29
rtctk::componentFramework::RepositorySubscriberIf::UnsubscribeRequest
A request object to pass information about datapoints to unsubscribe from.
Definition: repositorySubscriberIf.hpp:95
rtctk::componentFramework::FileOldbAdapter::operator=
FileOldbAdapter & operator=(const FileOldbAdapter &)=delete
This class cannot be copy assigned.
rtctk::componentFramework::FileOldbAdapter::FileOldbAdapter
FileOldbAdapter()=delete
Do not allow construction with no arguments.
fileRepository.hpp
Declaration of FileRepository that provides a simple file based repository.
rtctk::componentFramework::FileOldbAdapter::operator=
FileOldbAdapter & operator=(FileOldbAdapter &&)=default
The move assignment operator.
rtctk::componentFramework::OldbIf
Definition: oldbIf.hpp:20
rtctk::componentFramework::FileOldbAdapter
A file based OLDB adapter that simulates OLDB with a local YAML file.
Definition: fileOldbAdapter.hpp:92
rtctk::componentFramework::RepositoryIf::Response
An object used to wait for a request to complete.
Definition: repositoryIf.hpp:106
rtctk::componentFramework::FileOldbAdapter::FileOldbAdapter
FileOldbAdapter(const FileOldbAdapter &)=delete
This class cannot be copy constructed.
rtctk::componentFramework::FileOldbAdapter::~FileOldbAdapter
virtual ~FileOldbAdapter()
Destroys the file based OLDB.
Definition: fileOldbAdapter.cpp:20
oldbIf.hpp
Header file for OldbIf, which defines the API for OldbAdapters.