Class TopicListener

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class TopicListener : public eprosima::fastdds::dds::TopicListener

Topic events Listener.

Since a Topic is an Entity, it has the ability to have a Listener associated with it. In this case, the associated Listener should be of type TopicListener. This interface must be implemented by the application. A user-defined class must be provided by the application which must extend from the TopicListener class.

The TopicListener provides a generic mechanism (actually a callback function) for the Data Distribution Service to notify the application of relevant asynchronous status change events, such as a missed deadline, violation of a QosPolicy setting, etc. The TopicListener is related to changes in communication status StatusConditions.

See also

Topic

See also

Listener information

Subclassed by dds::topic::NoOpTopicListener