![]() |
OpenSplice C# API
v7.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 516 of file DdsDcpsStructs.cs.
|
inline |
Create an DomainId based on an integer.
id | integer representation of the domainId. |
Definition at line 541 of file DdsDcpsStructs.cs.
|
inline |
|
inline |
Calculates hash of the DomainId.
Definition at line 567 of file DdsDcpsStructs.cs.
|
inlinestatic |
Implicit conversion from int to DomainId.
id | integer to convert |
Definition at line 616 of file DdsDcpsStructs.cs.
|
inlinestatic |
Implicit conversion from DomainId to int.
id | DomainId to convert |
Definition at line 628 of file DdsDcpsStructs.cs.
Test if two DomainIds are not equal.
Definition at line 604 of file DdsDcpsStructs.cs.
Test if two DomainIds are equal.
Definition at line 591 of file DdsDcpsStructs.cs.
|
inline |
Converts the DomainId to a long.
Definition at line 578 of file DdsDcpsStructs.cs.
|
inline |
Converts DomainId to a string.
Definition at line 639 of file DdsDcpsStructs.cs.
|
inline |
Converts DomainId to a string with possible integer format.
Definition at line 650 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 528 of file DdsDcpsStructs.cs.
Representation of an invalid domain ID.
Definition at line 533 of file DdsDcpsStructs.cs.