RTI Connext Modern C++ API
Version 6.1.2
|
Called when certain events occur in a QueueProducer. More...
#include <rti/queuing/QueueProducerListener.hpp>
Public Member Functions | |
virtual void | on_sample_acknowledged (QueueProducer< T > &producer, const rti::pub::AcknowledgmentInfo &info)=0 |
User callback. More... | |
virtual void | on_shared_reader_queue_matched (QueueProducer< T > &producer, const dds::core::status::PublicationMatchedStatus &status)=0 |
User callback. More... | |
Called when certain events occur in a QueueProducer.
A QueueProducer listener is a way to implement a callback that will be invoked when certain events happen. It is an optional parameter in QueueProducerParams.
You can use this listener to receive notification when:
|
pure virtual |
User callback.
This callback is invoked whenever Queuing Service acknowledges a sample sent by the QueueProducer.
Implemented in rti::queuing::NoOpQueueProducerListener< T >, rti::queuing::NoOpQueueProducerListener< TReq >, and rti::queuing::NoOpQueueProducerListener< TRep >.
Referenced by rti::queuing::QueueProducer< TRep >::has_matching_reader_queue().
|
pure virtual |
User callback.
This callback is invoked whenever a new SharedReaderQueue hosted by Queuing Service has matched the QueueProducer, or if an existing matching SharedReaderQueue is disposed.
Implemented in rti::queuing::NoOpQueueProducerListener< T >, rti::queuing::NoOpQueueProducerListener< TReq >, and rti::queuing::NoOpQueueProducerListener< TRep >.
Referenced by rti::queuing::QueueProducer< TRep >::has_matching_reader_queue().