RTC Toolkit  0.1.0-alpha
dataSample.hpp
Go to the documentation of this file.
1 
8 #ifndef RTCTK_TELSUB_DATASAMPLE_HPP
9 #define RTCTK_TELSUB_DATASAMPLE_HPP
10 #include <cstdint>
11 #include <vector>
12 
13 namespace rtctk::telSub {
14 
18 struct DataSampleRef {
19  bool operator==(DataSampleRef const& rhs) const noexcept;
20  bool operator!=(DataSampleRef const& rhs) const noexcept;
24  double time_stamp;
28  std::uint8_t const* data;
33 };
34 
39  unsigned long sample_id;
44  std::vector<DataSampleRef> samples;
45 
46  bool operator==(CorrelatedDataSamplesRef const& rhs) const noexcept;
47  bool operator!=(CorrelatedDataSamplesRef const& rhs) const noexcept;
48 };
49 
50 } // namespace rtctk::telSub
51 
52 #endif // #ifndef RTCTK_TELSUB_DATASAMPLE_HPP
rtctk::telSub::CorrelatedDataSamplesRef::operator!=
bool operator!=(CorrelatedDataSamplesRef const &rhs) const noexcept
Definition: dataSample.cpp:25
rtctk::telSub::DataSampleRef::operator==
bool operator==(DataSampleRef const &rhs) const noexcept
Definition: dataSample.cpp:13
rtctk::telSub::DataSampleRef
Definition: dataSample.hpp:18
rtctk::telSub::DataSampleRef::time_stamp
double time_stamp
Definition: dataSample.hpp:24
rtctk::telSub::DataSampleRef::size
std::uint32_t size
Definition: dataSample.hpp:32
rtctk::telSub
Definition: businessLogic.cpp:35
rtctk::telSub::DataSampleRef::data
std::uint8_t const * data
Definition: dataSample.hpp:28
mudpi::uint32_t
unsigned int uint32_t
Definition: mudpi.h:16
rtctk::telSub::CorrelatedDataSamplesRef
Definition: dataSample.hpp:38
rtctk::telSub::CorrelatedDataSamplesRef::samples
std::vector< DataSampleRef > samples
Definition: dataSample.hpp:44
rtctk::telSub::CorrelatedDataSamplesRef::sample_id
unsigned long sample_id
Definition: dataSample.hpp:39
rtctk::telSub::DataSampleRef::operator!=
bool operator!=(DataSampleRef const &rhs) const noexcept
Definition: dataSample.cpp:17
rtctk::telSub::CorrelatedDataSamplesRef::operator==
bool operator==(CorrelatedDataSamplesRef const &rhs) const noexcept
Definition: dataSample.cpp:21