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

Expresses the maximum duration (deadline) within which an More...

Inherits IEquatable< Deadline >.

Public Member Functions

 Deadline (Duration period)
 Creates a new instance More...
 
Deadline With (Action< DeadlineBuilder > build)
 Creates a new Deadline 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 (Deadline other)
 Compares for equality More...
 

Properties

Duration Period [get]
 Duration of the deadline period. More...
 
static Deadline Default [get]
 Singleton containing the default value of a Deadline More...
 

Detailed Description

Expresses the maximum duration (deadline) within which an

instance is expected to be updated.

Constructor & Destructor Documentation

◆ Deadline()

Rti.Dds.Core.Policy.Deadline.Deadline ( Duration  period)

Creates a new instance

Parameters
periodThe value for Period

Member Function Documentation

◆ With()

Deadline Rti.Dds.Core.Policy.Deadline.With ( Action< DeadlineBuilder build)
inline

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

◆ GetHashCode()

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

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ Period

Duration Rti.Dds.Core.Policy.Deadline.Period
get

Duration of the deadline period.

The full documentation is available in the C API: DDS_DeadlineQosPolicy_period

◆ Default

Deadline Rti.Dds.Core.Policy.Deadline.Default
staticget

Singleton containing the default value of a Deadline