RTI Connext Traditional C++ API  Version 6.1.1
DDS_DataWriterShmemRefTransferModeSettings Struct Reference

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

Public Attributes

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 DDSDataWriter using Zero Copy transfer over shared memory.

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

Member Data 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 DDSDataWriter sends an incrementing sequence number as an inline QoS with every sample. This sequence number allows a DDSDataReader to use the FooDataReader::is_data_consistent API to detect if the DDSDataWriter overwrote the sample before the DDSDataReader could complete processing the sample.

[default] DDS_BOOLEAN_TRUE