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(). More...
Public Member Functions | |
void | on_offered_incompatible_qos (DataWriter writer, OfferedIncompatibleQosStatus status) |
void | on_liveliness_lost (DataWriter writer, LivelinessLostStatus status) |
void | on_publication_matched (DataWriter writer, PublicationMatchedStatus status) |
long | get_nil_mask () |
Package Functions | |
void | on_offered_deadline_missed (DataWriter writer, OfferedDeadlineMissedStatus status) |
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().
long get_nil_mask | ( | ) |
get_nil_mask() returns a bitmask indicating which listener methods (if any) should be considered NIL, and therefore, should not be invoked.
void on_liveliness_lost | ( | DataWriter | writer, | |
LivelinessLostStatus | status | |||
) |
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.
void on_offered_deadline_missed | ( | DataWriter | writer, | |
OfferedDeadlineMissedStatus | status | |||
) | [package] |
Called when the CoreDX DDS middleware detects that the deadline that the DDS_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.
void on_offered_incompatible_qos | ( | DataWriter | writer, | |
OfferedIncompatibleQosStatus | status | |||
) |
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.
void on_publication_matched | ( | DataWriter | writer, | |
PublicationMatchedStatus | status | |||
) |
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.