RTI Connext Modern C++ API
Version 6.1.0
|
<<extension>> Configures aspects of the shared memory reference transfer mode related to a DataWriter More...
#include <rti/core/policy/CorePolicy.hpp>
Public Member Functions | |
DataWriterShmemRefTransferModeSettings () | |
Creates an instance with the default settings. More... | |
DataWriterShmemRefTransferModeSettings & | enable_data_consistency_check (bool the_enable_data_consistency_check) |
Controls if samples can be checked for consistency. More... | |
bool | enable_data_consistency_check () const |
Getter (see setter with the same name) More... | |
<<extension>> Configures aspects of the shared memory reference transfer mode related to a DataWriter
It is used to configure a dds::pub::DataWriter using Zero Copy transfer over shared memory.
|
inline |
Creates an instance with the default settings.
DataWriterShmemRefTransferModeSettings& rti::core::DataWriterShmemRefTransferModeSettings::enable_data_consistency_check | ( | bool | the_enable_data_consistency_check | ) |
Controls if samples can be checked for consistency.
When this setting is true, the dds::pub::DataWriter sends an incrementing sequence number as an inline QoS with every sample. This sequence number allows a dds::sub::DataReader to use the dds::sub::DataReader::is_data_consistent API to detect if the dds::pub::DataWriter overwrote the sample before the dds::sub::DataReader could complete processing the sample.
[default] true
bool rti::core::DataWriterShmemRefTransferModeSettings::enable_data_consistency_check | ( | ) | const |
Getter (see setter with the same name)