CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::DataWriterListener Class Reference

The DataWriterListener provides asynchronous notification of DataWriter events. More...

Inheritance diagram for DDS::DataWriterListener:
DDS::PublisherListener DDS::DomainParticipantListener

Public Member Functions

virtual void on_offered_deadline_missed (DataWriter *, const OfferedDeadlineMissedStatus &)
 
virtual void on_offered_incompatible_qos (DataWriter *, const OfferedIncompatibleQosStatus &)
 
virtual void on_liveliness_lost (DataWriter *, const LivelinessLostStatus &)
 
virtual void on_publication_matched (DataWriter *, const PublicationMatchedStatus &)
 

Detailed Description

The DataWriterListener provides asynchronous notification of DataWriter events.

This listener can be installed during DataWriter creation, Publisher_create_datawriter(), as well as by calling DataWriter_set_listener().

Note
The listener callback methods should be lightweight and should not block. If a callback method blocks, it will block all other callback operations within the same DomainParticipant.

Member Function Documentation

virtual void DDS::DataWriterListener::on_liveliness_lost ( DataWriter ,
const LivelinessLostStatus &   
)
inlinevirtual

on_liveliness_lost() is called when the CoreDX DDS middleware detects that the DataWriter has not satisfied its LIVELINESS QoS setting.

The status argument provides a snapshot of the status at the time the listener was invoked.

virtual void DDS::DataWriterListener::on_offered_deadline_missed ( DataWriter ,
const OfferedDeadlineMissedStatus &   
)
inlinevirtual

on_offered_deadline_missed() is called when the CoreDX DDS middleware detects that the deadline that the DataWriter has offered Through the DEADLINE QoS was not satisfied. That is, the DataWriter has failed to update an instance with the frequency specified in the DEADLINE QoS.

The status argument provides a snapshot of the status at the time the listener was invoked.

virtual void DDS::DataWriterListener::on_offered_incompatible_qos ( DataWriter ,
const OfferedIncompatibleQosStatus &   
)
inlinevirtual

on_offered_incompatible_qos() is called when the CoreDX DDS middleware detects that the DataWriter has offered a QoS policy setting that is incompatible with that requested by a potentially matching DataReader.

The status argument provides a snapshot of the status at the time the listener was invoked.

virtual void DDS::DataWriterListener::on_publication_matched ( DataWriter ,
const PublicationMatchedStatus &   
)
inlinevirtual

on_publication_matched() is called when the CoreDX DDS middleware detects that the DataWriter has matched with a DataReader or has ceased to be matched with a DataReader.

The status argument provides a snapshot of the status at the time the listener was invoked.


© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.