RTI Connext C# API Version 7.2.0
Omg.Dds.Subscription.DataStateOperations Class Reference

Extensions for SampleState, ViewState and InstanceState that allow combining them to form a DataState More...

Static Public Member Functions

static DataState And (this SampleState a, ViewState b)
 Creates a DataState from a SampleState and a ViewState More...
 
static DataState And (this SampleState a, InstanceState b)
 Creates a DataState from a SampleState and an InstanceState More...
 
static DataState And (this ViewState a, SampleState b)
 Creates a DataState from a ViewState and a SampleState More...
 
static DataState And (this ViewState a, InstanceState b)
 Creates a DataState from a ViewState and an InstanceState More...
 
static DataState And (this InstanceState a, SampleState b)
 Creates a DataState from an InstanceState and a SampleState More...
 
static DataState And (this InstanceState a, ViewState b)
 Creates a DataState from an InstanceState and a ViewState More...
 

Detailed Description

Extensions for SampleState, ViewState and InstanceState that allow combining them to form a DataState

DataState ds = SampleState.Read.And(InstanceState.NotAlive).And(ViewState.NotNew);
ViewState
Indicates whether or not an instance is new.
Definition: DataState.cs:49
InstanceState
Indicates if the samples are from a live DataWriter or not.
Definition: DataState.cs:79
SampleState
Indicates whether or not a sample has ever been read.
Definition: DataState.cs:20

Member Function Documentation

◆ And() [1/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this SampleState  a,
ViewState  b 
)
static

Creates a DataState from a SampleState and a ViewState

◆ And() [2/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this SampleState  a,
InstanceState  b 
)
static

Creates a DataState from a SampleState and an InstanceState

◆ And() [3/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this ViewState  a,
SampleState  b 
)
static

Creates a DataState from a ViewState and a SampleState

◆ And() [4/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this ViewState  a,
InstanceState  b 
)
static

Creates a DataState from a ViewState and an InstanceState

◆ And() [5/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this InstanceState  a,
SampleState  b 
)
static

Creates a DataState from an InstanceState and a SampleState

◆ And() [6/6]

static DataState Omg.Dds.Subscription.DataStateOperations.And ( this InstanceState  a,
ViewState  b 
)
static

Creates a DataState from an InstanceState and a ViewState