Enum SampleStateKind

Enum Documentation

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:

  • READ_SAMPLE_STATE indicates that the DataReader has already accessed that sample by means of a read or take operation

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

Values:

enumerator READ_SAMPLE_STATE

Sample has been read.

enumerator NOT_READ_SAMPLE_STATE

Sample has not been read.