19.1.4.11. SubscriberListener

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

Class SubscriberListener, it should be used by the end user to implement specific callbacks to certain actions. It also inherits all DataReaderListener callbacks.

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

Public Functions

inline SubscriberListener()

Constructor.

inline virtual ~SubscriberListener()

Destructor.

inline virtual void on_data_on_readers(Subscriber *sub)

Virtual function to be implemented by the user containing the actions to be performed when a new Data Message is available on any reader.

Parameters:

subSubscriber