![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
PlaceHolder for a domain ID. More...
Public Member Functions | |
DomainId (int id) | |
Create an DomainId based on an integer. More... | |
override bool | Equals (object obj) |
Test this DomainId is equal to the provided DomainId. More... | |
override int | GetHashCode () |
Calculates hash of the DomainId. More... | |
long | ToInt32 () |
Converts the DomainId to a long. More... | |
override string | ToString () |
Converts DomainId to a string. More... | |
string | ToString (string format) |
Converts DomainId to a string with possible integer format. More... | |
Static Public Member Functions | |
static implicit | operator DomainId (int id) |
Implicit conversion from int to DomainId. More... | |
static implicit | operator int (DomainId id) |
Implicit conversion from DomainId to int. More... | |
static bool | operator!= (DomainId id1, DomainId id2) |
Test if two DomainIds are not equal. More... | |
static bool | operator== (DomainId id1, DomainId id2) |
Test if two DomainIds are equal. More... | |
Static Public Attributes | |
static readonly DomainId | Default = new DomainId(0x7fffffff) |
Representation of the default domain ID. More... | |
static readonly DomainId | Invalid = new DomainId(-1) |
Representation of an invalid domain ID. More... | |
PlaceHolder for a domain ID.
This marshals as an int or 32-bit integer
Definition at line 487 of file DdsDcpsStructs.cs.
|
inline |
Create an DomainId based on an integer.
id | integer representation of the domainId. |
Definition at line 512 of file DdsDcpsStructs.cs.
|
inline |
|
inline |
Calculates hash of the DomainId.
Definition at line 538 of file DdsDcpsStructs.cs.
|
inlinestatic |
Implicit conversion from int to DomainId.
id | integer to convert |
Definition at line 587 of file DdsDcpsStructs.cs.
|
inlinestatic |
Implicit conversion from DomainId to int.
id | DomainId to convert |
Definition at line 599 of file DdsDcpsStructs.cs.
Test if two DomainIds are not equal.
Definition at line 575 of file DdsDcpsStructs.cs.
Test if two DomainIds are equal.
Definition at line 562 of file DdsDcpsStructs.cs.
|
inline |
Converts the DomainId to a long.
Definition at line 549 of file DdsDcpsStructs.cs.
|
inline |
Converts DomainId to a string.
Definition at line 610 of file DdsDcpsStructs.cs.
|
inline |
Converts DomainId to a string with possible integer format.
Definition at line 621 of file DdsDcpsStructs.cs.
Representation of the default domain ID.
This domain ID causes the creation of a DomainParticipant to use the domain ID that is provided within the configuration or 0 when no ID was provided (which is the default).
Definition at line 499 of file DdsDcpsStructs.cs.
Representation of an invalid domain ID.
Definition at line 504 of file DdsDcpsStructs.cs.