RTI Connext DDS Micro C++ API  Version 4.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DDS_EntityNameQosPolicy Struct Reference

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

#include <dds_c_infrastructure.h>

List of all members.

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.

Detailed Description

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

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

Usage

The purpose of this QoS is to allow the user to attach naming information to created DDSEntity objects.

It can only be 255 characters in length.

It must be a NULL-terminated string allocated with DDS_String_alloc or DDS_String_dup.

If the user provides a non-NULL pointer when getting the QoS, then it should point to valid memory that can be written to, to avoid ungraceful failures.


Member Data Documentation

char DDS_EntityNameQosPolicy::name[DDS_ENTITYNAME_QOS_NAME_MAX+1]

The actual name string.

[default] "[ENTITY]cccc"

[range] Null terminated string with length not exceeding 255. Can be NULL.


RTI Connext DDS Micro C++ API Version 4.0.1 Copyright © Mon Jun 3 2024 Real-Time Innovations, Inc