RTI Connext C API  Version 6.1.0

A list of data representations and compression methods supported by a DDS_DataWriter or DDS_DataReader. More...

Modules

 Compression Settings
 <<extension>> Compression settings that can be applied to data that is sent and received by DataWriters and DataReaders.
 

Data Structures

struct  DDS_DataRepresentationIdSeq
 Declares IDL sequence < DDS_DataRepresentationId_t > More...
 
struct  DDS_DataRepresentationQosPolicy
 This QoS policy contains a list of representation identifiers and compression settings used by DDS_DataWriter and DDS_DataReader entities to negotiate which data representation and compression settings to use. More...
 

Typedefs

typedef DDS_Short DDS_DataRepresentationId_t
 A two-byte signed integer that identifies a data representation. More...
 

Variables

const DDS_DataRepresentationId_t DDS_XCDR_DATA_REPRESENTATION
 Corresponds to the Extended Common Data Representation encoding version 1. More...
 
const DDS_DataRepresentationId_t DDS_XML_DATA_REPRESENTATION
 Corresponds to the XML Data Representation (unsupported). More...
 
const DDS_DataRepresentationId_t DDS_XCDR2_DATA_REPRESENTATION
 Corresponds to the Extended Common Data Representation encoding version 2. More...
 
const DDS_DataRepresentationId_t DDS_AUTO_DATA_REPRESENTATION
 Representation is automatically chosen based on the type. More...
 
const char *const DDS_DATA_REPRESENTATION_QOS_POLICY_NAME
 Stringified human-readable name for DDS_DataRepresentationQosPolicy. More...
 

Detailed Description

A list of data representations and compression methods supported by a DDS_DataWriter or DDS_DataReader.

Typedef Documentation

◆ DDS_DataRepresentationId_t

A two-byte signed integer that identifies a data representation.

Variable Documentation

◆ DDS_XCDR_DATA_REPRESENTATION

const DDS_DataRepresentationId_t DDS_XCDR_DATA_REPRESENTATION

Corresponds to the Extended Common Data Representation encoding version 1.

◆ DDS_XML_DATA_REPRESENTATION

const DDS_DataRepresentationId_t DDS_XML_DATA_REPRESENTATION

Corresponds to the XML Data Representation (unsupported).

Note
This value is currently not supported.

◆ DDS_XCDR2_DATA_REPRESENTATION

const DDS_DataRepresentationId_t DDS_XCDR2_DATA_REPRESENTATION

Corresponds to the Extended Common Data Representation encoding version 2.

◆ DDS_AUTO_DATA_REPRESENTATION

const DDS_DataRepresentationId_t DDS_AUTO_DATA_REPRESENTATION

Representation is 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_XCDR_DATA_REPRESENTATION. Otherwise, it translates this field to DDS_XCDR2_DATA_REPRESENTATION.

For the FlatData language binding, RTI Connext translates this field to DDS_XCDR2_DATA_REPRESENTATION.

Examples:
HelloWorldPlugin.c.

◆ DDS_DATA_REPRESENTATION_QOS_POLICY_NAME

const char* const DDS_DATA_REPRESENTATION_QOS_POLICY_NAME

Stringified human-readable name for DDS_DataRepresentationQosPolicy.