RTI Connext Modern C++ API
Version 5.3.0
|
Specifies the value of the strength used to arbitrate among multiple dds::pub::DataWriter objects that attempt to modify the same instance of a data type (identified by its dds::topic::Topic and key). More...
#include <dds/core/policy/CorePolicy.hpp>
Public Member Functions | |
OwnershipStrength () | |
Creates an instance with the default strength (0) | |
OwnershipStrength (int32_t strength) | |
Creates an instance with the specified strength value. | |
OwnershipStrength & | value (int32_t strength) |
Sets the ownership strength to arbitrate among multiple writers. | |
int32_t | value () const |
Getter (see setter with the same name) | |
Specifies the value of the strength used to arbitrate among multiple dds::pub::DataWriter objects that attempt to modify the same instance of a data type (identified by its dds::topic::Topic and key).
This policy only applies if the OWNERSHIP policy is of kind dds::core::policy::OwnershipKind_def::EXCLUSIVE.
The value of the OWNERSHIP_STRENGTH is used to determine the ownership of a data instance (identified by the key). The arbitration is performed by the dds::sub::DataReader.
|
inline |
Creates an instance with the default strength (0)
|
inlineexplicit |
Creates an instance with the specified strength value.
|
inline |
Sets the ownership strength to arbitrate among multiple writers.
[default] 0
[range] [0, 1 million]
|
inline |
Getter (see setter with the same name)