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

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

Inheritance diagram for Rti.Dds.Subscription.SelectorUntyped:
Rti.Dds.Subscription.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 Rti.Dds.Subscription.SelectorBase
DataState State = DataState.Any [get, set]
 Get or set the data state More...
 
int MaxSamples = LengthUnlimited.Value [get, set]
 Get or set the maximum samples More...
 
InstanceHandle Instance [get, set]
 Get or set the instance handle More...
 
InstanceHandle NextInstance [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

◆ Take()

LoanedSamples< object > Rti.Dds.Subscription.SelectorUntyped.Take ( )

Access (and remove) the samples selected by this selector

◆ Read()

LoanedSamples< object > Rti.Dds.Subscription.SelectorUntyped.Read ( )

Access (without removing) the samples selected by this selector

◆ WithState()

SelectorUntyped Rti.Dds.Subscription.SelectorUntyped.WithState ( DataState  state)
inline

Select a specific DataState

Returns
This Selector

◆ WithMaxSamples()

SelectorUntyped Rti.Dds.Subscription.SelectorUntyped.WithMaxSamples ( int  maxSamples)
inline

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

Returns
This Selector

◆ WithInstance()

SelectorUntyped Rti.Dds.Subscription.SelectorUntyped.WithInstance ( in InstanceHandle  instanceHandle)
inline

Select a specific instance

Returns
This Selector

◆ WithNextInstance()

SelectorUntyped Rti.Dds.Subscription.SelectorUntyped.WithNextInstance ( in InstanceHandle  instanceHandle)
inline

Select the instance after a specific instance

Returns
This Selector

◆ WithCondition()

SelectorUntyped Rti.Dds.Subscription.SelectorUntyped.WithCondition ( ReadCondition  condition)
inline

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

Returns
This Selector

Property Documentation

◆ RelatedReader

AnyDataReader Rti.Dds.Subscription.SelectorUntyped.RelatedReader
get

The reader that created this selector