RTC Toolkit  2.0.0
fileRuntimeRepoAdapter.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_COMPONENTFRAMEWORK_FILERUNTIMEREPOADAPTER_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_FILERUNTIMEREPOADAPTER_HPP
14 
15 #include <mal/utility/Uri.hpp>
18 
19 namespace rtctk::componentFramework {
20 
22 public:
28 
39  explicit FileRuntimeRepoAdapter(const elt::mal::Uri& datauri, const int dirdepth = 1);
40  virtual ~FileRuntimeRepoAdapter();
41  RepositoryIf::Response SendSubscribeRequest(const SubscribeRequest& request) const override;
43 };
44 
45 } // namespace rtctk::componentFramework
46 
47 #endif // RTCTK_COMPONENTFRAMEWORK_FILERUNTIMEREPOADAPTER_HPP
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:33
rtctk::componentFramework::FileRuntimeRepoAdapter::operator=
FileRuntimeRepoAdapter & operator=(const FileRuntimeRepoAdapter &)=delete
rtctk::componentFramework::FileRuntimeRepoAdapter::FileRuntimeRepoAdapter
FileRuntimeRepoAdapter()=delete
rtctk::componentFramework::FileRuntimeRepoAdapter::SendUnsubscribeRequest
RepositoryIf::Response SendUnsubscribeRequest(const UnsubscribeRequest &request) const override
This is called to asynchronously send a request to unsubscribe from various notifications.
Definition: fileRuntimeRepoAdapter.cpp:31
rtctk::componentFramework::RepositorySubscriberIf::UnsubscribeRequest
A request object to pass information about datapoints to unsubscribe from.
Definition: repositorySubscriberIf.hpp:115
rtctk::componentFramework::FileRuntimeRepoAdapter::operator=
FileRuntimeRepoAdapter & operator=(FileRuntimeRepoAdapter &&)=default
rtctk::componentFramework::FileRuntimeRepoAdapter::SendSubscribeRequest
RepositoryIf::Response SendSubscribeRequest(const SubscribeRequest &request) const override
This is called to asynchronously send a subscription request for datapoints.
Definition: fileRuntimeRepoAdapter.cpp:26
fileRepository.hpp
Declaration of FileRepository that provides a simple file based repository.
rtctk::componentFramework::FileRuntimeRepoAdapter::FileRuntimeRepoAdapter
FileRuntimeRepoAdapter(const FileRuntimeRepoAdapter &)=delete
rtctk::componentFramework::RuntimeRepoIf
Definition: runtimeRepoIf.hpp:20
rtctk::componentFramework::RepositoryIf::Response
An object used to wait for a request to complete.
Definition: repositoryIf.hpp:188
runtimeRepoIf.hpp
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.
rtctk::componentFramework::FileRuntimeRepoAdapter
Definition: fileRuntimeRepoAdapter.hpp:21
rtctk::componentFramework::FileRuntimeRepoAdapter::FileRuntimeRepoAdapter
FileRuntimeRepoAdapter(FileRuntimeRepoAdapter &&)=default
rtctk::componentFramework::FileRuntimeRepoAdapter::~FileRuntimeRepoAdapter
virtual ~FileRuntimeRepoAdapter()
Definition: fileRuntimeRepoAdapter.cpp:22