RTI Connext DDS Micro  Version 2.4.8
 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 #ifdef RTI_CPP
101  public:
103  {
105  }
106 #endif
107 };
108 
109 #ifdef __cplusplus
110 extern "C"
111 {
112 #endif
113 
114 #define DPDE_DISCOVERY_INTERFACE_ID \
115  RT_MKINTERFACEID(RT_COMPONENT_CLASS_DISCOVERY,\
116  RT_COMPONENT_INSTANCE_DISCOVERY_DPDE)
117 
118 /*e \dref_DPDE_DiscoveryPluginProperty_INITIALIZER
119  */
120 #define DPDE_DiscoveryPluginProperty_INITIALIZER \
121 {\
122  RT_ComponentFactoryProperty_INITIALIZER,\
123  {30,0}, \
124  {100,0}, \
125  5, \
126  {1,0}, \
127  DDS_BOOLEAN_FALSE, \
128  DDS_LENGTH_AUTO,\
129  4,\
130  8\
131 }
132 
133 /* -------------------------------------------------------------------------- */
134 /* Plugin factory
135  */
136 /*ce \dref_DPDE_DiscoveryFactory_get_interface
137  */
138 MUST_CHECK_RETURN DISC_DPDEDllExport struct RT_ComponentFactoryI*
140 
141 #ifdef __cplusplus
142 } /* extern "C" */
143 #endif
144 
145 
146 #endif /* disc_dpde_discovery_plugin_h */

RTI Connext DDS Micro Version 2.4.8 Copyright © Tue Apr 12 2016 Real-Time Innovations, Inc