RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.Ownership Class Reference

Specifies whether it is allowed for multiple Publication.DataWriter<T> entities to write the same instance of the data and if so, how these modifications should be arbitrated. More...

Inherits IEquatable< Ownership >.

Public Member Functions

 Ownership (OwnershipKind kind)
 Creates a new instance More...
 
Ownership With (Action< OwnershipBuilder > build)
 Creates a new Ownership 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 (Ownership other)
 Compares for equality More...
 

Properties

OwnershipKind Kind [get]
 The kind of ownership More...
 
static Ownership Default [get]
 Singleton containing the default value of a Ownership More...
 

Detailed Description

Specifies whether it is allowed for multiple Publication.DataWriter<T> entities to write the same instance of the data and if so, how these modifications should be arbitrated.

Constructor & Destructor Documentation

◆ Ownership()

Rti.Dds.Core.Policy.Ownership.Ownership ( OwnershipKind  kind)

Creates a new instance

Parameters
kindThe value for Kind

Member Function Documentation

◆ With()

Ownership Rti.Dds.Core.Policy.Ownership.With ( Action< OwnershipBuilder build)
inline

Creates a new Ownership 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 Ownership.
Returns
A new Ownership with the changes applied by the Action

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Kind

OwnershipKind Rti.Dds.Core.Policy.Ownership.Kind
get

The kind of ownership

The full documentation is available in the C API: DDS_OwnershipQosPolicy_kind

◆ Default

Ownership Rti.Dds.Core.Policy.Ownership.Default
staticget

Singleton containing the default value of a Ownership