17.1.4.8. SampleStateKind

enum eprosima::fastdds::dds::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:

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.