Go to the documentation of this file.
11 #ifndef RTCKT_TELSUB_DDSWAITSET_HPP
12 #define RTCKT_TELSUB_DDSWAITSET_HPP
32 using Alloc = std::pmr::polymorphic_allocator<std::byte>;
40 std::error_code
Take(
std::chrono::nanoseconds timeout) noexcept override;
59 std::vector<
rtctk::componentFramework::DataReader *> *m_readers;
60 std::map<Condition*,
uint32_t> m_reader_context_lut;
61 std::unique_ptr<WaitSet> m_waitset;
66 #endif // RTCKT_TELSUB_DDSWAITSET_HPP
AgnosticDataSamples & GetSamples() noexcept override
Returns reference to data structure holding taken data samples.
Definition: ddsWaitSet.cpp:84
size_t GetNumberOfTopics() const noexcept override
Returns the number of configured topics.
Definition: ddsWaitSet.cpp:259
rtctk::componentFramework::AgnosticTopicSeq DdsSampleSeq
Definition: agnosticDataSamples.hpp:27
std::error_code ReturnLoan(std::uint8_t idx, DdsSampleSeq &samples, DdsInfoSeq &infos) noexcept override
Returns loaned sample sequence.
Definition: ddsWaitSet.cpp:248
virtual ~DdsWaitSet() noexcept
Destroys the DDS subscriber and releases all DDS resources.
Definition: ddsWaitSet.cpp:71
Loaner interface.
Definition: agnosticDataSamples.hpp:36
std::string GetTopicName(size_t index) const noexcept override
Returns a string containing the name of a configured topic.
Definition: ddsWaitSet.cpp:263
All functionality needed to create DDS entities for DDS data subscribing is concentrated in this clas...
Definition: ddsSub.hpp:48
Base class abstracting DDS communication code.
Definition: ddsWaitSetIf.hpp:58
Parameter set to be passed to classes deriving from DdsWaitSetIf.
Definition: ddsWaitSetIf.hpp:40
std::error_code Take(std::chrono::nanoseconds timeout) noexcept override
Takes new samples from DDS readers and updates data structure accessable from GetSamples()
Definition: ddsWaitSet.cpp:202
unsigned int uint32_t
Definition: mudpi.h:16
Definition: mudpiProcessingError.hpp:119
Implements DDS communication using FastDDS.
Definition: ddsWaitSet.hpp:30
DdsWaitSet(const DdsParams ¶ms, Alloc const &alloc={})
Constructs a DDS subscriber from given configuration parameters.
Definition: ddsWaitSet.cpp:51
std::pmr::polymorphic_allocator< std::byte > Alloc
Definition: ddsWaitSet.hpp:32
rtctk::componentFramework::SampleInfoSeq DdsInfoSeq
Definition: agnosticDataSamples.hpp:29
Container of DDS samples and associated sample information.
Definition: agnosticDataSamples.hpp:71
Definition: commandReplier.cpp:20