Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
2 |
|
|
#ifndef __affordance_hh__ |
3 |
|
|
#define __affordance_hh__ |
4 |
|
|
|
5 |
|
|
#ifndef __CORBA_H_EXTERNAL_GUARD__ |
6 |
|
|
#include <omniORB4/CORBA.h> |
7 |
|
|
#endif |
8 |
|
|
|
9 |
|
|
#ifndef USE_stub_in_nt_dll |
10 |
|
|
# define USE_stub_in_nt_dll_NOT_DEFINED_affordance |
11 |
|
|
#endif |
12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_affordance |
14 |
|
|
#endif |
15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_affordance |
17 |
|
|
#endif |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
#ifndef __common_hh_EXTERNAL_GUARD__ |
22 |
|
|
#define __common_hh_EXTERNAL_GUARD__ |
23 |
|
|
#include <hpp/common-idl.hh> |
24 |
|
|
#endif |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
#ifdef USE_stub_in_nt_dll |
29 |
|
|
# ifndef USE_core_stub_in_nt_dll |
30 |
|
|
# define USE_core_stub_in_nt_dll |
31 |
|
|
# endif |
32 |
|
|
# ifndef USE_dyn_stub_in_nt_dll |
33 |
|
|
# define USE_dyn_stub_in_nt_dll |
34 |
|
|
# endif |
35 |
|
|
#endif |
36 |
|
|
|
37 |
|
|
#ifdef _core_attr |
38 |
|
|
# error "A local CPP macro _core_attr has already been defined." |
39 |
|
|
#else |
40 |
|
|
# ifdef USE_core_stub_in_nt_dll |
41 |
|
|
# define _core_attr _OMNIORB_NTDLL_IMPORT |
42 |
|
|
# else |
43 |
|
|
# define _core_attr |
44 |
|
|
# endif |
45 |
|
|
#endif |
46 |
|
|
|
47 |
|
|
#ifdef _dyn_attr |
48 |
|
|
# error "A local CPP macro _dyn_attr has already been defined." |
49 |
|
|
#else |
50 |
|
|
# ifdef USE_dyn_stub_in_nt_dll |
51 |
|
|
# define _dyn_attr _OMNIORB_NTDLL_IMPORT |
52 |
|
|
# else |
53 |
|
|
# define _dyn_attr |
54 |
|
|
# endif |
55 |
|
|
#endif |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
_CORBA_MODULE hpp |
60 |
|
|
|
61 |
|
|
_CORBA_MODULE_BEG |
62 |
|
|
|
63 |
|
|
class doubleSeq_var; |
64 |
|
|
|
65 |
|
|
class doubleSeq : public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > { |
66 |
|
|
public: |
67 |
|
|
typedef doubleSeq_var _var_type; |
68 |
|
✗ |
inline doubleSeq() {} |
69 |
|
|
inline doubleSeq(const doubleSeq& _s) |
70 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_s) {} |
71 |
|
|
|
72 |
|
|
inline doubleSeq(_CORBA_ULong _max) |
73 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max) {} |
74 |
|
|
inline doubleSeq(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Double* _val, _CORBA_Boolean _rel=0) |
75 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max, _len, _val, _rel) {} |
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
✗ |
inline doubleSeq& operator = (const doubleSeq& _s) { |
80 |
|
✗ |
_CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > ::operator=(_s); |
81 |
|
✗ |
return *this; |
82 |
|
|
} |
83 |
|
|
}; |
84 |
|
|
|
85 |
|
|
class doubleSeq_out; |
86 |
|
|
|
87 |
|
|
class doubleSeq_var { |
88 |
|
|
public: |
89 |
|
✗ |
inline doubleSeq_var() : _pd_seq(0) {} |
90 |
|
|
inline doubleSeq_var(doubleSeq* _s) : _pd_seq(_s) {} |
91 |
|
|
inline doubleSeq_var(const doubleSeq_var& _s) { |
92 |
|
|
if (_s._pd_seq) _pd_seq = new doubleSeq(*_s._pd_seq); |
93 |
|
|
else _pd_seq = 0; |
94 |
|
|
} |
95 |
|
✗ |
inline ~doubleSeq_var() { if (_pd_seq) delete _pd_seq; } |
96 |
|
|
|
97 |
|
✗ |
inline doubleSeq_var& operator = (doubleSeq* _s) { |
98 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
99 |
|
✗ |
_pd_seq = _s; |
100 |
|
✗ |
return *this; |
101 |
|
|
} |
102 |
|
|
inline doubleSeq_var& operator = (const doubleSeq_var& _s) { |
103 |
|
|
if (&_s != this) { |
104 |
|
|
if (_s._pd_seq) { |
105 |
|
|
if (!_pd_seq) _pd_seq = new doubleSeq; |
106 |
|
|
*_pd_seq = *_s._pd_seq; |
107 |
|
|
} |
108 |
|
|
else if (_pd_seq) { |
109 |
|
|
delete _pd_seq; |
110 |
|
|
_pd_seq = 0; |
111 |
|
|
} |
112 |
|
|
} |
113 |
|
|
return *this; |
114 |
|
|
} |
115 |
|
|
inline ::CORBA::Double& operator [] (_CORBA_ULong _s) { |
116 |
|
|
return (*_pd_seq)[_s]; |
117 |
|
|
} |
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
inline doubleSeq* operator -> () { return _pd_seq; } |
122 |
|
|
inline const doubleSeq* operator -> () const { return _pd_seq; } |
123 |
|
|
#if defined(__GNUG__) |
124 |
|
✗ |
inline operator doubleSeq& () const { return *_pd_seq; } |
125 |
|
|
#else |
126 |
|
|
inline operator const doubleSeq& () const { return *_pd_seq; } |
127 |
|
|
inline operator doubleSeq& () { return *_pd_seq; } |
128 |
|
|
#endif |
129 |
|
|
|
130 |
|
✗ |
inline const doubleSeq& in() const { return *_pd_seq; } |
131 |
|
|
inline doubleSeq& inout() { return *_pd_seq; } |
132 |
|
|
inline doubleSeq*& out() { |
133 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
134 |
|
|
return _pd_seq; |
135 |
|
|
} |
136 |
|
✗ |
inline doubleSeq* _retn() { doubleSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
137 |
|
|
|
138 |
|
|
friend class doubleSeq_out; |
139 |
|
|
|
140 |
|
|
private: |
141 |
|
|
doubleSeq* _pd_seq; |
142 |
|
|
}; |
143 |
|
|
|
144 |
|
|
class doubleSeq_out { |
145 |
|
|
public: |
146 |
|
|
inline doubleSeq_out(doubleSeq*& _s) : _data(_s) { _data = 0; } |
147 |
|
|
inline doubleSeq_out(doubleSeq_var& _s) |
148 |
|
|
: _data(_s._pd_seq) { _s = (doubleSeq*) 0; } |
149 |
|
|
inline doubleSeq_out(const doubleSeq_out& _s) : _data(_s._data) {} |
150 |
|
|
inline doubleSeq_out& operator = (const doubleSeq_out& _s) { |
151 |
|
|
_data = _s._data; |
152 |
|
|
return *this; |
153 |
|
|
} |
154 |
|
|
inline doubleSeq_out& operator = (doubleSeq* _s) { |
155 |
|
|
_data = _s; |
156 |
|
|
return *this; |
157 |
|
|
} |
158 |
|
|
inline operator doubleSeq*&() { return _data; } |
159 |
|
|
inline doubleSeq*& ptr() { return _data; } |
160 |
|
|
inline doubleSeq* operator->() { return _data; } |
161 |
|
|
|
162 |
|
|
inline ::CORBA::Double& operator [] (_CORBA_ULong _i) { |
163 |
|
|
return (*_data)[_i]; |
164 |
|
|
} |
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
doubleSeq*& _data; |
169 |
|
|
|
170 |
|
|
private: |
171 |
|
|
doubleSeq_out(); |
172 |
|
|
doubleSeq_out& operator=(const doubleSeq_var&); |
173 |
|
|
}; |
174 |
|
|
|
175 |
|
|
class doubleSeqSeq_var; |
176 |
|
|
|
177 |
|
|
class doubleSeqSeq : public _CORBA_Unbounded_Sequence< doubleSeq > { |
178 |
|
|
public: |
179 |
|
|
typedef doubleSeqSeq_var _var_type; |
180 |
|
✗ |
inline doubleSeqSeq() {} |
181 |
|
|
inline doubleSeqSeq(const doubleSeqSeq& _s) |
182 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeq > (_s) {} |
183 |
|
|
|
184 |
|
|
inline doubleSeqSeq(_CORBA_ULong _max) |
185 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeq > (_max) {} |
186 |
|
|
inline doubleSeqSeq(_CORBA_ULong _max, _CORBA_ULong _len, doubleSeq* _val, _CORBA_Boolean _rel=0) |
187 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeq > (_max, _len, _val, _rel) {} |
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
✗ |
inline doubleSeqSeq& operator = (const doubleSeqSeq& _s) { |
192 |
|
✗ |
_CORBA_Unbounded_Sequence< doubleSeq > ::operator=(_s); |
193 |
|
✗ |
return *this; |
194 |
|
|
} |
195 |
|
|
}; |
196 |
|
|
|
197 |
|
|
class doubleSeqSeq_out; |
198 |
|
|
|
199 |
|
|
class doubleSeqSeq_var { |
200 |
|
|
public: |
201 |
|
|
inline doubleSeqSeq_var() : _pd_seq(0) {} |
202 |
|
|
inline doubleSeqSeq_var(doubleSeqSeq* _s) : _pd_seq(_s) {} |
203 |
|
|
inline doubleSeqSeq_var(const doubleSeqSeq_var& _s) { |
204 |
|
|
if (_s._pd_seq) _pd_seq = new doubleSeqSeq(*_s._pd_seq); |
205 |
|
|
else _pd_seq = 0; |
206 |
|
|
} |
207 |
|
|
inline ~doubleSeqSeq_var() { if (_pd_seq) delete _pd_seq; } |
208 |
|
|
|
209 |
|
|
inline doubleSeqSeq_var& operator = (doubleSeqSeq* _s) { |
210 |
|
|
if (_pd_seq) delete _pd_seq; |
211 |
|
|
_pd_seq = _s; |
212 |
|
|
return *this; |
213 |
|
|
} |
214 |
|
|
inline doubleSeqSeq_var& operator = (const doubleSeqSeq_var& _s) { |
215 |
|
|
if (&_s != this) { |
216 |
|
|
if (_s._pd_seq) { |
217 |
|
|
if (!_pd_seq) _pd_seq = new doubleSeqSeq; |
218 |
|
|
*_pd_seq = *_s._pd_seq; |
219 |
|
|
} |
220 |
|
|
else if (_pd_seq) { |
221 |
|
|
delete _pd_seq; |
222 |
|
|
_pd_seq = 0; |
223 |
|
|
} |
224 |
|
|
} |
225 |
|
|
return *this; |
226 |
|
|
} |
227 |
|
|
inline doubleSeq& operator [] (_CORBA_ULong _s) { |
228 |
|
|
return (*_pd_seq)[_s]; |
229 |
|
|
} |
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
inline doubleSeqSeq* operator -> () { return _pd_seq; } |
234 |
|
|
inline const doubleSeqSeq* operator -> () const { return _pd_seq; } |
235 |
|
|
#if defined(__GNUG__) |
236 |
|
|
inline operator doubleSeqSeq& () const { return *_pd_seq; } |
237 |
|
|
#else |
238 |
|
|
inline operator const doubleSeqSeq& () const { return *_pd_seq; } |
239 |
|
|
inline operator doubleSeqSeq& () { return *_pd_seq; } |
240 |
|
|
#endif |
241 |
|
|
|
242 |
|
|
inline const doubleSeqSeq& in() const { return *_pd_seq; } |
243 |
|
|
inline doubleSeqSeq& inout() { return *_pd_seq; } |
244 |
|
|
inline doubleSeqSeq*& out() { |
245 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
246 |
|
|
return _pd_seq; |
247 |
|
|
} |
248 |
|
|
inline doubleSeqSeq* _retn() { doubleSeqSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
249 |
|
|
|
250 |
|
|
friend class doubleSeqSeq_out; |
251 |
|
|
|
252 |
|
|
private: |
253 |
|
|
doubleSeqSeq* _pd_seq; |
254 |
|
|
}; |
255 |
|
|
|
256 |
|
|
class doubleSeqSeq_out { |
257 |
|
|
public: |
258 |
|
|
inline doubleSeqSeq_out(doubleSeqSeq*& _s) : _data(_s) { _data = 0; } |
259 |
|
|
inline doubleSeqSeq_out(doubleSeqSeq_var& _s) |
260 |
|
|
: _data(_s._pd_seq) { _s = (doubleSeqSeq*) 0; } |
261 |
|
|
inline doubleSeqSeq_out(const doubleSeqSeq_out& _s) : _data(_s._data) {} |
262 |
|
|
inline doubleSeqSeq_out& operator = (const doubleSeqSeq_out& _s) { |
263 |
|
|
_data = _s._data; |
264 |
|
|
return *this; |
265 |
|
|
} |
266 |
|
|
inline doubleSeqSeq_out& operator = (doubleSeqSeq* _s) { |
267 |
|
|
_data = _s; |
268 |
|
|
return *this; |
269 |
|
|
} |
270 |
|
|
inline operator doubleSeqSeq*&() { return _data; } |
271 |
|
|
inline doubleSeqSeq*& ptr() { return _data; } |
272 |
|
|
inline doubleSeqSeq* operator->() { return _data; } |
273 |
|
|
|
274 |
|
|
inline doubleSeq& operator [] (_CORBA_ULong _i) { |
275 |
|
|
return (*_data)[_i]; |
276 |
|
|
} |
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
doubleSeqSeq*& _data; |
281 |
|
|
|
282 |
|
|
private: |
283 |
|
|
doubleSeqSeq_out(); |
284 |
|
|
doubleSeqSeq_out& operator=(const doubleSeqSeq_var&); |
285 |
|
|
}; |
286 |
|
|
|
287 |
|
|
class doubleSeqSeqSeq_var; |
288 |
|
|
|
289 |
|
|
class doubleSeqSeqSeq : public _CORBA_Unbounded_Sequence< doubleSeqSeq > { |
290 |
|
|
public: |
291 |
|
|
typedef doubleSeqSeqSeq_var _var_type; |
292 |
|
✗ |
inline doubleSeqSeqSeq() {} |
293 |
|
|
inline doubleSeqSeqSeq(const doubleSeqSeqSeq& _s) |
294 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeq > (_s) {} |
295 |
|
|
|
296 |
|
|
inline doubleSeqSeqSeq(_CORBA_ULong _max) |
297 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeq > (_max) {} |
298 |
|
|
inline doubleSeqSeqSeq(_CORBA_ULong _max, _CORBA_ULong _len, doubleSeqSeq* _val, _CORBA_Boolean _rel=0) |
299 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeq > (_max, _len, _val, _rel) {} |
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
✗ |
inline doubleSeqSeqSeq& operator = (const doubleSeqSeqSeq& _s) { |
304 |
|
✗ |
_CORBA_Unbounded_Sequence< doubleSeqSeq > ::operator=(_s); |
305 |
|
✗ |
return *this; |
306 |
|
|
} |
307 |
|
|
}; |
308 |
|
|
|
309 |
|
|
class doubleSeqSeqSeq_out; |
310 |
|
|
|
311 |
|
|
class doubleSeqSeqSeq_var { |
312 |
|
|
public: |
313 |
|
|
inline doubleSeqSeqSeq_var() : _pd_seq(0) {} |
314 |
|
|
inline doubleSeqSeqSeq_var(doubleSeqSeqSeq* _s) : _pd_seq(_s) {} |
315 |
|
|
inline doubleSeqSeqSeq_var(const doubleSeqSeqSeq_var& _s) { |
316 |
|
|
if (_s._pd_seq) _pd_seq = new doubleSeqSeqSeq(*_s._pd_seq); |
317 |
|
|
else _pd_seq = 0; |
318 |
|
|
} |
319 |
|
|
inline ~doubleSeqSeqSeq_var() { if (_pd_seq) delete _pd_seq; } |
320 |
|
|
|
321 |
|
|
inline doubleSeqSeqSeq_var& operator = (doubleSeqSeqSeq* _s) { |
322 |
|
|
if (_pd_seq) delete _pd_seq; |
323 |
|
|
_pd_seq = _s; |
324 |
|
|
return *this; |
325 |
|
|
} |
326 |
|
|
inline doubleSeqSeqSeq_var& operator = (const doubleSeqSeqSeq_var& _s) { |
327 |
|
|
if (&_s != this) { |
328 |
|
|
if (_s._pd_seq) { |
329 |
|
|
if (!_pd_seq) _pd_seq = new doubleSeqSeqSeq; |
330 |
|
|
*_pd_seq = *_s._pd_seq; |
331 |
|
|
} |
332 |
|
|
else if (_pd_seq) { |
333 |
|
|
delete _pd_seq; |
334 |
|
|
_pd_seq = 0; |
335 |
|
|
} |
336 |
|
|
} |
337 |
|
|
return *this; |
338 |
|
|
} |
339 |
|
|
inline doubleSeqSeq& operator [] (_CORBA_ULong _s) { |
340 |
|
|
return (*_pd_seq)[_s]; |
341 |
|
|
} |
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
inline doubleSeqSeqSeq* operator -> () { return _pd_seq; } |
346 |
|
|
inline const doubleSeqSeqSeq* operator -> () const { return _pd_seq; } |
347 |
|
|
#if defined(__GNUG__) |
348 |
|
|
inline operator doubleSeqSeqSeq& () const { return *_pd_seq; } |
349 |
|
|
#else |
350 |
|
|
inline operator const doubleSeqSeqSeq& () const { return *_pd_seq; } |
351 |
|
|
inline operator doubleSeqSeqSeq& () { return *_pd_seq; } |
352 |
|
|
#endif |
353 |
|
|
|
354 |
|
|
inline const doubleSeqSeqSeq& in() const { return *_pd_seq; } |
355 |
|
|
inline doubleSeqSeqSeq& inout() { return *_pd_seq; } |
356 |
|
|
inline doubleSeqSeqSeq*& out() { |
357 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
358 |
|
|
return _pd_seq; |
359 |
|
|
} |
360 |
|
|
inline doubleSeqSeqSeq* _retn() { doubleSeqSeqSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
361 |
|
|
|
362 |
|
|
friend class doubleSeqSeqSeq_out; |
363 |
|
|
|
364 |
|
|
private: |
365 |
|
|
doubleSeqSeqSeq* _pd_seq; |
366 |
|
|
}; |
367 |
|
|
|
368 |
|
|
class doubleSeqSeqSeq_out { |
369 |
|
|
public: |
370 |
|
|
inline doubleSeqSeqSeq_out(doubleSeqSeqSeq*& _s) : _data(_s) { _data = 0; } |
371 |
|
|
inline doubleSeqSeqSeq_out(doubleSeqSeqSeq_var& _s) |
372 |
|
|
: _data(_s._pd_seq) { _s = (doubleSeqSeqSeq*) 0; } |
373 |
|
|
inline doubleSeqSeqSeq_out(const doubleSeqSeqSeq_out& _s) : _data(_s._data) {} |
374 |
|
|
inline doubleSeqSeqSeq_out& operator = (const doubleSeqSeqSeq_out& _s) { |
375 |
|
|
_data = _s._data; |
376 |
|
|
return *this; |
377 |
|
|
} |
378 |
|
|
inline doubleSeqSeqSeq_out& operator = (doubleSeqSeqSeq* _s) { |
379 |
|
|
_data = _s; |
380 |
|
|
return *this; |
381 |
|
|
} |
382 |
|
|
inline operator doubleSeqSeqSeq*&() { return _data; } |
383 |
|
|
inline doubleSeqSeqSeq*& ptr() { return _data; } |
384 |
|
|
inline doubleSeqSeqSeq* operator->() { return _data; } |
385 |
|
|
|
386 |
|
|
inline doubleSeqSeq& operator [] (_CORBA_ULong _i) { |
387 |
|
|
return (*_data)[_i]; |
388 |
|
|
} |
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
doubleSeqSeqSeq*& _data; |
393 |
|
|
|
394 |
|
|
private: |
395 |
|
|
doubleSeqSeqSeq_out(); |
396 |
|
|
doubleSeqSeqSeq_out& operator=(const doubleSeqSeqSeq_var&); |
397 |
|
|
}; |
398 |
|
|
|
399 |
|
|
class doubleSeqSeqSeqSeq_var; |
400 |
|
|
|
401 |
|
|
class doubleSeqSeqSeqSeq : public _CORBA_Unbounded_Sequence< doubleSeqSeqSeq > { |
402 |
|
|
public: |
403 |
|
|
typedef doubleSeqSeqSeqSeq_var _var_type; |
404 |
|
✗ |
inline doubleSeqSeqSeqSeq() {} |
405 |
|
|
inline doubleSeqSeqSeqSeq(const doubleSeqSeqSeqSeq& _s) |
406 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeqSeq > (_s) {} |
407 |
|
|
|
408 |
|
|
inline doubleSeqSeqSeqSeq(_CORBA_ULong _max) |
409 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeqSeq > (_max) {} |
410 |
|
|
inline doubleSeqSeqSeqSeq(_CORBA_ULong _max, _CORBA_ULong _len, doubleSeqSeqSeq* _val, _CORBA_Boolean _rel=0) |
411 |
|
|
: _CORBA_Unbounded_Sequence< doubleSeqSeqSeq > (_max, _len, _val, _rel) {} |
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
inline doubleSeqSeqSeqSeq& operator = (const doubleSeqSeqSeqSeq& _s) { |
416 |
|
|
_CORBA_Unbounded_Sequence< doubleSeqSeqSeq > ::operator=(_s); |
417 |
|
|
return *this; |
418 |
|
|
} |
419 |
|
|
}; |
420 |
|
|
|
421 |
|
|
class doubleSeqSeqSeqSeq_out; |
422 |
|
|
|
423 |
|
|
class doubleSeqSeqSeqSeq_var { |
424 |
|
|
public: |
425 |
|
✗ |
inline doubleSeqSeqSeqSeq_var() : _pd_seq(0) {} |
426 |
|
|
inline doubleSeqSeqSeqSeq_var(doubleSeqSeqSeqSeq* _s) : _pd_seq(_s) {} |
427 |
|
|
inline doubleSeqSeqSeqSeq_var(const doubleSeqSeqSeqSeq_var& _s) { |
428 |
|
|
if (_s._pd_seq) _pd_seq = new doubleSeqSeqSeqSeq(*_s._pd_seq); |
429 |
|
|
else _pd_seq = 0; |
430 |
|
|
} |
431 |
|
✗ |
inline ~doubleSeqSeqSeqSeq_var() { if (_pd_seq) delete _pd_seq; } |
432 |
|
|
|
433 |
|
✗ |
inline doubleSeqSeqSeqSeq_var& operator = (doubleSeqSeqSeqSeq* _s) { |
434 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
435 |
|
✗ |
_pd_seq = _s; |
436 |
|
✗ |
return *this; |
437 |
|
|
} |
438 |
|
|
inline doubleSeqSeqSeqSeq_var& operator = (const doubleSeqSeqSeqSeq_var& _s) { |
439 |
|
|
if (&_s != this) { |
440 |
|
|
if (_s._pd_seq) { |
441 |
|
|
if (!_pd_seq) _pd_seq = new doubleSeqSeqSeqSeq; |
442 |
|
|
*_pd_seq = *_s._pd_seq; |
443 |
|
|
} |
444 |
|
|
else if (_pd_seq) { |
445 |
|
|
delete _pd_seq; |
446 |
|
|
_pd_seq = 0; |
447 |
|
|
} |
448 |
|
|
} |
449 |
|
|
return *this; |
450 |
|
|
} |
451 |
|
|
inline doubleSeqSeqSeq& operator [] (_CORBA_ULong _s) { |
452 |
|
|
return (*_pd_seq)[_s]; |
453 |
|
|
} |
454 |
|
|
|
455 |
|
|
|
456 |
|
|
|
457 |
|
|
inline doubleSeqSeqSeqSeq* operator -> () { return _pd_seq; } |
458 |
|
|
inline const doubleSeqSeqSeqSeq* operator -> () const { return _pd_seq; } |
459 |
|
|
#if defined(__GNUG__) |
460 |
|
✗ |
inline operator doubleSeqSeqSeqSeq& () const { return *_pd_seq; } |
461 |
|
|
#else |
462 |
|
|
inline operator const doubleSeqSeqSeqSeq& () const { return *_pd_seq; } |
463 |
|
|
inline operator doubleSeqSeqSeqSeq& () { return *_pd_seq; } |
464 |
|
|
#endif |
465 |
|
|
|
466 |
|
|
inline const doubleSeqSeqSeqSeq& in() const { return *_pd_seq; } |
467 |
|
|
inline doubleSeqSeqSeqSeq& inout() { return *_pd_seq; } |
468 |
|
|
inline doubleSeqSeqSeqSeq*& out() { |
469 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
470 |
|
|
return _pd_seq; |
471 |
|
|
} |
472 |
|
✗ |
inline doubleSeqSeqSeqSeq* _retn() { doubleSeqSeqSeqSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
473 |
|
|
|
474 |
|
|
friend class doubleSeqSeqSeqSeq_out; |
475 |
|
|
|
476 |
|
|
private: |
477 |
|
|
doubleSeqSeqSeqSeq* _pd_seq; |
478 |
|
|
}; |
479 |
|
|
|
480 |
|
|
class doubleSeqSeqSeqSeq_out { |
481 |
|
|
public: |
482 |
|
|
inline doubleSeqSeqSeqSeq_out(doubleSeqSeqSeqSeq*& _s) : _data(_s) { _data = 0; } |
483 |
|
|
inline doubleSeqSeqSeqSeq_out(doubleSeqSeqSeqSeq_var& _s) |
484 |
|
|
: _data(_s._pd_seq) { _s = (doubleSeqSeqSeqSeq*) 0; } |
485 |
|
|
inline doubleSeqSeqSeqSeq_out(const doubleSeqSeqSeqSeq_out& _s) : _data(_s._data) {} |
486 |
|
|
inline doubleSeqSeqSeqSeq_out& operator = (const doubleSeqSeqSeqSeq_out& _s) { |
487 |
|
|
_data = _s._data; |
488 |
|
|
return *this; |
489 |
|
|
} |
490 |
|
|
inline doubleSeqSeqSeqSeq_out& operator = (doubleSeqSeqSeqSeq* _s) { |
491 |
|
|
_data = _s; |
492 |
|
|
return *this; |
493 |
|
|
} |
494 |
|
|
inline operator doubleSeqSeqSeqSeq*&() { return _data; } |
495 |
|
|
inline doubleSeqSeqSeqSeq*& ptr() { return _data; } |
496 |
|
|
inline doubleSeqSeqSeqSeq* operator->() { return _data; } |
497 |
|
|
|
498 |
|
|
inline doubleSeqSeqSeq& operator [] (_CORBA_ULong _i) { |
499 |
|
|
return (*_data)[_i]; |
500 |
|
|
} |
501 |
|
|
|
502 |
|
|
|
503 |
|
|
|
504 |
|
|
doubleSeqSeqSeqSeq*& _data; |
505 |
|
|
|
506 |
|
|
private: |
507 |
|
|
doubleSeqSeqSeqSeq_out(); |
508 |
|
|
doubleSeqSeqSeqSeq_out& operator=(const doubleSeqSeqSeqSeq_var&); |
509 |
|
|
}; |
510 |
|
|
|
511 |
|
|
_CORBA_MODULE corbaserver |
512 |
|
|
|
513 |
|
|
_CORBA_MODULE_BEG |
514 |
|
|
|
515 |
|
|
_CORBA_MODULE affordance |
516 |
|
|
|
517 |
|
|
_CORBA_MODULE_BEG |
518 |
|
|
|
519 |
|
|
#ifndef __hpp_mcorbaserver_maffordance_mAfford__ |
520 |
|
|
#define __hpp_mcorbaserver_maffordance_mAfford__ |
521 |
|
|
class Afford; |
522 |
|
|
class _objref_Afford; |
523 |
|
|
class _impl_Afford; |
524 |
|
|
|
525 |
|
|
typedef _objref_Afford* Afford_ptr; |
526 |
|
|
typedef Afford_ptr AffordRef; |
527 |
|
|
|
528 |
|
|
class Afford_Helper { |
529 |
|
|
public: |
530 |
|
|
typedef Afford_ptr _ptr_type; |
531 |
|
|
|
532 |
|
|
static _ptr_type _nil(); |
533 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
534 |
|
|
static void release(_ptr_type); |
535 |
|
|
static void duplicate(_ptr_type); |
536 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
537 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
538 |
|
|
}; |
539 |
|
|
|
540 |
|
|
typedef _CORBA_ObjRef_Var<_objref_Afford, Afford_Helper> Afford_var; |
541 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Afford,Afford_Helper > Afford_out; |
542 |
|
|
|
543 |
|
|
#endif |
544 |
|
|
|
545 |
|
|
// interface Afford |
546 |
|
|
class Afford { |
547 |
|
|
public: |
548 |
|
|
// Declarations for this interface type. |
549 |
|
|
typedef Afford_ptr _ptr_type; |
550 |
|
|
typedef Afford_var _var_type; |
551 |
|
|
|
552 |
|
|
static _ptr_type _duplicate(_ptr_type); |
553 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
554 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
555 |
|
|
|
556 |
|
|
static _ptr_type _nil(); |
557 |
|
|
|
558 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
559 |
|
|
|
560 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
561 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
562 |
|
✗ |
if (o) |
563 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
564 |
|
|
else |
565 |
|
✗ |
return _nil(); |
566 |
|
|
} |
567 |
|
|
|
568 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
569 |
|
|
if (o) |
570 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
571 |
|
|
else |
572 |
|
|
return _nil(); |
573 |
|
|
} |
574 |
|
|
|
575 |
|
|
static _core_attr const char* _PD_repoId; |
576 |
|
|
|
577 |
|
|
// Other IDL defined within this scope. |
578 |
|
|
|
579 |
|
|
}; |
580 |
|
|
|
581 |
|
|
class _objref_Afford : |
582 |
|
|
public virtual ::CORBA::Object, |
583 |
|
|
public virtual omniObjRef |
584 |
|
|
{ |
585 |
|
|
public: |
586 |
|
|
// IDL operations |
587 |
|
|
void resetAffordanceConfig(); |
588 |
|
|
void setAffordanceConfig(const char* affType, const ::hpp::doubleSeq& conf); |
589 |
|
|
doubleSeq* getAffordanceConfig(const char* affType); |
590 |
|
|
void setMargin(const char* affType, ::CORBA::Double margin); |
591 |
|
|
void setNeighbouringTriangleMargin(const char* affType, ::CORBA::Double nbTriMargin); |
592 |
|
|
void setMinimumArea(const char* affType, ::CORBA::Double minArea); |
593 |
|
|
::CORBA::Boolean checkModel(const char* obstacleName); |
594 |
|
|
void analyseObject(const char* obstacleName, const ::hpp::doubleSeq& reduceSizes); |
595 |
|
|
void analyseAll(const ::hpp::doubleSeq& reduceSizes); |
596 |
|
|
void deleteAffordances(const char* obstacleName); |
597 |
|
|
void deleteAffordancesByType(const char* affordance, const char* obstacleName); |
598 |
|
|
doubleSeqSeqSeqSeq* getAffordancePoints(const char* affordance); |
599 |
|
|
Names_t* getAffRefObstacles(const char* affordance); |
600 |
|
|
Names_t* getAffordanceTypes(); |
601 |
|
|
Names_t* getAffordanceConfigTypes(); |
602 |
|
|
|
603 |
|
|
// Constructors |
604 |
|
✗ |
inline _objref_Afford() { _PR_setobj(0); } // nil |
605 |
|
|
_objref_Afford(omniIOR*, omniIdentity*); |
606 |
|
|
|
607 |
|
|
protected: |
608 |
|
|
virtual ~_objref_Afford(); |
609 |
|
|
|
610 |
|
|
|
611 |
|
|
private: |
612 |
|
|
virtual void* _ptrToObjRef(const char*); |
613 |
|
|
|
614 |
|
|
_objref_Afford(const _objref_Afford&); |
615 |
|
|
_objref_Afford& operator = (const _objref_Afford&); |
616 |
|
|
// not implemented |
617 |
|
|
|
618 |
|
|
friend class Afford; |
619 |
|
|
}; |
620 |
|
|
|
621 |
|
|
class _pof_Afford : public _OMNI_NS(proxyObjectFactory) { |
622 |
|
|
public: |
623 |
|
✗ |
inline _pof_Afford() : _OMNI_NS(proxyObjectFactory)(Afford::_PD_repoId) {} |
624 |
|
|
virtual ~_pof_Afford(); |
625 |
|
|
|
626 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
627 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
628 |
|
|
}; |
629 |
|
|
|
630 |
|
|
class _impl_Afford : |
631 |
|
|
public virtual omniServant |
632 |
|
|
{ |
633 |
|
|
public: |
634 |
|
|
virtual ~_impl_Afford(); |
635 |
|
|
|
636 |
|
|
virtual void resetAffordanceConfig() = 0; |
637 |
|
|
virtual void setAffordanceConfig(const char* affType, const ::hpp::doubleSeq& conf) = 0; |
638 |
|
|
virtual doubleSeq* getAffordanceConfig(const char* affType) = 0; |
639 |
|
|
virtual void setMargin(const char* affType, ::CORBA::Double margin) = 0; |
640 |
|
|
virtual void setNeighbouringTriangleMargin(const char* affType, ::CORBA::Double nbTriMargin) = 0; |
641 |
|
|
virtual void setMinimumArea(const char* affType, ::CORBA::Double minArea) = 0; |
642 |
|
|
virtual ::CORBA::Boolean checkModel(const char* obstacleName) = 0; |
643 |
|
|
virtual void analyseObject(const char* obstacleName, const ::hpp::doubleSeq& reduceSizes) = 0; |
644 |
|
|
virtual void analyseAll(const ::hpp::doubleSeq& reduceSizes) = 0; |
645 |
|
|
virtual void deleteAffordances(const char* obstacleName) = 0; |
646 |
|
|
virtual void deleteAffordancesByType(const char* affordance, const char* obstacleName) = 0; |
647 |
|
|
virtual doubleSeqSeqSeqSeq* getAffordancePoints(const char* affordance) = 0; |
648 |
|
|
virtual Names_t* getAffRefObstacles(const char* affordance) = 0; |
649 |
|
|
virtual Names_t* getAffordanceTypes() = 0; |
650 |
|
|
virtual Names_t* getAffordanceConfigTypes() = 0; |
651 |
|
|
|
652 |
|
|
public: // Really protected, workaround for xlC |
653 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
654 |
|
|
|
655 |
|
|
private: |
656 |
|
|
virtual void* _ptrToInterface(const char*); |
657 |
|
|
virtual const char* _mostDerivedRepoId(); |
658 |
|
|
|
659 |
|
|
}; |
660 |
|
|
|
661 |
|
|
|
662 |
|
|
_CORBA_MODULE_END |
663 |
|
|
|
664 |
|
|
_CORBA_MODULE_END |
665 |
|
|
|
666 |
|
|
_CORBA_MODULE_END |
667 |
|
|
|
668 |
|
|
|
669 |
|
|
|
670 |
|
|
_CORBA_MODULE POA_hpp |
671 |
|
|
_CORBA_MODULE_BEG |
672 |
|
|
|
673 |
|
|
_CORBA_MODULE corbaserver |
674 |
|
|
_CORBA_MODULE_BEG |
675 |
|
|
|
676 |
|
|
_CORBA_MODULE affordance |
677 |
|
|
_CORBA_MODULE_BEG |
678 |
|
|
|
679 |
|
|
class Afford : |
680 |
|
|
public virtual hpp::corbaserver::affordance::_impl_Afford, |
681 |
|
|
public virtual ::PortableServer::ServantBase |
682 |
|
|
{ |
683 |
|
|
public: |
684 |
|
|
virtual ~Afford(); |
685 |
|
|
|
686 |
|
✗ |
inline ::hpp::corbaserver::affordance::Afford_ptr _this() { |
687 |
|
✗ |
return (::hpp::corbaserver::affordance::Afford_ptr) _do_this(::hpp::corbaserver::affordance::Afford::_PD_repoId); |
688 |
|
|
} |
689 |
|
|
}; |
690 |
|
|
|
691 |
|
|
_CORBA_MODULE_END |
692 |
|
|
|
693 |
|
|
_CORBA_MODULE_END |
694 |
|
|
|
695 |
|
|
_CORBA_MODULE_END |
696 |
|
|
|
697 |
|
|
|
698 |
|
|
|
699 |
|
|
_CORBA_MODULE OBV_hpp |
700 |
|
|
_CORBA_MODULE_BEG |
701 |
|
|
|
702 |
|
|
_CORBA_MODULE corbaserver |
703 |
|
|
_CORBA_MODULE_BEG |
704 |
|
|
|
705 |
|
|
_CORBA_MODULE affordance |
706 |
|
|
_CORBA_MODULE_BEG |
707 |
|
|
|
708 |
|
|
_CORBA_MODULE_END |
709 |
|
|
|
710 |
|
|
_CORBA_MODULE_END |
711 |
|
|
|
712 |
|
|
_CORBA_MODULE_END |
713 |
|
|
|
714 |
|
|
|
715 |
|
|
|
716 |
|
|
|
717 |
|
|
|
718 |
|
|
#undef _core_attr |
719 |
|
|
#undef _dyn_attr |
720 |
|
|
|
721 |
|
|
|
722 |
|
|
|
723 |
|
|
inline void |
724 |
|
✗ |
hpp::corbaserver::affordance::Afford::_marshalObjRef(::hpp::corbaserver::affordance::Afford_ptr obj, cdrStream& s) { |
725 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
726 |
|
✗ |
} |
727 |
|
|
|
728 |
|
|
|
729 |
|
|
|
730 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_affordance |
731 |
|
|
# undef USE_stub_in_nt_dll |
732 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_affordance |
733 |
|
|
#endif |
734 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_affordance |
735 |
|
|
# undef USE_core_stub_in_nt_dll |
736 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_affordance |
737 |
|
|
#endif |
738 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_affordance |
739 |
|
|
# undef USE_dyn_stub_in_nt_dll |
740 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_affordance |
741 |
|
|
#endif |
742 |
|
|
|
743 |
|
|
#endif // __affordance_hh__ |
744 |
|
|
|
745 |
|
|
|