RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::core::DataWriterShmemRefTransferModeSettings Class Reference

<<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.
 
DataWriterShmemRefTransferModeSettingsenable_data_consistency_check (bool the_enable_data_consistency_check)
 Controls if samples can be checked for consistency.
 
bool enable_data_consistency_check () const
 Getter (see setter with the same name)
 

Detailed Description

<<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.

Properties:
RxO = N/A
Changeable = NO
QoS:
rti::core::policy::DataWriterTransferMode

Constructor & Destructor Documentation

rti::core::DataWriterShmemRefTransferModeSettings::DataWriterShmemRefTransferModeSettings ( )
inline

Creates an instance with the default settings.

Member Function Documentation

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)


RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc