Go to the documentation of this file.
11 #ifndef RTCTK_TELSUB_DATASAMPLEVIEW_HPP
12 #define RTCTK_TELSUB_DATASAMPLEVIEW_HPP
15 #include <memory_resource>
47 using Alloc = std::pmr::polymorphic_allocator<std::byte>;
66 #endif // #ifndef RTCTK_TELSUB_DATASAMPLE_HPP
std::pmr::polymorphic_allocator< std::byte > Alloc
Definition: dataSampleView.hpp:47
bool operator==(DataSamplesView const &rhs) const noexcept
Definition: dataSampleView.cpp:24
double time_stamp
Time stamp of data sample.
Definition: dataSampleView.hpp:30
Agnostic data sample non-owning reference type.
Definition: dataSampleView.hpp:24
bool operator!=(DataSampleView const &rhs) const noexcept
Definition: dataSampleView.cpp:20
unsigned long sample_id
Sample id for all samples in DataSamplesView::samples.
Definition: dataSampleView.hpp:53
A set of correlated agnostic non-owning data samples references.
Definition: dataSampleView.hpp:46
std::pmr::vector< DataSampleView > samples
Non-owned view of type-agnostic data samples in the same order as topics are specified in configurati...
Definition: dataSampleView.hpp:58
bool operator==(DataSampleView const &rhs) const noexcept
Definition: dataSampleView.cpp:16
DataSamplesView(Alloc const &alloc=Alloc())
Definition: dataSampleView.hpp:48
unsigned int uint32_t
Definition: mudpi.h:16
std::uint8_t const * data
Pointer to first byte in data sample payload.
Definition: dataSampleView.hpp:34
bool operator!=(DataSamplesView const &rhs) const noexcept
Definition: dataSampleView.cpp:28
std::uint32_t size
Number of bytes in data.
Definition: dataSampleView.hpp:38