RTI Connext C API Version 7.1.0
DDS_DataWriterShmemRefTransferModeSettings Struct Reference

Settings related to transferring data using shared memory references. More...

Data Fields

DDS_Boolean enable_data_consistency_check
 Controls if samples can be checked for consistency. More...
 

Detailed Description

Settings related to transferring data using shared memory references.

It is used to configure a DDS_DataWriter using Zero Copy transfer over shared memory.

Properties:
RxO = N/A
Changeable = NO
QoS:
DDS_DataWriterTransferModeQosPolicy

Field Documentation

◆ enable_data_consistency_check

DDS_Boolean DDS_DataWriterShmemRefTransferModeSettings::enable_data_consistency_check

Controls if samples can be checked for consistency.

When this setting is true, the DDS_DataWriter sends an incrementing sequence number as an inline QoS with every sample. This sequence number allows a DDS_DataReader to use the FooDataReader_is_data_consistent API to detect if the DDS_DataWriter overwrote the sample before the DDS_DataReader could complete processing the sample.

[default] DDS_BOOLEAN_TRUE