CoreDX DDS Modern C++ API
|
This class implements the DDS SampleInfo
.
More...
Public Member Functions | |
const dds::core::Time | timestamp () const |
Access the timestamp of the sample. | |
const dds::sub::status::DataState | state () const |
Access the state of the sample. | |
dds::sub::GenerationCount | generation_count () const |
Access the generation count of the sample. | |
dds::sub::Rank | rank () const |
Access the rank of the sample. | |
bool | valid () const |
Indicates if the sample data is valid. More... | |
dds::core::InstanceHandle | instance_handle () const |
Access the handle identifying the instance containing this sample. | |
dds::core::InstanceHandle | publication_handle () const |
Access the handle identifying the source of the data. | |
This class implements the DDS SampleInfo
.
bool dds::sub::SampleInfo::valid | ( | ) | const |
Indicates if the sample data is valid.
For example, the sample data may not be valid in the case of unregistered or disposed instance state.