RTI Connext Modern C++ API
Version 6.0.1
|
#include <TGenerationCount.hpp>
Public Member Functions | |
GenerationCount () | |
Create a default GenerationCount object. | |
GenerationCount (int32_t disposed_count, int32_t no_writers_count) | |
Create a GenerationCount object with the provided disposed_count and no_writers count. | |
int32_t | disposed () const |
Get the disposed generation count. | |
int32_t | no_writers () const |
Get the no_writers generation count. | |
|
inline |
Create a default GenerationCount object.
|
inline |
Create a GenerationCount object with the provided disposed_count and no_writers count.
|
inline |
Get the disposed generation count.
The disposed generation count of the instance at the time of sample reception.
Indicates how many times the instance_state
of the corresponding instance changed from dds::sub::status::InstanceState::not_alive_disposed() to dds::sub::status::InstanceState::alive(). The counter is reset when the instance resource is reclaimed (removed from the DataReader cache).
|
inline |
Get the no_writers generation count.
The no writers generation count of the instance at the time of sample reception.
Indicates how many times the instance_state
of the corresponding instance changed from dds::sub::status::InstanceState::not_alive_no_writers() to dds::sub::status::InstanceState::alive(). The counter is reset when the instance resource is reclaimed (removed from the DataReader cache).