Working with publishers.
More...
Working with publishers.
Setting up a publisher
- Create a DDS_Publisher
MyPublisherListener_OfferedDeadlineMissed;
MyPublisherListener_OfferedIncompatibleQos;
MyPublisherListener_LivelinessLost;
MyPublisherListener_PublicationMatch;
&publisher_qos);
printf("***Error: failed to get default publisher qos\n");
}
&publisher_qos,
&publisher_listener ,
if (publisher == NULL) {
printf("***Error: failed to create publisher\n");
}
Tearing down a publisher
- Delete DDS_Publisher:
printf("***Error: failed to delete publisher\n");
}