RTI Connext Micro C API Version 4.2.0
Loading...
Searching...
No Matches
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

◆ value

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.