RTI Connext Modern C++ API  Version 6.1.2

A list of data representations and compression methods supported by a dds::pub::DataWriter or dds::sub::DataReader. More...

Classes

class  dds::core::policy::DataRepresentation
 Contains the data representations supported by entities. More...
 
class  rti::core::CompressionIdMask
 <<extension>> Mask that specifies which built-in compression method to used. More...
 
class  rti::core::CompressionSettings
 <<extension>> Compression Settings More...
 

Typedefs

typedef int16_t dds::core::policy::DataRepresentationId
 The type of the elements that DataRepresentation contains. More...
 
typedef std::vector< DataRepresentationIddds::core::policy::DataRepresentationIdSeq
 A vector of DataRepresentationId. More...
 

Functions

static DataRepresentationId dds::core::policy::DataRepresentation::xcdr ()
 Extended Common Data Representation encoding version 1. More...
 
static DataRepresentationId dds::core::policy::DataRepresentation::xml ()
 XML Data Representation (unsupported) More...
 
static DataRepresentationId dds::core::policy::DataRepresentation::xcdr2 ()
 Extended Common Data Representation encoding version 2. More...
 
static DataRepresentationId dds::core::policy::DataRepresentation::auto_id ()
 Representation automatically chosen based on the type. More...
 

Detailed Description

A list of data representations and compression methods supported by a dds::pub::DataWriter or dds::sub::DataReader.

Typedef Documentation

◆ DataRepresentationId

The type of the elements that DataRepresentation contains.

2-byte signed integers

◆ DataRepresentationIdSeq

A vector of DataRepresentationId.

Function Documentation

◆ xcdr()

static DataRepresentationId dds::core::policy::DataRepresentation::xcdr ( )
inlinestatic

Extended Common Data Representation encoding version 1.

◆ xml()

static DataRepresentationId dds::core::policy::DataRepresentation::xml ( )
inlinestatic

XML Data Representation (unsupported)

Note
This value is currently not supported.

◆ xcdr2()

static DataRepresentationId dds::core::policy::DataRepresentation::xcdr2 ( )
inlinestatic

Extended Common Data Representation encoding version 2.

◆ auto_id()

static DataRepresentationId dds::core::policy::DataRepresentation::auto_id ( )
inlinestatic

Representation automatically chosen based on the type.

For plain language binding, if the allowed_data_representation annotation is not specified or if it contains the value XCDR, RTI Connext translates this field to dds::core::policy::DataRepresentation::xcdr(). Otherwise, it translates this field to dds::core::policy::DataRepresentation::xcdr2().

For the FlatData language binding, RTI Connext translates this field to dds::core::policy::DataRepresentation::xcdr2().

Examples:
Foo.hpp.