RTI Connext Modern C++ API Version 7.2.0
dds::sub::DataReaderListener< T > Class Template Referenceabstract

The Listener to notify status changes for a dds::sub::DataReader. More...

#include <dds/sub/DataReaderListener.hpp>

Inheritance diagram for dds::sub::DataReaderListener< T >:
dds::sub::NoOpDataReaderListener< T >

Public Member Functions

virtual void on_requested_deadline_missed (DataReader< T > &reader, const dds::core::status::RequestedDeadlineMissedStatus &status)=0
 Handles the dds::core::status::RequestedDeadlineMissedStatus status. More...
 
virtual void on_requested_incompatible_qos (DataReader< T > &reader, const dds::core::status::RequestedIncompatibleQosStatus &status)=0
 Handles the dds::core::status::RequestedIncompatibleQosStatus status. More...
 
virtual void on_sample_rejected (DataReader< T > &reader, const dds::core::status::SampleRejectedStatus &status)=0
 Handles the dds::core::status::SampleRejectedStatus status. More...
 
virtual void on_liveliness_changed (DataReader< T > &reader, const dds::core::status::LivelinessChangedStatus &status)=0
 Handles the dds::core::status::LivelinessChangedStatus status. More...
 
virtual void on_data_available (DataReader< T > &reader)=0
 Called when one or more new data samples have been received. More...
 
virtual void on_subscription_matched (DataReader< T > &reader, const dds::core::status::SubscriptionMatchedStatus &status)=0
 Handles the dds::core::status::SubscriptionMatchedStatus status. More...
 
virtual void on_sample_lost (DataReader< T > &reader, const dds::core::status::SampleLostStatus &status)=0
 Handles the dds::core::status::SampleLostStatus status. More...
 

Detailed Description

Member Function Documentation

◆ on_requested_deadline_missed()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_requested_deadline_missed ( DataReader< T > &  reader,
const dds::core::status::RequestedDeadlineMissedStatus status 
)
pure virtual

◆ on_requested_incompatible_qos()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_requested_incompatible_qos ( DataReader< T > &  reader,
const dds::core::status::RequestedIncompatibleQosStatus status 
)
pure virtual

◆ on_sample_rejected()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_sample_rejected ( DataReader< T > &  reader,
const dds::core::status::SampleRejectedStatus status 
)
pure virtual

◆ on_liveliness_changed()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_liveliness_changed ( DataReader< T > &  reader,
const dds::core::status::LivelinessChangedStatus status 
)
pure virtual

◆ on_data_available()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_data_available ( DataReader< T > &  reader)
pure virtual

Called when one or more new data samples have been received.

Implemented in dds::sub::NoOpDataReaderListener< RequestType >, and dds::sub::NoOpDataReaderListener< T >.

◆ on_subscription_matched()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_subscription_matched ( DataReader< T > &  reader,
const dds::core::status::SubscriptionMatchedStatus status 
)
pure virtual

◆ on_sample_lost()

template<typename T >
virtual void dds::sub::DataReaderListener< T >::on_sample_lost ( DataReader< T > &  reader,
const dds::core::status::SampleLostStatus status 
)
pure virtual