RTI Connext .Net APIs
Version 6.0.0
|
This QoS policy contains a list of representation identifiers used by DDS::DataWriter and DDS::DataReader entities to negotiate which data representation to use. More...
#include <managed_infrastructure.h>
Static Public Member Functions | |
static System::String ^ | get_data_representation_qos_policy_name () |
Stringified human-readable name for DDS::DataRepresentationQosPolicy. More... | |
Public Attributes | |
ShortSeq ^ | value |
Sequence of representation identifiers. More... | |
Static Public Attributes | |
static System::Int16 | XCDR_DATA_REPRESENTATION |
Corresponds to the Extended Common Data Representation encoding version 1. More... | |
static System::Int16 | XML_DATA_REPRESENTATION |
Corresponds to the XML Data Representation (unsupported). More... | |
static System::Int16 | XCDR2_DATA_REPRESENTATION |
Corresponds to the Extended Common Data Representation encoding version 2. More... | |
static System::Int16 | AUTO_DATA_REPRESENTATION |
Representation is automatically chosen based on the type. More... | |
This QoS policy contains a list of representation identifiers used by DDS::DataWriter and DDS::DataReader entities to negotiate which data representation to use.
This policy has request-offer semantics. A DDS::DataWriter may only offer a single representation. Attempting to put multiple representations in a DDS::DataWriter will result in DDS::Retcode_InconsistentPolicy. A DDS::DataWriter will use its offered policy to communicate with its matched DDS::DataReader entities. A DDS::DataReader requests one or more representations. If a DDS::DataWriter offers a representation that is contained within the sequence of the DDS::DataReader, the offer satisfies the request and the policies are compatible. Otherwise, they are incompatible.
When representations are specified in the DDS::TopicQos, DDS::Publisher::copy_from_topic_qos copies the first element of the sequence, and DDS::Subscriber::copy_from_topic_qos copies the whole sequence.
ShortSeq ^ DDS::DataRepresentationQosPolicy::value |
Sequence of representation identifiers.
[default] For DDS::Topic, DDS::DataWriter, and DDS::DataReader, a list with one element: DDS::DataRepresentationId_t::AUTO_DATA_REPRESENTATION.