RTI Connext C# API
6.1.2
|
Information about a sample's SampleState, ViewState, and InstanceState. More...
Inherits IEquatable< DataState >.
Public Member Functions | |
DataState | And (SampleState s) |
Creates a copy of this DataState with a new SampleState. More... | |
DataState | And (ViewState s) |
Creates a copy of this DataState with a new ViewState. More... | |
DataState | And (InstanceState s) |
Creates a copy of this DataState with a new InstanceState. More... | |
void | Deconstruct (out SampleState sample, out ViewState view, out InstanceState instance) |
Deconstruct operation that allows unpacking a DataState into its three values: SampleState, ViewState and InstanceState. More... | |
bool | Equals (DataState other) |
Equality comparison More... | |
override bool | Equals (object obj) |
Equality comparison More... | |
override int | GetHashCode () |
Get the hash code More... | |
override string | ToString () |
Print the three states More... | |
Static Public Member Functions | |
static DataState | With (SampleState s) |
Creates a DataState with a specific SampleState. More... | |
static DataState | With (ViewState s) |
Creates a DataState with a specific ViewState More... | |
static DataState | With (InstanceState s) |
Creates a DataState with a specific InstanceState. More... | |
static DataState | With (SampleState sample=SampleState.Any, ViewState view=ViewState.Any, InstanceState instance=InstanceState.Any) |
Creates a DataState with specific SampleState, ViewState, and InstanceState. More... | |
static implicit | operator DataState (SampleState s) |
Implicit conversion from SampleState to DataState. More... | |
static implicit | operator DataState (ViewState s) |
Implicit conversion from ViewState to DataState. More... | |
static implicit | operator DataState (InstanceState s) |
Implicit conversion from InstanceState to DataState. More... | |
static implicit | operator DataState ((SampleState sample, ViewState view, InstanceState instance) tuple) |
Implicit conversion from a tuple with the three states. More... | |
Properties | |
SampleState | Sample [get] |
Gets the SampleState More... | |
ViewState | View [get] |
Gets the ViewState. More... | |
InstanceState | Instance [get] |
Gets the InstanceState. More... | |
static DataState | Any [get] |
A constant representing any sample, view or instance states. More... | |
Information about a sample's SampleState, ViewState, and InstanceState.
DataState And | ( | InstanceState | s | ) |
Creates a copy of this DataState with a new InstanceState.
DataState And | ( | SampleState | s | ) |
Creates a copy of this DataState with a new SampleState.
void Deconstruct | ( | out SampleState | sample, |
out ViewState | view, | ||
out InstanceState | instance | ||
) |
Deconstruct operation that allows unpacking a DataState into its three values: SampleState, ViewState and InstanceState.
bool Equals | ( | DataState | other | ) |
Equality comparison
override bool Equals | ( | object | obj | ) |
Equality comparison
override int GetHashCode | ( | ) |
Get the hash code
|
static |
Implicit conversion from a tuple with the three states.
|
static |
Implicit conversion from InstanceState to DataState.
|
static |
Implicit conversion from SampleState to DataState.
Implicit conversion from ViewState to DataState.
override string ToString | ( | ) |
Print the three states
|
static |
Creates a DataState with a specific InstanceState.
|
static |
Creates a DataState with a specific SampleState.
|
static |
Creates a DataState with specific SampleState, ViewState, and InstanceState.
|
staticget |
A constant representing any sample, view or instance states.
|
get |
Gets the InstanceState.
|
get |
Gets the SampleState
|
get |
Gets the ViewState.