Assigns a name and a role name to a Domain.DomainParticipant, Publication.Publisher, Subscription.Subscriber, Publication.DataWriter<T> or Subscription.DataReader<T>. Except for Publication.Publisher and Subscription.Subscriber, these names will be visible during the discovery process and in RTI tools to help you visualize and debug your system.
More...
Inherits IEquatable< EntityName >.
Assigns a name and a role name to a Domain.DomainParticipant, Publication.Publisher, Subscription.Subscriber, Publication.DataWriter<T> or Subscription.DataReader<T>. Except for Publication.Publisher and Subscription.Subscriber, these names will be visible during the discovery process and in RTI tools to help you visualize and debug your system.
The full documentation is available in the C API: DDS_EntityNameQosPolicy
◆ EntityName()
Rti.Dds.Core.Policy.EntityName.EntityName |
( |
[AllowNull] string |
name, |
|
|
[AllowNull] string |
roleName = null |
|
) |
| |
|
inline |
Creates a new EntityName policy
- Parameters
-
name | The entity name (can be null) |
roleName | The role name (can be null) |
◆ With()
Creates a new EntityName with a set of changes specified in an Action
- Parameters
-
build | An Action (typically a lambda function) that receives a modifiable object with the values of this EntityName. |
- Returns
- A new EntityName with the changes applied by the Action
◆ Equals() [1/2]
override bool Rti.Dds.Core.Policy.EntityName.Equals |
( |
object |
other | ) |
|
◆ GetHashCode()
override int Rti.Dds.Core.Policy.EntityName.GetHashCode |
( |
| ) |
|
|
inline |
◆ Equals() [2/2]
bool Rti.Dds.Core.Policy.EntityName.Equals |
( |
EntityName |
other | ) |
|
|
inline |
◆ ToString()
override string Rti.Dds.Core.Policy.EntityName.ToString |
( |
| ) |
|
Returns a string representation
◆ operator EntityName()
static implicit Rti.Dds.Core.Policy.EntityName.operator EntityName |
( |
string |
name | ) |
|
|
static |
Implicit conversion from a string to an EntityName (with null RoleName)
- Parameters
-
◆ Name
string Rti.Dds.Core.Policy.EntityName.Name |
|
get |
Gets the value of Name
The full documentation is available in the C API: DDS_EntityNameQosPolicy_name
◆ RoleName
string Rti.Dds.Core.Policy.EntityName.RoleName |
|
get |
Gets the value of RoleName
The full documentation is available in the C API: DDS_EntityNameQosPolicy_role_name
◆ Default
EntityName Rti.Dds.Core.Policy.EntityName.Default = CreateDefault() |
|
staticget |
Singleton containing the default value of a EntityName