18.1.6 Navigating Relationships Among Entities
18.1.6.1 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.
18.1.6.2 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.