RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::sub::GenerationCount Class Reference

<<value-type>> More...

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

Detailed Description

Constructor & Destructor Documentation

dds::sub::GenerationCount::GenerationCount ( )
inline

Create a default GenerationCount object.

dds::sub::GenerationCount::GenerationCount ( int32_t  disposed_count,
int32_t  no_writers_count 
)
inline

Create a GenerationCount object with the provided disposed_count and no_writers count.

Member Function Documentation

int32_t dds::sub::GenerationCount::disposed ( ) const
inline

Get the disposed generation count.

The disposed generation count of the instance at the time of sample reception.

Indicates the number of times the instance had become alive after it was disposed explicitly by a dds::pub::DataWriter, at the time the sample was received.

See Also
Interpretation of the SampleInfo disposed_generation_count and no_writers_generation_count Interpretation of the SampleInfo counters and ranks
int32_t dds::sub::GenerationCount::no_writers ( ) const
inline

Get the no_writers generation count.

The no writers generation count of the instance at the time of sample reception.

Indicates the number of times the instance had become alive after it was disposed because there were no writers, at the time the sample was received.

See Also
Interpretation of the SampleInfo disposed_generation_count and no_writers_generation_count Interpretation of the SampleInfo counters and ranks

RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc