37 #ifndef dds_c_publication_h
38 #define dds_c_publication_h
44 #include "db/db_api.h"
59 NETIODllVariable
extern
60 const char*
const DDS_DEFAULT_DATAWRITER_NETIO_NAME;
105 #define DDS_OfferedDeadlineMissedStatus_INITIALIZER \
106 { 0L, 0L, DDS_HANDLE_NIL_NATIVE }
135 #define DDS_LivelinessLostStatus_INITIALIZER { 0L, 0L }
165 struct DDS_QosPolicyCountSeq policies;
172 #define DDS_OfferedIncompatibleQosStatus_INITIALIZER \
174 0L, 0L,DDS_INVALID_QOS_POLICY_ID, \
175 DDS_SEQUENCE_INITIALIZER \
217 #define DDS_PublicationMatchedStatus_INITIALIZER \
218 { 0L, 0L, 0L, 0L, DDS_HANDLE_NIL_NATIVE }
259 #define DDS_ReliableReaderActivityChangedStatus_INITIALIZER \
260 {0, 0, 0, 0,DDS_HANDLE_NIL_NATIVE}
274 struct DDSCPPDllExport DDS_ReliableSampleUnacknowledgedStatus
291 #define DDS_ReliableSampleUnacknowledgedStatus_INITIALIZER \
295 DDS_HANDLE_NIL_NATIVE\
307 DDS_OfferedDeadlineMissedStatus_initialize(
319 DDS_OfferedIncompatibleQosStatus_initialize(
331 DDS_PublicationMatchedStatus_initialize(
343 DDS_LivelinessLostStatus_initialize(
355 DDS_ReliableReaderActivityChangedStatus_initialize(
370 struct DDS_DataWriterData
426 struct DDS_TypeSupportQosPolicy type_support;
434 struct RTI_ManagementQosPolicy management;
440 struct DDS_DataWriterData *data;
482 #define DDS_DataWriterQos_INITIALIZER { \
483 DDS_DEADLINE_QOS_POLICY_DEFAULT, \
484 DDS_LIVELINESS_QOS_POLICY_DEFAULT, \
485 DDS_HISTORY_QOS_POLICY_DEFAULT, \
486 DDS_RESOURCE_LIMITS_QOS_POLICY_DEFAULT, \
487 DDS_OWNERSHIP_QOS_POLICY_DEFAULT, \
488 DDS_OWNERSHIP_STRENGTH_QOS_POLICY_DEFAULT, \
489 DDS_RELIABILITY_QOS_POLICY_DEFAULT, \
490 DDS_DURABILITY_QOS_POLICY_DEFAULT, \
491 DDS_DESTINATION_ORDER_QOS_POLICY_DEFAULT, \
492 DDS_DATA_WRITER_PROTOCOL_QOS_POLICY_DEFAULT, \
493 DDS_TYPESUPPORT_QOS_POLICY_DEFAULT, \
494 DDS_TRANSPORT_QOS_POLICY_DEFAULT, \
495 RTI_MANAGEMENT_QOS_POLICY_DEFAULT, \
496 DDS_DATAWRITERRESOURCE_LIMITS_QOS_POLICY_DEFAULT, \
516 struct RTI_ManagementQosPolicy management;
559 #define DDS_PublisherQos_INITIALIZER { \
560 DDS_ENTITY_FACTORY_QOS_POLICY_DEFAULT, \
561 RTI_MANAGEMENT_QOS_POLICY_DEFAULT \
615 (*DDS_DataWriterListener_ReliableSampleUnacknowledgedCallback)(
618 const struct DDS_ReliableSampleUnacknowledgedStatus *status);
655 DDS_DataWriterListener_ReliableSampleUnacknowledgedCallback
656 on_reliable_sample_unacknowledged;
661 #define DDS_DataWriterListener_INITIALIZER { \
662 DDS_Listener_INITIALIZER, \
663 (DDS_DataWriterListener_OfferedDeadlineMissedCallback)NULL, \
664 (DDS_DataWriterListener_OfferedIncompatibleQosCallback)NULL, \
665 (DDS_DataWriterListener_LivelinessLostCallback)NULL, \
666 (DDS_DataWriterListener_PublicationMatchedCallback)NULL,\
683 #define DDS_PublisherListener_INITIALIZER { \
684 DDS_DataWriterListener_INITIALIZER }
698 #define DDS_Publisher_as_entity(publisherPtr) \
699 ((DDS_Entity*) publisherPtr)
701 #ifdef DOXYGEN_DOCUMENTATION_ONLY
759 const char *topic_name);
818 #define DDS_DataWriter_as_entity(dataWriterPtr) \
819 ((DDS_Entity*) dataWriterPtr)
821 #ifdef DOXYGEN_DOCUMENTATION_ONLY
839 #if INCLUDE_API_LOOKUP
845 struct DDS_InstanceHandleSeq *subscription_handles);
851 #if INCLUDE_API_LOOKUP
967 const void *instance_data);
974 const void *instance_data,
982 const void *instance_data,
990 const void *instance_data,
999 const void *instance_data,
1007 const void *instance_data,
1016 const void *instance_data,
1024 const void *instance_data,
1033 const void *instance_data,
1094 struct NETIO_Address *dst_reader,
1095 const char *address);
1115 struct NETIO_Address *dst_reader,
1116 const char *address);
1135 struct NETIO_Address *dst_reader,
1136 struct NETIO_Address *via_address);
1156 DDS_DataWriter_delete_anonymous_route(
DDS_DataWriter *datawriter,
1157 struct NETIO_Address *dst_reader,
1158 struct NETIO_Address *via_address);
1178 struct NETIO_Address *dst_reader,
1189 RTI_BOOL *route_existed);
1196 RTI_BOOL *route_existed);
1204 #ifndef dds_c_w_history_plugin_h