RTI Connext Modern C++ API
Version 5.3.0
|
The definition of the dds::core::safe_enum OwnershipKind. More...
#include <PolicyKind.hpp>
Public Types | |
enum | type { SHARED, EXCLUSIVE } |
The underlying enum type. More... | |
The definition of the dds::core::safe_enum OwnershipKind.
The underlying enum
type.
SHARED |
[default] Indicates shared ownership for each instance. Multiple writers are allowed to update the same instance and all the updates are made available to the readers. In other words there is no concept of an owner for the instances. This is the default behavior if the OWNERSHIP policy is not specified or supported. |
EXCLUSIVE |
Indicates each instance can only be owned by one dds::pub::DataWriter, but the owner of an instance can change dynamically. The selection of the owner is controlled by the setting of the OWNERSHIP_STRENGTH policy. The owner is always set to be the highest-strength dds::pub::DataWriter object among the ones currently active (as determined by the LIVELINESS). |