CoreDX DDS Modern C++ API
Public Member Functions | List of all members
dds::sub::SubscriberListener Class Referenceabstract

Base Listener that can be associated with a Subscriber. More...

Inheritance diagram for dds::sub::SubscriberListener:
Inheritance graph
[legend]
Collaboration diagram for dds::sub::SubscriberListener:
Collaboration graph
[legend]

Public Member Functions

virtual void on_data_on_readers (Subscriber &sub)=0
 Invoked when there is data on any of the DataReaders of this Subscriber. More...
 
- Public Member Functions inherited from dds::sub::AnyDataReaderListener
virtual void on_requested_deadline_missed (AnyDataReader &the_reader, const dds::core::status::RequestedDeadlineMissedStatus &status)=0
 Invoked when the middleware detects that the QoS deadline policy of a DataReader was not satisfied for a data instance.
 
virtual void on_requested_incompatible_qos (AnyDataReader &the_reader, const dds::core::status::RequestedIncompatibleQosStatus &status)=0
 Invoked when the middleware detects that a DataReader has requested a QoS policy that was incompatible with that offered by a DataWriter.
 
virtual void on_sample_rejected (AnyDataReader &the_reader, const dds::core::status::SampleRejectedStatus &status)=0
 Invoked when the middleware detects that a DataReader has rejected a sample.
 
virtual void on_liveliness_changed (AnyDataReader &the_reader, const dds::core::status::LivelinessChangedStatus &status)=0
 Invoked when the middleware detects that the liveliness of a DataWriter, matched to this DataReader has changed (either 'active' or 'inactive').
 
virtual void on_data_available (AnyDataReader &the_reader)=0
 Invoked when the middleware detects that a DataReader has new data or data state information available.
 
virtual void on_subscription_matched (AnyDataReader &the_reader, const dds::core::status::SubscriptionMatchedStatus &status)=0
 Invoked when the middleware detects that a DataReader has matched or ceased to be matched with a DataWriter.
 
virtual void on_sample_lost (AnyDataReader &the_reader, const dds::core::status::SampleLostStatus &status)=0
 Invoked when the middleware detects that a DataReader has lost a sample (never received).
 

Detailed Description

Base Listener that can be associated with a Subscriber.

Member Function Documentation

◆ on_data_on_readers()

virtual void dds::sub::SubscriberListener::on_data_on_readers ( Subscriber sub)
pure virtual

Invoked when there is data on any of the DataReaders of this Subscriber.

Implemented in dds::sub::NoOpSubscriberListener.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.