17.1.5.4. TopicListener

class eprosima::fastdds::dds::TopicListener

Class TopicListener, it should be used by the end user to implement specific callbacks to certain actions.

Subclassed by eprosima::fastdds::dds::DomainParticipantListener

Public Functions

inline TopicListener()

Constructor.

inline virtual ~TopicListener()

Destructor.

inline virtual void on_inconsistent_topic(Topic *topic, InconsistentTopicStatus status)

Virtual function to be implemented by the user containing the actions to be performed when another topic exists with the same name but different characteristics.

Parameters
  • topicTopic

  • status – The inconsistent topic status