CoreDX DDS Modern C++ API
|
The DataState class describes the state of a sample. More...
Static Public Member Functions | |
static DataState | any () |
Construct a DataState with SampleState, ViewState, and InstanceState all set to 'any'. | |
static DataState | new_data () |
Construct a DataState with SampleState = not_read(), ViewState, and InstanceState set to 'any'. | |
static DataState | any_data () |
Construct a DataState with SampleState = any(), ViewState = any(), and InstanceState = alive() | |
static DataState | new_instance () |
Construct a DataState with SampleState = any(), ViewState = new_view(), and InstanceState = alive() | |
static DataState | alive () |
Construct a DataState with SampleState = any(), ViewState = any(), and InstanceState = alive() . | |
static DataState | not_alive () |
Construct a DataState with SampleState = any(), ViewState = any(), and InstanceState = not_alive_mask() . | |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &os, const dds::sub::status::DataState &s) |
The DataState class describes the state of a sample.
It includes the information about the sample's SampleState, ViewState, and InstanceState.
|
inline |
Construct a DataState with the provided SampleState.
ViewState, and InstanceState are set to 'any'
|
inline |
Construct a DataState with the provided ViewState.
SampleState, and InstanceState are set to 'any'
|
inline |
Construct a DataState with the provided InstanceState.
SampleState, and ViewState are set to 'any'
|
related |
Generate a string representation of the DataState contents