19.1.5.3. TopicDescription

class TopicDescription

Class TopicDescription, represents the fact that both publications and subscriptions are tied to a single data-type

Subclassed by eprosima::fastdds::dds::ContentFilteredTopic, eprosima::fastdds::dds::Topic

Public Functions

virtual DomainParticipant *get_participant() const = 0

Get the DomainParticipant to which the TopicDescription belongs.

Returns:

The DomainParticipant to which the TopicDescription belongs.

inline const std::string &get_name() const

Get the name used to create this TopicDescription.

Returns:

the name used to create this TopicDescription.

inline const std::string &get_type_name() const

Get the associated type name.

Returns:

the type name.