RTI Connext C API
Version 6.1.0
|
DDS_SampleStateKind and associated elements More...
Typedefs | |
typedef DDS_UnsignedLong | DDS_SampleStateMask |
A bit-mask (list) of sample states, i.e. DDS_SampleStateKind. More... | |
Enumerations | |
enum | DDS_SampleStateKind { DDS_READ_SAMPLE_STATE = 0x0001 << 0, DDS_NOT_READ_SAMPLE_STATE = 0x0001 << 1 } |
Indicates whether or not a sample has ever been read. More... | |
Variables | |
const DDS_SampleStateMask | DDS_ANY_SAMPLE_STATE |
Any sample state DDS_READ_SAMPLE_STATE | DDS_NOT_READ_SAMPLE_STATE. More... | |
DDS_SampleStateKind and associated elements
typedef DDS_UnsignedLong DDS_SampleStateMask |
A bit-mask (list) of sample states, i.e. DDS_SampleStateKind.
enum 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 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.
Enumerator | |
---|---|
DDS_READ_SAMPLE_STATE | Sample has been read. |
DDS_NOT_READ_SAMPLE_STATE | Sample has not been read. |
const DDS_SampleStateMask DDS_ANY_SAMPLE_STATE |
Any sample state DDS_READ_SAMPLE_STATE | DDS_NOT_READ_SAMPLE_STATE.