RTI Connext Micro C API Version 4.3.0
Loading...
Searching...
No Matches
DDS_EntityNameQosPolicy Struct Reference

<<cert>> Policy used to name an entity. More...

#include <dds_c_infrastructure.h>

Data Fields

char name [DDS_ENTITYNAME_QOS_NAME_MAX+1]
 The actual name string.
 

Detailed Description

<<cert>> Policy used to name an entity.

Entity:
DDS_DomainParticipant
Properties:
RxO = NO;
Changeable = NO

Usage

The purpose of this QoS is to allow the user to attach naming information to created DDS_Entity 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.

Field Documentation

◆ 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.