RTI Connext Modern C++ API
Version 5.2.0
|
Indicates whether or not a sample has ever been read. More...
#include <dds/sub/status/DataState.hpp>
Inherits bitset< OMG_DDS_STATE_BIT_COUNT >.
Public Types | |
typedef std::bitset < OMG_DDS_STATE_BIT_COUNT > | MaskType |
An std::bitset of SampleStates. | |
Public Member Functions | |
SampleState (const MaskType &other) | |
Create an SampleState from MaskType. | |
Static Public Member Functions | |
static const SampleState | read () |
Creates a read SampleState. | |
static const SampleState | not_read () |
Creates a not_read SampleState object. | |
static const SampleState | any () |
Creates a SampleState object representing any sample state. | |
Indicates whether or not a sample has ever been read.
typedef std::bitset<OMG_DDS_STATE_BIT_COUNT > dds::sub::status::SampleState::MaskType |
An std::bitset of SampleStates.
|
inline |
Create an SampleState from MaskType.
other | The MaskType to create the SampleState with |
|
inlinestatic |
Creates a read SampleState.
A read SampleState indicates that the dds::sub::DataReader has already accessed that sample by means of a read or take operation.
|
inlinestatic |
Creates a not_read SampleState object.
A not_read SampleState indicates that the dds::sub::DataReader has not accessed that sample before.
|
inlinestatic |
Creates a SampleState object representing any sample state.