RTI Connext Modern C++ API Version 7.2.0

Information about the status dds::core::status::StatusMask::sample_rejected() More...

#include <TStatus.hpp>

Public Member Functions

int32_t total_count () const
 Total cumulative count of samples rejected by the dds::sub::DataReader. More...
 
int32_t total_count_change () const
 The incremental number of samples rejected since the last time the listener was called or the status was read. More...
 
const dds::core::status::SampleRejectedState last_reason () const
 Reason for rejecting the last sample rejected. More...
 
const dds::core::InstanceHandle last_instance_handle () const
 Handle to the instance being updated by the last sample that was rejected. More...
 

Detailed Description

Member Function Documentation

◆ total_count()

int32_t dds::core::status::SampleRejectedStatus::total_count ( ) const
inline

Total cumulative count of samples rejected by the dds::sub::DataReader.

◆ total_count_change()

int32_t dds::core::status::SampleRejectedStatus::total_count_change ( ) const
inline

The incremental number of samples rejected since the last time the listener was called or the status was read.

◆ last_reason()

const dds::core::status::SampleRejectedState dds::core::status::SampleRejectedStatus::last_reason ( ) const
inline

Reason for rejecting the last sample rejected.

See also
dds::core::status::SampleRejectedState

◆ last_instance_handle()

const dds::core::InstanceHandle dds::core::status::SampleRejectedStatus::last_instance_handle ( ) const
inline

Handle to the instance being updated by the last sample that was rejected.

If the sample was rejected because of dds::core::status::SampleRejectedState::rejected_by_decode_failure() and the dds::pub::DataWriter set rti::core::policy::DataWriterProtocol::disable_inline_keyhash to true, then the last_instance_handle may not be correct if the sample was encrypted.