Directory: | ./ |
---|---|
File: | src/hpp/pinocchio_idl/robotsSK.cc |
Date: | 2024-12-13 15:50:05 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 175 | 1012 | 17.3% |
Branches: | 68 | 748 | 9.1% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. | ||
2 | |||
3 | #include "robots-idl.hh" | ||
4 | #include <omniORB4/IOP_S.h> | ||
5 | #include <omniORB4/IOP_C.h> | ||
6 | #include <omniORB4/callDescriptor.h> | ||
7 | #include <omniORB4/callHandle.h> | ||
8 | #include <omniORB4/objTracker.h> | ||
9 | |||
10 | |||
11 | OMNI_USING_NAMESPACE(omni) | ||
12 | |||
13 | OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3; | ||
14 | |||
15 | |||
16 | |||
17 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation_ptr hpp::pinocchio_idl::CenterOfMassComputation_Helper::_nil() { | |
18 | ✗ | return ::hpp::pinocchio_idl::CenterOfMassComputation::_nil(); | |
19 | } | ||
20 | |||
21 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::CenterOfMassComputation_Helper::is_nil(::hpp::pinocchio_idl::CenterOfMassComputation_ptr p) { | |
22 | ✗ | return ::CORBA::is_nil(p); | |
23 | |||
24 | } | ||
25 | |||
26 | ✗ | void hpp::pinocchio_idl::CenterOfMassComputation_Helper::release(::hpp::pinocchio_idl::CenterOfMassComputation_ptr p) { | |
27 | ✗ | ::CORBA::release(p); | |
28 | } | ||
29 | |||
30 | ✗ | void hpp::pinocchio_idl::CenterOfMassComputation_Helper::marshalObjRef(::hpp::pinocchio_idl::CenterOfMassComputation_ptr obj, cdrStream& s) { | |
31 | ✗ | ::hpp::pinocchio_idl::CenterOfMassComputation::_marshalObjRef(obj, s); | |
32 | } | ||
33 | |||
34 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation_ptr hpp::pinocchio_idl::CenterOfMassComputation_Helper::unmarshalObjRef(cdrStream& s) { | |
35 | ✗ | return ::hpp::pinocchio_idl::CenterOfMassComputation::_unmarshalObjRef(s); | |
36 | } | ||
37 | |||
38 | ✗ | void hpp::pinocchio_idl::CenterOfMassComputation_Helper::duplicate(::hpp::pinocchio_idl::CenterOfMassComputation_ptr obj) { | |
39 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
40 | } | ||
41 | |||
42 | hpp::pinocchio_idl::CenterOfMassComputation_ptr | ||
43 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation::_duplicate(::hpp::pinocchio_idl::CenterOfMassComputation_ptr obj) | |
44 | { | ||
45 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
46 | ✗ | return obj; | |
47 | } | ||
48 | |||
49 | hpp::pinocchio_idl::CenterOfMassComputation_ptr | ||
50 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation::_narrow(::CORBA::Object_ptr obj) | |
51 | { | ||
52 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
53 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); | |
54 | ✗ | return e ? e : _nil(); | |
55 | } | ||
56 | |||
57 | |||
58 | hpp::pinocchio_idl::CenterOfMassComputation_ptr | ||
59 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation::_unchecked_narrow(::CORBA::Object_ptr obj) | |
60 | { | ||
61 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
62 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); | |
63 | ✗ | return e ? e : _nil(); | |
64 | } | ||
65 | |||
66 | hpp::pinocchio_idl::CenterOfMassComputation_ptr | ||
67 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation::_nil() | |
68 | { | ||
69 | #ifdef OMNI_UNLOADABLE_STUBS | ||
70 | static _objref_CenterOfMassComputation _the_nil_obj; | ||
71 | return &_the_nil_obj; | ||
72 | #else | ||
73 | static _objref_CenterOfMassComputation* _the_nil_ptr = 0; | ||
74 | ✗ | if (!_the_nil_ptr) { | |
75 | ✗ | omni::nilRefLock().lock(); | |
76 | ✗ | if (!_the_nil_ptr) { | |
77 | ✗ | _the_nil_ptr = new _objref_CenterOfMassComputation; | |
78 | ✗ | registerNilCorbaObject(_the_nil_ptr); | |
79 | } | ||
80 | ✗ | omni::nilRefLock().unlock(); | |
81 | } | ||
82 | ✗ | return _the_nil_ptr; | |
83 | #endif | ||
84 | } | ||
85 | |||
86 | const char* hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId = "IDL:hpp/pinocchio_idl/CenterOfMassComputation:1.0"; | ||
87 | |||
88 | |||
89 | ✗ | hpp::pinocchio_idl::_objref_CenterOfMassComputation::~_objref_CenterOfMassComputation() { | |
90 | |||
91 | } | ||
92 | |||
93 | |||
94 | ✗ | hpp::pinocchio_idl::_objref_CenterOfMassComputation::_objref_CenterOfMassComputation(omniIOR* ior, omniIdentity* id) : | |
95 | ✗ | omniObjRef(::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId, ior, id, 1) | |
96 | |||
97 | |||
98 | { | ||
99 | ✗ | _PR_setobj(this); | |
100 | } | ||
101 | |||
102 | void* | ||
103 | ✗ | hpp::pinocchio_idl::_objref_CenterOfMassComputation::_ptrToObjRef(const char* id) | |
104 | { | ||
105 | ✗ | if (id == ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId) | |
106 | ✗ | return (::hpp::pinocchio_idl::CenterOfMassComputation_ptr) this; | |
107 | |||
108 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
109 | ✗ | return (::CORBA::Object_ptr) this; | |
110 | |||
111 | ✗ | if (omni::strMatch(id, ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId)) | |
112 | ✗ | return (::hpp::pinocchio_idl::CenterOfMassComputation_ptr) this; | |
113 | |||
114 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
115 | ✗ | return (::CORBA::Object_ptr) this; | |
116 | |||
117 | ✗ | return 0; | |
118 | } | ||
119 | |||
120 | |||
121 | // | ||
122 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::deleteThis | ||
123 | |||
124 | // Proxy call descriptor class. Mangled signature: | ||
125 | // void_e_chpp_mError | ||
126 | class _0RL_cd_b59b07ceb59c5a92_00000000 | ||
127 | : public omniCallDescriptor | ||
128 | { | ||
129 | public: | ||
130 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
131 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
132 | { | ||
133 | |||
134 | } | ||
135 | |||
136 | |||
137 | |||
138 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
139 | static const char* const _user_exns[]; | ||
140 | |||
141 | |||
142 | }; | ||
143 | |||
144 | const char* const _0RL_cd_b59b07ceb59c5a92_00000000::_user_exns[] = { | ||
145 | hpp::Error::_PD_repoId | ||
146 | }; | ||
147 | |||
148 | ✗ | void _0RL_cd_b59b07ceb59c5a92_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
149 | { | ||
150 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
151 | ✗ | hpp::Error _ex; | |
152 | ✗ | _ex <<= s; | |
153 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
154 | ✗ | throw _ex; | |
155 | } | ||
156 | |||
157 | |||
158 | else { | ||
159 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
160 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
161 | (::CORBA::CompletionStatus)s.completion()); | ||
162 | } | ||
163 | } | ||
164 | |||
165 | // Local call call-back function. | ||
166 | static void | ||
167 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_10000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
168 | { | ||
169 | |||
170 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
171 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
172 | ✗ | impl->deleteThis(); | |
173 | #else | ||
174 | if (!cd->is_upcall()) | ||
175 | impl->deleteThis(); | ||
176 | else { | ||
177 | try { | ||
178 | impl->deleteThis(); | ||
179 | } | ||
180 | catch(hpp::Error& ex) { | ||
181 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
182 | } | ||
183 | |||
184 | |||
185 | } | ||
186 | #endif | ||
187 | |||
188 | |||
189 | } | ||
190 | |||
191 | ✗ | void hpp::pinocchio_idl::_objref_CenterOfMassComputation::deleteThis() | |
192 | { | ||
193 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_10000000, "deleteThis", 11); | |
194 | |||
195 | |||
196 | ✗ | _invoke(_call_desc); | |
197 | |||
198 | |||
199 | |||
200 | } | ||
201 | |||
202 | |||
203 | // | ||
204 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::deleteIfExpired | ||
205 | |||
206 | // Proxy call descriptor class. Mangled signature: | ||
207 | // _cboolean_e_chpp_mError | ||
208 | class _0RL_cd_b59b07ceb59c5a92_20000000 | ||
209 | : public omniCallDescriptor | ||
210 | { | ||
211 | public: | ||
212 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
213 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
214 | { | ||
215 | |||
216 | } | ||
217 | |||
218 | |||
219 | void unmarshalReturnedValues(cdrStream&); | ||
220 | void marshalReturnedValues(cdrStream&); | ||
221 | |||
222 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
223 | static const char* const _user_exns[]; | ||
224 | |||
225 | ::CORBA::Boolean result; | ||
226 | }; | ||
227 | |||
228 | ✗ | void _0RL_cd_b59b07ceb59c5a92_20000000::marshalReturnedValues(cdrStream& _n) | |
229 | { | ||
230 | ✗ | _n.marshalBoolean(result); | |
231 | |||
232 | } | ||
233 | |||
234 | ✗ | void _0RL_cd_b59b07ceb59c5a92_20000000::unmarshalReturnedValues(cdrStream& _n) | |
235 | { | ||
236 | ✗ | result = _n.unmarshalBoolean(); | |
237 | |||
238 | } | ||
239 | |||
240 | const char* const _0RL_cd_b59b07ceb59c5a92_20000000::_user_exns[] = { | ||
241 | hpp::Error::_PD_repoId | ||
242 | }; | ||
243 | |||
244 | ✗ | void _0RL_cd_b59b07ceb59c5a92_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
245 | { | ||
246 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
247 | ✗ | hpp::Error _ex; | |
248 | ✗ | _ex <<= s; | |
249 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
250 | ✗ | throw _ex; | |
251 | } | ||
252 | |||
253 | |||
254 | else { | ||
255 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
256 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
257 | (::CORBA::CompletionStatus)s.completion()); | ||
258 | } | ||
259 | } | ||
260 | |||
261 | // Local call call-back function. | ||
262 | static void | ||
263 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_30000000(omniCallDescriptor* cd, omniServant* svnt) | |
264 | { | ||
265 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000* tcd = (_0RL_cd_b59b07ceb59c5a92_20000000*)cd; | |
266 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
267 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
268 | ✗ | tcd->result = impl->deleteIfExpired(); | |
269 | #else | ||
270 | if (!cd->is_upcall()) | ||
271 | tcd->result = impl->deleteIfExpired(); | ||
272 | else { | ||
273 | try { | ||
274 | tcd->result = impl->deleteIfExpired(); | ||
275 | } | ||
276 | catch(hpp::Error& ex) { | ||
277 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
278 | } | ||
279 | |||
280 | |||
281 | } | ||
282 | #endif | ||
283 | |||
284 | |||
285 | } | ||
286 | |||
287 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_CenterOfMassComputation::deleteIfExpired() | |
288 | { | ||
289 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_30000000, "deleteIfExpired", 16); | |
290 | |||
291 | |||
292 | ✗ | _invoke(_call_desc); | |
293 | ✗ | return _call_desc.result; | |
294 | |||
295 | |||
296 | } | ||
297 | |||
298 | |||
299 | // | ||
300 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::persistantStorage | ||
301 | |||
302 | // Proxy call descriptor class. Mangled signature: | ||
303 | // void_i_cboolean_e_chpp_mError | ||
304 | class _0RL_cd_b59b07ceb59c5a92_40000000 | ||
305 | : public omniCallDescriptor | ||
306 | { | ||
307 | public: | ||
308 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
309 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
310 | { | ||
311 | |||
312 | } | ||
313 | |||
314 | void marshalArguments(cdrStream&); | ||
315 | void unmarshalArguments(cdrStream&); | ||
316 | |||
317 | |||
318 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
319 | static const char* const _user_exns[]; | ||
320 | |||
321 | ::CORBA::Boolean arg_0; | ||
322 | }; | ||
323 | |||
324 | ✗ | void _0RL_cd_b59b07ceb59c5a92_40000000::marshalArguments(cdrStream& _n) | |
325 | { | ||
326 | ✗ | _n.marshalBoolean(arg_0); | |
327 | |||
328 | } | ||
329 | |||
330 | ✗ | void _0RL_cd_b59b07ceb59c5a92_40000000::unmarshalArguments(cdrStream& _n) | |
331 | { | ||
332 | ✗ | arg_0 = _n.unmarshalBoolean(); | |
333 | |||
334 | } | ||
335 | |||
336 | const char* const _0RL_cd_b59b07ceb59c5a92_40000000::_user_exns[] = { | ||
337 | hpp::Error::_PD_repoId | ||
338 | }; | ||
339 | |||
340 | ✗ | void _0RL_cd_b59b07ceb59c5a92_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
341 | { | ||
342 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
343 | ✗ | hpp::Error _ex; | |
344 | ✗ | _ex <<= s; | |
345 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
346 | ✗ | throw _ex; | |
347 | } | ||
348 | |||
349 | |||
350 | else { | ||
351 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
352 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
353 | (::CORBA::CompletionStatus)s.completion()); | ||
354 | } | ||
355 | } | ||
356 | |||
357 | // Local call call-back function. | ||
358 | static void | ||
359 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_50000000(omniCallDescriptor* cd, omniServant* svnt) | |
360 | { | ||
361 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000* tcd = (_0RL_cd_b59b07ceb59c5a92_40000000*)cd; | |
362 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
363 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
364 | ✗ | impl->persistantStorage(tcd->arg_0); | |
365 | #else | ||
366 | if (!cd->is_upcall()) | ||
367 | impl->persistantStorage(tcd->arg_0); | ||
368 | else { | ||
369 | try { | ||
370 | impl->persistantStorage(tcd->arg_0); | ||
371 | } | ||
372 | catch(hpp::Error& ex) { | ||
373 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
374 | } | ||
375 | |||
376 | |||
377 | } | ||
378 | #endif | ||
379 | |||
380 | |||
381 | } | ||
382 | |||
383 | ✗ | void hpp::pinocchio_idl::_objref_CenterOfMassComputation::persistantStorage(::CORBA::Boolean persistant) | |
384 | { | ||
385 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_50000000, "persistantStorage", 18); | |
386 | ✗ | _call_desc.arg_0 = persistant; | |
387 | |||
388 | ✗ | _invoke(_call_desc); | |
389 | |||
390 | |||
391 | |||
392 | } | ||
393 | |||
394 | |||
395 | // | ||
396 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::compute | ||
397 | |||
398 | // Local call call-back function. | ||
399 | static void | ||
400 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_60000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
401 | { | ||
402 | |||
403 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
404 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
405 | ✗ | impl->compute(); | |
406 | #else | ||
407 | if (!cd->is_upcall()) | ||
408 | impl->compute(); | ||
409 | else { | ||
410 | try { | ||
411 | impl->compute(); | ||
412 | } | ||
413 | catch(hpp::Error& ex) { | ||
414 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
415 | } | ||
416 | |||
417 | |||
418 | } | ||
419 | #endif | ||
420 | |||
421 | |||
422 | } | ||
423 | |||
424 | ✗ | void hpp::pinocchio_idl::_objref_CenterOfMassComputation::compute() | |
425 | { | ||
426 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_60000000, "compute", 8); | |
427 | |||
428 | |||
429 | ✗ | _invoke(_call_desc); | |
430 | |||
431 | |||
432 | |||
433 | } | ||
434 | |||
435 | |||
436 | // | ||
437 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::com | ||
438 | |||
439 | // Proxy call descriptor class. Mangled signature: | ||
440 | // _chpp_mfloatSeq_e_chpp_mError | ||
441 | class _0RL_cd_b59b07ceb59c5a92_70000000 | ||
442 | : public omniCallDescriptor | ||
443 | { | ||
444 | public: | ||
445 | 4 | inline _0RL_cd_b59b07ceb59c5a92_70000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
446 | 4 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
447 | { | ||
448 | |||
449 | 4 | } | |
450 | |||
451 | |||
452 | void unmarshalReturnedValues(cdrStream&); | ||
453 | void marshalReturnedValues(cdrStream&); | ||
454 | |||
455 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
456 | static const char* const _user_exns[]; | ||
457 | |||
458 | hpp::floatSeq_var result; | ||
459 | }; | ||
460 | |||
461 | 4 | void _0RL_cd_b59b07ceb59c5a92_70000000::marshalReturnedValues(cdrStream& _n) | |
462 | { | ||
463 | 4 | (const hpp::floatSeq&) result >>= _n; | |
464 | |||
465 | 4 | } | |
466 | |||
467 | ✗ | void _0RL_cd_b59b07ceb59c5a92_70000000::unmarshalReturnedValues(cdrStream& _n) | |
468 | { | ||
469 | ✗ | result = new hpp::floatSeq; | |
470 | ✗ | (hpp::floatSeq&)result <<= _n; | |
471 | |||
472 | } | ||
473 | |||
474 | const char* const _0RL_cd_b59b07ceb59c5a92_70000000::_user_exns[] = { | ||
475 | hpp::Error::_PD_repoId | ||
476 | }; | ||
477 | |||
478 | ✗ | void _0RL_cd_b59b07ceb59c5a92_70000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
479 | { | ||
480 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
481 | ✗ | hpp::Error _ex; | |
482 | ✗ | _ex <<= s; | |
483 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
484 | ✗ | throw _ex; | |
485 | } | ||
486 | |||
487 | |||
488 | else { | ||
489 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
490 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
491 | (::CORBA::CompletionStatus)s.completion()); | ||
492 | } | ||
493 | } | ||
494 | |||
495 | // Local call call-back function. | ||
496 | static void | ||
497 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_80000000(omniCallDescriptor* cd, omniServant* svnt) | |
498 | { | ||
499 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000* tcd = (_0RL_cd_b59b07ceb59c5a92_70000000*)cd; | |
500 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
501 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
502 | ✗ | tcd->result = impl->com(); | |
503 | #else | ||
504 | if (!cd->is_upcall()) | ||
505 | tcd->result = impl->com(); | ||
506 | else { | ||
507 | try { | ||
508 | tcd->result = impl->com(); | ||
509 | } | ||
510 | catch(hpp::Error& ex) { | ||
511 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
512 | } | ||
513 | |||
514 | |||
515 | } | ||
516 | #endif | ||
517 | |||
518 | |||
519 | } | ||
520 | |||
521 | ✗ | hpp::floatSeq* hpp::pinocchio_idl::_objref_CenterOfMassComputation::com() | |
522 | { | ||
523 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_80000000, "com", 4); | |
524 | |||
525 | |||
526 | ✗ | _invoke(_call_desc); | |
527 | ✗ | return _call_desc.result._retn(); | |
528 | |||
529 | |||
530 | } | ||
531 | |||
532 | |||
533 | // | ||
534 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::mass | ||
535 | |||
536 | // Proxy call descriptor class. Mangled signature: | ||
537 | // _cdouble_e_chpp_mError | ||
538 | class _0RL_cd_b59b07ceb59c5a92_90000000 | ||
539 | : public omniCallDescriptor | ||
540 | { | ||
541 | public: | ||
542 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_90000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
543 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
544 | { | ||
545 | |||
546 | } | ||
547 | |||
548 | |||
549 | void unmarshalReturnedValues(cdrStream&); | ||
550 | void marshalReturnedValues(cdrStream&); | ||
551 | |||
552 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
553 | static const char* const _user_exns[]; | ||
554 | |||
555 | hpp::value_type result; | ||
556 | }; | ||
557 | |||
558 | ✗ | void _0RL_cd_b59b07ceb59c5a92_90000000::marshalReturnedValues(cdrStream& _n) | |
559 | { | ||
560 | ✗ | result >>= _n; | |
561 | |||
562 | } | ||
563 | |||
564 | ✗ | void _0RL_cd_b59b07ceb59c5a92_90000000::unmarshalReturnedValues(cdrStream& _n) | |
565 | { | ||
566 | ✗ | (hpp::value_type&)result <<= _n; | |
567 | |||
568 | } | ||
569 | |||
570 | const char* const _0RL_cd_b59b07ceb59c5a92_90000000::_user_exns[] = { | ||
571 | hpp::Error::_PD_repoId | ||
572 | }; | ||
573 | |||
574 | ✗ | void _0RL_cd_b59b07ceb59c5a92_90000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
575 | { | ||
576 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
577 | ✗ | hpp::Error _ex; | |
578 | ✗ | _ex <<= s; | |
579 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
580 | ✗ | throw _ex; | |
581 | } | ||
582 | |||
583 | |||
584 | else { | ||
585 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
586 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
587 | (::CORBA::CompletionStatus)s.completion()); | ||
588 | } | ||
589 | } | ||
590 | |||
591 | // Local call call-back function. | ||
592 | static void | ||
593 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_a0000000(omniCallDescriptor* cd, omniServant* svnt) | |
594 | { | ||
595 | ✗ | _0RL_cd_b59b07ceb59c5a92_90000000* tcd = (_0RL_cd_b59b07ceb59c5a92_90000000*)cd; | |
596 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
597 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
598 | ✗ | tcd->result = impl->mass(); | |
599 | #else | ||
600 | if (!cd->is_upcall()) | ||
601 | tcd->result = impl->mass(); | ||
602 | else { | ||
603 | try { | ||
604 | tcd->result = impl->mass(); | ||
605 | } | ||
606 | catch(hpp::Error& ex) { | ||
607 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
608 | } | ||
609 | |||
610 | |||
611 | } | ||
612 | #endif | ||
613 | |||
614 | |||
615 | } | ||
616 | |||
617 | ✗ | hpp::value_type hpp::pinocchio_idl::_objref_CenterOfMassComputation::mass() | |
618 | { | ||
619 | ✗ | _0RL_cd_b59b07ceb59c5a92_90000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a0000000, "mass", 5); | |
620 | |||
621 | |||
622 | ✗ | _invoke(_call_desc); | |
623 | ✗ | return _call_desc.result; | |
624 | |||
625 | |||
626 | } | ||
627 | |||
628 | |||
629 | // | ||
630 | // Code for hpp::pinocchio_idl::CenterOfMassComputation::jacobian | ||
631 | |||
632 | // Proxy call descriptor class. Mangled signature: | ||
633 | // _chpp_mfloatSeqSeq_e_chpp_mError | ||
634 | class _0RL_cd_b59b07ceb59c5a92_b0000000 | ||
635 | : public omniCallDescriptor | ||
636 | { | ||
637 | public: | ||
638 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_b0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
639 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
640 | { | ||
641 | |||
642 | } | ||
643 | |||
644 | |||
645 | void unmarshalReturnedValues(cdrStream&); | ||
646 | void marshalReturnedValues(cdrStream&); | ||
647 | |||
648 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
649 | static const char* const _user_exns[]; | ||
650 | |||
651 | hpp::floatSeqSeq_var result; | ||
652 | }; | ||
653 | |||
654 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b0000000::marshalReturnedValues(cdrStream& _n) | |
655 | { | ||
656 | ✗ | (const hpp::floatSeqSeq&) result >>= _n; | |
657 | |||
658 | } | ||
659 | |||
660 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b0000000::unmarshalReturnedValues(cdrStream& _n) | |
661 | { | ||
662 | ✗ | result = new hpp::floatSeqSeq; | |
663 | ✗ | (hpp::floatSeqSeq&)result <<= _n; | |
664 | |||
665 | } | ||
666 | |||
667 | const char* const _0RL_cd_b59b07ceb59c5a92_b0000000::_user_exns[] = { | ||
668 | hpp::Error::_PD_repoId | ||
669 | }; | ||
670 | |||
671 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
672 | { | ||
673 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
674 | ✗ | hpp::Error _ex; | |
675 | ✗ | _ex <<= s; | |
676 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
677 | ✗ | throw _ex; | |
678 | } | ||
679 | |||
680 | |||
681 | else { | ||
682 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
683 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
684 | (::CORBA::CompletionStatus)s.completion()); | ||
685 | } | ||
686 | } | ||
687 | |||
688 | // Local call call-back function. | ||
689 | static void | ||
690 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_c0000000(omniCallDescriptor* cd, omniServant* svnt) | |
691 | { | ||
692 | ✗ | _0RL_cd_b59b07ceb59c5a92_b0000000* tcd = (_0RL_cd_b59b07ceb59c5a92_b0000000*)cd; | |
693 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation* impl = (hpp::pinocchio_idl::_impl_CenterOfMassComputation*) svnt->_ptrToInterface(hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId); | |
694 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
695 | ✗ | tcd->result = impl->jacobian(); | |
696 | #else | ||
697 | if (!cd->is_upcall()) | ||
698 | tcd->result = impl->jacobian(); | ||
699 | else { | ||
700 | try { | ||
701 | tcd->result = impl->jacobian(); | ||
702 | } | ||
703 | catch(hpp::Error& ex) { | ||
704 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
705 | } | ||
706 | |||
707 | |||
708 | } | ||
709 | #endif | ||
710 | |||
711 | |||
712 | } | ||
713 | |||
714 | ✗ | hpp::floatSeqSeq* hpp::pinocchio_idl::_objref_CenterOfMassComputation::jacobian() | |
715 | { | ||
716 | ✗ | _0RL_cd_b59b07ceb59c5a92_b0000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c0000000, "jacobian", 9); | |
717 | |||
718 | |||
719 | ✗ | _invoke(_call_desc); | |
720 | ✗ | return _call_desc.result._retn(); | |
721 | |||
722 | |||
723 | } | ||
724 | |||
725 | 16 | hpp::pinocchio_idl::_pof_CenterOfMassComputation::~_pof_CenterOfMassComputation() {} | |
726 | |||
727 | |||
728 | omniObjRef* | ||
729 | ✗ | hpp::pinocchio_idl::_pof_CenterOfMassComputation::newObjRef(omniIOR* ior, omniIdentity* id) | |
730 | { | ||
731 | ✗ | return new ::hpp::pinocchio_idl::_objref_CenterOfMassComputation(ior, id); | |
732 | } | ||
733 | |||
734 | |||
735 | ::CORBA::Boolean | ||
736 | ✗ | hpp::pinocchio_idl::_pof_CenterOfMassComputation::is_a(const char* id) const | |
737 | { | ||
738 | ✗ | if (omni::ptrStrMatch(id, ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId)) | |
739 | ✗ | return 1; | |
740 | |||
741 | ✗ | return 0; | |
742 | } | ||
743 | |||
744 | const hpp::pinocchio_idl::_pof_CenterOfMassComputation _the_pof_hpp_mpinocchio__idl_mCenterOfMassComputation; | ||
745 | |||
746 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation::~_impl_CenterOfMassComputation() {} | |
747 | |||
748 | |||
749 | ::CORBA::Boolean | ||
750 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation::_dispatch(omniCallHandle& _handle) | |
751 | { | ||
752 | ✗ | const char* op = _handle.operation_name(); | |
753 | |||
754 | ✗ | if (omni::strMatch(op, "deleteThis")) { | |
755 | |||
756 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_10000000, "deleteThis", 11, 1); | |
757 | |||
758 | ✗ | _handle.upcall(this,_call_desc); | |
759 | ✗ | return 1; | |
760 | } | ||
761 | |||
762 | ✗ | if (omni::strMatch(op, "deleteIfExpired")) { | |
763 | |||
764 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_30000000, "deleteIfExpired", 16, 1); | |
765 | |||
766 | ✗ | _handle.upcall(this,_call_desc); | |
767 | ✗ | return 1; | |
768 | } | ||
769 | |||
770 | ✗ | if (omni::strMatch(op, "persistantStorage")) { | |
771 | |||
772 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_50000000, "persistantStorage", 18, 1); | |
773 | |||
774 | ✗ | _handle.upcall(this,_call_desc); | |
775 | ✗ | return 1; | |
776 | } | ||
777 | |||
778 | ✗ | if (omni::strMatch(op, "compute")) { | |
779 | |||
780 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_60000000, "compute", 8, 1); | |
781 | |||
782 | ✗ | _handle.upcall(this,_call_desc); | |
783 | ✗ | return 1; | |
784 | } | ||
785 | |||
786 | ✗ | if (omni::strMatch(op, "com")) { | |
787 | |||
788 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_80000000, "com", 4, 1); | |
789 | |||
790 | ✗ | _handle.upcall(this,_call_desc); | |
791 | ✗ | return 1; | |
792 | } | ||
793 | |||
794 | ✗ | if (omni::strMatch(op, "mass")) { | |
795 | |||
796 | ✗ | _0RL_cd_b59b07ceb59c5a92_90000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a0000000, "mass", 5, 1); | |
797 | |||
798 | ✗ | _handle.upcall(this,_call_desc); | |
799 | ✗ | return 1; | |
800 | } | ||
801 | |||
802 | ✗ | if (omni::strMatch(op, "jacobian")) { | |
803 | |||
804 | ✗ | _0RL_cd_b59b07ceb59c5a92_b0000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c0000000, "jacobian", 9, 1); | |
805 | |||
806 | ✗ | _handle.upcall(this,_call_desc); | |
807 | ✗ | return 1; | |
808 | } | ||
809 | |||
810 | |||
811 | ✗ | return 0; | |
812 | } | ||
813 | |||
814 | void* | ||
815 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation::_ptrToInterface(const char* id) | |
816 | { | ||
817 | ✗ | if (id == ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId) | |
818 | ✗ | return (::hpp::pinocchio_idl::_impl_CenterOfMassComputation*) this; | |
819 | |||
820 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
821 | ✗ | return (void*) 1; | |
822 | |||
823 | ✗ | if (omni::strMatch(id, ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId)) | |
824 | ✗ | return (::hpp::pinocchio_idl::_impl_CenterOfMassComputation*) this; | |
825 | |||
826 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
827 | ✗ | return (void*) 1; | |
828 | ✗ | return 0; | |
829 | } | ||
830 | |||
831 | const char* | ||
832 | ✗ | hpp::pinocchio_idl::_impl_CenterOfMassComputation::_mostDerivedRepoId() | |
833 | { | ||
834 | ✗ | return ::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId; | |
835 | } | ||
836 | |||
837 | 12 | hpp::pinocchio_idl::Device_ptr hpp::pinocchio_idl::Device_Helper::_nil() { | |
838 | 12 | return ::hpp::pinocchio_idl::Device::_nil(); | |
839 | } | ||
840 | |||
841 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::Device_Helper::is_nil(::hpp::pinocchio_idl::Device_ptr p) { | |
842 | ✗ | return ::CORBA::is_nil(p); | |
843 | |||
844 | } | ||
845 | |||
846 | 20 | void hpp::pinocchio_idl::Device_Helper::release(::hpp::pinocchio_idl::Device_ptr p) { | |
847 |
1/2✓ Branch 0 taken 20 times.
✗ Branch 1 not taken.
|
20 | ::CORBA::release(p); |
848 | 20 | } | |
849 | |||
850 | 2 | void hpp::pinocchio_idl::Device_Helper::marshalObjRef(::hpp::pinocchio_idl::Device_ptr obj, cdrStream& s) { | |
851 | 2 | ::hpp::pinocchio_idl::Device::_marshalObjRef(obj, s); | |
852 | 2 | } | |
853 | |||
854 | 2 | hpp::pinocchio_idl::Device_ptr hpp::pinocchio_idl::Device_Helper::unmarshalObjRef(cdrStream& s) { | |
855 | 2 | return ::hpp::pinocchio_idl::Device::_unmarshalObjRef(s); | |
856 | } | ||
857 | |||
858 | 4 | void hpp::pinocchio_idl::Device_Helper::duplicate(::hpp::pinocchio_idl::Device_ptr obj) { | |
859 |
4/8✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 4 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 4 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 4 times.
✗ Branch 8 not taken.
|
4 | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
860 | 4 | } | |
861 | |||
862 | hpp::pinocchio_idl::Device_ptr | ||
863 | ✗ | hpp::pinocchio_idl::Device::_duplicate(::hpp::pinocchio_idl::Device_ptr obj) | |
864 | { | ||
865 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
866 | ✗ | return obj; | |
867 | } | ||
868 | |||
869 | hpp::pinocchio_idl::Device_ptr | ||
870 | 2 | hpp::pinocchio_idl::Device::_narrow(::CORBA::Object_ptr obj) | |
871 | { | ||
872 |
4/8✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
✗ Branch 6 not taken.
✓ Branch 7 taken 2 times.
✗ Branch 8 not taken.
✓ Branch 9 taken 2 times.
|
2 | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
873 | 2 | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); | |
874 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | return e ? e : _nil(); |
875 | } | ||
876 | |||
877 | |||
878 | hpp::pinocchio_idl::Device_ptr | ||
879 | ✗ | hpp::pinocchio_idl::Device::_unchecked_narrow(::CORBA::Object_ptr obj) | |
880 | { | ||
881 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
882 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); | |
883 | ✗ | return e ? e : _nil(); | |
884 | } | ||
885 | |||
886 | hpp::pinocchio_idl::Device_ptr | ||
887 | 12 | hpp::pinocchio_idl::Device::_nil() | |
888 | { | ||
889 | #ifdef OMNI_UNLOADABLE_STUBS | ||
890 | static _objref_Device _the_nil_obj; | ||
891 | return &_the_nil_obj; | ||
892 | #else | ||
893 | static _objref_Device* _the_nil_ptr = 0; | ||
894 |
2/2✓ Branch 0 taken 2 times.
✓ Branch 1 taken 10 times.
|
12 | if (!_the_nil_ptr) { |
895 | 2 | omni::nilRefLock().lock(); | |
896 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (!_the_nil_ptr) { |
897 |
1/2✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
|
2 | _the_nil_ptr = new _objref_Device; |
898 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | registerNilCorbaObject(_the_nil_ptr); |
899 | } | ||
900 | 2 | omni::nilRefLock().unlock(); | |
901 | } | ||
902 | 12 | return _the_nil_ptr; | |
903 | #endif | ||
904 | } | ||
905 | |||
906 | const char* hpp::pinocchio_idl::Device::_PD_repoId = "IDL:hpp/pinocchio_idl/Device:1.0"; | ||
907 | |||
908 | |||
909 | 8 | hpp::pinocchio_idl::_objref_Device::~_objref_Device() { | |
910 | |||
911 | } | ||
912 | |||
913 | |||
914 | 8 | hpp::pinocchio_idl::_objref_Device::_objref_Device(omniIOR* ior, omniIdentity* id) : | |
915 |
1/2✓ Branch 2 taken 4 times.
✗ Branch 3 not taken.
|
8 | omniObjRef(::hpp::pinocchio_idl::Device::_PD_repoId, ior, id, 1) |
916 | |||
917 | |||
918 | { | ||
919 | 8 | _PR_setobj(this); | |
920 | } | ||
921 | |||
922 | void* | ||
923 | 6 | hpp::pinocchio_idl::_objref_Device::_ptrToObjRef(const char* id) | |
924 | { | ||
925 |
1/2✓ Branch 0 taken 6 times.
✗ Branch 1 not taken.
|
6 | if (id == ::hpp::pinocchio_idl::Device::_PD_repoId) |
926 | 6 | return (::hpp::pinocchio_idl::Device_ptr) this; | |
927 | |||
928 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
929 | ✗ | return (::CORBA::Object_ptr) this; | |
930 | |||
931 | ✗ | if (omni::strMatch(id, ::hpp::pinocchio_idl::Device::_PD_repoId)) | |
932 | ✗ | return (::hpp::pinocchio_idl::Device_ptr) this; | |
933 | |||
934 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
935 | ✗ | return (::CORBA::Object_ptr) this; | |
936 | |||
937 | ✗ | return 0; | |
938 | } | ||
939 | |||
940 | |||
941 | // | ||
942 | // Code for hpp::pinocchio_idl::Device::deleteThis | ||
943 | |||
944 | // Local call call-back function. | ||
945 | static void | ||
946 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_d0000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
947 | { | ||
948 | |||
949 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
950 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
951 | ✗ | impl->deleteThis(); | |
952 | #else | ||
953 | if (!cd->is_upcall()) | ||
954 | impl->deleteThis(); | ||
955 | else { | ||
956 | try { | ||
957 | impl->deleteThis(); | ||
958 | } | ||
959 | catch(hpp::Error& ex) { | ||
960 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
961 | } | ||
962 | |||
963 | |||
964 | } | ||
965 | #endif | ||
966 | |||
967 | |||
968 | } | ||
969 | |||
970 | ✗ | void hpp::pinocchio_idl::_objref_Device::deleteThis() | |
971 | { | ||
972 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_d0000000, "deleteThis", 11); | |
973 | |||
974 | |||
975 | ✗ | _invoke(_call_desc); | |
976 | |||
977 | |||
978 | |||
979 | } | ||
980 | |||
981 | |||
982 | // | ||
983 | // Code for hpp::pinocchio_idl::Device::deleteIfExpired | ||
984 | |||
985 | // Local call call-back function. | ||
986 | static void | ||
987 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_e0000000(omniCallDescriptor* cd, omniServant* svnt) | |
988 | { | ||
989 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000* tcd = (_0RL_cd_b59b07ceb59c5a92_20000000*)cd; | |
990 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
991 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
992 | ✗ | tcd->result = impl->deleteIfExpired(); | |
993 | #else | ||
994 | if (!cd->is_upcall()) | ||
995 | tcd->result = impl->deleteIfExpired(); | ||
996 | else { | ||
997 | try { | ||
998 | tcd->result = impl->deleteIfExpired(); | ||
999 | } | ||
1000 | catch(hpp::Error& ex) { | ||
1001 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1002 | } | ||
1003 | |||
1004 | |||
1005 | } | ||
1006 | #endif | ||
1007 | |||
1008 | |||
1009 | } | ||
1010 | |||
1011 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_Device::deleteIfExpired() | |
1012 | { | ||
1013 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e0000000, "deleteIfExpired", 16); | |
1014 | |||
1015 | |||
1016 | ✗ | _invoke(_call_desc); | |
1017 | ✗ | return _call_desc.result; | |
1018 | |||
1019 | |||
1020 | } | ||
1021 | |||
1022 | |||
1023 | // | ||
1024 | // Code for hpp::pinocchio_idl::Device::persistantStorage | ||
1025 | |||
1026 | // Local call call-back function. | ||
1027 | static void | ||
1028 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_f0000000(omniCallDescriptor* cd, omniServant* svnt) | |
1029 | { | ||
1030 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000* tcd = (_0RL_cd_b59b07ceb59c5a92_40000000*)cd; | |
1031 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1032 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1033 | ✗ | impl->persistantStorage(tcd->arg_0); | |
1034 | #else | ||
1035 | if (!cd->is_upcall()) | ||
1036 | impl->persistantStorage(tcd->arg_0); | ||
1037 | else { | ||
1038 | try { | ||
1039 | impl->persistantStorage(tcd->arg_0); | ||
1040 | } | ||
1041 | catch(hpp::Error& ex) { | ||
1042 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1043 | } | ||
1044 | |||
1045 | |||
1046 | } | ||
1047 | #endif | ||
1048 | |||
1049 | |||
1050 | } | ||
1051 | |||
1052 | ✗ | void hpp::pinocchio_idl::_objref_Device::persistantStorage(::CORBA::Boolean persistant) | |
1053 | { | ||
1054 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_f0000000, "persistantStorage", 18); | |
1055 | ✗ | _call_desc.arg_0 = persistant; | |
1056 | |||
1057 | ✗ | _invoke(_call_desc); | |
1058 | |||
1059 | |||
1060 | |||
1061 | } | ||
1062 | |||
1063 | |||
1064 | // | ||
1065 | // Code for hpp::pinocchio_idl::Device::name | ||
1066 | |||
1067 | // Proxy call descriptor class. Mangled signature: | ||
1068 | // _cstring_e_chpp_mError | ||
1069 | class _0RL_cd_b59b07ceb59c5a92_01000000 | ||
1070 | : public omniCallDescriptor | ||
1071 | { | ||
1072 | public: | ||
1073 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1074 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1075 | { | ||
1076 | |||
1077 | } | ||
1078 | |||
1079 | |||
1080 | void unmarshalReturnedValues(cdrStream&); | ||
1081 | void marshalReturnedValues(cdrStream&); | ||
1082 | |||
1083 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1084 | static const char* const _user_exns[]; | ||
1085 | |||
1086 | ::CORBA::String_var result; | ||
1087 | }; | ||
1088 | |||
1089 | ✗ | void _0RL_cd_b59b07ceb59c5a92_01000000::marshalReturnedValues(cdrStream& _n) | |
1090 | { | ||
1091 | ✗ | _n.marshalString(result,0); | |
1092 | |||
1093 | } | ||
1094 | |||
1095 | ✗ | void _0RL_cd_b59b07ceb59c5a92_01000000::unmarshalReturnedValues(cdrStream& _n) | |
1096 | { | ||
1097 | ✗ | result = _n.unmarshalString(0); | |
1098 | |||
1099 | } | ||
1100 | |||
1101 | const char* const _0RL_cd_b59b07ceb59c5a92_01000000::_user_exns[] = { | ||
1102 | hpp::Error::_PD_repoId | ||
1103 | }; | ||
1104 | |||
1105 | ✗ | void _0RL_cd_b59b07ceb59c5a92_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1106 | { | ||
1107 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1108 | ✗ | hpp::Error _ex; | |
1109 | ✗ | _ex <<= s; | |
1110 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1111 | ✗ | throw _ex; | |
1112 | } | ||
1113 | |||
1114 | |||
1115 | else { | ||
1116 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1117 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1118 | (::CORBA::CompletionStatus)s.completion()); | ||
1119 | } | ||
1120 | } | ||
1121 | |||
1122 | // Local call call-back function. | ||
1123 | static void | ||
1124 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_11000000(omniCallDescriptor* cd, omniServant* svnt) | |
1125 | { | ||
1126 | ✗ | _0RL_cd_b59b07ceb59c5a92_01000000* tcd = (_0RL_cd_b59b07ceb59c5a92_01000000*)cd; | |
1127 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1128 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1129 | ✗ | tcd->result = impl->name(); | |
1130 | #else | ||
1131 | if (!cd->is_upcall()) | ||
1132 | tcd->result = impl->name(); | ||
1133 | else { | ||
1134 | try { | ||
1135 | tcd->result = impl->name(); | ||
1136 | } | ||
1137 | catch(hpp::Error& ex) { | ||
1138 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1139 | } | ||
1140 | |||
1141 | |||
1142 | } | ||
1143 | #endif | ||
1144 | |||
1145 | |||
1146 | } | ||
1147 | |||
1148 | ✗ | char* hpp::pinocchio_idl::_objref_Device::name() | |
1149 | { | ||
1150 | ✗ | _0RL_cd_b59b07ceb59c5a92_01000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_11000000, "name", 5); | |
1151 | |||
1152 | |||
1153 | ✗ | _invoke(_call_desc); | |
1154 | ✗ | return _call_desc.result._retn(); | |
1155 | |||
1156 | |||
1157 | } | ||
1158 | |||
1159 | |||
1160 | // | ||
1161 | // Code for hpp::pinocchio_idl::Device::neutralConfiguration | ||
1162 | |||
1163 | // Local call call-back function. | ||
1164 | static void | ||
1165 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_21000000(omniCallDescriptor* cd, omniServant* svnt) | |
1166 | { | ||
1167 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000* tcd = (_0RL_cd_b59b07ceb59c5a92_70000000*)cd; | |
1168 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1169 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1170 | ✗ | tcd->result = impl->neutralConfiguration(); | |
1171 | #else | ||
1172 | if (!cd->is_upcall()) | ||
1173 | tcd->result = impl->neutralConfiguration(); | ||
1174 | else { | ||
1175 | try { | ||
1176 | tcd->result = impl->neutralConfiguration(); | ||
1177 | } | ||
1178 | catch(hpp::Error& ex) { | ||
1179 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1180 | } | ||
1181 | |||
1182 | |||
1183 | } | ||
1184 | #endif | ||
1185 | |||
1186 | |||
1187 | } | ||
1188 | |||
1189 | ✗ | hpp::floatSeq* hpp::pinocchio_idl::_objref_Device::neutralConfiguration() | |
1190 | { | ||
1191 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_21000000, "neutralConfiguration", 21); | |
1192 | |||
1193 | |||
1194 | ✗ | _invoke(_call_desc); | |
1195 | ✗ | return _call_desc.result._retn(); | |
1196 | |||
1197 | |||
1198 | } | ||
1199 | |||
1200 | |||
1201 | // | ||
1202 | // Code for hpp::pinocchio_idl::Device::configSize | ||
1203 | |||
1204 | // Proxy call descriptor class. Mangled signature: | ||
1205 | // _clonglong_e_chpp_mError | ||
1206 | class _0RL_cd_b59b07ceb59c5a92_31000000 | ||
1207 | : public omniCallDescriptor | ||
1208 | { | ||
1209 | public: | ||
1210 | 2 | inline _0RL_cd_b59b07ceb59c5a92_31000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1211 | 2 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1212 | { | ||
1213 | |||
1214 | 2 | } | |
1215 | |||
1216 | |||
1217 | void unmarshalReturnedValues(cdrStream&); | ||
1218 | void marshalReturnedValues(cdrStream&); | ||
1219 | |||
1220 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1221 | static const char* const _user_exns[]; | ||
1222 | |||
1223 | hpp::size_type result; | ||
1224 | }; | ||
1225 | |||
1226 | 2 | void _0RL_cd_b59b07ceb59c5a92_31000000::marshalReturnedValues(cdrStream& _n) | |
1227 | { | ||
1228 | 2 | result >>= _n; | |
1229 | |||
1230 | 2 | } | |
1231 | |||
1232 | ✗ | void _0RL_cd_b59b07ceb59c5a92_31000000::unmarshalReturnedValues(cdrStream& _n) | |
1233 | { | ||
1234 | ✗ | (hpp::size_type&)result <<= _n; | |
1235 | |||
1236 | } | ||
1237 | |||
1238 | const char* const _0RL_cd_b59b07ceb59c5a92_31000000::_user_exns[] = { | ||
1239 | hpp::Error::_PD_repoId | ||
1240 | }; | ||
1241 | |||
1242 | ✗ | void _0RL_cd_b59b07ceb59c5a92_31000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1243 | { | ||
1244 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1245 | ✗ | hpp::Error _ex; | |
1246 | ✗ | _ex <<= s; | |
1247 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1248 | ✗ | throw _ex; | |
1249 | } | ||
1250 | |||
1251 | |||
1252 | else { | ||
1253 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1254 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1255 | (::CORBA::CompletionStatus)s.completion()); | ||
1256 | } | ||
1257 | } | ||
1258 | |||
1259 | // Local call call-back function. | ||
1260 | static void | ||
1261 | 1 | _0RL_lcfn_b59b07ceb59c5a92_41000000(omniCallDescriptor* cd, omniServant* svnt) | |
1262 | { | ||
1263 | 1 | _0RL_cd_b59b07ceb59c5a92_31000000* tcd = (_0RL_cd_b59b07ceb59c5a92_31000000*)cd; | |
1264 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1265 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1266 | 1 | tcd->result = impl->configSize(); | |
1267 | #else | ||
1268 | if (!cd->is_upcall()) | ||
1269 | tcd->result = impl->configSize(); | ||
1270 | else { | ||
1271 | try { | ||
1272 | tcd->result = impl->configSize(); | ||
1273 | } | ||
1274 | catch(hpp::Error& ex) { | ||
1275 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1276 | } | ||
1277 | |||
1278 | |||
1279 | } | ||
1280 | #endif | ||
1281 | |||
1282 | |||
1283 | 1 | } | |
1284 | |||
1285 | ✗ | hpp::size_type hpp::pinocchio_idl::_objref_Device::configSize() | |
1286 | { | ||
1287 | ✗ | _0RL_cd_b59b07ceb59c5a92_31000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_41000000, "configSize", 11); | |
1288 | |||
1289 | |||
1290 | ✗ | _invoke(_call_desc); | |
1291 | ✗ | return _call_desc.result; | |
1292 | |||
1293 | |||
1294 | } | ||
1295 | |||
1296 | |||
1297 | // | ||
1298 | // Code for hpp::pinocchio_idl::Device::numberDof | ||
1299 | |||
1300 | // Local call call-back function. | ||
1301 | static void | ||
1302 | 1 | _0RL_lcfn_b59b07ceb59c5a92_51000000(omniCallDescriptor* cd, omniServant* svnt) | |
1303 | { | ||
1304 | 1 | _0RL_cd_b59b07ceb59c5a92_31000000* tcd = (_0RL_cd_b59b07ceb59c5a92_31000000*)cd; | |
1305 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1306 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1307 | 1 | tcd->result = impl->numberDof(); | |
1308 | #else | ||
1309 | if (!cd->is_upcall()) | ||
1310 | tcd->result = impl->numberDof(); | ||
1311 | else { | ||
1312 | try { | ||
1313 | tcd->result = impl->numberDof(); | ||
1314 | } | ||
1315 | catch(hpp::Error& ex) { | ||
1316 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1317 | } | ||
1318 | |||
1319 | |||
1320 | } | ||
1321 | #endif | ||
1322 | |||
1323 | |||
1324 | 1 | } | |
1325 | |||
1326 | ✗ | hpp::size_type hpp::pinocchio_idl::_objref_Device::numberDof() | |
1327 | { | ||
1328 | ✗ | _0RL_cd_b59b07ceb59c5a92_31000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_51000000, "numberDof", 10); | |
1329 | |||
1330 | |||
1331 | ✗ | _invoke(_call_desc); | |
1332 | ✗ | return _call_desc.result; | |
1333 | |||
1334 | |||
1335 | } | ||
1336 | |||
1337 | |||
1338 | // | ||
1339 | // Code for hpp::pinocchio_idl::Device::integrate | ||
1340 | |||
1341 | // Proxy call descriptor class. Mangled signature: | ||
1342 | // void_i_chpp_mfloatSeq_i_chpp_mfloatSeq_o_chpp_mfloatSeq_e_chpp_mError | ||
1343 | class _0RL_cd_b59b07ceb59c5a92_61000000 | ||
1344 | : public omniCallDescriptor | ||
1345 | { | ||
1346 | public: | ||
1347 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_61000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1348 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1349 | { | ||
1350 | |||
1351 | } | ||
1352 | |||
1353 | void marshalArguments(cdrStream&); | ||
1354 | void unmarshalArguments(cdrStream&); | ||
1355 | |||
1356 | void unmarshalReturnedValues(cdrStream&); | ||
1357 | void marshalReturnedValues(cdrStream&); | ||
1358 | |||
1359 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1360 | static const char* const _user_exns[]; | ||
1361 | |||
1362 | hpp::floatSeq_var arg_0_; | ||
1363 | const hpp::floatSeq* arg_0; | ||
1364 | hpp::floatSeq_var arg_1_; | ||
1365 | const hpp::floatSeq* arg_1; | ||
1366 | hpp::floatSeq_var arg_2; | ||
1367 | }; | ||
1368 | |||
1369 | ✗ | void _0RL_cd_b59b07ceb59c5a92_61000000::marshalArguments(cdrStream& _n) | |
1370 | { | ||
1371 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
1372 | ✗ | (const hpp::floatSeq&) *arg_1 >>= _n; | |
1373 | |||
1374 | } | ||
1375 | |||
1376 | ✗ | void _0RL_cd_b59b07ceb59c5a92_61000000::unmarshalArguments(cdrStream& _n) | |
1377 | { | ||
1378 | ✗ | arg_0_ = new hpp::floatSeq; | |
1379 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
1380 | ✗ | arg_0 = &arg_0_.in(); | |
1381 | ✗ | arg_1_ = new hpp::floatSeq; | |
1382 | ✗ | (hpp::floatSeq&)arg_1_ <<= _n; | |
1383 | ✗ | arg_1 = &arg_1_.in(); | |
1384 | |||
1385 | } | ||
1386 | |||
1387 | ✗ | void _0RL_cd_b59b07ceb59c5a92_61000000::marshalReturnedValues(cdrStream& _n) | |
1388 | { | ||
1389 | ✗ | (const hpp::floatSeq&) arg_2 >>= _n; | |
1390 | |||
1391 | } | ||
1392 | |||
1393 | ✗ | void _0RL_cd_b59b07ceb59c5a92_61000000::unmarshalReturnedValues(cdrStream& _n) | |
1394 | { | ||
1395 | ✗ | arg_2 = new hpp::floatSeq; | |
1396 | ✗ | (hpp::floatSeq&)arg_2 <<= _n; | |
1397 | |||
1398 | } | ||
1399 | |||
1400 | const char* const _0RL_cd_b59b07ceb59c5a92_61000000::_user_exns[] = { | ||
1401 | hpp::Error::_PD_repoId | ||
1402 | }; | ||
1403 | |||
1404 | ✗ | void _0RL_cd_b59b07ceb59c5a92_61000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1405 | { | ||
1406 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1407 | ✗ | hpp::Error _ex; | |
1408 | ✗ | _ex <<= s; | |
1409 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1410 | ✗ | throw _ex; | |
1411 | } | ||
1412 | |||
1413 | |||
1414 | else { | ||
1415 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1416 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1417 | (::CORBA::CompletionStatus)s.completion()); | ||
1418 | } | ||
1419 | } | ||
1420 | |||
1421 | // Local call call-back function. | ||
1422 | static void | ||
1423 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_71000000(omniCallDescriptor* cd, omniServant* svnt) | |
1424 | { | ||
1425 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000* tcd = (_0RL_cd_b59b07ceb59c5a92_61000000*)cd; | |
1426 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1427 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1428 | ✗ | impl->integrate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | |
1429 | #else | ||
1430 | if (!cd->is_upcall()) | ||
1431 | impl->integrate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | ||
1432 | else { | ||
1433 | try { | ||
1434 | impl->integrate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | ||
1435 | } | ||
1436 | catch(hpp::Error& ex) { | ||
1437 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1438 | } | ||
1439 | |||
1440 | |||
1441 | } | ||
1442 | #endif | ||
1443 | |||
1444 | |||
1445 | } | ||
1446 | |||
1447 | ✗ | void hpp::pinocchio_idl::_objref_Device::integrate(const ::hpp::floatSeq& config_in, const ::hpp::floatSeq& velocity, ::hpp::floatSeq_out result) | |
1448 | { | ||
1449 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_71000000, "integrate", 10); | |
1450 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) config_in; | |
1451 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) velocity; | |
1452 | |||
1453 | ✗ | _invoke(_call_desc); | |
1454 | ✗ | result = _call_desc.arg_2._retn(); | |
1455 | |||
1456 | |||
1457 | } | ||
1458 | |||
1459 | |||
1460 | // | ||
1461 | // Code for hpp::pinocchio_idl::Device::difference | ||
1462 | |||
1463 | // Local call call-back function. | ||
1464 | static void | ||
1465 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_81000000(omniCallDescriptor* cd, omniServant* svnt) | |
1466 | { | ||
1467 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000* tcd = (_0RL_cd_b59b07ceb59c5a92_61000000*)cd; | |
1468 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1469 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1470 | ✗ | impl->difference(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | |
1471 | #else | ||
1472 | if (!cd->is_upcall()) | ||
1473 | impl->difference(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | ||
1474 | else { | ||
1475 | try { | ||
1476 | impl->difference(*tcd->arg_0, *tcd->arg_1, tcd->arg_2.out()); | ||
1477 | } | ||
1478 | catch(hpp::Error& ex) { | ||
1479 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1480 | } | ||
1481 | |||
1482 | |||
1483 | } | ||
1484 | #endif | ||
1485 | |||
1486 | |||
1487 | } | ||
1488 | |||
1489 | ✗ | void hpp::pinocchio_idl::_objref_Device::difference(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::hpp::floatSeq_out result) | |
1490 | { | ||
1491 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_81000000, "difference", 11); | |
1492 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) q1; | |
1493 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) q2; | |
1494 | |||
1495 | ✗ | _invoke(_call_desc); | |
1496 | ✗ | result = _call_desc.arg_2._retn(); | |
1497 | |||
1498 | |||
1499 | } | ||
1500 | |||
1501 | |||
1502 | // | ||
1503 | // Code for hpp::pinocchio_idl::Device::interpolate | ||
1504 | |||
1505 | // Proxy call descriptor class. Mangled signature: | ||
1506 | // void_i_chpp_mfloatSeq_i_chpp_mfloatSeq_i_cfloat_o_chpp_mfloatSeq_e_chpp_mError | ||
1507 | class _0RL_cd_b59b07ceb59c5a92_91000000 | ||
1508 | : public omniCallDescriptor | ||
1509 | { | ||
1510 | public: | ||
1511 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_91000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1512 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1513 | { | ||
1514 | |||
1515 | } | ||
1516 | |||
1517 | void marshalArguments(cdrStream&); | ||
1518 | void unmarshalArguments(cdrStream&); | ||
1519 | |||
1520 | void unmarshalReturnedValues(cdrStream&); | ||
1521 | void marshalReturnedValues(cdrStream&); | ||
1522 | |||
1523 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1524 | static const char* const _user_exns[]; | ||
1525 | |||
1526 | hpp::floatSeq_var arg_0_; | ||
1527 | const hpp::floatSeq* arg_0; | ||
1528 | hpp::floatSeq_var arg_1_; | ||
1529 | const hpp::floatSeq* arg_1; | ||
1530 | ::CORBA::Float arg_2; | ||
1531 | hpp::floatSeq_var arg_3; | ||
1532 | }; | ||
1533 | |||
1534 | ✗ | void _0RL_cd_b59b07ceb59c5a92_91000000::marshalArguments(cdrStream& _n) | |
1535 | { | ||
1536 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
1537 | ✗ | (const hpp::floatSeq&) *arg_1 >>= _n; | |
1538 | ✗ | arg_2 >>= _n; | |
1539 | |||
1540 | } | ||
1541 | |||
1542 | ✗ | void _0RL_cd_b59b07ceb59c5a92_91000000::unmarshalArguments(cdrStream& _n) | |
1543 | { | ||
1544 | ✗ | arg_0_ = new hpp::floatSeq; | |
1545 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
1546 | ✗ | arg_0 = &arg_0_.in(); | |
1547 | ✗ | arg_1_ = new hpp::floatSeq; | |
1548 | ✗ | (hpp::floatSeq&)arg_1_ <<= _n; | |
1549 | ✗ | arg_1 = &arg_1_.in(); | |
1550 | ✗ | (::CORBA::Float&)arg_2 <<= _n; | |
1551 | |||
1552 | } | ||
1553 | |||
1554 | ✗ | void _0RL_cd_b59b07ceb59c5a92_91000000::marshalReturnedValues(cdrStream& _n) | |
1555 | { | ||
1556 | ✗ | (const hpp::floatSeq&) arg_3 >>= _n; | |
1557 | |||
1558 | } | ||
1559 | |||
1560 | ✗ | void _0RL_cd_b59b07ceb59c5a92_91000000::unmarshalReturnedValues(cdrStream& _n) | |
1561 | { | ||
1562 | ✗ | arg_3 = new hpp::floatSeq; | |
1563 | ✗ | (hpp::floatSeq&)arg_3 <<= _n; | |
1564 | |||
1565 | } | ||
1566 | |||
1567 | const char* const _0RL_cd_b59b07ceb59c5a92_91000000::_user_exns[] = { | ||
1568 | hpp::Error::_PD_repoId | ||
1569 | }; | ||
1570 | |||
1571 | ✗ | void _0RL_cd_b59b07ceb59c5a92_91000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1572 | { | ||
1573 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1574 | ✗ | hpp::Error _ex; | |
1575 | ✗ | _ex <<= s; | |
1576 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1577 | ✗ | throw _ex; | |
1578 | } | ||
1579 | |||
1580 | |||
1581 | else { | ||
1582 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1583 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1584 | (::CORBA::CompletionStatus)s.completion()); | ||
1585 | } | ||
1586 | } | ||
1587 | |||
1588 | // Local call call-back function. | ||
1589 | static void | ||
1590 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_a1000000(omniCallDescriptor* cd, omniServant* svnt) | |
1591 | { | ||
1592 | ✗ | _0RL_cd_b59b07ceb59c5a92_91000000* tcd = (_0RL_cd_b59b07ceb59c5a92_91000000*)cd; | |
1593 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1594 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1595 | ✗ | impl->interpolate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3.out()); | |
1596 | #else | ||
1597 | if (!cd->is_upcall()) | ||
1598 | impl->interpolate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3.out()); | ||
1599 | else { | ||
1600 | try { | ||
1601 | impl->interpolate(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3.out()); | ||
1602 | } | ||
1603 | catch(hpp::Error& ex) { | ||
1604 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1605 | } | ||
1606 | |||
1607 | |||
1608 | } | ||
1609 | #endif | ||
1610 | |||
1611 | |||
1612 | } | ||
1613 | |||
1614 | ✗ | void hpp::pinocchio_idl::_objref_Device::interpolate(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::CORBA::Float u, ::hpp::floatSeq_out result) | |
1615 | { | ||
1616 | ✗ | _0RL_cd_b59b07ceb59c5a92_91000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a1000000, "interpolate", 12); | |
1617 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) q1; | |
1618 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) q2; | |
1619 | ✗ | _call_desc.arg_2 = u; | |
1620 | |||
1621 | ✗ | _invoke(_call_desc); | |
1622 | ✗ | result = _call_desc.arg_3._retn(); | |
1623 | |||
1624 | |||
1625 | } | ||
1626 | |||
1627 | |||
1628 | // | ||
1629 | // Code for hpp::pinocchio_idl::Device::saturate | ||
1630 | |||
1631 | // Proxy call descriptor class. Mangled signature: | ||
1632 | // void_i_chpp_mfloatSeq_o_chpp_mfloatSeq_o_chpp_mboolSeq_e_chpp_mError | ||
1633 | class _0RL_cd_b59b07ceb59c5a92_b1000000 | ||
1634 | : public omniCallDescriptor | ||
1635 | { | ||
1636 | public: | ||
1637 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_b1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1638 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1639 | { | ||
1640 | |||
1641 | } | ||
1642 | |||
1643 | void marshalArguments(cdrStream&); | ||
1644 | void unmarshalArguments(cdrStream&); | ||
1645 | |||
1646 | void unmarshalReturnedValues(cdrStream&); | ||
1647 | void marshalReturnedValues(cdrStream&); | ||
1648 | |||
1649 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1650 | static const char* const _user_exns[]; | ||
1651 | |||
1652 | hpp::floatSeq_var arg_0_; | ||
1653 | const hpp::floatSeq* arg_0; | ||
1654 | hpp::floatSeq_var arg_1; | ||
1655 | hpp::boolSeq_var arg_2; | ||
1656 | }; | ||
1657 | |||
1658 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b1000000::marshalArguments(cdrStream& _n) | |
1659 | { | ||
1660 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
1661 | |||
1662 | } | ||
1663 | |||
1664 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b1000000::unmarshalArguments(cdrStream& _n) | |
1665 | { | ||
1666 | ✗ | arg_0_ = new hpp::floatSeq; | |
1667 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
1668 | ✗ | arg_0 = &arg_0_.in(); | |
1669 | |||
1670 | } | ||
1671 | |||
1672 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b1000000::marshalReturnedValues(cdrStream& _n) | |
1673 | { | ||
1674 | ✗ | (const hpp::floatSeq&) arg_1 >>= _n; | |
1675 | ✗ | (const hpp::boolSeq&) arg_2 >>= _n; | |
1676 | |||
1677 | } | ||
1678 | |||
1679 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b1000000::unmarshalReturnedValues(cdrStream& _n) | |
1680 | { | ||
1681 | ✗ | arg_1 = new hpp::floatSeq; | |
1682 | ✗ | (hpp::floatSeq&)arg_1 <<= _n; | |
1683 | ✗ | arg_2 = new hpp::boolSeq; | |
1684 | ✗ | (hpp::boolSeq&)arg_2 <<= _n; | |
1685 | |||
1686 | } | ||
1687 | |||
1688 | const char* const _0RL_cd_b59b07ceb59c5a92_b1000000::_user_exns[] = { | ||
1689 | hpp::Error::_PD_repoId | ||
1690 | }; | ||
1691 | |||
1692 | ✗ | void _0RL_cd_b59b07ceb59c5a92_b1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1693 | { | ||
1694 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1695 | ✗ | hpp::Error _ex; | |
1696 | ✗ | _ex <<= s; | |
1697 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1698 | ✗ | throw _ex; | |
1699 | } | ||
1700 | |||
1701 | |||
1702 | else { | ||
1703 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1704 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1705 | (::CORBA::CompletionStatus)s.completion()); | ||
1706 | } | ||
1707 | } | ||
1708 | |||
1709 | // Local call call-back function. | ||
1710 | static void | ||
1711 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_c1000000(omniCallDescriptor* cd, omniServant* svnt) | |
1712 | { | ||
1713 | ✗ | _0RL_cd_b59b07ceb59c5a92_b1000000* tcd = (_0RL_cd_b59b07ceb59c5a92_b1000000*)cd; | |
1714 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1715 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1716 | ✗ | impl->saturate(*tcd->arg_0, tcd->arg_1.out(), tcd->arg_2.out()); | |
1717 | #else | ||
1718 | if (!cd->is_upcall()) | ||
1719 | impl->saturate(*tcd->arg_0, tcd->arg_1.out(), tcd->arg_2.out()); | ||
1720 | else { | ||
1721 | try { | ||
1722 | impl->saturate(*tcd->arg_0, tcd->arg_1.out(), tcd->arg_2.out()); | ||
1723 | } | ||
1724 | catch(hpp::Error& ex) { | ||
1725 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1726 | } | ||
1727 | |||
1728 | |||
1729 | } | ||
1730 | #endif | ||
1731 | |||
1732 | |||
1733 | } | ||
1734 | |||
1735 | ✗ | void hpp::pinocchio_idl::_objref_Device::saturate(const ::hpp::floatSeq& qin, ::hpp::floatSeq_out qout, ::hpp::boolSeq_out saturation) | |
1736 | { | ||
1737 | ✗ | _0RL_cd_b59b07ceb59c5a92_b1000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c1000000, "saturate", 9); | |
1738 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) qin; | |
1739 | |||
1740 | ✗ | _invoke(_call_desc); | |
1741 | ✗ | qout = _call_desc.arg_1._retn(); | |
1742 | ✗ | saturation = _call_desc.arg_2._retn(); | |
1743 | |||
1744 | |||
1745 | } | ||
1746 | |||
1747 | |||
1748 | // | ||
1749 | // Code for hpp::pinocchio_idl::Device::replaceGeometryByConvexHull | ||
1750 | |||
1751 | // Proxy call descriptor class. Mangled signature: | ||
1752 | // void_i_chpp_mNames__t_e_chpp_mError | ||
1753 | class _0RL_cd_b59b07ceb59c5a92_d1000000 | ||
1754 | : public omniCallDescriptor | ||
1755 | { | ||
1756 | public: | ||
1757 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_d1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1758 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1759 | { | ||
1760 | |||
1761 | } | ||
1762 | |||
1763 | void marshalArguments(cdrStream&); | ||
1764 | void unmarshalArguments(cdrStream&); | ||
1765 | |||
1766 | |||
1767 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1768 | static const char* const _user_exns[]; | ||
1769 | |||
1770 | hpp::Names_t_var arg_0_; | ||
1771 | const hpp::Names_t* arg_0; | ||
1772 | }; | ||
1773 | |||
1774 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d1000000::marshalArguments(cdrStream& _n) | |
1775 | { | ||
1776 | ✗ | (const hpp::Names_t&) *arg_0 >>= _n; | |
1777 | |||
1778 | } | ||
1779 | |||
1780 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d1000000::unmarshalArguments(cdrStream& _n) | |
1781 | { | ||
1782 | ✗ | arg_0_ = new hpp::Names_t; | |
1783 | ✗ | (hpp::Names_t&)arg_0_ <<= _n; | |
1784 | ✗ | arg_0 = &arg_0_.in(); | |
1785 | |||
1786 | } | ||
1787 | |||
1788 | const char* const _0RL_cd_b59b07ceb59c5a92_d1000000::_user_exns[] = { | ||
1789 | hpp::Error::_PD_repoId | ||
1790 | }; | ||
1791 | |||
1792 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1793 | { | ||
1794 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1795 | ✗ | hpp::Error _ex; | |
1796 | ✗ | _ex <<= s; | |
1797 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1798 | ✗ | throw _ex; | |
1799 | } | ||
1800 | |||
1801 | |||
1802 | else { | ||
1803 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1804 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1805 | (::CORBA::CompletionStatus)s.completion()); | ||
1806 | } | ||
1807 | } | ||
1808 | |||
1809 | // Local call call-back function. | ||
1810 | static void | ||
1811 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_e1000000(omniCallDescriptor* cd, omniServant* svnt) | |
1812 | { | ||
1813 | ✗ | _0RL_cd_b59b07ceb59c5a92_d1000000* tcd = (_0RL_cd_b59b07ceb59c5a92_d1000000*)cd; | |
1814 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1815 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1816 | ✗ | impl->replaceGeometryByConvexHull(*tcd->arg_0); | |
1817 | #else | ||
1818 | if (!cd->is_upcall()) | ||
1819 | impl->replaceGeometryByConvexHull(*tcd->arg_0); | ||
1820 | else { | ||
1821 | try { | ||
1822 | impl->replaceGeometryByConvexHull(*tcd->arg_0); | ||
1823 | } | ||
1824 | catch(hpp::Error& ex) { | ||
1825 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1826 | } | ||
1827 | |||
1828 | |||
1829 | } | ||
1830 | #endif | ||
1831 | |||
1832 | |||
1833 | } | ||
1834 | |||
1835 | ✗ | void hpp::pinocchio_idl::_objref_Device::replaceGeometryByConvexHull(const ::hpp::Names_t& geometryNames) | |
1836 | { | ||
1837 | ✗ | _0RL_cd_b59b07ceb59c5a92_d1000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e1000000, "replaceGeometryByConvexHull", 28); | |
1838 | ✗ | _call_desc.arg_0 = &(::hpp::Names_t&) geometryNames; | |
1839 | |||
1840 | ✗ | _invoke(_call_desc); | |
1841 | |||
1842 | |||
1843 | |||
1844 | } | ||
1845 | |||
1846 | |||
1847 | // | ||
1848 | // Code for hpp::pinocchio_idl::Device::getCurrentConfiguration | ||
1849 | |||
1850 | // Local call call-back function. | ||
1851 | static void | ||
1852 | 2 | _0RL_lcfn_b59b07ceb59c5a92_f1000000(omniCallDescriptor* cd, omniServant* svnt) | |
1853 | { | ||
1854 | 2 | _0RL_cd_b59b07ceb59c5a92_70000000* tcd = (_0RL_cd_b59b07ceb59c5a92_70000000*)cd; | |
1855 | 2 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1856 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1857 | 2 | tcd->result = impl->getCurrentConfiguration(); | |
1858 | #else | ||
1859 | if (!cd->is_upcall()) | ||
1860 | tcd->result = impl->getCurrentConfiguration(); | ||
1861 | else { | ||
1862 | try { | ||
1863 | tcd->result = impl->getCurrentConfiguration(); | ||
1864 | } | ||
1865 | catch(hpp::Error& ex) { | ||
1866 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1867 | } | ||
1868 | |||
1869 | |||
1870 | } | ||
1871 | #endif | ||
1872 | |||
1873 | |||
1874 | 2 | } | |
1875 | |||
1876 | ✗ | hpp::floatSeq* hpp::pinocchio_idl::_objref_Device::getCurrentConfiguration() | |
1877 | { | ||
1878 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_f1000000, "getCurrentConfiguration", 24); | |
1879 | |||
1880 | |||
1881 | ✗ | _invoke(_call_desc); | |
1882 | ✗ | return _call_desc.result._retn(); | |
1883 | |||
1884 | |||
1885 | } | ||
1886 | |||
1887 | |||
1888 | // | ||
1889 | // Code for hpp::pinocchio_idl::Device::setCurrentConfiguration | ||
1890 | |||
1891 | // Proxy call descriptor class. Mangled signature: | ||
1892 | // _cboolean_i_chpp_mfloatSeq_e_chpp_mError | ||
1893 | class _0RL_cd_b59b07ceb59c5a92_02000000 | ||
1894 | : public omniCallDescriptor | ||
1895 | { | ||
1896 | public: | ||
1897 | 3 | inline _0RL_cd_b59b07ceb59c5a92_02000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
1898 | 3 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
1899 | { | ||
1900 | |||
1901 | 3 | } | |
1902 | |||
1903 | void marshalArguments(cdrStream&); | ||
1904 | void unmarshalArguments(cdrStream&); | ||
1905 | |||
1906 | void unmarshalReturnedValues(cdrStream&); | ||
1907 | void marshalReturnedValues(cdrStream&); | ||
1908 | |||
1909 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
1910 | static const char* const _user_exns[]; | ||
1911 | |||
1912 | hpp::floatSeq_var arg_0_; | ||
1913 | const hpp::floatSeq* arg_0; | ||
1914 | ::CORBA::Boolean result; | ||
1915 | }; | ||
1916 | |||
1917 | ✗ | void _0RL_cd_b59b07ceb59c5a92_02000000::marshalArguments(cdrStream& _n) | |
1918 | { | ||
1919 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
1920 | |||
1921 | } | ||
1922 | |||
1923 | 3 | void _0RL_cd_b59b07ceb59c5a92_02000000::unmarshalArguments(cdrStream& _n) | |
1924 | { | ||
1925 |
1/2✓ Branch 2 taken 3 times.
✗ Branch 3 not taken.
|
3 | arg_0_ = new hpp::floatSeq; |
1926 | 3 | (hpp::floatSeq&)arg_0_ <<= _n; | |
1927 | 3 | arg_0 = &arg_0_.in(); | |
1928 | |||
1929 | 3 | } | |
1930 | |||
1931 | 3 | void _0RL_cd_b59b07ceb59c5a92_02000000::marshalReturnedValues(cdrStream& _n) | |
1932 | { | ||
1933 | 3 | _n.marshalBoolean(result); | |
1934 | |||
1935 | 3 | } | |
1936 | |||
1937 | ✗ | void _0RL_cd_b59b07ceb59c5a92_02000000::unmarshalReturnedValues(cdrStream& _n) | |
1938 | { | ||
1939 | ✗ | result = _n.unmarshalBoolean(); | |
1940 | |||
1941 | } | ||
1942 | |||
1943 | const char* const _0RL_cd_b59b07ceb59c5a92_02000000::_user_exns[] = { | ||
1944 | hpp::Error::_PD_repoId | ||
1945 | }; | ||
1946 | |||
1947 | ✗ | void _0RL_cd_b59b07ceb59c5a92_02000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
1948 | { | ||
1949 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
1950 | ✗ | hpp::Error _ex; | |
1951 | ✗ | _ex <<= s; | |
1952 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
1953 | ✗ | throw _ex; | |
1954 | } | ||
1955 | |||
1956 | |||
1957 | else { | ||
1958 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
1959 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
1960 | (::CORBA::CompletionStatus)s.completion()); | ||
1961 | } | ||
1962 | } | ||
1963 | |||
1964 | // Local call call-back function. | ||
1965 | static void | ||
1966 | 1 | _0RL_lcfn_b59b07ceb59c5a92_12000000(omniCallDescriptor* cd, omniServant* svnt) | |
1967 | { | ||
1968 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000* tcd = (_0RL_cd_b59b07ceb59c5a92_02000000*)cd; | |
1969 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
1970 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
1971 | 1 | tcd->result = impl->setCurrentConfiguration(*tcd->arg_0); | |
1972 | #else | ||
1973 | if (!cd->is_upcall()) | ||
1974 | tcd->result = impl->setCurrentConfiguration(*tcd->arg_0); | ||
1975 | else { | ||
1976 | try { | ||
1977 | tcd->result = impl->setCurrentConfiguration(*tcd->arg_0); | ||
1978 | } | ||
1979 | catch(hpp::Error& ex) { | ||
1980 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
1981 | } | ||
1982 | |||
1983 | |||
1984 | } | ||
1985 | #endif | ||
1986 | |||
1987 | |||
1988 | 1 | } | |
1989 | |||
1990 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_Device::setCurrentConfiguration(const ::hpp::floatSeq& configuration) | |
1991 | { | ||
1992 | ✗ | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_12000000, "setCurrentConfiguration", 24); | |
1993 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) configuration; | |
1994 | |||
1995 | ✗ | _invoke(_call_desc); | |
1996 | ✗ | return _call_desc.result; | |
1997 | |||
1998 | |||
1999 | } | ||
2000 | |||
2001 | |||
2002 | // | ||
2003 | // Code for hpp::pinocchio_idl::Device::getCurrentVelocity | ||
2004 | |||
2005 | // Local call call-back function. | ||
2006 | static void | ||
2007 | 1 | _0RL_lcfn_b59b07ceb59c5a92_22000000(omniCallDescriptor* cd, omniServant* svnt) | |
2008 | { | ||
2009 | 1 | _0RL_cd_b59b07ceb59c5a92_70000000* tcd = (_0RL_cd_b59b07ceb59c5a92_70000000*)cd; | |
2010 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2011 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2012 | 1 | tcd->result = impl->getCurrentVelocity(); | |
2013 | #else | ||
2014 | if (!cd->is_upcall()) | ||
2015 | tcd->result = impl->getCurrentVelocity(); | ||
2016 | else { | ||
2017 | try { | ||
2018 | tcd->result = impl->getCurrentVelocity(); | ||
2019 | } | ||
2020 | catch(hpp::Error& ex) { | ||
2021 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2022 | } | ||
2023 | |||
2024 | |||
2025 | } | ||
2026 | #endif | ||
2027 | |||
2028 | |||
2029 | 1 | } | |
2030 | |||
2031 | ✗ | hpp::floatSeq* hpp::pinocchio_idl::_objref_Device::getCurrentVelocity() | |
2032 | { | ||
2033 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_22000000, "getCurrentVelocity", 19); | |
2034 | |||
2035 | |||
2036 | ✗ | _invoke(_call_desc); | |
2037 | ✗ | return _call_desc.result._retn(); | |
2038 | |||
2039 | |||
2040 | } | ||
2041 | |||
2042 | |||
2043 | // | ||
2044 | // Code for hpp::pinocchio_idl::Device::setCurrentVelocity | ||
2045 | |||
2046 | // Local call call-back function. | ||
2047 | static void | ||
2048 | 1 | _0RL_lcfn_b59b07ceb59c5a92_32000000(omniCallDescriptor* cd, omniServant* svnt) | |
2049 | { | ||
2050 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000* tcd = (_0RL_cd_b59b07ceb59c5a92_02000000*)cd; | |
2051 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2052 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2053 | 1 | tcd->result = impl->setCurrentVelocity(*tcd->arg_0); | |
2054 | #else | ||
2055 | if (!cd->is_upcall()) | ||
2056 | tcd->result = impl->setCurrentVelocity(*tcd->arg_0); | ||
2057 | else { | ||
2058 | try { | ||
2059 | tcd->result = impl->setCurrentVelocity(*tcd->arg_0); | ||
2060 | } | ||
2061 | catch(hpp::Error& ex) { | ||
2062 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2063 | } | ||
2064 | |||
2065 | |||
2066 | } | ||
2067 | #endif | ||
2068 | |||
2069 | |||
2070 | 1 | } | |
2071 | |||
2072 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_Device::setCurrentVelocity(const ::hpp::floatSeq& velocity) | |
2073 | { | ||
2074 | ✗ | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_32000000, "setCurrentVelocity", 19); | |
2075 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) velocity; | |
2076 | |||
2077 | ✗ | _invoke(_call_desc); | |
2078 | ✗ | return _call_desc.result; | |
2079 | |||
2080 | |||
2081 | } | ||
2082 | |||
2083 | |||
2084 | // | ||
2085 | // Code for hpp::pinocchio_idl::Device::getCurrentAcceleration | ||
2086 | |||
2087 | // Local call call-back function. | ||
2088 | static void | ||
2089 | 1 | _0RL_lcfn_b59b07ceb59c5a92_42000000(omniCallDescriptor* cd, omniServant* svnt) | |
2090 | { | ||
2091 | 1 | _0RL_cd_b59b07ceb59c5a92_70000000* tcd = (_0RL_cd_b59b07ceb59c5a92_70000000*)cd; | |
2092 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2093 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2094 | 1 | tcd->result = impl->getCurrentAcceleration(); | |
2095 | #else | ||
2096 | if (!cd->is_upcall()) | ||
2097 | tcd->result = impl->getCurrentAcceleration(); | ||
2098 | else { | ||
2099 | try { | ||
2100 | tcd->result = impl->getCurrentAcceleration(); | ||
2101 | } | ||
2102 | catch(hpp::Error& ex) { | ||
2103 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2104 | } | ||
2105 | |||
2106 | |||
2107 | } | ||
2108 | #endif | ||
2109 | |||
2110 | |||
2111 | 1 | } | |
2112 | |||
2113 | ✗ | hpp::floatSeq* hpp::pinocchio_idl::_objref_Device::getCurrentAcceleration() | |
2114 | { | ||
2115 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_42000000, "getCurrentAcceleration", 23); | |
2116 | |||
2117 | |||
2118 | ✗ | _invoke(_call_desc); | |
2119 | ✗ | return _call_desc.result._retn(); | |
2120 | |||
2121 | |||
2122 | } | ||
2123 | |||
2124 | |||
2125 | // | ||
2126 | // Code for hpp::pinocchio_idl::Device::setCurrentAcceleration | ||
2127 | |||
2128 | // Local call call-back function. | ||
2129 | static void | ||
2130 | 1 | _0RL_lcfn_b59b07ceb59c5a92_52000000(omniCallDescriptor* cd, omniServant* svnt) | |
2131 | { | ||
2132 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000* tcd = (_0RL_cd_b59b07ceb59c5a92_02000000*)cd; | |
2133 | 1 | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2134 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2135 | 1 | tcd->result = impl->setCurrentAcceleration(*tcd->arg_0); | |
2136 | #else | ||
2137 | if (!cd->is_upcall()) | ||
2138 | tcd->result = impl->setCurrentAcceleration(*tcd->arg_0); | ||
2139 | else { | ||
2140 | try { | ||
2141 | tcd->result = impl->setCurrentAcceleration(*tcd->arg_0); | ||
2142 | } | ||
2143 | catch(hpp::Error& ex) { | ||
2144 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2145 | } | ||
2146 | |||
2147 | |||
2148 | } | ||
2149 | #endif | ||
2150 | |||
2151 | |||
2152 | 1 | } | |
2153 | |||
2154 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_Device::setCurrentAcceleration(const ::hpp::floatSeq& acceleration) | |
2155 | { | ||
2156 | ✗ | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_52000000, "setCurrentAcceleration", 23); | |
2157 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) acceleration; | |
2158 | |||
2159 | ✗ | _invoke(_call_desc); | |
2160 | ✗ | return _call_desc.result; | |
2161 | |||
2162 | |||
2163 | } | ||
2164 | |||
2165 | |||
2166 | // | ||
2167 | // Code for hpp::pinocchio_idl::Device::computationFlag | ||
2168 | |||
2169 | // Proxy call descriptor class. Mangled signature: | ||
2170 | // _cshort_e_chpp_mError | ||
2171 | class _0RL_cd_b59b07ceb59c5a92_62000000 | ||
2172 | : public omniCallDescriptor | ||
2173 | { | ||
2174 | public: | ||
2175 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_62000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2176 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2177 | { | ||
2178 | |||
2179 | } | ||
2180 | |||
2181 | |||
2182 | void unmarshalReturnedValues(cdrStream&); | ||
2183 | void marshalReturnedValues(cdrStream&); | ||
2184 | |||
2185 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2186 | static const char* const _user_exns[]; | ||
2187 | |||
2188 | ::CORBA::Short result; | ||
2189 | }; | ||
2190 | |||
2191 | ✗ | void _0RL_cd_b59b07ceb59c5a92_62000000::marshalReturnedValues(cdrStream& _n) | |
2192 | { | ||
2193 | ✗ | result >>= _n; | |
2194 | |||
2195 | } | ||
2196 | |||
2197 | ✗ | void _0RL_cd_b59b07ceb59c5a92_62000000::unmarshalReturnedValues(cdrStream& _n) | |
2198 | { | ||
2199 | ✗ | (::CORBA::Short&)result <<= _n; | |
2200 | |||
2201 | } | ||
2202 | |||
2203 | const char* const _0RL_cd_b59b07ceb59c5a92_62000000::_user_exns[] = { | ||
2204 | hpp::Error::_PD_repoId | ||
2205 | }; | ||
2206 | |||
2207 | ✗ | void _0RL_cd_b59b07ceb59c5a92_62000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2208 | { | ||
2209 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2210 | ✗ | hpp::Error _ex; | |
2211 | ✗ | _ex <<= s; | |
2212 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2213 | ✗ | throw _ex; | |
2214 | } | ||
2215 | |||
2216 | |||
2217 | else { | ||
2218 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2219 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2220 | (::CORBA::CompletionStatus)s.completion()); | ||
2221 | } | ||
2222 | } | ||
2223 | |||
2224 | // Local call call-back function. | ||
2225 | static void | ||
2226 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_72000000(omniCallDescriptor* cd, omniServant* svnt) | |
2227 | { | ||
2228 | ✗ | _0RL_cd_b59b07ceb59c5a92_62000000* tcd = (_0RL_cd_b59b07ceb59c5a92_62000000*)cd; | |
2229 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2230 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2231 | ✗ | tcd->result = impl->computationFlag(); | |
2232 | #else | ||
2233 | if (!cd->is_upcall()) | ||
2234 | tcd->result = impl->computationFlag(); | ||
2235 | else { | ||
2236 | try { | ||
2237 | tcd->result = impl->computationFlag(); | ||
2238 | } | ||
2239 | catch(hpp::Error& ex) { | ||
2240 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2241 | } | ||
2242 | |||
2243 | |||
2244 | } | ||
2245 | #endif | ||
2246 | |||
2247 | |||
2248 | } | ||
2249 | |||
2250 | ✗ | ::CORBA::Short hpp::pinocchio_idl::_objref_Device::computationFlag() | |
2251 | { | ||
2252 | ✗ | _0RL_cd_b59b07ceb59c5a92_62000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_72000000, "computationFlag", 16); | |
2253 | |||
2254 | |||
2255 | ✗ | _invoke(_call_desc); | |
2256 | ✗ | return _call_desc.result; | |
2257 | |||
2258 | |||
2259 | } | ||
2260 | |||
2261 | |||
2262 | // | ||
2263 | // Code for hpp::pinocchio_idl::Device::controlComputation | ||
2264 | |||
2265 | // Proxy call descriptor class. Mangled signature: | ||
2266 | // void_i_cshort_e_chpp_mError | ||
2267 | class _0RL_cd_b59b07ceb59c5a92_82000000 | ||
2268 | : public omniCallDescriptor | ||
2269 | { | ||
2270 | public: | ||
2271 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_82000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2272 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2273 | { | ||
2274 | |||
2275 | } | ||
2276 | |||
2277 | void marshalArguments(cdrStream&); | ||
2278 | void unmarshalArguments(cdrStream&); | ||
2279 | |||
2280 | |||
2281 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2282 | static const char* const _user_exns[]; | ||
2283 | |||
2284 | ::CORBA::Short arg_0; | ||
2285 | }; | ||
2286 | |||
2287 | ✗ | void _0RL_cd_b59b07ceb59c5a92_82000000::marshalArguments(cdrStream& _n) | |
2288 | { | ||
2289 | ✗ | arg_0 >>= _n; | |
2290 | |||
2291 | } | ||
2292 | |||
2293 | ✗ | void _0RL_cd_b59b07ceb59c5a92_82000000::unmarshalArguments(cdrStream& _n) | |
2294 | { | ||
2295 | ✗ | (::CORBA::Short&)arg_0 <<= _n; | |
2296 | |||
2297 | } | ||
2298 | |||
2299 | const char* const _0RL_cd_b59b07ceb59c5a92_82000000::_user_exns[] = { | ||
2300 | hpp::Error::_PD_repoId | ||
2301 | }; | ||
2302 | |||
2303 | ✗ | void _0RL_cd_b59b07ceb59c5a92_82000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2304 | { | ||
2305 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2306 | ✗ | hpp::Error _ex; | |
2307 | ✗ | _ex <<= s; | |
2308 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2309 | ✗ | throw _ex; | |
2310 | } | ||
2311 | |||
2312 | |||
2313 | else { | ||
2314 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2315 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2316 | (::CORBA::CompletionStatus)s.completion()); | ||
2317 | } | ||
2318 | } | ||
2319 | |||
2320 | // Local call call-back function. | ||
2321 | static void | ||
2322 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_92000000(omniCallDescriptor* cd, omniServant* svnt) | |
2323 | { | ||
2324 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000* tcd = (_0RL_cd_b59b07ceb59c5a92_82000000*)cd; | |
2325 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2326 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2327 | ✗ | impl->controlComputation(tcd->arg_0); | |
2328 | #else | ||
2329 | if (!cd->is_upcall()) | ||
2330 | impl->controlComputation(tcd->arg_0); | ||
2331 | else { | ||
2332 | try { | ||
2333 | impl->controlComputation(tcd->arg_0); | ||
2334 | } | ||
2335 | catch(hpp::Error& ex) { | ||
2336 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2337 | } | ||
2338 | |||
2339 | |||
2340 | } | ||
2341 | #endif | ||
2342 | |||
2343 | |||
2344 | } | ||
2345 | |||
2346 | ✗ | void hpp::pinocchio_idl::_objref_Device::controlComputation(::CORBA::Short flag) | |
2347 | { | ||
2348 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_92000000, "controlComputation", 19); | |
2349 | ✗ | _call_desc.arg_0 = flag; | |
2350 | |||
2351 | ✗ | _invoke(_call_desc); | |
2352 | |||
2353 | |||
2354 | |||
2355 | } | ||
2356 | |||
2357 | |||
2358 | // | ||
2359 | // Code for hpp::pinocchio_idl::Device::computeForwardKinematics | ||
2360 | |||
2361 | // Local call call-back function. | ||
2362 | static void | ||
2363 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_a2000000(omniCallDescriptor* cd, omniServant* svnt) | |
2364 | { | ||
2365 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000* tcd = (_0RL_cd_b59b07ceb59c5a92_82000000*)cd; | |
2366 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2367 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2368 | ✗ | impl->computeForwardKinematics(tcd->arg_0); | |
2369 | #else | ||
2370 | if (!cd->is_upcall()) | ||
2371 | impl->computeForwardKinematics(tcd->arg_0); | ||
2372 | else { | ||
2373 | try { | ||
2374 | impl->computeForwardKinematics(tcd->arg_0); | ||
2375 | } | ||
2376 | catch(hpp::Error& ex) { | ||
2377 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2378 | } | ||
2379 | |||
2380 | |||
2381 | } | ||
2382 | #endif | ||
2383 | |||
2384 | |||
2385 | } | ||
2386 | |||
2387 | ✗ | void hpp::pinocchio_idl::_objref_Device::computeForwardKinematics(::CORBA::Short computationFlag) | |
2388 | { | ||
2389 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a2000000, "computeForwardKinematics", 25); | |
2390 | ✗ | _call_desc.arg_0 = computationFlag; | |
2391 | |||
2392 | ✗ | _invoke(_call_desc); | |
2393 | |||
2394 | |||
2395 | |||
2396 | } | ||
2397 | |||
2398 | |||
2399 | // | ||
2400 | // Code for hpp::pinocchio_idl::Device::computeFramesForwardKinematics | ||
2401 | |||
2402 | // Local call call-back function. | ||
2403 | static void | ||
2404 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_b2000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
2405 | { | ||
2406 | |||
2407 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2408 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2409 | ✗ | impl->computeFramesForwardKinematics(); | |
2410 | #else | ||
2411 | if (!cd->is_upcall()) | ||
2412 | impl->computeFramesForwardKinematics(); | ||
2413 | else { | ||
2414 | try { | ||
2415 | impl->computeFramesForwardKinematics(); | ||
2416 | } | ||
2417 | catch(hpp::Error& ex) { | ||
2418 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2419 | } | ||
2420 | |||
2421 | |||
2422 | } | ||
2423 | #endif | ||
2424 | |||
2425 | |||
2426 | } | ||
2427 | |||
2428 | ✗ | void hpp::pinocchio_idl::_objref_Device::computeFramesForwardKinematics() | |
2429 | { | ||
2430 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_b2000000, "computeFramesForwardKinematics", 31); | |
2431 | |||
2432 | |||
2433 | ✗ | _invoke(_call_desc); | |
2434 | |||
2435 | |||
2436 | |||
2437 | } | ||
2438 | |||
2439 | |||
2440 | // | ||
2441 | // Code for hpp::pinocchio_idl::Device::updateGeometryPlacements | ||
2442 | |||
2443 | // Local call call-back function. | ||
2444 | static void | ||
2445 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_c2000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
2446 | { | ||
2447 | |||
2448 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2449 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2450 | ✗ | impl->updateGeometryPlacements(); | |
2451 | #else | ||
2452 | if (!cd->is_upcall()) | ||
2453 | impl->updateGeometryPlacements(); | ||
2454 | else { | ||
2455 | try { | ||
2456 | impl->updateGeometryPlacements(); | ||
2457 | } | ||
2458 | catch(hpp::Error& ex) { | ||
2459 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2460 | } | ||
2461 | |||
2462 | |||
2463 | } | ||
2464 | #endif | ||
2465 | |||
2466 | |||
2467 | } | ||
2468 | |||
2469 | ✗ | void hpp::pinocchio_idl::_objref_Device::updateGeometryPlacements() | |
2470 | { | ||
2471 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c2000000, "updateGeometryPlacements", 25); | |
2472 | |||
2473 | |||
2474 | ✗ | _invoke(_call_desc); | |
2475 | |||
2476 | |||
2477 | |||
2478 | } | ||
2479 | |||
2480 | |||
2481 | // | ||
2482 | // Code for hpp::pinocchio_idl::Device::getFrameByName | ||
2483 | |||
2484 | // Proxy call descriptor class. Mangled signature: | ||
2485 | // _cunsigned_plong_i_cstring_e_chpp_mError | ||
2486 | class _0RL_cd_b59b07ceb59c5a92_d2000000 | ||
2487 | : public omniCallDescriptor | ||
2488 | { | ||
2489 | public: | ||
2490 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_d2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2491 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2492 | { | ||
2493 | |||
2494 | } | ||
2495 | |||
2496 | void marshalArguments(cdrStream&); | ||
2497 | void unmarshalArguments(cdrStream&); | ||
2498 | |||
2499 | void unmarshalReturnedValues(cdrStream&); | ||
2500 | void marshalReturnedValues(cdrStream&); | ||
2501 | |||
2502 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2503 | static const char* const _user_exns[]; | ||
2504 | |||
2505 | ::CORBA::String_var arg_0_; | ||
2506 | const char* arg_0; | ||
2507 | hpp::frame_index result; | ||
2508 | }; | ||
2509 | |||
2510 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d2000000::marshalArguments(cdrStream& _n) | |
2511 | { | ||
2512 | ✗ | _n.marshalString(arg_0,0); | |
2513 | |||
2514 | } | ||
2515 | |||
2516 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d2000000::unmarshalArguments(cdrStream& _n) | |
2517 | { | ||
2518 | ✗ | arg_0_ = _n.unmarshalString(0); | |
2519 | ✗ | arg_0 = arg_0_.in(); | |
2520 | |||
2521 | } | ||
2522 | |||
2523 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d2000000::marshalReturnedValues(cdrStream& _n) | |
2524 | { | ||
2525 | ✗ | result >>= _n; | |
2526 | |||
2527 | } | ||
2528 | |||
2529 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d2000000::unmarshalReturnedValues(cdrStream& _n) | |
2530 | { | ||
2531 | ✗ | (hpp::frame_index&)result <<= _n; | |
2532 | |||
2533 | } | ||
2534 | |||
2535 | const char* const _0RL_cd_b59b07ceb59c5a92_d2000000::_user_exns[] = { | ||
2536 | hpp::Error::_PD_repoId | ||
2537 | }; | ||
2538 | |||
2539 | ✗ | void _0RL_cd_b59b07ceb59c5a92_d2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2540 | { | ||
2541 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2542 | ✗ | hpp::Error _ex; | |
2543 | ✗ | _ex <<= s; | |
2544 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2545 | ✗ | throw _ex; | |
2546 | } | ||
2547 | |||
2548 | |||
2549 | else { | ||
2550 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2551 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2552 | (::CORBA::CompletionStatus)s.completion()); | ||
2553 | } | ||
2554 | } | ||
2555 | |||
2556 | // Local call call-back function. | ||
2557 | static void | ||
2558 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_e2000000(omniCallDescriptor* cd, omniServant* svnt) | |
2559 | { | ||
2560 | ✗ | _0RL_cd_b59b07ceb59c5a92_d2000000* tcd = (_0RL_cd_b59b07ceb59c5a92_d2000000*)cd; | |
2561 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2562 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2563 | ✗ | tcd->result = impl->getFrameByName(tcd->arg_0); | |
2564 | #else | ||
2565 | if (!cd->is_upcall()) | ||
2566 | tcd->result = impl->getFrameByName(tcd->arg_0); | ||
2567 | else { | ||
2568 | try { | ||
2569 | tcd->result = impl->getFrameByName(tcd->arg_0); | ||
2570 | } | ||
2571 | catch(hpp::Error& ex) { | ||
2572 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2573 | } | ||
2574 | |||
2575 | |||
2576 | } | ||
2577 | #endif | ||
2578 | |||
2579 | |||
2580 | } | ||
2581 | |||
2582 | ✗ | hpp::frame_index hpp::pinocchio_idl::_objref_Device::getFrameByName(const char* name) | |
2583 | { | ||
2584 | ✗ | _0RL_cd_b59b07ceb59c5a92_d2000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e2000000, "getFrameByName", 15); | |
2585 | ✗ | _call_desc.arg_0 = name; | |
2586 | |||
2587 | ✗ | _invoke(_call_desc); | |
2588 | ✗ | return _call_desc.result; | |
2589 | |||
2590 | |||
2591 | } | ||
2592 | |||
2593 | |||
2594 | // | ||
2595 | // Code for hpp::pinocchio_idl::Device::getFramePosition | ||
2596 | |||
2597 | // Proxy call descriptor class. Mangled signature: | ||
2598 | // _a7_cdouble_i_cunsigned_plong_e_chpp_mError | ||
2599 | class _0RL_cd_b59b07ceb59c5a92_f2000000 | ||
2600 | : public omniCallDescriptor | ||
2601 | { | ||
2602 | public: | ||
2603 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_f2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2604 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2605 | { | ||
2606 | |||
2607 | } | ||
2608 | |||
2609 | void marshalArguments(cdrStream&); | ||
2610 | void unmarshalArguments(cdrStream&); | ||
2611 | |||
2612 | void unmarshalReturnedValues(cdrStream&); | ||
2613 | void marshalReturnedValues(cdrStream&); | ||
2614 | |||
2615 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2616 | static const char* const _user_exns[]; | ||
2617 | |||
2618 | hpp::frame_index arg_0; | ||
2619 | hpp::Transform__var result; | ||
2620 | }; | ||
2621 | |||
2622 | ✗ | void _0RL_cd_b59b07ceb59c5a92_f2000000::marshalArguments(cdrStream& _n) | |
2623 | { | ||
2624 | ✗ | arg_0 >>= _n; | |
2625 | |||
2626 | } | ||
2627 | |||
2628 | ✗ | void _0RL_cd_b59b07ceb59c5a92_f2000000::unmarshalArguments(cdrStream& _n) | |
2629 | { | ||
2630 | ✗ | (hpp::frame_index&)arg_0 <<= _n; | |
2631 | |||
2632 | } | ||
2633 | |||
2634 | ✗ | void _0RL_cd_b59b07ceb59c5a92_f2000000::marshalReturnedValues(cdrStream& _n) | |
2635 | { | ||
2636 | |||
2637 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
2638 | ✗ | if (! _n.marshal_byte_swap()) { | |
2639 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)result),56,omni::ALIGN_8); | |
2640 | } | ||
2641 | else | ||
2642 | #endif | ||
2643 | { | ||
2644 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
2645 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
2646 | ✗ | result[_0i0] >>= _n; | |
2647 | } | ||
2648 | } | ||
2649 | |||
2650 | } | ||
2651 | |||
2652 | ✗ | void _0RL_cd_b59b07ceb59c5a92_f2000000::unmarshalReturnedValues(cdrStream& _n) | |
2653 | { | ||
2654 | ✗ | result = hpp::Transform__alloc(); | |
2655 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)result), 7); | |
2656 | |||
2657 | } | ||
2658 | |||
2659 | const char* const _0RL_cd_b59b07ceb59c5a92_f2000000::_user_exns[] = { | ||
2660 | hpp::Error::_PD_repoId | ||
2661 | }; | ||
2662 | |||
2663 | ✗ | void _0RL_cd_b59b07ceb59c5a92_f2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2664 | { | ||
2665 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2666 | ✗ | hpp::Error _ex; | |
2667 | ✗ | _ex <<= s; | |
2668 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2669 | ✗ | throw _ex; | |
2670 | } | ||
2671 | |||
2672 | |||
2673 | else { | ||
2674 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2675 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2676 | (::CORBA::CompletionStatus)s.completion()); | ||
2677 | } | ||
2678 | } | ||
2679 | |||
2680 | // Local call call-back function. | ||
2681 | static void | ||
2682 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_03000000(omniCallDescriptor* cd, omniServant* svnt) | |
2683 | { | ||
2684 | ✗ | _0RL_cd_b59b07ceb59c5a92_f2000000* tcd = (_0RL_cd_b59b07ceb59c5a92_f2000000*)cd; | |
2685 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2686 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2687 | ✗ | tcd->result = impl->getFramePosition(tcd->arg_0); | |
2688 | #else | ||
2689 | if (!cd->is_upcall()) | ||
2690 | tcd->result = impl->getFramePosition(tcd->arg_0); | ||
2691 | else { | ||
2692 | try { | ||
2693 | tcd->result = impl->getFramePosition(tcd->arg_0); | ||
2694 | } | ||
2695 | catch(hpp::Error& ex) { | ||
2696 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2697 | } | ||
2698 | |||
2699 | |||
2700 | } | ||
2701 | #endif | ||
2702 | |||
2703 | |||
2704 | } | ||
2705 | |||
2706 | ✗ | hpp::Transform__slice* hpp::pinocchio_idl::_objref_Device::getFramePosition(::hpp::frame_index frame_id) | |
2707 | { | ||
2708 | ✗ | _0RL_cd_b59b07ceb59c5a92_f2000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_03000000, "getFramePosition", 17); | |
2709 | ✗ | _call_desc.arg_0 = frame_id; | |
2710 | |||
2711 | ✗ | _invoke(_call_desc); | |
2712 | ✗ | return _call_desc.result._retn(); | |
2713 | |||
2714 | |||
2715 | } | ||
2716 | |||
2717 | |||
2718 | // | ||
2719 | // Code for hpp::pinocchio_idl::Device::getFrameJacobian | ||
2720 | |||
2721 | // Proxy call descriptor class. Mangled signature: | ||
2722 | // _chpp_mfloatSeqSeq_i_cunsigned_plong_e_chpp_mError | ||
2723 | class _0RL_cd_b59b07ceb59c5a92_13000000 | ||
2724 | : public omniCallDescriptor | ||
2725 | { | ||
2726 | public: | ||
2727 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_13000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2728 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2729 | { | ||
2730 | |||
2731 | } | ||
2732 | |||
2733 | void marshalArguments(cdrStream&); | ||
2734 | void unmarshalArguments(cdrStream&); | ||
2735 | |||
2736 | void unmarshalReturnedValues(cdrStream&); | ||
2737 | void marshalReturnedValues(cdrStream&); | ||
2738 | |||
2739 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2740 | static const char* const _user_exns[]; | ||
2741 | |||
2742 | hpp::frame_index arg_0; | ||
2743 | hpp::floatSeqSeq_var result; | ||
2744 | }; | ||
2745 | |||
2746 | ✗ | void _0RL_cd_b59b07ceb59c5a92_13000000::marshalArguments(cdrStream& _n) | |
2747 | { | ||
2748 | ✗ | arg_0 >>= _n; | |
2749 | |||
2750 | } | ||
2751 | |||
2752 | ✗ | void _0RL_cd_b59b07ceb59c5a92_13000000::unmarshalArguments(cdrStream& _n) | |
2753 | { | ||
2754 | ✗ | (hpp::frame_index&)arg_0 <<= _n; | |
2755 | |||
2756 | } | ||
2757 | |||
2758 | ✗ | void _0RL_cd_b59b07ceb59c5a92_13000000::marshalReturnedValues(cdrStream& _n) | |
2759 | { | ||
2760 | ✗ | (const hpp::floatSeqSeq&) result >>= _n; | |
2761 | |||
2762 | } | ||
2763 | |||
2764 | ✗ | void _0RL_cd_b59b07ceb59c5a92_13000000::unmarshalReturnedValues(cdrStream& _n) | |
2765 | { | ||
2766 | ✗ | result = new hpp::floatSeqSeq; | |
2767 | ✗ | (hpp::floatSeqSeq&)result <<= _n; | |
2768 | |||
2769 | } | ||
2770 | |||
2771 | const char* const _0RL_cd_b59b07ceb59c5a92_13000000::_user_exns[] = { | ||
2772 | hpp::Error::_PD_repoId | ||
2773 | }; | ||
2774 | |||
2775 | ✗ | void _0RL_cd_b59b07ceb59c5a92_13000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2776 | { | ||
2777 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2778 | ✗ | hpp::Error _ex; | |
2779 | ✗ | _ex <<= s; | |
2780 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2781 | ✗ | throw _ex; | |
2782 | } | ||
2783 | |||
2784 | |||
2785 | else { | ||
2786 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2787 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2788 | (::CORBA::CompletionStatus)s.completion()); | ||
2789 | } | ||
2790 | } | ||
2791 | |||
2792 | // Local call call-back function. | ||
2793 | static void | ||
2794 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_23000000(omniCallDescriptor* cd, omniServant* svnt) | |
2795 | { | ||
2796 | ✗ | _0RL_cd_b59b07ceb59c5a92_13000000* tcd = (_0RL_cd_b59b07ceb59c5a92_13000000*)cd; | |
2797 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2798 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2799 | ✗ | tcd->result = impl->getFrameJacobian(tcd->arg_0); | |
2800 | #else | ||
2801 | if (!cd->is_upcall()) | ||
2802 | tcd->result = impl->getFrameJacobian(tcd->arg_0); | ||
2803 | else { | ||
2804 | try { | ||
2805 | tcd->result = impl->getFrameJacobian(tcd->arg_0); | ||
2806 | } | ||
2807 | catch(hpp::Error& ex) { | ||
2808 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2809 | } | ||
2810 | |||
2811 | |||
2812 | } | ||
2813 | #endif | ||
2814 | |||
2815 | |||
2816 | } | ||
2817 | |||
2818 | ✗ | hpp::floatSeqSeq* hpp::pinocchio_idl::_objref_Device::getFrameJacobian(::hpp::frame_index frame_id) | |
2819 | { | ||
2820 | ✗ | _0RL_cd_b59b07ceb59c5a92_13000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_23000000, "getFrameJacobian", 17); | |
2821 | ✗ | _call_desc.arg_0 = frame_id; | |
2822 | |||
2823 | ✗ | _invoke(_call_desc); | |
2824 | ✗ | return _call_desc.result._retn(); | |
2825 | |||
2826 | |||
2827 | } | ||
2828 | |||
2829 | |||
2830 | // | ||
2831 | // Code for hpp::pinocchio_idl::Device::removeJoints | ||
2832 | |||
2833 | // Proxy call descriptor class. Mangled signature: | ||
2834 | // void_i_chpp_mNames__t_i_chpp_mfloatSeq_e_chpp_mError | ||
2835 | class _0RL_cd_b59b07ceb59c5a92_33000000 | ||
2836 | : public omniCallDescriptor | ||
2837 | { | ||
2838 | public: | ||
2839 | ✗ | inline _0RL_cd_b59b07ceb59c5a92_33000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
2840 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
2841 | { | ||
2842 | |||
2843 | } | ||
2844 | |||
2845 | void marshalArguments(cdrStream&); | ||
2846 | void unmarshalArguments(cdrStream&); | ||
2847 | |||
2848 | |||
2849 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
2850 | static const char* const _user_exns[]; | ||
2851 | |||
2852 | hpp::Names_t_var arg_0_; | ||
2853 | const hpp::Names_t* arg_0; | ||
2854 | hpp::floatSeq_var arg_1_; | ||
2855 | const hpp::floatSeq* arg_1; | ||
2856 | }; | ||
2857 | |||
2858 | ✗ | void _0RL_cd_b59b07ceb59c5a92_33000000::marshalArguments(cdrStream& _n) | |
2859 | { | ||
2860 | ✗ | (const hpp::Names_t&) *arg_0 >>= _n; | |
2861 | ✗ | (const hpp::floatSeq&) *arg_1 >>= _n; | |
2862 | |||
2863 | } | ||
2864 | |||
2865 | ✗ | void _0RL_cd_b59b07ceb59c5a92_33000000::unmarshalArguments(cdrStream& _n) | |
2866 | { | ||
2867 | ✗ | arg_0_ = new hpp::Names_t; | |
2868 | ✗ | (hpp::Names_t&)arg_0_ <<= _n; | |
2869 | ✗ | arg_0 = &arg_0_.in(); | |
2870 | ✗ | arg_1_ = new hpp::floatSeq; | |
2871 | ✗ | (hpp::floatSeq&)arg_1_ <<= _n; | |
2872 | ✗ | arg_1 = &arg_1_.in(); | |
2873 | |||
2874 | } | ||
2875 | |||
2876 | const char* const _0RL_cd_b59b07ceb59c5a92_33000000::_user_exns[] = { | ||
2877 | hpp::Error::_PD_repoId | ||
2878 | }; | ||
2879 | |||
2880 | ✗ | void _0RL_cd_b59b07ceb59c5a92_33000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
2881 | { | ||
2882 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
2883 | ✗ | hpp::Error _ex; | |
2884 | ✗ | _ex <<= s; | |
2885 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
2886 | ✗ | throw _ex; | |
2887 | } | ||
2888 | |||
2889 | |||
2890 | else { | ||
2891 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
2892 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
2893 | (::CORBA::CompletionStatus)s.completion()); | ||
2894 | } | ||
2895 | } | ||
2896 | |||
2897 | // Local call call-back function. | ||
2898 | static void | ||
2899 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_43000000(omniCallDescriptor* cd, omniServant* svnt) | |
2900 | { | ||
2901 | ✗ | _0RL_cd_b59b07ceb59c5a92_33000000* tcd = (_0RL_cd_b59b07ceb59c5a92_33000000*)cd; | |
2902 | ✗ | hpp::pinocchio_idl::_impl_Device* impl = (hpp::pinocchio_idl::_impl_Device*) svnt->_ptrToInterface(hpp::pinocchio_idl::Device::_PD_repoId); | |
2903 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
2904 | ✗ | impl->removeJoints(*tcd->arg_0, *tcd->arg_1); | |
2905 | #else | ||
2906 | if (!cd->is_upcall()) | ||
2907 | impl->removeJoints(*tcd->arg_0, *tcd->arg_1); | ||
2908 | else { | ||
2909 | try { | ||
2910 | impl->removeJoints(*tcd->arg_0, *tcd->arg_1); | ||
2911 | } | ||
2912 | catch(hpp::Error& ex) { | ||
2913 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
2914 | } | ||
2915 | |||
2916 | |||
2917 | } | ||
2918 | #endif | ||
2919 | |||
2920 | |||
2921 | } | ||
2922 | |||
2923 | ✗ | void hpp::pinocchio_idl::_objref_Device::removeJoints(const ::hpp::Names_t& joints, const ::hpp::floatSeq& refConfig) | |
2924 | { | ||
2925 | ✗ | _0RL_cd_b59b07ceb59c5a92_33000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_43000000, "removeJoints", 13); | |
2926 | ✗ | _call_desc.arg_0 = &(::hpp::Names_t&) joints; | |
2927 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) refConfig; | |
2928 | |||
2929 | ✗ | _invoke(_call_desc); | |
2930 | |||
2931 | |||
2932 | |||
2933 | } | ||
2934 | |||
2935 | 16 | hpp::pinocchio_idl::_pof_Device::~_pof_Device() {} | |
2936 | |||
2937 | |||
2938 | omniObjRef* | ||
2939 | 4 | hpp::pinocchio_idl::_pof_Device::newObjRef(omniIOR* ior, omniIdentity* id) | |
2940 | { | ||
2941 |
2/4✓ Branch 2 taken 4 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 4 times.
✗ Branch 5 not taken.
|
4 | return new ::hpp::pinocchio_idl::_objref_Device(ior, id); |
2942 | } | ||
2943 | |||
2944 | |||
2945 | ::CORBA::Boolean | ||
2946 | 4 | hpp::pinocchio_idl::_pof_Device::is_a(const char* id) const | |
2947 | { | ||
2948 |
1/2✓ Branch 1 taken 4 times.
✗ Branch 2 not taken.
|
4 | if (omni::ptrStrMatch(id, ::hpp::pinocchio_idl::Device::_PD_repoId)) |
2949 | 4 | return 1; | |
2950 | |||
2951 | ✗ | return 0; | |
2952 | } | ||
2953 | |||
2954 | const hpp::pinocchio_idl::_pof_Device _the_pof_hpp_mpinocchio__idl_mDevice; | ||
2955 | |||
2956 | 4 | hpp::pinocchio_idl::_impl_Device::~_impl_Device() {} | |
2957 | |||
2958 | |||
2959 | ::CORBA::Boolean | ||
2960 | 10 | hpp::pinocchio_idl::_impl_Device::_dispatch(omniCallHandle& _handle) | |
2961 | { | ||
2962 | 10 | const char* op = _handle.operation_name(); | |
2963 | |||
2964 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (omni::strMatch(op, "deleteThis")) { |
2965 | |||
2966 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_d0000000, "deleteThis", 11, 1); | |
2967 | |||
2968 | ✗ | _handle.upcall(this,_call_desc); | |
2969 | ✗ | return 1; | |
2970 | } | ||
2971 | |||
2972 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (omni::strMatch(op, "deleteIfExpired")) { |
2973 | |||
2974 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e0000000, "deleteIfExpired", 16, 1); | |
2975 | |||
2976 | ✗ | _handle.upcall(this,_call_desc); | |
2977 | ✗ | return 1; | |
2978 | } | ||
2979 | |||
2980 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (omni::strMatch(op, "persistantStorage")) { |
2981 | |||
2982 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_f0000000, "persistantStorage", 18, 1); | |
2983 | |||
2984 | ✗ | _handle.upcall(this,_call_desc); | |
2985 | ✗ | return 1; | |
2986 | } | ||
2987 | |||
2988 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (omni::strMatch(op, "name")) { |
2989 | |||
2990 | ✗ | _0RL_cd_b59b07ceb59c5a92_01000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_11000000, "name", 5, 1); | |
2991 | |||
2992 | ✗ | _handle.upcall(this,_call_desc); | |
2993 | ✗ | return 1; | |
2994 | } | ||
2995 | |||
2996 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (omni::strMatch(op, "neutralConfiguration")) { |
2997 | |||
2998 | ✗ | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_21000000, "neutralConfiguration", 21, 1); | |
2999 | |||
3000 | ✗ | _handle.upcall(this,_call_desc); | |
3001 | ✗ | return 1; | |
3002 | } | ||
3003 | |||
3004 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 9 times.
|
10 | if (omni::strMatch(op, "configSize")) { |
3005 | |||
3006 | 1 | _0RL_cd_b59b07ceb59c5a92_31000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_41000000, "configSize", 11, 1); | |
3007 | |||
3008 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3009 | 1 | return 1; | |
3010 | 1 | } | |
3011 | |||
3012 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 8 times.
|
9 | if (omni::strMatch(op, "numberDof")) { |
3013 | |||
3014 | 1 | _0RL_cd_b59b07ceb59c5a92_31000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_51000000, "numberDof", 10, 1); | |
3015 | |||
3016 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3017 | 1 | return 1; | |
3018 | 1 | } | |
3019 | |||
3020 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
|
8 | if (omni::strMatch(op, "integrate")) { |
3021 | |||
3022 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_71000000, "integrate", 10, 1); | |
3023 | |||
3024 | ✗ | _handle.upcall(this,_call_desc); | |
3025 | ✗ | return 1; | |
3026 | } | ||
3027 | |||
3028 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
|
8 | if (omni::strMatch(op, "difference")) { |
3029 | |||
3030 | ✗ | _0RL_cd_b59b07ceb59c5a92_61000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_81000000, "difference", 11, 1); | |
3031 | |||
3032 | ✗ | _handle.upcall(this,_call_desc); | |
3033 | ✗ | return 1; | |
3034 | } | ||
3035 | |||
3036 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
|
8 | if (omni::strMatch(op, "interpolate")) { |
3037 | |||
3038 | ✗ | _0RL_cd_b59b07ceb59c5a92_91000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a1000000, "interpolate", 12, 1); | |
3039 | |||
3040 | ✗ | _handle.upcall(this,_call_desc); | |
3041 | ✗ | return 1; | |
3042 | } | ||
3043 | |||
3044 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
|
8 | if (omni::strMatch(op, "saturate")) { |
3045 | |||
3046 | ✗ | _0RL_cd_b59b07ceb59c5a92_b1000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c1000000, "saturate", 9, 1); | |
3047 | |||
3048 | ✗ | _handle.upcall(this,_call_desc); | |
3049 | ✗ | return 1; | |
3050 | } | ||
3051 | |||
3052 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
|
8 | if (omni::strMatch(op, "replaceGeometryByConvexHull")) { |
3053 | |||
3054 | ✗ | _0RL_cd_b59b07ceb59c5a92_d1000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e1000000, "replaceGeometryByConvexHull", 28, 1); | |
3055 | |||
3056 | ✗ | _handle.upcall(this,_call_desc); | |
3057 | ✗ | return 1; | |
3058 | } | ||
3059 | |||
3060 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 2 taken 6 times.
|
8 | if (omni::strMatch(op, "getCurrentConfiguration")) { |
3061 | |||
3062 | 2 | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_f1000000, "getCurrentConfiguration", 24, 1); | |
3063 | |||
3064 |
1/2✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
|
2 | _handle.upcall(this,_call_desc); |
3065 | 2 | return 1; | |
3066 | 2 | } | |
3067 | |||
3068 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 5 times.
|
6 | if (omni::strMatch(op, "setCurrentConfiguration")) { |
3069 | |||
3070 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_12000000, "setCurrentConfiguration", 24, 1); | |
3071 | |||
3072 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3073 | 1 | return 1; | |
3074 | 1 | } | |
3075 | |||
3076 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 4 times.
|
5 | if (omni::strMatch(op, "getCurrentVelocity")) { |
3077 | |||
3078 | 1 | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_22000000, "getCurrentVelocity", 19, 1); | |
3079 | |||
3080 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3081 | 1 | return 1; | |
3082 | 1 | } | |
3083 | |||
3084 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 3 times.
|
4 | if (omni::strMatch(op, "setCurrentVelocity")) { |
3085 | |||
3086 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_32000000, "setCurrentVelocity", 19, 1); | |
3087 | |||
3088 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3089 | 1 | return 1; | |
3090 | 1 | } | |
3091 | |||
3092 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 2 times.
|
3 | if (omni::strMatch(op, "getCurrentAcceleration")) { |
3093 | |||
3094 | 1 | _0RL_cd_b59b07ceb59c5a92_70000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_42000000, "getCurrentAcceleration", 23, 1); | |
3095 | |||
3096 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3097 | 1 | return 1; | |
3098 | 1 | } | |
3099 | |||
3100 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 1 times.
|
2 | if (omni::strMatch(op, "setCurrentAcceleration")) { |
3101 | |||
3102 | 1 | _0RL_cd_b59b07ceb59c5a92_02000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_52000000, "setCurrentAcceleration", 23, 1); | |
3103 | |||
3104 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
3105 | 1 | return 1; | |
3106 | 1 | } | |
3107 | |||
3108 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "computationFlag")) { |
3109 | |||
3110 | ✗ | _0RL_cd_b59b07ceb59c5a92_62000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_72000000, "computationFlag", 16, 1); | |
3111 | |||
3112 | ✗ | _handle.upcall(this,_call_desc); | |
3113 | ✗ | return 1; | |
3114 | } | ||
3115 | |||
3116 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "controlComputation")) { |
3117 | |||
3118 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_92000000, "controlComputation", 19, 1); | |
3119 | |||
3120 | ✗ | _handle.upcall(this,_call_desc); | |
3121 | ✗ | return 1; | |
3122 | } | ||
3123 | |||
3124 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "computeForwardKinematics")) { |
3125 | |||
3126 | ✗ | _0RL_cd_b59b07ceb59c5a92_82000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_a2000000, "computeForwardKinematics", 25, 1); | |
3127 | |||
3128 | ✗ | _handle.upcall(this,_call_desc); | |
3129 | ✗ | return 1; | |
3130 | } | ||
3131 | |||
3132 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "computeFramesForwardKinematics")) { |
3133 | |||
3134 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_b2000000, "computeFramesForwardKinematics", 31, 1); | |
3135 | |||
3136 | ✗ | _handle.upcall(this,_call_desc); | |
3137 | ✗ | return 1; | |
3138 | } | ||
3139 | |||
3140 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "updateGeometryPlacements")) { |
3141 | |||
3142 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_c2000000, "updateGeometryPlacements", 25, 1); | |
3143 | |||
3144 | ✗ | _handle.upcall(this,_call_desc); | |
3145 | ✗ | return 1; | |
3146 | } | ||
3147 | |||
3148 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "getFrameByName")) { |
3149 | |||
3150 | ✗ | _0RL_cd_b59b07ceb59c5a92_d2000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_e2000000, "getFrameByName", 15, 1); | |
3151 | |||
3152 | ✗ | _handle.upcall(this,_call_desc); | |
3153 | ✗ | return 1; | |
3154 | } | ||
3155 | |||
3156 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "getFramePosition")) { |
3157 | |||
3158 | ✗ | _0RL_cd_b59b07ceb59c5a92_f2000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_03000000, "getFramePosition", 17, 1); | |
3159 | |||
3160 | ✗ | _handle.upcall(this,_call_desc); | |
3161 | ✗ | return 1; | |
3162 | } | ||
3163 | |||
3164 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "getFrameJacobian")) { |
3165 | |||
3166 | ✗ | _0RL_cd_b59b07ceb59c5a92_13000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_23000000, "getFrameJacobian", 17, 1); | |
3167 | |||
3168 | ✗ | _handle.upcall(this,_call_desc); | |
3169 | ✗ | return 1; | |
3170 | } | ||
3171 | |||
3172 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
|
1 | if (omni::strMatch(op, "removeJoints")) { |
3173 | |||
3174 | ✗ | _0RL_cd_b59b07ceb59c5a92_33000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_43000000, "removeJoints", 13, 1); | |
3175 | |||
3176 | ✗ | _handle.upcall(this,_call_desc); | |
3177 | ✗ | return 1; | |
3178 | } | ||
3179 | |||
3180 | |||
3181 | 1 | return 0; | |
3182 | } | ||
3183 | |||
3184 | void* | ||
3185 | 16 | hpp::pinocchio_idl::_impl_Device::_ptrToInterface(const char* id) | |
3186 | { | ||
3187 |
2/2✓ Branch 0 taken 15 times.
✓ Branch 1 taken 1 times.
|
16 | if (id == ::hpp::pinocchio_idl::Device::_PD_repoId) |
3188 | 15 | return (::hpp::pinocchio_idl::_impl_Device*) this; | |
3189 | |||
3190 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 times.
|
1 | if (id == ::CORBA::Object::_PD_repoId) |
3191 | ✗ | return (void*) 1; | |
3192 | |||
3193 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | if (omni::strMatch(id, ::hpp::pinocchio_idl::Device::_PD_repoId)) |
3194 | 1 | return (::hpp::pinocchio_idl::_impl_Device*) this; | |
3195 | |||
3196 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
3197 | ✗ | return (void*) 1; | |
3198 | ✗ | return 0; | |
3199 | } | ||
3200 | |||
3201 | const char* | ||
3202 | 2 | hpp::pinocchio_idl::_impl_Device::_mostDerivedRepoId() | |
3203 | { | ||
3204 | 2 | return ::hpp::pinocchio_idl::Device::_PD_repoId; | |
3205 | } | ||
3206 | |||
3207 | ✗ | hpp::pinocchio_idl::CollisionObject_ptr hpp::pinocchio_idl::CollisionObject_Helper::_nil() { | |
3208 | ✗ | return ::hpp::pinocchio_idl::CollisionObject::_nil(); | |
3209 | } | ||
3210 | |||
3211 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::CollisionObject_Helper::is_nil(::hpp::pinocchio_idl::CollisionObject_ptr p) { | |
3212 | ✗ | return ::CORBA::is_nil(p); | |
3213 | |||
3214 | } | ||
3215 | |||
3216 | ✗ | void hpp::pinocchio_idl::CollisionObject_Helper::release(::hpp::pinocchio_idl::CollisionObject_ptr p) { | |
3217 | ✗ | ::CORBA::release(p); | |
3218 | } | ||
3219 | |||
3220 | ✗ | void hpp::pinocchio_idl::CollisionObject_Helper::marshalObjRef(::hpp::pinocchio_idl::CollisionObject_ptr obj, cdrStream& s) { | |
3221 | ✗ | ::hpp::pinocchio_idl::CollisionObject::_marshalObjRef(obj, s); | |
3222 | } | ||
3223 | |||
3224 | ✗ | hpp::pinocchio_idl::CollisionObject_ptr hpp::pinocchio_idl::CollisionObject_Helper::unmarshalObjRef(cdrStream& s) { | |
3225 | ✗ | return ::hpp::pinocchio_idl::CollisionObject::_unmarshalObjRef(s); | |
3226 | } | ||
3227 | |||
3228 | ✗ | void hpp::pinocchio_idl::CollisionObject_Helper::duplicate(::hpp::pinocchio_idl::CollisionObject_ptr obj) { | |
3229 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
3230 | } | ||
3231 | |||
3232 | hpp::pinocchio_idl::CollisionObject_ptr | ||
3233 | ✗ | hpp::pinocchio_idl::CollisionObject::_duplicate(::hpp::pinocchio_idl::CollisionObject_ptr obj) | |
3234 | { | ||
3235 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
3236 | ✗ | return obj; | |
3237 | } | ||
3238 | |||
3239 | hpp::pinocchio_idl::CollisionObject_ptr | ||
3240 | ✗ | hpp::pinocchio_idl::CollisionObject::_narrow(::CORBA::Object_ptr obj) | |
3241 | { | ||
3242 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
3243 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); | |
3244 | ✗ | return e ? e : _nil(); | |
3245 | } | ||
3246 | |||
3247 | |||
3248 | hpp::pinocchio_idl::CollisionObject_ptr | ||
3249 | ✗ | hpp::pinocchio_idl::CollisionObject::_unchecked_narrow(::CORBA::Object_ptr obj) | |
3250 | { | ||
3251 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
3252 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); | |
3253 | ✗ | return e ? e : _nil(); | |
3254 | } | ||
3255 | |||
3256 | hpp::pinocchio_idl::CollisionObject_ptr | ||
3257 | ✗ | hpp::pinocchio_idl::CollisionObject::_nil() | |
3258 | { | ||
3259 | #ifdef OMNI_UNLOADABLE_STUBS | ||
3260 | static _objref_CollisionObject _the_nil_obj; | ||
3261 | return &_the_nil_obj; | ||
3262 | #else | ||
3263 | static _objref_CollisionObject* _the_nil_ptr = 0; | ||
3264 | ✗ | if (!_the_nil_ptr) { | |
3265 | ✗ | omni::nilRefLock().lock(); | |
3266 | ✗ | if (!_the_nil_ptr) { | |
3267 | ✗ | _the_nil_ptr = new _objref_CollisionObject; | |
3268 | ✗ | registerNilCorbaObject(_the_nil_ptr); | |
3269 | } | ||
3270 | ✗ | omni::nilRefLock().unlock(); | |
3271 | } | ||
3272 | ✗ | return _the_nil_ptr; | |
3273 | #endif | ||
3274 | } | ||
3275 | |||
3276 | const char* hpp::pinocchio_idl::CollisionObject::_PD_repoId = "IDL:hpp/pinocchio_idl/CollisionObject:1.0"; | ||
3277 | |||
3278 | |||
3279 | ✗ | hpp::pinocchio_idl::_objref_CollisionObject::~_objref_CollisionObject() { | |
3280 | |||
3281 | } | ||
3282 | |||
3283 | |||
3284 | ✗ | hpp::pinocchio_idl::_objref_CollisionObject::_objref_CollisionObject(omniIOR* ior, omniIdentity* id) : | |
3285 | ✗ | omniObjRef(::hpp::pinocchio_idl::CollisionObject::_PD_repoId, ior, id, 1) | |
3286 | |||
3287 | |||
3288 | { | ||
3289 | ✗ | _PR_setobj(this); | |
3290 | } | ||
3291 | |||
3292 | void* | ||
3293 | ✗ | hpp::pinocchio_idl::_objref_CollisionObject::_ptrToObjRef(const char* id) | |
3294 | { | ||
3295 | ✗ | if (id == ::hpp::pinocchio_idl::CollisionObject::_PD_repoId) | |
3296 | ✗ | return (::hpp::pinocchio_idl::CollisionObject_ptr) this; | |
3297 | |||
3298 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
3299 | ✗ | return (::CORBA::Object_ptr) this; | |
3300 | |||
3301 | ✗ | if (omni::strMatch(id, ::hpp::pinocchio_idl::CollisionObject::_PD_repoId)) | |
3302 | ✗ | return (::hpp::pinocchio_idl::CollisionObject_ptr) this; | |
3303 | |||
3304 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
3305 | ✗ | return (::CORBA::Object_ptr) this; | |
3306 | |||
3307 | ✗ | return 0; | |
3308 | } | ||
3309 | |||
3310 | |||
3311 | // | ||
3312 | // Code for hpp::pinocchio_idl::CollisionObject::deleteThis | ||
3313 | |||
3314 | // Local call call-back function. | ||
3315 | static void | ||
3316 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_53000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) | |
3317 | { | ||
3318 | |||
3319 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject* impl = (hpp::pinocchio_idl::_impl_CollisionObject*) svnt->_ptrToInterface(hpp::pinocchio_idl::CollisionObject::_PD_repoId); | |
3320 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
3321 | ✗ | impl->deleteThis(); | |
3322 | #else | ||
3323 | if (!cd->is_upcall()) | ||
3324 | impl->deleteThis(); | ||
3325 | else { | ||
3326 | try { | ||
3327 | impl->deleteThis(); | ||
3328 | } | ||
3329 | catch(hpp::Error& ex) { | ||
3330 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
3331 | } | ||
3332 | |||
3333 | |||
3334 | } | ||
3335 | #endif | ||
3336 | |||
3337 | |||
3338 | } | ||
3339 | |||
3340 | ✗ | void hpp::pinocchio_idl::_objref_CollisionObject::deleteThis() | |
3341 | { | ||
3342 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_53000000, "deleteThis", 11); | |
3343 | |||
3344 | |||
3345 | ✗ | _invoke(_call_desc); | |
3346 | |||
3347 | |||
3348 | |||
3349 | } | ||
3350 | |||
3351 | |||
3352 | // | ||
3353 | // Code for hpp::pinocchio_idl::CollisionObject::deleteIfExpired | ||
3354 | |||
3355 | // Local call call-back function. | ||
3356 | static void | ||
3357 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_63000000(omniCallDescriptor* cd, omniServant* svnt) | |
3358 | { | ||
3359 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000* tcd = (_0RL_cd_b59b07ceb59c5a92_20000000*)cd; | |
3360 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject* impl = (hpp::pinocchio_idl::_impl_CollisionObject*) svnt->_ptrToInterface(hpp::pinocchio_idl::CollisionObject::_PD_repoId); | |
3361 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
3362 | ✗ | tcd->result = impl->deleteIfExpired(); | |
3363 | #else | ||
3364 | if (!cd->is_upcall()) | ||
3365 | tcd->result = impl->deleteIfExpired(); | ||
3366 | else { | ||
3367 | try { | ||
3368 | tcd->result = impl->deleteIfExpired(); | ||
3369 | } | ||
3370 | catch(hpp::Error& ex) { | ||
3371 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
3372 | } | ||
3373 | |||
3374 | |||
3375 | } | ||
3376 | #endif | ||
3377 | |||
3378 | |||
3379 | } | ||
3380 | |||
3381 | ✗ | ::CORBA::Boolean hpp::pinocchio_idl::_objref_CollisionObject::deleteIfExpired() | |
3382 | { | ||
3383 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_63000000, "deleteIfExpired", 16); | |
3384 | |||
3385 | |||
3386 | ✗ | _invoke(_call_desc); | |
3387 | ✗ | return _call_desc.result; | |
3388 | |||
3389 | |||
3390 | } | ||
3391 | |||
3392 | |||
3393 | // | ||
3394 | // Code for hpp::pinocchio_idl::CollisionObject::persistantStorage | ||
3395 | |||
3396 | // Local call call-back function. | ||
3397 | static void | ||
3398 | ✗ | _0RL_lcfn_b59b07ceb59c5a92_73000000(omniCallDescriptor* cd, omniServant* svnt) | |
3399 | { | ||
3400 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000* tcd = (_0RL_cd_b59b07ceb59c5a92_40000000*)cd; | |
3401 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject* impl = (hpp::pinocchio_idl::_impl_CollisionObject*) svnt->_ptrToInterface(hpp::pinocchio_idl::CollisionObject::_PD_repoId); | |
3402 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
3403 | ✗ | impl->persistantStorage(tcd->arg_0); | |
3404 | #else | ||
3405 | if (!cd->is_upcall()) | ||
3406 | impl->persistantStorage(tcd->arg_0); | ||
3407 | else { | ||
3408 | try { | ||
3409 | impl->persistantStorage(tcd->arg_0); | ||
3410 | } | ||
3411 | catch(hpp::Error& ex) { | ||
3412 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
3413 | } | ||
3414 | |||
3415 | |||
3416 | } | ||
3417 | #endif | ||
3418 | |||
3419 | |||
3420 | } | ||
3421 | |||
3422 | ✗ | void hpp::pinocchio_idl::_objref_CollisionObject::persistantStorage(::CORBA::Boolean persistant) | |
3423 | { | ||
3424 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_73000000, "persistantStorage", 18); | |
3425 | ✗ | _call_desc.arg_0 = persistant; | |
3426 | |||
3427 | ✗ | _invoke(_call_desc); | |
3428 | |||
3429 | |||
3430 | |||
3431 | } | ||
3432 | |||
3433 | 16 | hpp::pinocchio_idl::_pof_CollisionObject::~_pof_CollisionObject() {} | |
3434 | |||
3435 | |||
3436 | omniObjRef* | ||
3437 | ✗ | hpp::pinocchio_idl::_pof_CollisionObject::newObjRef(omniIOR* ior, omniIdentity* id) | |
3438 | { | ||
3439 | ✗ | return new ::hpp::pinocchio_idl::_objref_CollisionObject(ior, id); | |
3440 | } | ||
3441 | |||
3442 | |||
3443 | ::CORBA::Boolean | ||
3444 | ✗ | hpp::pinocchio_idl::_pof_CollisionObject::is_a(const char* id) const | |
3445 | { | ||
3446 | ✗ | if (omni::ptrStrMatch(id, ::hpp::pinocchio_idl::CollisionObject::_PD_repoId)) | |
3447 | ✗ | return 1; | |
3448 | |||
3449 | ✗ | return 0; | |
3450 | } | ||
3451 | |||
3452 | const hpp::pinocchio_idl::_pof_CollisionObject _the_pof_hpp_mpinocchio__idl_mCollisionObject; | ||
3453 | |||
3454 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject::~_impl_CollisionObject() {} | |
3455 | |||
3456 | |||
3457 | ::CORBA::Boolean | ||
3458 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject::_dispatch(omniCallHandle& _handle) | |
3459 | { | ||
3460 | ✗ | const char* op = _handle.operation_name(); | |
3461 | |||
3462 | ✗ | if (omni::strMatch(op, "deleteThis")) { | |
3463 | |||
3464 | ✗ | _0RL_cd_b59b07ceb59c5a92_00000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_53000000, "deleteThis", 11, 1); | |
3465 | |||
3466 | ✗ | _handle.upcall(this,_call_desc); | |
3467 | ✗ | return 1; | |
3468 | } | ||
3469 | |||
3470 | ✗ | if (omni::strMatch(op, "deleteIfExpired")) { | |
3471 | |||
3472 | ✗ | _0RL_cd_b59b07ceb59c5a92_20000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_63000000, "deleteIfExpired", 16, 1); | |
3473 | |||
3474 | ✗ | _handle.upcall(this,_call_desc); | |
3475 | ✗ | return 1; | |
3476 | } | ||
3477 | |||
3478 | ✗ | if (omni::strMatch(op, "persistantStorage")) { | |
3479 | |||
3480 | ✗ | _0RL_cd_b59b07ceb59c5a92_40000000 _call_desc(_0RL_lcfn_b59b07ceb59c5a92_73000000, "persistantStorage", 18, 1); | |
3481 | |||
3482 | ✗ | _handle.upcall(this,_call_desc); | |
3483 | ✗ | return 1; | |
3484 | } | ||
3485 | |||
3486 | |||
3487 | ✗ | return 0; | |
3488 | } | ||
3489 | |||
3490 | void* | ||
3491 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject::_ptrToInterface(const char* id) | |
3492 | { | ||
3493 | ✗ | if (id == ::hpp::pinocchio_idl::CollisionObject::_PD_repoId) | |
3494 | ✗ | return (::hpp::pinocchio_idl::_impl_CollisionObject*) this; | |
3495 | |||
3496 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
3497 | ✗ | return (void*) 1; | |
3498 | |||
3499 | ✗ | if (omni::strMatch(id, ::hpp::pinocchio_idl::CollisionObject::_PD_repoId)) | |
3500 | ✗ | return (::hpp::pinocchio_idl::_impl_CollisionObject*) this; | |
3501 | |||
3502 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
3503 | ✗ | return (void*) 1; | |
3504 | ✗ | return 0; | |
3505 | } | ||
3506 | |||
3507 | const char* | ||
3508 | ✗ | hpp::pinocchio_idl::_impl_CollisionObject::_mostDerivedRepoId() | |
3509 | { | ||
3510 | ✗ | return ::hpp::pinocchio_idl::CollisionObject::_PD_repoId; | |
3511 | } | ||
3512 | |||
3513 | ✗ | POA_hpp::pinocchio_idl::CenterOfMassComputation::~CenterOfMassComputation() {} | |
3514 | |||
3515 | 4 | POA_hpp::pinocchio_idl::Device::~Device() {} | |
3516 | |||
3517 | ✗ | POA_hpp::pinocchio_idl::CollisionObject::~CollisionObject() {} | |
3518 | |||
3519 |