RTI Connext Modern C++ API Version 7.3.0
rti::core::policy::AcknowledgmentKind_def Struct Reference

<<extension>> The enumeration for Reliability acknowledgment kinds More...

#include <PolicyKind.hpp>

Public Types

enum  type {
  PROTOCOL ,
  APPLICATION_AUTO ,
  APPLICATION_ORDERED ,
  APPLICATION_EXPLICIT
}
 The underlying enum type. More...
 

Detailed Description

<<extension>> The enumeration for Reliability acknowledgment kinds

Member Enumeration Documentation

◆ type

The underlying enum type.

Enumerator
PROTOCOL 

Samples are acknowledged by RTPS protocol.

Samples are acknowledged according to the Real-Time Publish-Subscribe (RTPS) interoperability protocol.

APPLICATION_AUTO 

Samples are acknowledged automatically after a subscribing application has accessed them.

The DataReader automatically acknowledges a sample after it has been taken and the loan returned.

See also
dds::sub::DataReader::take()
dds::sub::LoanedSamples::~LoanedSamples().
APPLICATION_ORDERED 

Samples up to a specified sequence number are acknowledged.

APPLICATION_EXPLICIT 

Samples are acknowledged after the subscribing application explicitly calls acknowledge on the samples.

Samples received by a dds::sub::DataReader are explicitly acknowledged by the subscribing application, after it calls either dds::sub::DataReader::acknowledge_all or dds::sub::DataReader::acknowledge_sample.