RTI Connext C# API Version 7.3.0
Rti.Dds.Core.Policy.OwnershipStrength Class Reference

Specifies the value of the strength used to arbitrate among multiple Publication.DataWriter<T> objects that attempt to modify the same instance of a data type. More...

Inherits IEquatable< OwnershipStrength >.

Public Member Functions

 OwnershipStrength (int value)
 Creates a new OwnershipStrength object using its value More...
 
OwnershipStrength With (Action< OwnershipStrengthBuilder > build)
 Creates a new OwnershipStrength with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (OwnershipStrength other)
 Compares for equality More...
 

Properties

int Value [get]
 The strength value used to arbitrate among multiple writers. More...
 
static OwnershipStrength Default [get]
 Singleton containing the default value of a OwnershipStrength More...
 

Detailed Description

Specifies the value of the strength used to arbitrate among multiple Publication.DataWriter<T> objects that attempt to modify the same instance of a data type.

The full documentation is available in the C API: DDS_OwnershipStrengthQosPolicy

Constructor & Destructor Documentation

◆ OwnershipStrength()

Rti.Dds.Core.Policy.OwnershipStrength.OwnershipStrength ( int  value)

Creates a new OwnershipStrength object using its value

Member Function Documentation

◆ With()

OwnershipStrength Rti.Dds.Core.Policy.OwnershipStrength.With ( Action< OwnershipStrengthBuilder build)
inline

Creates a new OwnershipStrength with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this OwnershipStrength.
Returns
A new OwnershipStrength with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.OwnershipStrength.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.OwnershipStrength.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.OwnershipStrength.Equals ( OwnershipStrength  other)
inline

Compares for equality

Property Documentation

◆ Value

int Rti.Dds.Core.Policy.OwnershipStrength.Value
get

The strength value used to arbitrate among multiple writers.

The full documentation is available in the C API: DDS_OwnershipStrengthQosPolicy_value

◆ Default

OwnershipStrength Rti.Dds.Core.Policy.OwnershipStrength.Default
staticget

Singleton containing the default value of a OwnershipStrength