40 #ifndef dds_c_subscription_h
41 #define dds_c_subscription_h
67 NETIODllVariable
extern
68 const char*
const DDS_DEFAULT_DATAREADER_NETIO_NAME;
116 #define DDS_RequestedDeadlineMissedStatus_INITIALIZER \
117 { 0L, 0L, DDS_HANDLE_NIL_NATIVE }
162 #define DDS_LivelinessChangedStatus_INITIALIZER { 0L, 0L, 0L, 0L, \
163 DDS_HANDLE_NIL_NATIVE }
195 struct DDS_QosPolicyCountSeq policies;
202 #define DDS_RequestedIncompatibleQosStatus_INITIALIZER \
203 { 0L, 0L, DDS_INVALID_QOS_POLICY_ID, DDS_SEQUENCE_INITIALIZER }
247 #define DDS_REJECTED_BY_INSTANCE_LIMIT DDS_REJECTED_BY_INSTANCES_LIMIT
279 #define DDS_SampleRejectedStatus_INITIALIZER \
280 { 0L, 0L, DDS_NOT_REJECTED,DDS_HANDLE_NIL_NATIVE }
327 #define DDS_DataReaderInstanceReplacedStatus_INITIALIZER \
328 { 0L, 0L, DDS_HANDLE_NIL_NATIVE, \
329 DDS_HANDLE_NIL_NATIVE, DDS_HANDLE_NIL_NATIVE, 0L }
372 #define DDS_SubscriptionMatchedStatus_INITIALIZER \
373 { 0L, 0L, 0L, 0L, DDS_HANDLE_NIL_NATIVE}
392 DDS_RequestedDeadlineMissedStatus_initialize(
404 DDS_RequestedIncompatibleQosStatus_initialize(
429 DDS_SampleRejectedStatus_initialize(
441 DDS_SubscriptionMatchedStatus_initialize(
453 DDS_LivelinessChangedStatus_initialize(
465 DDS_DataReaderInstanceReplacedStatus_initialize(
612 #if DDS_INCLUDE_SAMPLE_INFO_RANKS
615 DDS_Byte disposed_generation_count;
619 DDS_Byte no_writers_generation_count;
623 DDS_Byte sample_rank;
627 DDS_Byte generation_rank;
631 DDS_Byte absolute_generation_rank;
655 #if DDS_INCLUDE_SAMPLE_INFO_RANKS
656 #define DDS_SampleInfo_INITIALIZE_RANKS 0,0,0,0,0,
658 #define DDS_SampleInfo_INITIALIZE_RANKS
664 #define DDS_SampleInfo_INITIALIZER \
666 DDS_NOT_READ_SAMPLE_STATE,\
668 DDS_ALIVE_INSTANCE_STATE,\
669 {0,0},DDS_HANDLE_NIL_NATIVE,\
670 DDS_HANDLE_NIL_NATIVE, \
671 DDS_SampleInfo_INITIALIZE_RANKS \
673 REDA_SEQUENCE_NUMBER_ZERO,\
674 REDA_SEQUENCE_NUMBER_ZERO,\
682 #define T struct DDS_SampleInfo
683 #define TSeq DDS_SampleInfoSeq
684 #define REDA_SEQUENCE_API REDA_SEQUENCE_API_FULL
685 #include <reda/reda_sequence_decl.h>
691 #ifdef DOXYGEN_DOCUMENTATION_ONLY
760 #define DDS_SampleLostStatus_INITIALIZER \
762 0L, 0L,DDS_SAMPLE_LOST_NOT_LOST,DDS_SampleInfo_INITIALIZER \
783 struct DDS_DataReaderData
835 struct DDS_TypeSupportQosPolicy type_support;
851 struct RTI_ManagementQosPolicy management;
855 struct DDS_DataReaderData *data;
899 #define DDS_DataReaderQos_INITIALIZER { \
900 DDS_DEADLINE_QOS_POLICY_DEFAULT, \
901 DDS_LIVELINESS_QOS_POLICY_DEFAULT, \
902 DDS_HISTORY_QOS_POLICY_DEFAULT, \
903 DDS_RESOURCE_LIMITS_QOS_POLICY_DEFAULT, \
904 DDS_OWNERSHIP_QOS_POLICY_DEFAULT, \
905 DDS_RELIABILITY_QOS_POLICY_DEFAULT, \
906 DDS_DURABILITY_QOS_POLICY_DEFAULT, \
907 DDS_DESTINATION_ORDER_QOS_POLICY_DEFAULT, \
908 DDS_TYPESUPPORT_QOS_POLICY_DEFAULT, \
909 DDS_DATA_READER_PROTOCOL_QOS_POLICY_DEFAULT, \
910 DDS_TRANSPORT_QOS_POLICY_DEFAULT, \
911 DDS_DATAREADERRESOURCE_LIMITS_QOS_POLICY_DEFAULT, \
912 RTI_MANAGEMENT_QOS_POLICY_DEFAULT, \
934 struct RTI_ManagementQosPolicy management;
978 #define DDS_SubscriberQos_INITIALIZER { \
979 DDS_ENTITY_FACTORY_QOS_POLICY_DEFAULT, \
980 RTI_MANAGEMENT_QOS_POLICY_DEFAULT \
1000 void *listener_data,
1009 void *listener_data,
1017 void *listener_data,
1025 void *listener_data,
1033 void *listener_data,
1040 void *listener_data,
1048 void *listener_data,
1056 void *listener_data,
1060 #if DOXYGEN_DOCUMENTATION_ONLY
1065 void *listener_data,
1068 struct CDR_Stream_t *stream,
1072 FUNCTION_MUST_TYPEDEF(
1075 void *listener_data,
1078 struct CDR_Stream_t *stream,
1083 #if DOXYGEN_DOCUMENTATION_ONLY
1088 void *listener_data,
1090 const void *
const sample,
1094 FUNCTION_MUST_TYPEDEF(
1097 void *listener_data,
1099 const void *
const sample,
1170 #define DDS_DataReaderListener_INITIALIZER \
1172 DDS_Listener_INITIALIZER, \
1173 (DDS_DataReaderListener_RequestedDeadlineMissedCallback)NULL, \
1174 (DDS_DataReaderListener_RequestedIncompatibleQosCallback)NULL, \
1175 (DDS_DataReaderListener_SampleRejectedCallback)NULL, \
1176 (DDS_DataReaderListener_LivelinessChangedCallback)NULL, \
1177 (DDS_DataReaderListener_DataAvailableCallback)NULL, \
1178 (DDS_DataReaderListener_SubscriptionMatchedCallback)NULL, \
1179 (DDS_DataReaderListener_SampleLostCallback)NULL,\
1180 (DDS_DataReaderListener_BeforeSampleDeserializeCallback)NULL,\
1181 (DDS_DataReaderListener_BeforeSampleCommitCallback)NULL,\
1182 (DDS_DataReaderListener_InstanceReplacedCallback)NULL\
1217 #define DDS_SubscriberListener_INITIALIZER \
1218 { DDS_DataReaderListener_INITIALIZER, \
1219 (DDS_SubscriberListener_DataOnReadersCallback)NULL }
1236 #define DDS_Subscriber_as_entity(subscriberPtr) \
1237 ((DDS_Entity*) subscriberPtr)
1240 #ifdef DOXYGEN_DOCUMENTATION_ONLY
1307 const char *topic_name);
1356 #define DDS_DataReader_as_entity(dataReaderPtr) \
1357 ((DDS_Entity*) dataReaderPtr)
1360 #ifdef DOXYGEN_DOCUMENTATION_ONLY
1374 #if INCLUDE_API_LOOKUP
1380 struct DDS_InstanceHandleSeq *publication_handles);
1385 #if INCLUDE_API_LOOKUP
1533 #define DDS_UntypedSampleSeq REDA_Sequence
1534 #define DDS_UntypedSampleSeq_initialize REDA_Sequence_initialize
1536 #define DDS_UntypedSampleSeq_finalize REDA_Sequence_finalize
1538 #define DDS_UntypedSampleSeq_get_maximum REDA_Sequence_get_maximum
1539 #define DDS_UntypedSampleSeq_set_maximum REDA_Sequence_set_maximum
1540 #define DDS_UntypedSampleSeq_get_length REDA_Sequence_get_length
1541 #define DDS_UntypedSampleSeq_set_length REDA_Sequence_set_length
1542 #define DDS_UntypedSampleSeq_get_reference REDA_Sequence_get_reference
1543 #define DDS_UntypedSampleSeq_copy REDA_Sequence_copy
1544 #define DDS_UntypedSampleSeq_is_equal REDA_Sequence_is_equal
1545 #define DDS_UntypedSampleSeq_loan_contiguous REDA_Sequence_loan_contiguous
1546 #define DDS_UntypedSampleSeq_loan_discontiguous REDA_Sequence_loan_discontiguous
1547 #define DDS_UntypedSampleSeq_unloan REDA_Sequence_unloan
1548 #define DDS_UntypedSampleSeq_has_ownership REDA_Sequence_has_ownership
1549 #define DDS_UntypedSampleSeq_get_contiguous_buffer REDA_Sequence_get_buffer
1550 #define DDS_UntypedSampleSeq_set_contiguous_buffer REDA_Sequence_set_buffer
1551 #define DDS_UntypedSampleSeq_has_discontiguous_buffer REDA_Sequence_has_discontiguous_buffer
1552 #define DDS_UntypedSampleSeq_get_token REDA_Sequence_get_token
1553 #define DDS_UntypedSampleSeq_set_token REDA_Sequence_set_token
1561 struct DDS_UntypedSampleSeq *received_data,
1573 struct DDS_UntypedSampleSeq *received_data,
1585 void *received_data,
1593 void *received_data,
1601 struct DDS_UntypedSampleSeq *received_data,
1614 struct DDS_UntypedSampleSeq *received_data,
1628 struct DDS_UntypedSampleSeq *received_data,
1635 const void *key_holder);
1670 struct NETIO_Address *src_writer,
1671 struct NETIO_Address *from_address);
1692 struct NETIO_Address *src_writer,
1693 struct NETIO_Address *from_address);
1703 RTI_BOOL *route_existed);
1710 RTI_BOOL *route_existed);