RTI Connext DDS Micro C API  Version 4.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DDS_BuiltinTopicKey_t Struct Reference

The key type of the built-in topic types. More...

#include <dds_c_infrastructure.h>

Data Fields

DDS_BUILTIN_TOPIC_KEY_TYPE_NATIVE value [DDS_BUILTIN_TOPIC_KEY_TYPE_NATIVE_LENGTH]
 An array of four integers that uniquely represents a remote DDS_Entity.

Detailed Description

The key type of the built-in topic types.

Each remote DDS_Entity to be discovered can be uniquely identified by this key. This is the key of all the built-in topic data types.

The value of element DDS_BUILTIN_TOPIC_KEY_OBJECT_ID is the object ID of the remote entity. In Dynamic Participant/Static Endpoint discovery, this must be set correctly for each remote DDS_DataReader and DDS_DataWriter that an application intends to discover.

For example, to configure a remote DDS_DataWriter with object ID 100 by setting the key in the DDS_PublicationBuiltinTopicData:

remote_pub_data.key.value[DDS_BUILTIN_TOPIC_KEY_OBJECT_ID] = 100;
See also:
DDS_ParticipantBuiltinTopicData
DDS_PublicationBuiltinTopicData
DDS_SubscriptionBuiltinTopicData

Field Documentation

DDS_BUILTIN_TOPIC_KEY_TYPE_NATIVE DDS_BuiltinTopicKey_t::value[DDS_BUILTIN_TOPIC_KEY_TYPE_NATIVE_LENGTH]

An array of four integers that uniquely represents a remote DDS_Entity.


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