RTI Connext Modern C++ API  Version 6.0.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::queuing::NoOpQueueConsumerListener< T > Class Template Reference

A listener with an empty implementation of all methods. More...

#include <QueueConsumerListener.hpp>

Inheritance diagram for rti::queuing::NoOpQueueConsumerListener< T >:
rti::queuing::QueueConsumerListener< T >

Public Member Functions

virtual void on_sample_available (QueueConsumer< T > &)
 User callback.
 
virtual void on_shared_reader_queue_matched (QueueConsumer< T > &, const dds::core::status::SubscriptionMatchedStatus &)
 User callback.
 

Detailed Description

template<typename T>
class rti::queuing::NoOpQueueConsumerListener< T >

A listener with an empty implementation of all methods.

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 rti::queuing::NoOpQueueConsumerListener< T >::on_sample_available ( QueueConsumer< T > &  )
inlinevirtual

User callback.

This callback is invoked whenever the QueueConsumer has received at least one sample. Any operation to get samples i.e. QueueConsumer::take_sample) can be called within this context.

See Also
dds::sub::DataReaderListener::on_data_available

Implements rti::queuing::QueueConsumerListener< T >.

template<typename T>
virtual void rti::queuing::NoOpQueueConsumerListener< T >::on_shared_reader_queue_matched ( QueueConsumer< T > &  ,
const dds::core::status::SubscriptionMatchedStatus  
)
inlinevirtual

User callback.

This callback is invoked whenever a new SharedReaderQueue hosted by Queuing Service has matched the QueueConsumer, or if an existing matching SharedReaderQueue is disposed.

See Also
dds::core::status::SubscriptionMatchedStatus
dds::sub::DataReaderListener::on_subscription_matched

Implements rti::queuing::QueueConsumerListener< T >.


RTI Connext Modern C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc