RTI Connext .NET API (legacy)  Version 6.1.1
DDS::SampleStateKind Struct Reference

Indicates whether or not a sample has ever been read. More...

#include <managed_subscription.h>

Properties

static SampleStateKind READ_SAMPLE_STATE [get]
 Sample has been read. More...
 
static SampleStateKind NOT_READ_SAMPLE_STATE [get]
 Sample has not been read. More...
 
static SampleStateKind ANY_SAMPLE_STATE [get]
 Any sample state DDS::SampleStateKind::READ_SAMPLE_STATE | DDS::SampleStateKind::NOT_READ_SAMPLE_STATE. More...
 

Detailed Description

Indicates whether or not a sample has ever been read.

For each sample received, the middleware internally maintains a sample_state relative to each DDS::DataReader. The sample state can be either:

The sample state will, in general, be different for each sample in the collection returned by read or take.

Property Documentation

◆ READ_SAMPLE_STATE

SampleStateKind DDS::SampleStateKind::READ_SAMPLE_STATE
staticget

Sample has been read.

◆ NOT_READ_SAMPLE_STATE

SampleStateKind DDS::SampleStateKind::NOT_READ_SAMPLE_STATE
staticget

Sample has not been read.