RTI Connext C# API  6.1.0
ReadCondition Class Reference

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

Inheritance diagram for ReadCondition:
Condition QueryCondition

Public Member Functions

void Dispose ()
 Releases the native resources used by this condition More...
 
- Public Member Functions inherited from 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 Condition
bool TriggerValue [get]
 Retrieves the trigger value (whether this condition is active) More...
 

Additional Inherited Members

- Events inherited from 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 Dispose ( )

Releases the native resources used by this condition

Property Documentation

◆ DataReader

Returns the DataReader associated with this condition.

The full documentation is available in the C API: DDS_ReadCondition_get_datareader

◆ Disposed

bool Disposed
get

Indicates whether this object has been disposed

◆ StateFilter

DataState StateFilter
get

Returns the state filter