RTI Connext C# API  6.1.2
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()

ExclusiveArea ( bool  useSharedExclusiveArea)

Creates a new ExclusiveArea.

Parameters
useSharedExclusiveAreaThe value for UseSharedExclusiveArea

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( ExclusiveArea  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

ExclusiveArea With ( Action< ExclusiveAreaBuilder build)

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

Property Documentation

◆ Default

ExclusiveArea Default
staticget

Singleton containing the default value of a ExclusiveArea

◆ UseSharedExclusiveArea

bool 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