Safe DDS
eprosima::safedds::dds::TopicDescription Class Referenceabstract

Represents the topic and type name of a topic. More...

#include <TopicDescription.hpp>

Public Member Functions

virtual DomainParticipantget_participant () const noexcept=0
 Get the DomainParticipant to which the TopicDescription belongs. More...
 
virtual const memory::IStringViewget_name () const noexcept=0
 Get the name used to create this TopicDescription. More...
 
virtual const memory::IStringViewget_type_name () const noexcept=0
 Get the associated type name. More...
 

Protected Member Functions

 ~TopicDescription () noexcept=default
 Protected destructor ownership defined on creation. More...
 
 TopicDescription () noexcept=default
 Default creation. More...
 
 TopicDescription (const TopicDescription &) noexcept=default
 Copy allowed. More...
 
 TopicDescription (TopicDescription &&) noexcept=default
 Movement allowed. More...
 
TopicDescriptionoperator= (const TopicDescription &) noexcept=default
 Copy operator allowed. More...
 
TopicDescriptionoperator= (TopicDescription &&) noexcept=default
 Movement operator allowed. More...
 

Detailed Description

Represents the topic and type name of a topic.

Constructor & Destructor Documentation

◆ ~TopicDescription()

eprosima::safedds::dds::TopicDescription::~TopicDescription ( )
protecteddefaultnoexcept

Protected destructor ownership defined on creation.

◆ TopicDescription() [1/3]

eprosima::safedds::dds::TopicDescription::TopicDescription ( )
protecteddefaultnoexcept

Default creation.

◆ TopicDescription() [2/3]

eprosima::safedds::dds::TopicDescription::TopicDescription ( const TopicDescription )
protecteddefaultnoexcept

Copy allowed.

◆ TopicDescription() [3/3]

eprosima::safedds::dds::TopicDescription::TopicDescription ( TopicDescription &&  )
protecteddefaultnoexcept

Movement allowed.

Member Function Documentation

◆ get_name()

virtual const memory::IStringView& eprosima::safedds::dds::TopicDescription::get_name ( ) const
pure virtualnoexcept

Get the name used to create this TopicDescription.

Returns
view of topic name

◆ get_participant()

virtual DomainParticipant& eprosima::safedds::dds::TopicDescription::get_participant ( ) const
pure virtualnoexcept

Get the DomainParticipant to which the TopicDescription belongs.

Returns
The DomainParticipant to which the TopicDescription belongs.

◆ get_type_name()

virtual const memory::IStringView& eprosima::safedds::dds::TopicDescription::get_type_name ( ) const
pure virtualnoexcept

Get the associated type name.

Returns
view of type name

◆ operator=() [1/2]

TopicDescription& eprosima::safedds::dds::TopicDescription::operator= ( const TopicDescription )
protecteddefaultnoexcept

Copy operator allowed.

Returns
TopicDescription&.

◆ operator=() [2/2]

TopicDescription& eprosima::safedds::dds::TopicDescription::operator= ( TopicDescription &&  )
protecteddefaultnoexcept

Movement operator allowed.

Returns
TopicDescription&.

The documentation for this class was generated from the following file: