9#ifndef clouddiscoveryservice_infrastructure_h
10#define clouddiscoveryservice_infrastructure_h
14 #include "clouddiscoveryservice/clouddiscoveryservice_dll.h"
17 #include "ndds/ndds_c.h"
19#ifndef core_version_version_h
20 #include "core_version/core_version_version.h"
32#define RTI_CDS_VARIABLE_LENGTH_VALUE_TYPE_SUPPORT(T) \
34 CDSDllExport void T##_initialize(struct T *self); \
35 CDSDllExport void T##_finalize(struct T *self); \
36 CDSDllExport struct T *T##_copy(struct T *self, const struct T *from)
38#define RTI_CDS_VARIABLE_LENGTH_VALUE_TYPE_SUPPORT_W_ERROR_CHECKING(T) \
40 CDSDllExport RTIBool T##_initialize(struct T *self); \
41 CDSDllExport void T##_finalize(struct T *self); \
42 CDSDllExport RTIBool T##_copy(struct T *self, const struct T *from)
50#define RTI_CDS_DomainListProperty_INITIALIZER \
55#define RTI_CDS_DOMAIN_LIST_PROPERTY_ALL_VALUE ("DOMAIN_LIST_ALL")
56#define RTI_CDS_DOMAIN_LIST_PROPERTY_EMPTY_VALUE ("")
58RTI_CDS_VARIABLE_LENGTH_VALUE_TYPE_SUPPORT(RTI_CDS_DomainListProperty);
60struct RTI_CDS_DomainListProperty {
67 char *allow_domain_ids;
75 char *deny_domain_ids;
78#define RTI_CDS_TRANSPORT_UNICAST_PROPERTY_ALIAS_LENGTH_MAX (128)
80#define RTI_CDS_TRANSPORT_SELECTION_LENGTH_MAX (8)
82#define RTI_CDS_TransportUnicastProperty_INITIALIZER \
92#define RTI_CDS_TransportSelectionProperty_INITIALIZER \
94 { RTI_CDS_TransportUnicastProperty_INITIALIZER }, 0 \
97RTI_CDS_VARIABLE_LENGTH_VALUE_TYPE_SUPPORT(RTI_CDS_TransportSelectionProperty);
99struct RTI_CDS_TransportUnicastProperty {
103 char alias[RTI_CDS_TRANSPORT_UNICAST_PROPERTY_ALIAS_LENGTH_MAX + 1];
110struct RTI_CDS_TransportSelectionProperty {
114 struct RTI_CDS_TransportUnicastProperty
115 transports[RTI_CDS_TRANSPORT_SELECTION_LENGTH_MAX];
122#define RTI_CDS_FLOW_CONTROLLER_JOBS_UNLIMITED (0)
123#define RTI_CDS_FlowControllerProperty_INITIALIZER \
125 RTI_CDS_FLOW_CONTROLLER_JOBS_UNLIMITED, 0, { 0, 0, 0 }, \
126 DDS_DURATION_INFINITE_VALUE \
129RTI_CDS_VARIABLE_LENGTH_VALUE_TYPE_SUPPORT(RTI_CDS_FlowControllerProperty);
132 RTI_CDS_NEW_ANNOUNCEMENT_FLOW_CONTROLLER_OUTPUT_SLOT,
133 RTI_CDS_UPDATE_ANNOUNCEMENT_FLOW_CONTROLLER_OUTPUT_SLOT,
134 RTI_CDS_REFRESH_ANNOUNCEMENT_FLOW_CONTROLLER_OUTPUT_SLOT,
135 RTI_CDS_FlowControllerOutputSlotKind_COUNT
136} RTI_CDS_FlowControllerOutputSlotKind;
138struct RTI_CDS_FlowControllerProperty {
139 RTI_UINT64 output_jobs_per_second;
140 RTI_UINT64 max_burst_jobs;
141 RTI_INT32 output_slot_capacity_allocation
142 [RTI_CDS_FlowControllerOutputSlotKind_COUNT];
143 struct DDS_Duration_t flush_period;
153 DDS_UnsignedLong new_or_change_participant_announcements;
155 struct DDS_Duration_t min_new_or_change_participant_announcements_period;
157 struct DDS_Duration_t max_new_or_change_participant_announcements_period;
160#define RTI_CDS_ForwarderEventProperty_INITIALIZER \
Data structure to configure the forwarder resend event mechanism. It allows CDS to resend a new or up...
Definition: clouddiscoveryservice_infrastructure.h:151