RTI Connext Modern C++ API  Version 6.1.0

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

#include <TStatus.hpp>

Public Member Functions

int32_t total_count () const
 Total cumulative count of all samples lost across all instances of data published under the dds::topic::Topic. More...
 
int32_t total_count_change () const
 The incremental number of samples lost since the last time the listener was called or the status was read. More...
 
rti::core::status::SampleLostState last_reason () const
 <<extension>> Greatest number of DataReaders that matched this dds::pub::DataWriter simultaneously. More...
 

Detailed Description

Information about the status dds::core::status::StatusMask::sample_lost()

Member Function Documentation

◆ total_count()

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

Total cumulative count of all samples lost across all instances of data published under the dds::topic::Topic.

◆ total_count_change()

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

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

◆ last_reason()

rti::core::status::SampleLostState last_reason ( ) const

<<extension>> Greatest number of DataReaders that matched this dds::pub::DataWriter simultaneously.

That is, there was no moment in time when more than this many DataReaders matched this DataWriter. (As a result, total_count can be higher than current_count_peak.)