RTI Connext Modern C++ API
Version 5.2.0
|
#include <TRank.hpp>
Public Member Functions | |
Rank () | |
Create a default Rank object. | |
Rank (int32_t sample_rank, int32_t generation_rank, int32_t absolute_generation_rank) | |
Create a Rank object with the provided sample_rank, generation_rank, and absolute_generation_rank. | |
int32_t | sample () const |
Get the sample rank of the sample. | |
int32_t | generation () const |
Get the generation rank of the sample. | |
int32_t | absolute_generation () const |
Get the absolute generation rank of the sample. | |
|
inline |
Create a default Rank object.
|
inline |
Create a Rank object with the provided sample_rank, generation_rank, and absolute_generation_rank.
|
inline |
Get the sample rank of the sample.
The sample rank of the sample.
Indicates the number of samples related to the same instance that follow in the collection returned by read
or take
.
|
inline |
Get the generation rank of the sample.
The generation rank of the sample.
Indicates the generation difference (number of times the instance was disposed and become alive again) between the time the sample was received, and the time the most recent sample in the collection related to the same instance was received.
|
inline |
Get the absolute generation rank of the sample.
The absolute generation rank of the sample.
Indicates the generation difference (number of times the instance was disposed and become alive again) between the time the sample was received, and the time the most recent sample (which may not be in the returned collection) related to the same instance was received.