Class TopicDescription

Inheritance Relationships

Derived Types

Class Documentation

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.

virtual TopicDescriptionImpl *get_impl() const = 0

Protected Functions

inline TopicDescription(const std::string &name, const std::string &type_name)
inline virtual ~TopicDescription()

Protected Attributes

std::string name_

Name that allows the TopicDescription to be retrieved locally.

std::string type_name_

Name that defines a unique resulting type for the publication or the subscription.