Navigating Relationships Among Entities

Finding a Topic’s DomainParticipant

To retrieve a handle to the Topic’s DomainParticipant, use the get_participant() operation:

DDSDomainParticipant* DDSTopicDescription::get_participant()

Notice that this method belongs to the DDSTopicDescription class, which is the base class for DDSTopic.

Retrieving a Topic’s Name or DDS Type Name

If you want to retrieve the topic_name or type_name used in the create_topic() operation, use these methods:

const char* DDSTopicDescription::get_type_name();
const char* DDSTopicDescription::get_name();

Notice that these methods belong to the DDSTopicDescription class, which is the base class for DDSTopic.

© 2018 RTI