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

Specifies how a WaitSet behaves when multiple conditions are triggered. More...

Inherits IEquatable< WaitSetProperty >.

Public Member Functions

 WaitSetProperty (int maxEventCount, Duration maxEventDelay)
 Creates a new WaitSetProperty with the given parameters More...
 
WaitSetProperty With (Action< WaitSetPropertyBuilder > build)
 Creates a new WaitSetProperty 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 (WaitSetProperty other)
 Compares for equality More...
 

Properties

int MaxEventCount [get]
 Maximum number of trigger events to cause a WaitSet to awaken. More...
 
Duration MaxEventDelay [get]
 Maximum delay from occurrence of first trigger event to cause a WaitSet to awaken. More...
 
static WaitSetProperty Default = CreateDefault() [get]
 Singleton containing the default value of a WaitSetProperty More...
 

Detailed Description

Specifies how a WaitSet behaves when multiple conditions are triggered.

Constructor & Destructor Documentation

◆ WaitSetProperty()

Rti.Dds.Core.WaitSetProperty.WaitSetProperty ( int  maxEventCount,
Duration  maxEventDelay 
)
inline

Creates a new WaitSetProperty with the given parameters

Parameters
maxEventCountThe value for MaxEventCount
maxEventDelayThe value for MaxEventDelay

Member Function Documentation

◆ With()

WaitSetProperty Rti.Dds.Core.WaitSetProperty.With ( Action< WaitSetPropertyBuilder build)
inline

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

◆ GetHashCode()

override int Rti.Dds.Core.WaitSetProperty.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.WaitSetProperty.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.WaitSetProperty.Equals ( WaitSetProperty  other)
inline

Compares for equality

Property Documentation

◆ MaxEventCount

int Rti.Dds.Core.WaitSetProperty.MaxEventCount
get

Maximum number of trigger events to cause a WaitSet to awaken.

The full documentation is available in the C API: DDS_WaitSetProperty_t_max_event_count

◆ MaxEventDelay

Duration Rti.Dds.Core.WaitSetProperty.MaxEventDelay
get

Maximum delay from occurrence of first trigger event to cause a WaitSet to awaken.

The full documentation is available in the C API: DDS_WaitSetProperty_t_max_event_delay

◆ Default

WaitSetProperty Rti.Dds.Core.WaitSetProperty.Default = CreateDefault()
staticget

Singleton containing the default value of a WaitSetProperty