DDSDataReaderListener Class Reference
[DataReaders]

<<interface>> DDSListener for reader status. More...

Inheritance diagram for DDSDataReaderListener:

DDSListener DDSSubscriberListener DDSDomainParticipantListener

List of all members.

Public Member Functions

virtual void on_requested_deadline_missed (DDSDataReader *reader, const DDS_RequestedDeadlineMissedStatus &status)
 Handles the DDS_REQUESTED_DEADLINE_MISSED_STATUS communication status.
virtual void on_liveliness_changed (DDSDataReader *reader, const DDS_LivelinessChangedStatus &status)
 Handles the DDS_LIVELINESS_CHANGED_STATUS communication status.
virtual void on_requested_incompatible_qos (DDSDataReader *reader, const DDS_RequestedIncompatibleQosStatus &status)
 Handles the DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS communication status.
virtual void on_sample_rejected (DDSDataReader *reader, const DDS_SampleRejectedStatus &status)
 Handles the DDS_SAMPLE_REJECTED_STATUS communication status.
virtual void on_data_available (DDSDataReader *reader)
 Handle the DDS_DATA_AVAILABLE_STATUS communication status.
virtual void on_sample_lost (DDSDataReader *reader, const DDS_SampleLostStatus &status)
 Handles the DDS_SAMPLE_LOST_STATUS communication status.
virtual void on_subscription_matched (DDSDataReader *reader, const DDS_SubscriptionMatchedStatus &status)
 Handles the DDS_SUBSCRIPTION_MATCHED_STATUS communication status.


Detailed Description

<<interface>> DDSListener for reader status.

Entity:
DDSDataReader
Status:
DDS_DATA_AVAILABLE_STATUS;
DDS_LIVELINESS_CHANGED_STATUS, DDS_LivelinessChangedStatus;
DDS_REQUESTED_DEADLINE_MISSED_STATUS, DDS_RequestedDeadlineMissedStatus;
DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS, DDS_RequestedIncompatibleQosStatus;
DDS_SAMPLE_LOST_STATUS, DDS_SampleLostStatus;
DDS_SAMPLE_REJECTED_STATUS, DDS_SampleRejectedStatus;
DDS_SUBSCRIPTION_MATCHED_STATUS, DDS_SubscriptionMatchedStatus;
See also:
Status Kinds

Operations Allowed in Listener Callbacks

Examples:

HelloWorld_subscriber.cxx.


Member Function Documentation

virtual void DDSDataReaderListener::on_requested_deadline_missed ( DDSDataReader reader,
const DDS_RequestedDeadlineMissedStatus status 
) [virtual]

Handles the DDS_REQUESTED_DEADLINE_MISSED_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_liveliness_changed ( DDSDataReader reader,
const DDS_LivelinessChangedStatus status 
) [virtual]

Handles the DDS_LIVELINESS_CHANGED_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_requested_incompatible_qos ( DDSDataReader reader,
const DDS_RequestedIncompatibleQosStatus status 
) [virtual]

Handles the DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_sample_rejected ( DDSDataReader reader,
const DDS_SampleRejectedStatus status 
) [virtual]

Handles the DDS_SAMPLE_REJECTED_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_data_available ( DDSDataReader reader  )  [virtual]

Handle the DDS_DATA_AVAILABLE_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_sample_lost ( DDSDataReader reader,
const DDS_SampleLostStatus status 
) [virtual]

Handles the DDS_SAMPLE_LOST_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.

virtual void DDSDataReaderListener::on_subscription_matched ( DDSDataReader reader,
const DDS_SubscriptionMatchedStatus status 
) [virtual]

Handles the DDS_SUBSCRIPTION_MATCHED_STATUS communication status.

Examples:
HelloWorld_subscriber.cxx.


RTI Data Distribution Service C++ API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc