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()
EntityName |
( |
[AllowNull] string |
name, |
|
|
[AllowNull] string |
roleName = null |
|
) |
| |
Creates a new EntityName policy
- Parameters
-
name | The entity name (can be null) |
roleName | The role name (can be null) |
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Equals |
( |
object |
other | ) |
|
◆ GetHashCode()
override int GetHashCode |
( |
| ) |
|
◆ operator EntityName()
static implicit operator EntityName |
( |
string |
name | ) |
|
|
static |
Implicit conversion from a string to an EntityName (with null RoleName)
- Parameters
-
◆ ToString()
override string ToString |
( |
| ) |
|
Returns a string representation
◆ 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
◆ Default
Singleton containing the default value of a EntityName
◆ Name
Gets the value of Name
The full documentation is available in the C API: DDS_EntityNameQosPolicy::name
◆ RoleName
Gets the value of RoleName
The full documentation is available in the C API: DDS_EntityNameQosPolicy::role_name