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

A convenience implementation of DataReaderListener where all methods are overridden to do nothing. More...

#include "dds/sub/DataReaderListener.hpp"

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

Public Member Functions

virtual void on_requested_deadline_missed (DataReader< T > &, const dds::core::status::RequestedDeadlineMissedStatus &)
 No-op. More...
 
virtual void on_requested_incompatible_qos (DataReader< T > &, const dds::core::status::RequestedIncompatibleQosStatus &)
 No-op. More...
 
virtual void on_sample_rejected (DataReader< T > &, const dds::core::status::SampleRejectedStatus &)
 No-op. More...
 
virtual void on_liveliness_changed (DataReader< T > &, const dds::core::status::LivelinessChangedStatus &)
 No-op. More...
 
virtual void on_data_available (DataReader< T > &)
 No-op. More...
 
virtual void on_subscription_matched (DataReader< T > &, const dds::core::status::SubscriptionMatchedStatus &)
 No-op. More...
 
virtual void on_sample_lost (DataReader< T > &, const dds::core::status::SampleLostStatus &)
 No-op. More...
 
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

template<typename T>
class dds::sub::NoOpDataReaderListener< T >

A convenience implementation of DataReaderListener where all methods are overridden to do nothing.

Most of the time, you can derive your listener from this class so you don't have to implement the methods you don't need.

Member Function Documentation

◆ on_requested_deadline_missed()

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

◆ on_requested_incompatible_qos()

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

◆ on_sample_rejected()

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

◆ on_liveliness_changed()

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

◆ on_data_available()

template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_data_available ( DataReader< T > &  )
inlinevirtual

◆ on_subscription_matched()

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

◆ on_sample_lost()

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