15.1.4.8. SampleStateKind¶
-
enum
dds::fastdds::eprosima
::
SampleStateKind
¶ Indicates whether or not a sample has ever been read.
For each sample received, the middleware internally maintains a sample state relative to each DataReader. This sample state can have the following values:
READ_SAMPLE_STATE indicates that the DataReader has already accessed that sample by means of a read or take operation
NOT_READ_SAMPLE_STATE indicates that the DataReader has not accessed that sample before.
The sample state will, in general, be different for each sample in the collection returned by read or take.
Values:
-
enumerator
READ_SAMPLE_STATE
= 0x0001 << 0¶ Sample has been read.
-
enumerator
NOT_READ_SAMPLE_STATE
= 0x0001 << 1¶ Sample has not been read.