Class SubscriberListener
Defined in File SubscriberListener.hpp
Inheritance Relationships
Base Type
public eprosima::fastdds::dds::DataReaderListener
(Class DataReaderListener)
Derived Types
public dds::sub::SubscriberListener
(Class SubscriberListener)public eprosima::fastdds::dds::DomainParticipantListener
(Class DomainParticipantListener)
Class Documentation
-
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 dds::sub::SubscriberListener, eprosima::fastdds::dds::DomainParticipantListener
Public Functions
-
inline RTPS_DllAPI SubscriberListener()
Constructor.
-
inline virtual RTPS_DllAPI ~SubscriberListener()
Destructor.
- inline virtual RTPS_DllAPI 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:
sub – Subscriber
-
inline RTPS_DllAPI SubscriberListener()