RTI Connext Traditional C++ API  Version 6.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DATA_REPRESENTATION

A list of data representations supported by a DDSDataWriter or DDSDataReader. More...

Classes

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

Typedefs

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

Variables

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

Detailed Description

A list of data representations supported by a DDSDataWriter or DDSDataReader.

Typedef Documentation

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

Variable Documentation

const DDS_DataRepresentationId_t DDS_XCDR_DATA_REPRESENTATION

Corresponds to the Extended Common Data Representation encoding version 1.

const DDS_DataRepresentationId_t DDS_XML_DATA_REPRESENTATION

Corresponds to the XML Data Representation (unsupported).

Note
This value is currently not supported.
const DDS_DataRepresentationId_t DDS_XCDR2_DATA_REPRESENTATION

Corresponds to the Extended Common Data Representation encoding version 2.

const DDS_DataRepresentationId_t DDS_AUTO_DATA_REPRESENTATION

Representation is automatically chosen based on the type.

For plain language binding, if the allow_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.cxx.
const char* const DDS_DATA_REPRESENTATION_QOS_POLICY_NAME

Stringified human-readable name for DDS_DataRepresentationQosPolicy.


RTI Connext Traditional C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc