RTI Connext DDS Micro
Version 2.4.6
Main Page
Related Pages
Manuals
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
21
#include "
disc_dpde/disc_dpde_dll.h
"
22
#endif
23
#ifndef dds_c_discovery_plugin_h
24
#include "
dds_c/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
51
struct
DPDE_DiscoveryPluginProperty
;
52
53
/*ce \dref_DPDE_DiscoveryPluginProperty_initialize
54
*/
55
DISC_DPDEDllExport
DDS_ReturnCode_t
56
DPDE_DiscoveryPluginProperty_initialize
(
57
struct
DPDE_DiscoveryPluginProperty
*
self
);
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
/*e \dref_DPDE_DiscoveryPluginProperty
64
*/
65
struct
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
*/
79
DDS_Long
initial_participant_announcements
;
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
*/
87
DDS_Boolean
cache_serialized_samples
;
88
89
/*e \dref_DPDE_DiscoveryPluginProperty_max_participant_locators;
90
*/
91
DDS_Long
max_participant_locators
;
92
93
/*e \dref_DPDE_DiscoveryPluginProperty_max_locators_per_discovered_participant;
94
*/
95
DDS_Long
max_locators_per_discovered_participant
;
96
97
/*e \dref_DPDE_DiscoveryPluginProperty_max_samples_per_builtin_endpoint_reader;
98
*/
99
DDS_Long
max_samples_per_builtin_endpoint_reader
;
100
#ifdef RTI_CPP
101
public
:
\
102
DPDE_DiscoveryPluginProperty
()
103
{
104
DPDE_DiscoveryPluginProperty_initialize
(
this
);
105
}
106
~
DPDE_DiscoveryPluginProperty
() { }
107
private
:
\
108
DPDE_DiscoveryPluginProperty
(
109
const
struct
DPDE_DiscoveryPluginProperty
& from )
110
{
111
UNUSED_ARG(from);
112
}
113
struct
DPDE_DiscoveryPluginProperty
& operator=(
114
const
struct
DPDE_DiscoveryPluginProperty
& from )
115
{
116
UNUSED_ARG(from);
117
return
*
this
;
118
}
119
bool
operator==(
120
const
struct
DPDE_DiscoveryPluginProperty
& other)
121
{
122
UNUSED_ARG(other);
123
return
false
;
124
}
125
bool
operator!=(
126
const
struct
DPDE_DiscoveryPluginProperty
& other)
127
{
128
UNUSED_ARG(other);
129
return
false
;
130
}
131
#endif
132
};
133
134
#ifdef __cplusplus
135
extern
"C"
136
{
137
#endif
138
139
#define DPDE_DISCOVERY_INTERFACE_ID \
140
RT_MKINTERFACEID(RT_COMPONENT_CLASS_DISCOVERY,\
141
RT_COMPONENT_INSTANCE_DISCOVERY_DPDE)
142
143
/*e \dref_DPDE_DiscoveryPluginProperty_INITIALIZER
144
*/
145
#define DPDE_DiscoveryPluginProperty_INITIALIZER \
146
{\
147
RT_ComponentFactoryProperty_INITIALIZER,\
148
{30,0}, \
149
{100,0}, \
150
5, \
151
{1,0}, \
152
DDS_BOOLEAN_FALSE, \
153
DDS_LENGTH_AUTO,\
154
4,\
155
8\
156
}
157
158
/* -------------------------------------------------------------------------- */
159
/* Plugin factory
160
*/
161
/*ce \dref_DPDE_DiscoveryFactory_get_interface
162
*/
163
MUST_CHECK_RETURN DISC_DPDEDllExport
struct
RT_ComponentFactoryI*
164
DPDE_DiscoveryFactory_get_interface
(
void
);
165
166
#ifdef __cplusplus
167
}
/* extern "C" */
168
#endif
169
170
171
#endif
/* disc_dpde_discovery_plugin_h */
RTI Connext DDS Micro Version 2.4.6
Copyright © Mon Jan 25 2016
Real-Time Innovations, Inc