25 #ifndef dds_c_discovery_h
26 #define dds_c_discovery_h
31 #ifndef dds_c_infrastructure_h
34 #ifndef dds_c_domain_h
46 #define DDS_BUILTIN_ENDPOINT_PARTICIPANT_ANNOUNCER 0x00000001 << 0
47 #define DDS_BUILTIN_ENDPOINT_PARTICIPANT_DETECTOR 0x00000001 << 1
48 #define DDS_BUILTIN_ENDPOINT_PUBLICATION_ANNOUNCER 0x00000001 << 2
49 #define DDS_BUILTIN_ENDPOINT_PUBLICATION_DETECTOR 0x00000001 << 3
50 #define DDS_BUILTIN_ENDPOINT_SUBSCRIPTION_ANNOUNCER 0x00000001 << 4
51 #define DDS_BUILTIN_ENDPOINT_SUBSCRIPTION_DETECTOR 0x00000001 << 5
53 #define DDSC_PARTICIPANT_ADDRESS_COUNT_MAX RTPS_PID_USERDATA_IPADDRESS_COUNT_MAX
63 #define DDS_BUILTIN_TOPIC_KEY_OBJECT_ID 3
74 DDS_ObjectId_is_builtin(
DDS_Long oid);
141 #define DDS_ParticipantBuiltinTopicData_INITIALIZER { \
142 DDS_BuiltinTopicKey_t_INITIALIZER, \
143 DDS_ENTITY_NAME_QOS_POLICY_DEFAULT, \
145 DDS_PROTOCOL_VERSION_DEFAULT, \
146 DDS_VENDOR_ID_DEFAULT, \
147 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator), \
148 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator), \
149 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator), \
150 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator), \
152 DDS_PRODUCTVERSION_UNKNOWN }
154 #define T struct DDS_ParticipantBuiltinTopicData
155 #define TSeq DDS_ParticipantBuiltinTopicDataSeq
156 #include <reda/reda_sequence_decl.h>
158 #define DDS_ParticipantBuiltinTopicDataSeq_INITIALIZER \
159 DDS_SEQUENCE_INITIALIZER(struct DDS_ParticipantBuiltinTopicData)
222 #define DDS_PublicationBuiltinTopicData_INITIALIZER { \
223 DDS_BuiltinTopicKey_t_INITIALIZER, \
224 DDS_BuiltinTopicKey_t_INITIALIZER, \
227 DDS_DEADLINE_QOS_POLICY_DEFAULT, \
228 DDS_OWNERSHIP_QOS_POLICY_DEFAULT,\
229 DDS_OWNERSHIP_STRENGTH_QOS_POLICY_DEFAULT, \
230 DDS_RELIABILITY_QOS_POLICY_DEFAULT,\
231 DDS_LIVELINESS_QOS_POLICY_DEFAULT, \
232 DDS_DURABILITY_QOS_POLICY_DEFAULT, \
233 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator),\
237 #define T struct DDS_PublicationBuiltinTopicData
238 #define TSeq DDS_PublicationBuiltinTopicDataSeq
239 #include <reda/reda_sequence_decl.h>
241 #define DDS_PublicationBuiltinTopicDataSeq_INITIALIZER \
242 DDS_SEQUENCE_INITIALIZER(struct DDS_PublicationBuiltinTopicData)
301 #define DDS_SubscriptionBuiltinTopicData_INITIALIZER { \
302 DDS_BuiltinTopicKey_t_INITIALIZER, \
303 DDS_BuiltinTopicKey_t_INITIALIZER, \
306 DDS_DEADLINE_QOS_POLICY_DEFAULT, \
307 DDS_OWNERSHIP_QOS_POLICY_DEFAULT ,\
308 DDS_RELIABILITY_QOS_POLICY_DEFAULT,\
309 DDS_LIVELINESS_QOS_POLICY_DEFAULT, \
310 DDS_DURABILITY_QOS_POLICY_DEFAULT, \
311 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator),\
312 DDS_SEQUENCE_INITIALIZER(struct DDS_Locator)\
315 #define T struct DDS_SubscriptionBuiltinTopicData
316 #define TSeq DDS_SubscriptionBuiltinTopicDataSeq
317 #include <reda/reda_sequence_decl.h>
319 #define DDS_SubscriptionBuiltinTopicDataSeq_INITIALIZER \
320 DDS_SEQUENCE_INITIALIZER(struct DDS_SubscriptionBuiltinTopicData)
322 struct NDDS_RemoteEntityImpl;
323 typedef struct NDDS_RemoteEntityImpl NDDS_RemoteEntity;
324 struct DDS_RemotePublicationImpl;
325 typedef struct DDS_RemotePublicationImpl DDS_RemotePublication;
326 typedef struct DDS_RemoteSubscriptionImpl DDS_RemoteSubscription;
327 typedef struct DDS_RemoteParticipantImpl DDS_RemoteParticipant;
332 NDDS_DomainParticipant_assert_remote_participant(
340 NDDS_DomainParticipant_refresh_remote_participant_liveliness(
347 NDDS_DomainParticipant_reset_remote_participant(
355 NDDS_DomainParticipant_remove_remote_participant(
363 NDDS_DomainParticipant_enable_remote_participant_name(
370 NDDS_DomainParticipant_enable_remote_participant_guid(
377 NDDS_DomainParticipant_assert_remote_publication(
379 const char *
const participant_name,
387 NDDS_DomainParticipant_remove_remote_publication(
395 NDDS_DomainParticipant_assert_remote_subscription(
397 const char *
const participant_name,
405 NDDS_DomainParticipant_remove_remote_subscription(