|
Cyclone ISO C++ API Reference Guide
|
Class to hold SampleState information. More...
#include "DataState.hpp"
Inherits std::bitset< Bits >.
Public Types | |
| typedef std::bitset< OMG_DDS_STATE_BIT_COUNT > | MaskType |
Public Member Functions | |
| SampleState () | |
| SampleState (const MaskType &src) | |
| SampleState (const SampleState &src) | |
| SampleState (uint32_t i) | |
Static Public Member Functions | |
| static const SampleState | any () |
| static const SampleState | not_read () |
| static const SampleState | read () |
Class to hold SampleState information.
For each sample, the Data Distribution Service internally maintains a sample_state specific to each DataReader. The sample_state can either be READ_SAMPLE_STATE or NOT_READ_SAMPLE_STATE.
Definition at line 57 of file DataState.hpp.
| typedef std::bitset<OMG_DDS_STATE_BIT_COUNT> dds::sub::status::SampleState::MaskType |
Convenience typedef for std::bitset<OMG_DDS_STATE_BIT_COUNT>.
Definition at line 63 of file DataState.hpp.
| dds::sub::status::SampleState::SampleState | ( | ) |
Construct a SampleState with default MaskType.
|
explicit |
Construct a SampleState with MaskType of i.
| i | MaskType |
| dds::sub::status::SampleState::SampleState | ( | const SampleState & | src | ) |
Copy constructor. Construct a SampleState with existing SampleState.
| src | the SampleState to copy from |
| dds::sub::status::SampleState::SampleState | ( | const MaskType & | src | ) |
Construct a SampleState with existing MaskType.
| src | the MaskType to copy from |
|
inlinestatic |
|
inlinestatic |
Get the NOT_READ_SAMPLE_STATE.
not_read
|
inlinestatic |
Get the READ_SAMPLE_STATE.
read