Cyclone ISO C++ API Reference Guide
|
Class to hold sample InstanceState information. More...
#include "DataState.hpp"
Inherits std::bitset< Bits >.
Public Types | |
typedef std::bitset< OMG_DDS_STATE_BIT_COUNT > | MaskType |
Public Member Functions | |
InstanceState () | |
InstanceState (const InstanceState &src) | |
InstanceState (const MaskType &src) | |
InstanceState (uint32_t m) | |
Static Public Member Functions | |
static const InstanceState | alive () |
static const InstanceState | any () |
static const InstanceState | not_alive_disposed () |
static const InstanceState | not_alive_mask () |
static const InstanceState | not_alive_no_writers () |
Class to hold sample InstanceState information.
For each instance the Data Distribution Service internally maintains an InstanceState. The InstanceState can be:
Definition at line 246 of file DataState.hpp.
typedef std::bitset<OMG_DDS_STATE_BIT_COUNT> dds::sub::status::InstanceState::MaskType |
Convenience typedef for std::bitset<OMG_DDS_STATE_BIT_COUNT>.
Definition at line 252 of file DataState.hpp.
dds::sub::status::InstanceState::InstanceState | ( | ) |
Construct an InstanceState with no state flags set.
|
explicit |
Construct an InstanceState with an uint32_t m, representing a bit array.
m | the bit array to initialize the bitset with |
dds::sub::status::InstanceState::InstanceState | ( | const InstanceState & | src | ) |
Copy constructor.
Construct an InstanceState with existing InstanceState.
src | the InstanceState to copy from |
dds::sub::status::InstanceState::InstanceState | ( | const MaskType & | src | ) |
Construct an InstanceState with existing MaskType.
src | the bitset to copy from |
|
inlinestatic |
Get ALIVE_INSTANCE_STATE.
alive, which indicates that
|
inlinestatic |
Get any InstanceState.
This Instance is either in existence or not in existence.
|
inlinestatic |
Get NOT_ALIVE_DISPOSED_INSTANCE_STATE.
not_alive_disposed, which indicates that
|
inlinestatic |
Get not_alive mask
not_alive = not_alive_disposed | not_alive_no_writers:
|
inlinestatic |
Get NOT_ALIVE_NO_WRITERS_INSTANCE_STATE.
not_alive_no_writers, which indicates that