RTI Connext C# API  6.1.0
SelectorUntyped Class Reference

Allows composing read and take operations. Selectors are returned by AnyDataReader.SelectUntyped More...

Inheritance diagram for SelectorUntyped:
SelectorBase

Public Member Functions

LoanedSamples< object > Take ()
 Access (and remove) the samples selected by this selector More...
 
LoanedSamples< object > Read ()
 Access (without removing) the samples selected by this selector More...
 
SelectorUntyped WithState (DataState state)
 Select a specific DataState More...
 
SelectorUntyped WithMaxSamples (int maxSamples)
 Choose to only read/take up to a maximum number of samples More...
 
SelectorUntyped WithInstance (in InstanceHandle instanceHandle)
 Select a specific instance More...
 
SelectorUntyped WithNextInstance (in InstanceHandle instanceHandle)
 Select the instance after a specific instance More...
 
SelectorUntyped WithCondition (ReadCondition condition)
 Select based on the state or content filter of a ReadCondition or a QueryCondition More...
 

Properties

AnyDataReader RelatedReader [get]
 The reader that created this selector More...
 
- Properties inherited from SelectorBase
DataState State [get, set]
 Get or set the data state More...
 
int MaxSamples [get, set]
 Get or set the maximum samples More...
 
InstanceHandleInstance [get, set]
 Get or set the instance handle More...
 
InstanceHandleNextInstance [get, set]
 Get or set the next instance More...
 
ReadCondition Condition [get, set]
 Get or set the condition More...
 

Detailed Description

Allows composing read and take operations. Selectors are returned by AnyDataReader.SelectUntyped

Member Function Documentation

◆ Read()

LoanedSamples<object> Read ( )

Access (without removing) the samples selected by this selector

◆ Take()

LoanedSamples<object> Take ( )

Access (and remove) the samples selected by this selector

◆ WithCondition()

SelectorUntyped WithCondition ( ReadCondition  condition)

Select based on the state or content filter of a ReadCondition or a QueryCondition

Returns
This Selector

◆ WithInstance()

SelectorUntyped WithInstance ( in InstanceHandle  instanceHandle)

Select a specific instance

Returns
This Selector

◆ WithMaxSamples()

SelectorUntyped WithMaxSamples ( int  maxSamples)

Choose to only read/take up to a maximum number of samples

Returns
This Selector

◆ WithNextInstance()

SelectorUntyped WithNextInstance ( in InstanceHandle  instanceHandle)

Select the instance after a specific instance

Returns
This Selector

◆ WithState()

SelectorUntyped WithState ( DataState  state)

Select a specific DataState

Returns
This Selector

Property Documentation

◆ RelatedReader

AnyDataReader RelatedReader
get

The reader that created this selector