RTI Connext .Net APIs  Version 5.2.0
 All Classes Namespaces Functions Variables Enumerations Properties Groups Pages
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.
 
static SampleStateKind NOT_READ_SAMPLE_STATE [get]
 Sample has not been read.
 
static SampleStateKind ANY_SAMPLE_STATE [get]
 Any sample state DDS::SampleStateKind::READ_SAMPLE_STATE | DDS::SampleStateKind::NOT_READ_SAMPLE_STATE.
 

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

SampleStateKind DDS::SampleStateKind::READ_SAMPLE_STATE
staticget

Sample has been read.

SampleStateKind DDS::SampleStateKind::NOT_READ_SAMPLE_STATE
staticget

Sample has not been read.


RTI Connext .Net APIs Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc