tin  1.5.9
tsm::transport::dds_sample< MaxBytes > Struct Template Reference

#include <transport.h>

Collaboration diagram for tsm::transport::dds_sample< MaxBytes >:
Collaboration graph

Public Attributes

std::uint32_t topic_id {}
 
std::uint32_t writer_id {}
 
std::uint32_t sequence {}
 
bool valid { true }
 
payload_buffer< MaxBytes > payload {}
 

Detailed Description

template<std::size_t MaxBytes>
struct tsm::transport::dds_sample< MaxBytes >

DDS-facing sample handoff.

This is intentionally not a DDS vendor API. A CycloneDDS, Fast DDS, Connext, DDS-XRCE, or ROS 2 binding should map its received sample metadata and payload into this record or into a compatible project-specific record. The application decoder owns topic/type compatibility and payload decoding.

Member Data Documentation

◆ payload

template<std::size_t MaxBytes>
payload_buffer<MaxBytes> tsm::transport::dds_sample< MaxBytes >::payload {}

◆ sequence

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::dds_sample< MaxBytes >::sequence {}

◆ topic_id

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::dds_sample< MaxBytes >::topic_id {}

◆ valid

template<std::size_t MaxBytes>
bool tsm::transport::dds_sample< MaxBytes >::valid { true }

◆ writer_id

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::dds_sample< MaxBytes >::writer_id {}

The documentation for this struct was generated from the following file: