RTI Connext Modern C++ API  Version 5.3.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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.
 
virtual void on_requested_incompatible_qos (DataReader< T > &, const dds::core::status::RequestedIncompatibleQosStatus &)
 No-op.
 
virtual void on_sample_rejected (DataReader< T > &, const dds::core::status::SampleRejectedStatus &)
 No-op.
 
virtual void on_liveliness_changed (DataReader< T > &, const dds::core::status::LivelinessChangedStatus &)
 No-op.
 
virtual void on_data_available (DataReader< T > &)
 No-op.
 
virtual void on_subscription_matched (DataReader< T > &, const dds::core::status::SubscriptionMatchedStatus &)
 No-op.
 
virtual void on_sample_lost (DataReader< T > &, const dds::core::status::SampleLostStatus &)
 No-op.
 

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 types you can derive your listener from this class so you don't have to implement the methods you don't need.

Member Function Documentation

template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_requested_deadline_missed ( DataReader< T > &  ,
const dds::core::status::RequestedDeadlineMissedStatus  
)
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_requested_incompatible_qos ( DataReader< T > &  ,
const dds::core::status::RequestedIncompatibleQosStatus  
)
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_sample_rejected ( DataReader< T > &  ,
const dds::core::status::SampleRejectedStatus  
)
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_liveliness_changed ( DataReader< T > &  ,
const dds::core::status::LivelinessChangedStatus  
)
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_data_available ( DataReader< T > &  )
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_subscription_matched ( DataReader< T > &  ,
const dds::core::status::SubscriptionMatchedStatus  
)
inlinevirtual
template<typename T >
virtual void dds::sub::NoOpDataReaderListener< T >::on_sample_lost ( DataReader< T > &  ,
const dds::core::status::SampleLostStatus  
)
inlinevirtual

RTI Connext Modern C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc