Class DataReaderListener

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class DataReaderListener : public eprosima::fastdds::dds::DataReaderListener

DataReader events Listener.

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

The DataReaderListener 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 DataReaderListener is related to changes in communication status StatusConditions.

Subclassed by dds::sub::NoOpDataReaderListener