|
RTI Connext Micro C++ API Version 4.3.0
|
Policy used to name an entity. More...
#include <dds_c_infrastructure.h>
Public Member Functions | |
| bool | set_name (const char *const name) |
| Set the EntityName policy | |
Public Attributes | |
| char | name [DDS_ENTITYNAME_QOS_NAME_MAX+1] |
| The actual name string. | |
Policy used to name an entity.
The purpose of this QoS is to allow the user to attach naming information to created DDSEntity objects.
The name must not exceed 255 characters in length.
The name must be a NULL-terminated string allocated with DDS_String_alloc or DDS_String_dup.
When getting the QoS with a non-NULL pointer, ensure it points to valid memory. This prevents potential failures.
Use DDS_EntityNameQosPolicy_set_name to set the name.
| char DDS_EntityNameQosPolicy::name[DDS_ENTITYNAME_QOS_NAME_MAX+1] |
The actual name string.
[default] "[ENTITY]"
[range] Null-terminated string with maximum length of 255 characters, or NULL.
Referenced by set_name().