OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
All Classes Namespaces Files Functions Variables Pages
org.omg.dds.sub.SampleState Enum Reference

For each sample, the Data Distribution Service internally maintains a SampleState specific to each DataReader. More...

Collaboration diagram for org.omg.dds.sub.SampleState:
Collaboration graph

Public Attributes

 NOT_READ =(0x0001 << 1)
 NOT_READ indicates that the DataReader has not accessed that sample before. More...
 
 READ =(0x0001 << 0)
 READ indicates that the DataReader has already accessed that sample by means of org.omg.dds.sub.DataReader#read(). More...
 
final int value
 

Detailed Description

For each sample, the Data Distribution Service internally maintains a SampleState specific to each DataReader.

The SampleState can either be READ or NOT_READ.

Definition at line 25 of file SampleState.java.

Member Data Documentation

◆ NOT_READ

org.omg.dds.sub.SampleState.NOT_READ =(0x0001 << 1)

NOT_READ indicates that the DataReader has not accessed that sample before.

Definition at line 37 of file SampleState.java.

◆ READ

org.omg.dds.sub.SampleState.READ =(0x0001 << 0)

READ indicates that the DataReader has already accessed that sample by means of org.omg.dds.sub.DataReader#read().

Had the sample been accessed by org.omg.dds.sub.DataReader#take() it would no longer be available to the DataReader.

Definition at line 33 of file SampleState.java.

◆ value

final int org.omg.dds.sub.SampleState.value

Definition at line 45 of file SampleState.java.


The documentation for this enum was generated from the following file: