RTI Connext DDS Micro  Version 2.4.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
disc_dpde_discovery_plugin.h
1 /*
2 
3  (c) Copyright 2008-2015 Real-Time Innovations
4  All rights reserved.
5  No duplications, whole or partial, manual or electronic, may be made
6  without express written permission. Any such copies, or
7  revisions thereof, must display this notice unaltered.
8  This code contains trade secrets of Real-Time Innovations, Inc.
9 
10 modification history
11 ------------ -------
12 1.0b,09sep12,tk Updated
13 1.0a,09sep08,tk Created
14 =========================================================================*/
15 
16 #ifndef disc_dpde_discovery_plugin_h
17 #define disc_dpde_discovery_plugin_h
18 
19 
20 #ifndef disc_dpde_dll_h
22 #endif
23 #ifndef dds_c_discovery_plugin_h
25 #endif
26 
27 struct DPDE_DiscoveryPlugin;
28 typedef struct DPDE_DiscoveryPlugin DPDE_DiscoveryPlugin_T;
29 
30 /*i \file
31  \brief Dynamic Participant/Static Endpoint Discovery Plugin.
32 */
33 
34 /*i \ingroup DPDEModule
35  \brief Dynamic Participant Dynamic Endpoint Discovery Plugin
36 
37  The Plugin APIs are used to configure and instantiate the RTI
38  Connext Micro Dynamic Participant Dynamic Endpoint Discovery Plugin.
39 */
40 
41 /*i \ingroup DPDEModule
42 
43  \brief Properties structure to tune the workings of the DPDE Discovery Plugin.
44 */
45 
46 #ifdef __cplusplus
47 extern "C"
48 {
49 #endif
50 
52 
53 /*ce \dref_DPDE_DiscoveryPluginProperty_initialize
54 */
55 DISC_DPDEDllExport DDS_ReturnCode_t
57  struct DPDE_DiscoveryPluginProperty* self);
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 /*e \dref_DPDE_DiscoveryPluginProperty
64 */
65 struct DDSCPPDllExport DPDE_DiscoveryPluginProperty
66 {
67  struct RT_ComponentFactoryProperty _parent;
68 
69  /*e \dref_DPDE_DiscoveryPluginProperty_participant_liveliness_assert_period
70  */
71  struct DDS_Duration_t participant_liveliness_assert_period;
72 
73  /*e \dref_DPDE_DiscoveryPluginProperty_participant_liveliness_lease_duration
74  */
75  struct DDS_Duration_t participant_liveliness_lease_duration;
76 
77  /*e \dref_DPDE_DiscoveryPluginProperty_initial_participant_announcements
78  */
80 
81  /*e \dref_DPDE_DiscoveryPluginProperty_initial_participant_announcement_period
82  */
83  struct DDS_Duration_t initial_participant_announcement_period;
84 
85  /*e \dref_DPDE_DiscoveryPluginProperty_cache_serialized_samples;
86  */
88 
89  /*e \dref_DPDE_DiscoveryPluginProperty_max_participant_locators;
90  */
92 
93  /*e \dref_DPDE_DiscoveryPluginProperty_max_locators_per_discovered_participant;
94  */
96 
97  /*e \dref_DPDE_DiscoveryPluginProperty_max_samples_per_builtin_endpoint_reader;
98  */
100 
101  /*e \dref_DPDE_DiscoveryPluginProperty_builtin_writer_max_heartbeat_retries;
102  */
104 
105  /*e \dref_DPDE_DiscoveryPluginProperty_builtin_writer_heartbeat_period;
106  */
107  struct DDS_Duration_t builtin_writer_heartbeat_period;
108 
109  /*e \dref_DPDE_DiscoveryPluginProperty_builtin_writer_heartbeats_per_max_samples;
110  */
112 
113 #ifdef RTI_CPP
114  public:
116  {
118  }
119 #endif
120 };
121 
122 #ifdef __cplusplus
123 extern "C"
124 {
125 #endif
126 
127 #define DPDE_DISCOVERY_INTERFACE_ID \
128  RT_MKINTERFACEID(RT_COMPONENT_CLASS_DISCOVERY,\
129  RT_COMPONENT_INSTANCE_DISCOVERY_DPDE)
130 
131 /*e \dref_DPDE_DiscoveryPluginProperty_INITIALIZER
132  */
133 #define DPDE_DiscoveryPluginProperty_INITIALIZER \
134 {\
135  RT_ComponentFactoryProperty_INITIALIZER,\
136  {30,0}, \
137  {100,0}, \
138  5, \
139  {1,0}, \
140  DDS_BOOLEAN_FALSE, \
141  DDS_LENGTH_AUTO,\
142  4,\
143  8,\
144  DDS_LENGTH_UNLIMITED,\
145  {0,100000000},\
146  DDS_LENGTH_UNLIMITED,\
147 }
148 
149 /* -------------------------------------------------------------------------- */
150 /* Plugin factory
151  */
152 /*ce \dref_DPDE_DiscoveryFactory_get_interface
153  */
154 MUST_CHECK_RETURN DISC_DPDEDllExport struct RT_ComponentFactoryI*
156 
157 /*ce \dref_DPDE_DiscoveryFactory_get_version
158  */
159 #ifndef RTI_CERT
160 DISC_DPDEDllExport const char*
162 #endif
163 
164 #ifdef __cplusplus
165 } /* extern "C" */
166 #endif
167 
168 
169 #endif /* disc_dpde_discovery_plugin_h */

RTI Connext DDS Micro Version 2.4.10 Copyright © Fri Jun 30 2017 Real-Time Innovations, Inc