Go to the documentation of this file.
8 #ifndef RTCKT_TELSUB_DDSSUBSCRIBERIF_HPP
9 #define RTCKT_TELSUB_DDSSUBSCRIBERIF_HPP
15 #include <system_error>
16 #include <agnostictopicif.h>
83 std::vector<std::vector<const rtctk::AgnosticTopic*>>& samples,
84 std::chrono::nanoseconds timeout
112 const std::vector<const rtctk::AgnosticTopic*>& samples
113 )
const noexcept = 0;
143 #endif // RTCKT_TELSUB_DDSSUBSCRIBERIF_HPP
virtual ~DdsSubscriberIf() noexcept
Definition: ddsSubscriberIf.hpp:43
Base class abstracting DDS communication code.
Definition: ddsSubscriberIf.hpp:39
virtual std::error_code TakeSamples(std::vector< std::vector< const rtctk::AgnosticTopic * >> &samples, std::chrono::nanoseconds timeout) const noexcept=0
Retrieves the buffers for the next data samples received from DDS.
std::string m_qos_profile
Definition: ddsSubscriberIf.hpp:32
std::string m_qos_library
Definition: ddsSubscriberIf.hpp:31
virtual const std::string & GetTopicName(size_t index) const noexcept=0
Returns a string containing the name of a configured topic.
std::vector< std::string > m_topics
Definition: ddsSubscriberIf.hpp:33
Definition: businessLogic.cpp:35
Parameter set to be passed to classes deriving from DdsSubscriberIf.
Definition: ddsSubscriberIf.hpp:27
DdsParams()
Definition: ddsSubscriberIf.hpp:28
Definition: mudpiProcessingError.hpp:109
int32_t m_domain_id
Definition: ddsSubscriberIf.hpp:28
int int32_t
Definition: mudpi.h:17
virtual size_t GetNumberOfTopics() const noexcept=0
Returns the number of configured topics.
virtual std::error_code ReturnSamples(const std::vector< const rtctk::AgnosticTopic * > &samples) const noexcept=0
Releases buffers for previously retrieved data samples.
DdsSubscriberIf()
Definition: ddsSubscriberIf.hpp:42