Class astutedds::dcps::TypedDataReader
template <typename T, typename XCDR2Codec, typename XCDR1Codec>
ClassList > astutedds > dcps > TypedDataReader
#include <typed.hpp>
Public Functions
| Type | Name |
|---|---|
| TypedDataReader (DataReader * reader) |
|
| DataReader * | raw () const |
| ReturnCode_t | read_next (T & out, SampleInfo & info) |
| ReturnCode_t | take_next (T & out, SampleInfo & info) |
Public Static Functions
| Type | Name |
|---|---|
| bool | deserialize (const std::vector< uint8_t > & buf, T & out) Deserialize a raw payload into T using header-aware codec selection. |
Public Functions Documentation
function TypedDataReader
inline explicit astutedds::dcps::TypedDataReader::TypedDataReader (
DataReader * reader
)
function raw
inline DataReader * astutedds::dcps::TypedDataReader::raw () const
function read_next
inline ReturnCode_t astutedds::dcps::TypedDataReader::read_next (
T & out,
SampleInfo & info
)
function take_next
inline ReturnCode_t astutedds::dcps::TypedDataReader::take_next (
T & out,
SampleInfo & info
)
Public Static Functions Documentation
function deserialize
Deserialize a raw payload into T using header-aware codec selection.
static inline bool astutedds::dcps::TypedDataReader::deserialize (
const std::vector< uint8_t > & buf,
T & out
)
The documentation for this class was generated from the following file include/astutedds/dcps/typed.hpp