|
RTI Connext C# API Version 7.7.0
|
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 = SampleState.Any [get] |
| Gets the SampleState More... | |
| ViewState | View = ViewState.Any [get] |
| Gets the ViewState. More... | |
| InstanceState | Instance = InstanceState.Any [get] |
| Gets the InstanceState. More... | |
| static DataState | Any = new DataState() [get] |
| A constant representing any sample, view or instance states. More... | |
Information about a sample's SampleState, ViewState, and InstanceState.
|
static |
Creates a DataState with a specific SampleState.
Creates a DataState with a specific ViewState
|
static |
Creates a DataState with a specific InstanceState.
|
static |
Creates a DataState with specific SampleState, ViewState, and InstanceState.
| DataState Omg.Dds.Subscription.DataState.And | ( | SampleState | s | ) |
Creates a copy of this DataState with a new SampleState.
Creates a copy of this DataState with a new ViewState.
| DataState Omg.Dds.Subscription.DataState.And | ( | InstanceState | s | ) |
Creates a copy of this DataState with a new InstanceState.
|
static |
Implicit conversion from SampleState to DataState.
Implicit conversion from ViewState to DataState.
|
static |
Implicit conversion from InstanceState to DataState.
|
static |
Implicit conversion from a tuple with the three states.
| void Omg.Dds.Subscription.DataState.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.
|
inline |
Equality comparison
| override bool Omg.Dds.Subscription.DataState.Equals | ( | object | obj | ) |
Equality comparison
| override int Omg.Dds.Subscription.DataState.GetHashCode | ( | ) |
Get the hash code
| override string Omg.Dds.Subscription.DataState.ToString | ( | ) |
Print the three states
|
get |
Gets the SampleState
|
get |
Gets the ViewState.
|
get |
Gets the InstanceState.