RTI Connext C# API Version 7.2.0
Rti.Dds.Subscription.ReadCondition Class Reference

Conditions specifically dedicated to read operations and attached to one DataReader<T>. More...

Inheritance diagram for Rti.Dds.Subscription.ReadCondition:
Rti.Dds.Core.Condition Rti.Dds.Subscription.QueryCondition

Public Member Functions

void Dispose ()
 Releases the native resources used by this condition More...
 
- Public Member Functions inherited from Rti.Dds.Core.Condition
delegate void TriggeredEventHandler (Condition condition)
 The delegate type of the Triggered event. More...
 
void ResetEvents ()
 Removes all handlers for the Triggered event. More...
 

Properties

AnyDataReader DataReader [get]
 Returns the DataReader associated with this condition. More...
 
DataState StateFilter [get]
 Returns the state filter More...
 
bool Disposed [get]
 Indicates whether this object has been disposed More...
 
- Properties inherited from Rti.Dds.Core.Condition
bool TriggerValue [get]
 Retrieves the trigger value (whether this condition is active) More...
 

Additional Inherited Members

- Events inherited from Rti.Dds.Core.Condition
TriggeredEventHandler Triggered
 Event triggered in the context of WaitSet.Dispatch() when TriggerValue becomes true. More...
 

Detailed Description

Conditions specifically dedicated to read operations and attached to one DataReader<T>.

ReadConditions are created with AnyDataReader.CreateReadCondition(DataState) or AnyDataReader.CreateQueryCondition(Filter, DataState) and should be explicitly disposed (by calling the Dispose method) when they're no longer used to avoid consuming resources unnecessarily.

The full documentation is available in the C API: DDS_ReadCondition

Member Function Documentation

◆ Dispose()

void Rti.Dds.Subscription.ReadCondition.Dispose ( )
inline

Releases the native resources used by this condition

Property Documentation

◆ DataReader

AnyDataReader Rti.Dds.Subscription.ReadCondition.DataReader
get

Returns the DataReader associated with this condition.

The full documentation is available in the C API: DDS_ReadCondition_get_datareader

◆ StateFilter

DataState Rti.Dds.Subscription.ReadCondition.StateFilter
get

Returns the state filter

◆ Disposed

bool Rti.Dds.Subscription.ReadCondition.Disposed
get

Indicates whether this object has been disposed