RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
commandRequestor.hpp
Go to the documentation of this file.
1
11
12#ifndef RTCTK_METADATACOLLECTOR_COMMANDREQUESTOR_HPP
13#define RTCTK_METADATACOLLECTOR_COMMANDREQUESTOR_HPP
14
15#include <Metadaqif.hpp>
16#include <mal/Cii.hpp>
17
18#include <chrono>
19#include <optional>
20
22
27public:
28 explicit CommandRequestor(const elt::mal::Uri& uri,
29 std::optional<std::chrono::milliseconds> timeout = std::nullopt);
30
31 virtual ~CommandRequestor() = default;
32
33 metadaqif::MetaDaq& GetInterface();
34
35private:
36 // cppcheck-suppress-begin unusedStructMember
37
38 std::string m_uri;
39 elt::mal::Mal::Properties m_props;
40 elt::mal::CiiFactory& m_factory;
41 std::vector<std::shared_ptr<elt::mal::rr::qos::QoS>> m_qos;
42
43 // cppcheck-suppress-end unusedStructMember
44
45 std::unique_ptr<metadaqif::MetaDaqSync> metadaq;
46};
47
48} // namespace rtctk::metadataCollector
49
50#endif // RTCTK_METADATACOLLECTOR_COMMANDREQUESTOR_HPP
metadaqif::MetaDaq & GetInterface()
Definition commandRequestor.cpp:34
CommandRequestor(const elt::mal::Uri &uri, std::optional< std::chrono::milliseconds > timeout=std::nullopt)
Definition acquisitor.cpp:14