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

Configures concurrency and deadlock prevention capabilities. More...

Inherits IEquatable< ExclusiveArea >.

Public Member Functions

 ExclusiveArea (bool useSharedExclusiveArea)
 Creates a new ExclusiveArea. More...
 
ExclusiveArea With (Action< ExclusiveAreaBuilder > build)
 Creates a new ExclusiveArea 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 (ExclusiveArea other)
 Compares for equality More...
 

Properties

bool UseSharedExclusiveArea [get]
 Whether the Entity is protected by its own exclusive area or the shared exclusive area. More...
 
static ExclusiveArea Default [get]
 Singleton containing the default value of a ExclusiveArea More...
 

Detailed Description

Configures concurrency and deadlock prevention capabilities.

Constructor & Destructor Documentation

◆ ExclusiveArea()

Rti.Dds.Core.Policy.ExclusiveArea.ExclusiveArea ( bool  useSharedExclusiveArea)

Creates a new ExclusiveArea.

Parameters
useSharedExclusiveAreaThe value for UseSharedExclusiveArea

Member Function Documentation

◆ With()

ExclusiveArea Rti.Dds.Core.Policy.ExclusiveArea.With ( Action< ExclusiveAreaBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ UseSharedExclusiveArea

bool Rti.Dds.Core.Policy.ExclusiveArea.UseSharedExclusiveArea
get

Whether the Entity is protected by its own exclusive area or the shared exclusive area.

The full documentation is available in the C API: DDS_ExclusiveAreaQosPolicy_use_shared_exclusive_area

◆ Default

ExclusiveArea Rti.Dds.Core.Policy.ExclusiveArea.Default
staticget

Singleton containing the default value of a ExclusiveArea