MyReaderListener_RequestedDeadlineMissed;
MyReaderListener_RequestedIncompatibleQos;
MyReaderListener_LivelinessChanged;
reader_listener.on_subscription_match =
MyReaderListener_SubscriptionMatch;
subscriber, &reader_qos);
printf("***Error: failed to get default datareader qos\n");
}
&reader_qos,
&reader_listener ,
if (reader == NULL) {
printf("***Error: failed to create reader\n");
}
struct DDS_DataReaderImpl DDS_DataReader
<<interface>> Allows the application to: (1) declare the data it wishes to receive (i....
Definition: subscription.ifc:230
#define DDS_DataReaderListener_INITIALIZER
Initializer for new DDS_DataReaderListener.
Definition: subscription.ifc:2200
#define DDS_DataReaderQos_INITIALIZER
Initializer for new QoS instances.
Definition: subscription.ifc:1781
DDS_ReturnCode_t
Type for return codes.
Definition: infrastructure.ifc:1336
@ DDS_RETCODE_OK
Successful return.
Definition: infrastructure.ifc:1339
#define DDS_STATUS_MASK_ALL
All bits are set.
Definition: infrastructure.ifc:1416
DDS_DataReader * DDS_Subscriber_create_datareader(DDS_Subscriber *self, DDS_TopicDescription *topic, const struct DDS_DataReaderQos *qos, const struct DDS_DataReaderListener *listener, DDS_StatusMask mask)
Creates a DDS_DataReader that will be attached and belong to the DDS_Subscriber.
DDS_ReturnCode_t DDS_Subscriber_get_default_datareader_qos(DDS_Subscriber *self, struct DDS_DataReaderQos *qos)
Copies the default DDS_DataReaderQos values into the provided DDS_DataReaderQos instance.
DDS_TopicDescription * DDS_Topic_as_topicdescription(DDS_Topic *topic)
Access a DDS_Topic's DDS_TopicDescription supertype instance.
<<interface>> DDS_Listener for reader status.
Definition: subscription.ifc:2158
DDS_DataReaderListener_RequestedIncompatibleQosCallback on_requested_incompatible_qos
Handles the DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS communication status.
Definition: subscription.ifc:2172
DDS_DataReaderListener_SampleRejectedCallback on_sample_rejected
Handles the DDS_SAMPLE_REJECTED_STATUS communication status.
Definition: subscription.ifc:2176
DDS_DataReaderListener_SampleLostCallback on_sample_lost
Handles the DDS_SAMPLE_LOST_STATUS communication status.
Definition: subscription.ifc:2193
DDS_DataReaderListener_DataAvailableCallback on_data_available
Handle the DDS_DATA_AVAILABLE_STATUS communication status.
Definition: subscription.ifc:2185
DDS_DataReaderListener_LivelinessChangedCallback on_liveliness_changed
Handles the DDS_LIVELINESS_CHANGED_STATUS communication status.
Definition: subscription.ifc:2181
DDS_DataReaderListener_RequestedDeadlineMissedCallback on_requested_deadline_missed
Handles the DDS_REQUESTED_DEADLINE_MISSED_STATUS communication status.
Definition: subscription.ifc:2167
QoS policies supported by a DDS_DataReader entity.
Definition: subscription.ifc:1551