RTI Connext C# API Version 7.2.0
Omg.Dds.Core.Status.EventCount< TInteger > Struct Template Reference

An event count has a value and a change from the last time the value was looked up More...

Inherits IEquatable< EventCount< TInteger > >.

Public Member Functions

 EventCount (TInteger value, TInteger change)
 Creates an instance with a value and a change count More...
 
void Deconstruct (out TInteger value, out TInteger change)
 Deconstructs the EventCount object. More...
 
override int GetHashCode ()
 Gets the hash code. More...
 
override string ToString ()
 Returns a readable representation More...
 
bool Equals (EventCount< TInteger > other)
 Compares for equality. More...
 

Static Public Member Functions

static implicit operator EventCount< TInteger > ((TInteger, TInteger) t)
 Implicit conversion from a tuple with (Value, Change) More...
 

Properties

TInteger Value [get]
 The total value for this counter. More...
 
TInteger Change [get]
 The change (positive or negative) of Value since this counter was last looked up. More...
 

Detailed Description

An event count has a value and a change from the last time the value was looked up

Type Constraints
TInteger :unmanaged 

Constructor & Destructor Documentation

◆ EventCount()

Omg.Dds.Core.Status.EventCount< TInteger >.EventCount ( TInteger  value,
TInteger  change 
)

Creates an instance with a value and a change count

Member Function Documentation

◆ Deconstruct()

void Omg.Dds.Core.Status.EventCount< TInteger >.Deconstruct ( out TInteger  value,
out TInteger  change 
)

Deconstructs the EventCount object.

◆ GetHashCode()

override int Omg.Dds.Core.Status.EventCount< TInteger >.GetHashCode ( )

Gets the hash code.

◆ ToString()

override string Omg.Dds.Core.Status.EventCount< TInteger >.ToString ( )

Returns a readable representation

◆ Equals()

bool Omg.Dds.Core.Status.EventCount< TInteger >.Equals ( EventCount< TInteger >  other)

Compares for equality.

◆ operator EventCount< TInteger >()

static implicit Omg.Dds.Core.Status.EventCount< TInteger >.operator EventCount< TInteger > ( (TInteger, TInteger)  t)
static

Implicit conversion from a tuple with (Value, Change)

Property Documentation

◆ Value

TInteger Omg.Dds.Core.Status.EventCount< TInteger >.Value
get

The total value for this counter.

◆ Change

TInteger Omg.Dds.Core.Status.EventCount< TInteger >.Change
get

The change (positive or negative) of Value since this counter was last looked up.