Struct dds::topic::TypeTraits

template <typename T>

ClassList > dds > topic > TypeTraits

More...

  • #include <CorePolicy.hpp>

Public Types

Type Name
typedef T xcdr1_codec
typedef T xcdr2_codec

Detailed Description

Codec resolution for DataWriter<T> and DataReader<T>. Default: T is its own XCDR2/XCDR1 codec (self-codec IDL pattern). Specialise for types with separate codec structs: template<> struct TypeTraits<MyType> { using xcdr2_codec = MyTypeXCDR2; using xcdr1_codec = MyTypeXCDR1; };

Public Types Documentation

typedef xcdr1_codec

using dds::topic::TypeTraits< T >::xcdr1_codec =  T;

typedef xcdr2_codec

using dds::topic::TypeTraits< T >::xcdr2_codec =  T;


The documentation for this class was generated from the following file include/astutedds/dcps/CorePolicy.hpp