![]() |
OpenSplice ISO C++ 2 DCPS
v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
Class to hold sample ViewState information. More...
#include "DataState.hpp"
Public Types | |
typedef std::bitset< OMG_DDS_STATE_BIT_COUNT > | MaskType |
Public Member Functions | |
ViewState () | |
ViewState (uint32_t m) | |
ViewState (const ViewState &src) | |
ViewState (const MaskType &src) | |
Static Public Member Functions | |
static const ViewState | any () |
static const ViewState | new_view () |
static const ViewState | not_new_view () |
Class to hold sample ViewState information.
For each instance (identified by the key), the Data Distribution Service internally maintains a view_state relative to each DataReader. The ViewSate can either be NEW_VIEW_STATE or NOT_NEW_VIEW_STATE.
Definition at line 146 of file DataState.hpp.
typedef std::bitset<OMG_DDS_STATE_BIT_COUNT> dds::sub::status::ViewState::MaskType |
Convenience typedef for std::bitset<OMG_DDS_STATE_BIT_COUNT>.
Definition at line 152 of file DataState.hpp.
dds::sub::status::ViewState::ViewState | ( | ) |
Construct a ViewState with default MaskType.
|
explicit |
Construct a ViewState with MaskType of i.
m | the MaskType |
dds::sub::status::ViewState::ViewState | ( | const ViewState & | src | ) |
dds::sub::status::ViewState::ViewState | ( | const MaskType & | src | ) |
Construct a ViewState with existing MaskType.
src | the MaskType to copy from |
|
inlinestatic |
Get any ViewState.
Either the sample has already been seen or not seen.
Definition at line 69 of file DataStateImpl.hpp.
|
inlinestatic |
Get the NEW_VIEW_STATE.
new_view
Definition at line 59 of file DataStateImpl.hpp.
|
inlinestatic |
Get the NOT_NEW_VIEW_STATE.
not_new_view
Definition at line 64 of file DataStateImpl.hpp.