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");
}
DDS_ReturnCode_t DDS_DomainParticipant_get_default_publisher_qos(DDS_DomainParticipant *self, struct DDS_PublisherQos *qos)
Copy the default DDS_PublisherQos values into the provided DDS_PublisherQos instance.
DDS_Publisher * DDS_DomainParticipant_create_publisher(DDS_DomainParticipant *self, const struct DDS_PublisherQos *qos, const struct DDS_PublisherListener *listener, DDS_StatusMask mask)
Creates a DDS_Publisher with the desired QoS policies and attaches to it the specified DDS_PublisherL...
#define DDS_PublisherListener_INITIALIZER
Initializer for new DDS_PublisherListener.
Definition: publication.ifc:1894
#define DDS_PublisherQos_INITIALIZER
Initializer for new QoS instances.
Definition: publication.ifc:1495
struct DDS_PublisherImpl DDS_Publisher
<<interface>> A publisher is the object responsible for the actual dissemination of publications.
Definition: publication.ifc:182
DDS_ReturnCode_t
Type for return codes.
Definition: infrastructure.ifc:1352
@ DDS_RETCODE_OK
Successful return.
Definition: infrastructure.ifc:1355
#define DDS_STATUS_MASK_ALL
All bits are set.
Definition: infrastructure.ifc:1430
DDS_DataWriterListener_OfferedDeadlineMissedCallback on_offered_deadline_missed
Handles the DDS_OFFERED_DEADLINE_MISSED_STATUS status.
Definition: publication.ifc:1665
DDS_DataWriterListener_LivelinessLostCallback on_liveliness_lost
Handles the DDS_LIVELINESS_LOST_STATUS status.
Definition: publication.ifc:1674
DDS_DataWriterListener_OfferedIncompatibleQosCallback on_offered_incompatible_qos
Handles the DDS_OFFERED_INCOMPATIBLE_QOS_STATUS status.
Definition: publication.ifc:1670
DDS_DataWriterListener_PublicationMatchedCallback on_publication_matched
Handles the DDS_PUBLICATION_MATCHED_STATUS status.
Definition: publication.ifc:1678
<<interface>> DDS_Listener for DDS_Publisher status.
Definition: publication.ifc:1885
struct DDS_DataWriterListener as_datawriterlistener
The superclass instance of this DDS_PublisherListener.
Definition: publication.ifc:1888
QoS policies supported by a DDS_Publisher entity.
Definition: publication.ifc:1328