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

Configures the Domain.DomainParticipant event thread and the resources it uses. More...

Inherits IEquatable< Event >.

Public Member Functions

Event With (Action< EventBuilder > build)
 Creates a new Event 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 (Event other)
 Compares for equality More...
 

Properties

ThreadSettings Thread [get]
 Event thread settings. More...
 
int InitialCount [get]
 The initial number of events. More...
 
int MaxCount [get]
 The maximum number of events. More...
 
static Event Default [get]
 Singleton containing the default value of a Event More...
 

Detailed Description

Configures the Domain.DomainParticipant event thread and the resources it uses.

The full documentation is available in the C API: DDS_EventQosPolicy

Member Function Documentation

◆ With()

Event Rti.Dds.Core.Policy.Event.With ( Action< EventBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Thread

ThreadSettings Rti.Dds.Core.Policy.Event.Thread
get

Event thread settings.

The full documentation is available in the C API: DDS_EventQosPolicy_thread

◆ InitialCount

int Rti.Dds.Core.Policy.Event.InitialCount
get

The initial number of events.

The full documentation is available in the C API: DDS_EventQosPolicy_initial_count

◆ MaxCount

int Rti.Dds.Core.Policy.Event.MaxCount
get

The maximum number of events.

The full documentation is available in the C API: DDS_EventQosPolicy_max_count

◆ Default

Event Rti.Dds.Core.Policy.Event.Default
staticget

Singleton containing the default value of a Event