GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/_problemSK.cc
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 104 765 13.6%
Branches: 57 698 8.2%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit.
2
3 #include "_problem-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 12 hpp::core_idl::Problem_ptr hpp::core_idl::Problem_Helper::_nil() {
18 12 return ::hpp::core_idl::Problem::_nil();
19 }
20
21 ::CORBA::Boolean hpp::core_idl::Problem_Helper::is_nil(::hpp::core_idl::Problem_ptr p) {
22 return ::CORBA::is_nil(p);
23
24 }
25
26 21 void hpp::core_idl::Problem_Helper::release(::hpp::core_idl::Problem_ptr p) {
27
1/2
✓ Branch 0 taken 21 times.
✗ Branch 1 not taken.
21 ::CORBA::release(p);
28 21 }
29
30 void hpp::core_idl::Problem_Helper::marshalObjRef(::hpp::core_idl::Problem_ptr obj, cdrStream& s) {
31 ::hpp::core_idl::Problem::_marshalObjRef(obj, s);
32 }
33
34 hpp::core_idl::Problem_ptr hpp::core_idl::Problem_Helper::unmarshalObjRef(cdrStream& s) {
35 return ::hpp::core_idl::Problem::_unmarshalObjRef(s);
36 }
37
38 6 void hpp::core_idl::Problem_Helper::duplicate(::hpp::core_idl::Problem_ptr obj) {
39
4/8
✓ Branch 0 taken 6 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 6 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 6 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 6 times.
✗ Branch 8 not taken.
6 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
40 6 }
41
42 hpp::core_idl::Problem_ptr
43 hpp::core_idl::Problem::_duplicate(::hpp::core_idl::Problem_ptr obj)
44 {
45 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
46 return obj;
47 }
48
49 hpp::core_idl::Problem_ptr
50 hpp::core_idl::Problem::_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::core_idl::Problem_ptr
59 hpp::core_idl::Problem::_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::core_idl::Problem_ptr
67 12 hpp::core_idl::Problem::_nil()
68 {
69 #ifdef OMNI_UNLOADABLE_STUBS
70 static _objref_Problem _the_nil_obj;
71 return &_the_nil_obj;
72 #else
73 static _objref_Problem* _the_nil_ptr = 0;
74
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 9 times.
12 if (!_the_nil_ptr) {
75 3 omni::nilRefLock().lock();
76
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (!_the_nil_ptr) {
77
1/2
✓ Branch 2 taken 3 times.
✗ Branch 3 not taken.
3 _the_nil_ptr = new _objref_Problem;
78
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 registerNilCorbaObject(_the_nil_ptr);
79 }
80 3 omni::nilRefLock().unlock();
81 }
82 12 return _the_nil_ptr;
83 #endif
84 }
85
86 const char* hpp::core_idl::Problem::_PD_repoId = "IDL:hpp/core_idl/Problem:1.0";
87
88
89 12 hpp::core_idl::_objref_Problem::~_objref_Problem() {
90
91 }
92
93
94 8 hpp::core_idl::_objref_Problem::_objref_Problem(omniIOR* ior, omniIdentity* id) :
95
1/2
✓ Branch 2 taken 4 times.
✗ Branch 3 not taken.
8 omniObjRef(::hpp::core_idl::Problem::_PD_repoId, ior, id, 1)
96
97
98 {
99 8 _PR_setobj(this);
100 }
101
102 void*
103 4 hpp::core_idl::_objref_Problem::_ptrToObjRef(const char* id)
104 {
105
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
4 if (id == ::hpp::core_idl::Problem::_PD_repoId)
106 3 return (::hpp::core_idl::Problem_ptr) this;
107
108
1/2
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
1 if (id == ::CORBA::Object::_PD_repoId)
109 1 return (::CORBA::Object_ptr) this;
110
111 if (omni::strMatch(id, ::hpp::core_idl::Problem::_PD_repoId))
112 return (::hpp::core_idl::Problem_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::core_idl::Problem::deleteThis
123
124 // Proxy call descriptor class. Mangled signature:
125 // void_e_chpp_mError
126 class _0RL_cd_6b5b3c50bcc23985_00000000
127 : public omniCallDescriptor
128 {
129 public:
130 inline _0RL_cd_6b5b3c50bcc23985_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_6b5b3c50bcc23985_00000000::_user_exns[] = {
145 hpp::Error::_PD_repoId
146 };
147
148 void _0RL_cd_6b5b3c50bcc23985_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_6b5b3c50bcc23985_10000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
168 {
169
170 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_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::core_idl::_objref_Problem::deleteThis()
192 {
193 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_10000000, "deleteThis", 11);
194
195
196 _invoke(_call_desc);
197
198
199
200 }
201
202
203 //
204 // Code for hpp::core_idl::Problem::deleteIfExpired
205
206 // Proxy call descriptor class. Mangled signature:
207 // _cboolean_e_chpp_mError
208 class _0RL_cd_6b5b3c50bcc23985_20000000
209 : public omniCallDescriptor
210 {
211 public:
212 inline _0RL_cd_6b5b3c50bcc23985_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_6b5b3c50bcc23985_20000000::marshalReturnedValues(cdrStream& _n)
229 {
230 _n.marshalBoolean(result);
231
232 }
233
234 void _0RL_cd_6b5b3c50bcc23985_20000000::unmarshalReturnedValues(cdrStream& _n)
235 {
236 result = _n.unmarshalBoolean();
237
238 }
239
240 const char* const _0RL_cd_6b5b3c50bcc23985_20000000::_user_exns[] = {
241 hpp::Error::_PD_repoId
242 };
243
244 void _0RL_cd_6b5b3c50bcc23985_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_6b5b3c50bcc23985_30000000(omniCallDescriptor* cd, omniServant* svnt)
264 {
265 _0RL_cd_6b5b3c50bcc23985_20000000* tcd = (_0RL_cd_6b5b3c50bcc23985_20000000*)cd;
266 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_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::core_idl::_objref_Problem::deleteIfExpired()
288 {
289 _0RL_cd_6b5b3c50bcc23985_20000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_30000000, "deleteIfExpired", 16);
290
291
292 _invoke(_call_desc);
293 return _call_desc.result;
294
295
296 }
297
298
299 //
300 // Code for hpp::core_idl::Problem::persistantStorage
301
302 // Proxy call descriptor class. Mangled signature:
303 // void_i_cboolean_e_chpp_mError
304 class _0RL_cd_6b5b3c50bcc23985_40000000
305 : public omniCallDescriptor
306 {
307 public:
308 1 inline _0RL_cd_6b5b3c50bcc23985_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
309 1 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
310 {
311
312 1 }
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_6b5b3c50bcc23985_40000000::marshalArguments(cdrStream& _n)
325 {
326 _n.marshalBoolean(arg_0);
327
328 }
329
330 1 void _0RL_cd_6b5b3c50bcc23985_40000000::unmarshalArguments(cdrStream& _n)
331 {
332 1 arg_0 = _n.unmarshalBoolean();
333
334 1 }
335
336 const char* const _0RL_cd_6b5b3c50bcc23985_40000000::_user_exns[] = {
337 hpp::Error::_PD_repoId
338 };
339
340 void _0RL_cd_6b5b3c50bcc23985_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 1 _0RL_lcfn_6b5b3c50bcc23985_50000000(omniCallDescriptor* cd, omniServant* svnt)
360 {
361 1 _0RL_cd_6b5b3c50bcc23985_40000000* tcd = (_0RL_cd_6b5b3c50bcc23985_40000000*)cd;
362 1 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
363 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
364 1 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 1 }
382
383 void hpp::core_idl::_objref_Problem::persistantStorage(::CORBA::Boolean persistant)
384 {
385 _0RL_cd_6b5b3c50bcc23985_40000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_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::core_idl::Problem::robot
397
398 // Proxy call descriptor class. Mangled signature:
399 // _chpp_mpinocchio__idl_mDevice_e_chpp_mError
400 class _0RL_cd_6b5b3c50bcc23985_60000000
401 : public omniCallDescriptor
402 {
403 public:
404 2 inline _0RL_cd_6b5b3c50bcc23985_60000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
405
1/2
✓ Branch 2 taken 2 times.
✗ Branch 3 not taken.
2 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
406 {
407
408 2 }
409
410
411 void unmarshalReturnedValues(cdrStream&);
412 void marshalReturnedValues(cdrStream&);
413
414 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
415 static const char* const _user_exns[];
416
417 hpp::pinocchio_idl::Device_var result;
418 };
419
420 2 void _0RL_cd_6b5b3c50bcc23985_60000000::marshalReturnedValues(cdrStream& _n)
421 {
422 2 hpp::pinocchio_idl::Device_Helper::marshalObjRef(result,_n);
423
424 2 }
425
426 void _0RL_cd_6b5b3c50bcc23985_60000000::unmarshalReturnedValues(cdrStream& _n)
427 {
428 result = hpp::pinocchio_idl::Device_Helper::unmarshalObjRef(_n);
429
430 }
431
432 const char* const _0RL_cd_6b5b3c50bcc23985_60000000::_user_exns[] = {
433 hpp::Error::_PD_repoId
434 };
435
436 void _0RL_cd_6b5b3c50bcc23985_60000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
437 {
438 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
439 hpp::Error _ex;
440 _ex <<= s;
441 if (iop_client) iop_client->RequestCompleted();
442 throw _ex;
443 }
444
445
446 else {
447 if (iop_client) iop_client->RequestCompleted(1);
448 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
449 (::CORBA::CompletionStatus)s.completion());
450 }
451 }
452
453 // Local call call-back function.
454 static void
455 2 _0RL_lcfn_6b5b3c50bcc23985_70000000(omniCallDescriptor* cd, omniServant* svnt)
456 {
457 2 _0RL_cd_6b5b3c50bcc23985_60000000* tcd = (_0RL_cd_6b5b3c50bcc23985_60000000*)cd;
458 2 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
459 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
460 2 tcd->result = impl->robot();
461 #else
462 if (!cd->is_upcall())
463 tcd->result = impl->robot();
464 else {
465 try {
466 tcd->result = impl->robot();
467 }
468 catch(hpp::Error& ex) {
469 throw omniORB::StubUserException(ex._NP_duplicate());
470 }
471
472
473 }
474 #endif
475
476
477 2 }
478
479 hpp::pinocchio_idl::Device_ptr hpp::core_idl::_objref_Problem::robot()
480 {
481 _0RL_cd_6b5b3c50bcc23985_60000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_70000000, "robot", 6);
482
483
484 _invoke(_call_desc);
485 return _call_desc.result._retn();
486
487
488 }
489
490
491 //
492 // Code for hpp::core_idl::Problem::setInitConfig
493
494 // Proxy call descriptor class. Mangled signature:
495 // void_i_chpp_mfloatSeq_e_chpp_mError
496 class _0RL_cd_6b5b3c50bcc23985_80000000
497 : public omniCallDescriptor
498 {
499 public:
500 inline _0RL_cd_6b5b3c50bcc23985_80000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
501 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
502 {
503
504 }
505
506 void marshalArguments(cdrStream&);
507 void unmarshalArguments(cdrStream&);
508
509
510 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
511 static const char* const _user_exns[];
512
513 hpp::floatSeq_var arg_0_;
514 const hpp::floatSeq* arg_0;
515 };
516
517 void _0RL_cd_6b5b3c50bcc23985_80000000::marshalArguments(cdrStream& _n)
518 {
519 (const hpp::floatSeq&) *arg_0 >>= _n;
520
521 }
522
523 void _0RL_cd_6b5b3c50bcc23985_80000000::unmarshalArguments(cdrStream& _n)
524 {
525 arg_0_ = new hpp::floatSeq;
526 (hpp::floatSeq&)arg_0_ <<= _n;
527 arg_0 = &arg_0_.in();
528
529 }
530
531 const char* const _0RL_cd_6b5b3c50bcc23985_80000000::_user_exns[] = {
532 hpp::Error::_PD_repoId
533 };
534
535 void _0RL_cd_6b5b3c50bcc23985_80000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
536 {
537 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
538 hpp::Error _ex;
539 _ex <<= s;
540 if (iop_client) iop_client->RequestCompleted();
541 throw _ex;
542 }
543
544
545 else {
546 if (iop_client) iop_client->RequestCompleted(1);
547 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
548 (::CORBA::CompletionStatus)s.completion());
549 }
550 }
551
552 // Local call call-back function.
553 static void
554 _0RL_lcfn_6b5b3c50bcc23985_90000000(omniCallDescriptor* cd, omniServant* svnt)
555 {
556 _0RL_cd_6b5b3c50bcc23985_80000000* tcd = (_0RL_cd_6b5b3c50bcc23985_80000000*)cd;
557 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
558 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
559 impl->setInitConfig(*tcd->arg_0);
560 #else
561 if (!cd->is_upcall())
562 impl->setInitConfig(*tcd->arg_0);
563 else {
564 try {
565 impl->setInitConfig(*tcd->arg_0);
566 }
567 catch(hpp::Error& ex) {
568 throw omniORB::StubUserException(ex._NP_duplicate());
569 }
570
571
572 }
573 #endif
574
575
576 }
577
578 void hpp::core_idl::_objref_Problem::setInitConfig(const ::hpp::floatSeq& init)
579 {
580 _0RL_cd_6b5b3c50bcc23985_80000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_90000000, "setInitConfig", 14);
581 _call_desc.arg_0 = &(::hpp::floatSeq&) init;
582
583 _invoke(_call_desc);
584
585
586
587 }
588
589
590 //
591 // Code for hpp::core_idl::Problem::getInitConfig
592
593 // Proxy call descriptor class. Mangled signature:
594 // _chpp_mfloatSeq_e_chpp_mError
595 class _0RL_cd_6b5b3c50bcc23985_a0000000
596 : public omniCallDescriptor
597 {
598 public:
599 inline _0RL_cd_6b5b3c50bcc23985_a0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
600 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
601 {
602
603 }
604
605
606 void unmarshalReturnedValues(cdrStream&);
607 void marshalReturnedValues(cdrStream&);
608
609 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
610 static const char* const _user_exns[];
611
612 hpp::floatSeq_var result;
613 };
614
615 void _0RL_cd_6b5b3c50bcc23985_a0000000::marshalReturnedValues(cdrStream& _n)
616 {
617 (const hpp::floatSeq&) result >>= _n;
618
619 }
620
621 void _0RL_cd_6b5b3c50bcc23985_a0000000::unmarshalReturnedValues(cdrStream& _n)
622 {
623 result = new hpp::floatSeq;
624 (hpp::floatSeq&)result <<= _n;
625
626 }
627
628 const char* const _0RL_cd_6b5b3c50bcc23985_a0000000::_user_exns[] = {
629 hpp::Error::_PD_repoId
630 };
631
632 void _0RL_cd_6b5b3c50bcc23985_a0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
633 {
634 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
635 hpp::Error _ex;
636 _ex <<= s;
637 if (iop_client) iop_client->RequestCompleted();
638 throw _ex;
639 }
640
641
642 else {
643 if (iop_client) iop_client->RequestCompleted(1);
644 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
645 (::CORBA::CompletionStatus)s.completion());
646 }
647 }
648
649 // Local call call-back function.
650 static void
651 _0RL_lcfn_6b5b3c50bcc23985_b0000000(omniCallDescriptor* cd, omniServant* svnt)
652 {
653 _0RL_cd_6b5b3c50bcc23985_a0000000* tcd = (_0RL_cd_6b5b3c50bcc23985_a0000000*)cd;
654 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
655 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
656 tcd->result = impl->getInitConfig();
657 #else
658 if (!cd->is_upcall())
659 tcd->result = impl->getInitConfig();
660 else {
661 try {
662 tcd->result = impl->getInitConfig();
663 }
664 catch(hpp::Error& ex) {
665 throw omniORB::StubUserException(ex._NP_duplicate());
666 }
667
668
669 }
670 #endif
671
672
673 }
674
675 hpp::floatSeq* hpp::core_idl::_objref_Problem::getInitConfig()
676 {
677 _0RL_cd_6b5b3c50bcc23985_a0000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b0000000, "getInitConfig", 14);
678
679
680 _invoke(_call_desc);
681 return _call_desc.result._retn();
682
683
684 }
685
686
687 //
688 // Code for hpp::core_idl::Problem::addGoalConfig
689
690 // Local call call-back function.
691 static void
692 _0RL_lcfn_6b5b3c50bcc23985_c0000000(omniCallDescriptor* cd, omniServant* svnt)
693 {
694 _0RL_cd_6b5b3c50bcc23985_80000000* tcd = (_0RL_cd_6b5b3c50bcc23985_80000000*)cd;
695 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
696 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
697 impl->addGoalConfig(*tcd->arg_0);
698 #else
699 if (!cd->is_upcall())
700 impl->addGoalConfig(*tcd->arg_0);
701 else {
702 try {
703 impl->addGoalConfig(*tcd->arg_0);
704 }
705 catch(hpp::Error& ex) {
706 throw omniORB::StubUserException(ex._NP_duplicate());
707 }
708
709
710 }
711 #endif
712
713
714 }
715
716 void hpp::core_idl::_objref_Problem::addGoalConfig(const ::hpp::floatSeq& goal)
717 {
718 _0RL_cd_6b5b3c50bcc23985_80000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_c0000000, "addGoalConfig", 14);
719 _call_desc.arg_0 = &(::hpp::floatSeq&) goal;
720
721 _invoke(_call_desc);
722
723
724
725 }
726
727
728 //
729 // Code for hpp::core_idl::Problem::resetGoalConfigs
730
731 // Local call call-back function.
732 static void
733 _0RL_lcfn_6b5b3c50bcc23985_d0000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
734 {
735
736 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
737 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
738 impl->resetGoalConfigs();
739 #else
740 if (!cd->is_upcall())
741 impl->resetGoalConfigs();
742 else {
743 try {
744 impl->resetGoalConfigs();
745 }
746 catch(hpp::Error& ex) {
747 throw omniORB::StubUserException(ex._NP_duplicate());
748 }
749
750
751 }
752 #endif
753
754
755 }
756
757 void hpp::core_idl::_objref_Problem::resetGoalConfigs()
758 {
759 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d0000000, "resetGoalConfigs", 17);
760
761
762 _invoke(_call_desc);
763
764
765
766 }
767
768
769 //
770 // Code for hpp::core_idl::Problem::getConstraints
771
772 // Proxy call descriptor class. Mangled signature:
773 // _chpp_mcore__idl_mConstraint_e_chpp_mError
774 class _0RL_cd_6b5b3c50bcc23985_e0000000
775 : public omniCallDescriptor
776 {
777 public:
778 inline _0RL_cd_6b5b3c50bcc23985_e0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
779 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
780 {
781
782 }
783
784
785 void unmarshalReturnedValues(cdrStream&);
786 void marshalReturnedValues(cdrStream&);
787
788 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
789 static const char* const _user_exns[];
790
791 hpp::core_idl::Constraint_var result;
792 };
793
794 void _0RL_cd_6b5b3c50bcc23985_e0000000::marshalReturnedValues(cdrStream& _n)
795 {
796 hpp::core_idl::Constraint_Helper::marshalObjRef(result,_n);
797
798 }
799
800 void _0RL_cd_6b5b3c50bcc23985_e0000000::unmarshalReturnedValues(cdrStream& _n)
801 {
802 result = hpp::core_idl::Constraint_Helper::unmarshalObjRef(_n);
803
804 }
805
806 const char* const _0RL_cd_6b5b3c50bcc23985_e0000000::_user_exns[] = {
807 hpp::Error::_PD_repoId
808 };
809
810 void _0RL_cd_6b5b3c50bcc23985_e0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
811 {
812 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
813 hpp::Error _ex;
814 _ex <<= s;
815 if (iop_client) iop_client->RequestCompleted();
816 throw _ex;
817 }
818
819
820 else {
821 if (iop_client) iop_client->RequestCompleted(1);
822 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
823 (::CORBA::CompletionStatus)s.completion());
824 }
825 }
826
827 // Local call call-back function.
828 static void
829 _0RL_lcfn_6b5b3c50bcc23985_f0000000(omniCallDescriptor* cd, omniServant* svnt)
830 {
831 _0RL_cd_6b5b3c50bcc23985_e0000000* tcd = (_0RL_cd_6b5b3c50bcc23985_e0000000*)cd;
832 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
833 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
834 tcd->result = impl->getConstraints();
835 #else
836 if (!cd->is_upcall())
837 tcd->result = impl->getConstraints();
838 else {
839 try {
840 tcd->result = impl->getConstraints();
841 }
842 catch(hpp::Error& ex) {
843 throw omniORB::StubUserException(ex._NP_duplicate());
844 }
845
846
847 }
848 #endif
849
850
851 }
852
853 hpp::core_idl::Constraint_ptr hpp::core_idl::_objref_Problem::getConstraints()
854 {
855 _0RL_cd_6b5b3c50bcc23985_e0000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f0000000, "getConstraints", 15);
856
857
858 _invoke(_call_desc);
859 return _call_desc.result._retn();
860
861
862 }
863
864
865 //
866 // Code for hpp::core_idl::Problem::setConstraints
867
868 // Proxy call descriptor class. Mangled signature:
869 // void_i_chpp_mcore__idl_mConstraint_e_chpp_mError
870 class _0RL_cd_6b5b3c50bcc23985_01000000
871 : public omniCallDescriptor
872 {
873 public:
874 inline _0RL_cd_6b5b3c50bcc23985_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
875 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
876 {
877
878 }
879
880 void marshalArguments(cdrStream&);
881 void unmarshalArguments(cdrStream&);
882
883
884 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
885 static const char* const _user_exns[];
886
887 hpp::core_idl::Constraint_var arg_0_;
888 hpp::core_idl::Constraint_ptr arg_0;
889 };
890
891 void _0RL_cd_6b5b3c50bcc23985_01000000::marshalArguments(cdrStream& _n)
892 {
893 hpp::core_idl::Constraint_Helper::marshalObjRef(arg_0,_n);
894
895 }
896
897 void _0RL_cd_6b5b3c50bcc23985_01000000::unmarshalArguments(cdrStream& _n)
898 {
899 arg_0_ = hpp::core_idl::Constraint_Helper::unmarshalObjRef(_n);
900 arg_0 = arg_0_.in();
901
902 }
903
904 const char* const _0RL_cd_6b5b3c50bcc23985_01000000::_user_exns[] = {
905 hpp::Error::_PD_repoId
906 };
907
908 void _0RL_cd_6b5b3c50bcc23985_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
909 {
910 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
911 hpp::Error _ex;
912 _ex <<= s;
913 if (iop_client) iop_client->RequestCompleted();
914 throw _ex;
915 }
916
917
918 else {
919 if (iop_client) iop_client->RequestCompleted(1);
920 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
921 (::CORBA::CompletionStatus)s.completion());
922 }
923 }
924
925 // Local call call-back function.
926 static void
927 _0RL_lcfn_6b5b3c50bcc23985_11000000(omniCallDescriptor* cd, omniServant* svnt)
928 {
929 _0RL_cd_6b5b3c50bcc23985_01000000* tcd = (_0RL_cd_6b5b3c50bcc23985_01000000*)cd;
930 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
931 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
932 impl->setConstraints(tcd->arg_0);
933 #else
934 if (!cd->is_upcall())
935 impl->setConstraints(tcd->arg_0);
936 else {
937 try {
938 impl->setConstraints(tcd->arg_0);
939 }
940 catch(hpp::Error& ex) {
941 throw omniORB::StubUserException(ex._NP_duplicate());
942 }
943
944
945 }
946 #endif
947
948
949 }
950
951 void hpp::core_idl::_objref_Problem::setConstraints(::hpp::core_idl::Constraint_ptr constraints)
952 {
953 _0RL_cd_6b5b3c50bcc23985_01000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_11000000, "setConstraints", 15);
954 _call_desc.arg_0 = constraints;
955
956 _invoke(_call_desc);
957
958
959
960 }
961
962
963 //
964 // Code for hpp::core_idl::Problem::getDistance
965
966 // Proxy call descriptor class. Mangled signature:
967 // _chpp_mcore__idl_mDistance_e_chpp_mError
968 class _0RL_cd_6b5b3c50bcc23985_21000000
969 : public omniCallDescriptor
970 {
971 public:
972 inline _0RL_cd_6b5b3c50bcc23985_21000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
973 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
974 {
975
976 }
977
978
979 void unmarshalReturnedValues(cdrStream&);
980 void marshalReturnedValues(cdrStream&);
981
982 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
983 static const char* const _user_exns[];
984
985 hpp::core_idl::Distance_var result;
986 };
987
988 void _0RL_cd_6b5b3c50bcc23985_21000000::marshalReturnedValues(cdrStream& _n)
989 {
990 hpp::core_idl::Distance_Helper::marshalObjRef(result,_n);
991
992 }
993
994 void _0RL_cd_6b5b3c50bcc23985_21000000::unmarshalReturnedValues(cdrStream& _n)
995 {
996 result = hpp::core_idl::Distance_Helper::unmarshalObjRef(_n);
997
998 }
999
1000 const char* const _0RL_cd_6b5b3c50bcc23985_21000000::_user_exns[] = {
1001 hpp::Error::_PD_repoId
1002 };
1003
1004 void _0RL_cd_6b5b3c50bcc23985_21000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1005 {
1006 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1007 hpp::Error _ex;
1008 _ex <<= s;
1009 if (iop_client) iop_client->RequestCompleted();
1010 throw _ex;
1011 }
1012
1013
1014 else {
1015 if (iop_client) iop_client->RequestCompleted(1);
1016 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1017 (::CORBA::CompletionStatus)s.completion());
1018 }
1019 }
1020
1021 // Local call call-back function.
1022 static void
1023 _0RL_lcfn_6b5b3c50bcc23985_31000000(omniCallDescriptor* cd, omniServant* svnt)
1024 {
1025 _0RL_cd_6b5b3c50bcc23985_21000000* tcd = (_0RL_cd_6b5b3c50bcc23985_21000000*)cd;
1026 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1027 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1028 tcd->result = impl->getDistance();
1029 #else
1030 if (!cd->is_upcall())
1031 tcd->result = impl->getDistance();
1032 else {
1033 try {
1034 tcd->result = impl->getDistance();
1035 }
1036 catch(hpp::Error& ex) {
1037 throw omniORB::StubUserException(ex._NP_duplicate());
1038 }
1039
1040
1041 }
1042 #endif
1043
1044
1045 }
1046
1047 hpp::core_idl::Distance_ptr hpp::core_idl::_objref_Problem::getDistance()
1048 {
1049 _0RL_cd_6b5b3c50bcc23985_21000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_31000000, "getDistance", 12);
1050
1051
1052 _invoke(_call_desc);
1053 return _call_desc.result._retn();
1054
1055
1056 }
1057
1058
1059 //
1060 // Code for hpp::core_idl::Problem::setDistance
1061
1062 // Proxy call descriptor class. Mangled signature:
1063 // void_i_chpp_mcore__idl_mDistance_e_chpp_mError
1064 class _0RL_cd_6b5b3c50bcc23985_41000000
1065 : public omniCallDescriptor
1066 {
1067 public:
1068 inline _0RL_cd_6b5b3c50bcc23985_41000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1069 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1070 {
1071
1072 }
1073
1074 void marshalArguments(cdrStream&);
1075 void unmarshalArguments(cdrStream&);
1076
1077
1078 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1079 static const char* const _user_exns[];
1080
1081 hpp::core_idl::Distance_var arg_0_;
1082 hpp::core_idl::Distance_ptr arg_0;
1083 };
1084
1085 void _0RL_cd_6b5b3c50bcc23985_41000000::marshalArguments(cdrStream& _n)
1086 {
1087 hpp::core_idl::Distance_Helper::marshalObjRef(arg_0,_n);
1088
1089 }
1090
1091 void _0RL_cd_6b5b3c50bcc23985_41000000::unmarshalArguments(cdrStream& _n)
1092 {
1093 arg_0_ = hpp::core_idl::Distance_Helper::unmarshalObjRef(_n);
1094 arg_0 = arg_0_.in();
1095
1096 }
1097
1098 const char* const _0RL_cd_6b5b3c50bcc23985_41000000::_user_exns[] = {
1099 hpp::Error::_PD_repoId
1100 };
1101
1102 void _0RL_cd_6b5b3c50bcc23985_41000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1103 {
1104 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1105 hpp::Error _ex;
1106 _ex <<= s;
1107 if (iop_client) iop_client->RequestCompleted();
1108 throw _ex;
1109 }
1110
1111
1112 else {
1113 if (iop_client) iop_client->RequestCompleted(1);
1114 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1115 (::CORBA::CompletionStatus)s.completion());
1116 }
1117 }
1118
1119 // Local call call-back function.
1120 static void
1121 _0RL_lcfn_6b5b3c50bcc23985_51000000(omniCallDescriptor* cd, omniServant* svnt)
1122 {
1123 _0RL_cd_6b5b3c50bcc23985_41000000* tcd = (_0RL_cd_6b5b3c50bcc23985_41000000*)cd;
1124 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1125 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1126 impl->setDistance(tcd->arg_0);
1127 #else
1128 if (!cd->is_upcall())
1129 impl->setDistance(tcd->arg_0);
1130 else {
1131 try {
1132 impl->setDistance(tcd->arg_0);
1133 }
1134 catch(hpp::Error& ex) {
1135 throw omniORB::StubUserException(ex._NP_duplicate());
1136 }
1137
1138
1139 }
1140 #endif
1141
1142
1143 }
1144
1145 void hpp::core_idl::_objref_Problem::setDistance(::hpp::core_idl::Distance_ptr d)
1146 {
1147 _0RL_cd_6b5b3c50bcc23985_41000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_51000000, "setDistance", 12);
1148 _call_desc.arg_0 = d;
1149
1150 _invoke(_call_desc);
1151
1152
1153
1154 }
1155
1156
1157 //
1158 // Code for hpp::core_idl::Problem::getSteeringMethod
1159
1160 // Proxy call descriptor class. Mangled signature:
1161 // _chpp_mcore__idl_mSteeringMethod_e_chpp_mError
1162 class _0RL_cd_6b5b3c50bcc23985_61000000
1163 : public omniCallDescriptor
1164 {
1165 public:
1166 inline _0RL_cd_6b5b3c50bcc23985_61000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1167 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1168 {
1169
1170 }
1171
1172
1173 void unmarshalReturnedValues(cdrStream&);
1174 void marshalReturnedValues(cdrStream&);
1175
1176 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1177 static const char* const _user_exns[];
1178
1179 hpp::core_idl::SteeringMethod_var result;
1180 };
1181
1182 void _0RL_cd_6b5b3c50bcc23985_61000000::marshalReturnedValues(cdrStream& _n)
1183 {
1184 hpp::core_idl::SteeringMethod_Helper::marshalObjRef(result,_n);
1185
1186 }
1187
1188 void _0RL_cd_6b5b3c50bcc23985_61000000::unmarshalReturnedValues(cdrStream& _n)
1189 {
1190 result = hpp::core_idl::SteeringMethod_Helper::unmarshalObjRef(_n);
1191
1192 }
1193
1194 const char* const _0RL_cd_6b5b3c50bcc23985_61000000::_user_exns[] = {
1195 hpp::Error::_PD_repoId
1196 };
1197
1198 void _0RL_cd_6b5b3c50bcc23985_61000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1199 {
1200 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1201 hpp::Error _ex;
1202 _ex <<= s;
1203 if (iop_client) iop_client->RequestCompleted();
1204 throw _ex;
1205 }
1206
1207
1208 else {
1209 if (iop_client) iop_client->RequestCompleted(1);
1210 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1211 (::CORBA::CompletionStatus)s.completion());
1212 }
1213 }
1214
1215 // Local call call-back function.
1216 static void
1217 _0RL_lcfn_6b5b3c50bcc23985_71000000(omniCallDescriptor* cd, omniServant* svnt)
1218 {
1219 _0RL_cd_6b5b3c50bcc23985_61000000* tcd = (_0RL_cd_6b5b3c50bcc23985_61000000*)cd;
1220 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1221 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1222 tcd->result = impl->getSteeringMethod();
1223 #else
1224 if (!cd->is_upcall())
1225 tcd->result = impl->getSteeringMethod();
1226 else {
1227 try {
1228 tcd->result = impl->getSteeringMethod();
1229 }
1230 catch(hpp::Error& ex) {
1231 throw omniORB::StubUserException(ex._NP_duplicate());
1232 }
1233
1234
1235 }
1236 #endif
1237
1238
1239 }
1240
1241 hpp::core_idl::SteeringMethod_ptr hpp::core_idl::_objref_Problem::getSteeringMethod()
1242 {
1243 _0RL_cd_6b5b3c50bcc23985_61000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_71000000, "getSteeringMethod", 18);
1244
1245
1246 _invoke(_call_desc);
1247 return _call_desc.result._retn();
1248
1249
1250 }
1251
1252
1253 //
1254 // Code for hpp::core_idl::Problem::setSteeringMethod
1255
1256 // Proxy call descriptor class. Mangled signature:
1257 // void_i_chpp_mcore__idl_mSteeringMethod_e_chpp_mError
1258 class _0RL_cd_6b5b3c50bcc23985_81000000
1259 : public omniCallDescriptor
1260 {
1261 public:
1262 inline _0RL_cd_6b5b3c50bcc23985_81000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1263 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1264 {
1265
1266 }
1267
1268 void marshalArguments(cdrStream&);
1269 void unmarshalArguments(cdrStream&);
1270
1271
1272 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1273 static const char* const _user_exns[];
1274
1275 hpp::core_idl::SteeringMethod_var arg_0_;
1276 hpp::core_idl::SteeringMethod_ptr arg_0;
1277 };
1278
1279 void _0RL_cd_6b5b3c50bcc23985_81000000::marshalArguments(cdrStream& _n)
1280 {
1281 hpp::core_idl::SteeringMethod_Helper::marshalObjRef(arg_0,_n);
1282
1283 }
1284
1285 void _0RL_cd_6b5b3c50bcc23985_81000000::unmarshalArguments(cdrStream& _n)
1286 {
1287 arg_0_ = hpp::core_idl::SteeringMethod_Helper::unmarshalObjRef(_n);
1288 arg_0 = arg_0_.in();
1289
1290 }
1291
1292 const char* const _0RL_cd_6b5b3c50bcc23985_81000000::_user_exns[] = {
1293 hpp::Error::_PD_repoId
1294 };
1295
1296 void _0RL_cd_6b5b3c50bcc23985_81000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1297 {
1298 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1299 hpp::Error _ex;
1300 _ex <<= s;
1301 if (iop_client) iop_client->RequestCompleted();
1302 throw _ex;
1303 }
1304
1305
1306 else {
1307 if (iop_client) iop_client->RequestCompleted(1);
1308 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1309 (::CORBA::CompletionStatus)s.completion());
1310 }
1311 }
1312
1313 // Local call call-back function.
1314 static void
1315 _0RL_lcfn_6b5b3c50bcc23985_91000000(omniCallDescriptor* cd, omniServant* svnt)
1316 {
1317 _0RL_cd_6b5b3c50bcc23985_81000000* tcd = (_0RL_cd_6b5b3c50bcc23985_81000000*)cd;
1318 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1319 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1320 impl->setSteeringMethod(tcd->arg_0);
1321 #else
1322 if (!cd->is_upcall())
1323 impl->setSteeringMethod(tcd->arg_0);
1324 else {
1325 try {
1326 impl->setSteeringMethod(tcd->arg_0);
1327 }
1328 catch(hpp::Error& ex) {
1329 throw omniORB::StubUserException(ex._NP_duplicate());
1330 }
1331
1332
1333 }
1334 #endif
1335
1336
1337 }
1338
1339 void hpp::core_idl::_objref_Problem::setSteeringMethod(::hpp::core_idl::SteeringMethod_ptr d)
1340 {
1341 _0RL_cd_6b5b3c50bcc23985_81000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_91000000, "setSteeringMethod", 18);
1342 _call_desc.arg_0 = d;
1343
1344 _invoke(_call_desc);
1345
1346
1347
1348 }
1349
1350
1351 //
1352 // Code for hpp::core_idl::Problem::getPathValidation
1353
1354 // Proxy call descriptor class. Mangled signature:
1355 // _chpp_mcore__idl_mPathValidation_e_chpp_mError
1356 class _0RL_cd_6b5b3c50bcc23985_a1000000
1357 : public omniCallDescriptor
1358 {
1359 public:
1360 inline _0RL_cd_6b5b3c50bcc23985_a1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1361 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1362 {
1363
1364 }
1365
1366
1367 void unmarshalReturnedValues(cdrStream&);
1368 void marshalReturnedValues(cdrStream&);
1369
1370 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1371 static const char* const _user_exns[];
1372
1373 hpp::core_idl::PathValidation_var result;
1374 };
1375
1376 void _0RL_cd_6b5b3c50bcc23985_a1000000::marshalReturnedValues(cdrStream& _n)
1377 {
1378 hpp::core_idl::PathValidation_Helper::marshalObjRef(result,_n);
1379
1380 }
1381
1382 void _0RL_cd_6b5b3c50bcc23985_a1000000::unmarshalReturnedValues(cdrStream& _n)
1383 {
1384 result = hpp::core_idl::PathValidation_Helper::unmarshalObjRef(_n);
1385
1386 }
1387
1388 const char* const _0RL_cd_6b5b3c50bcc23985_a1000000::_user_exns[] = {
1389 hpp::Error::_PD_repoId
1390 };
1391
1392 void _0RL_cd_6b5b3c50bcc23985_a1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1393 {
1394 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1395 hpp::Error _ex;
1396 _ex <<= s;
1397 if (iop_client) iop_client->RequestCompleted();
1398 throw _ex;
1399 }
1400
1401
1402 else {
1403 if (iop_client) iop_client->RequestCompleted(1);
1404 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1405 (::CORBA::CompletionStatus)s.completion());
1406 }
1407 }
1408
1409 // Local call call-back function.
1410 static void
1411 _0RL_lcfn_6b5b3c50bcc23985_b1000000(omniCallDescriptor* cd, omniServant* svnt)
1412 {
1413 _0RL_cd_6b5b3c50bcc23985_a1000000* tcd = (_0RL_cd_6b5b3c50bcc23985_a1000000*)cd;
1414 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1415 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1416 tcd->result = impl->getPathValidation();
1417 #else
1418 if (!cd->is_upcall())
1419 tcd->result = impl->getPathValidation();
1420 else {
1421 try {
1422 tcd->result = impl->getPathValidation();
1423 }
1424 catch(hpp::Error& ex) {
1425 throw omniORB::StubUserException(ex._NP_duplicate());
1426 }
1427
1428
1429 }
1430 #endif
1431
1432
1433 }
1434
1435 hpp::core_idl::PathValidation_ptr hpp::core_idl::_objref_Problem::getPathValidation()
1436 {
1437 _0RL_cd_6b5b3c50bcc23985_a1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b1000000, "getPathValidation", 18);
1438
1439
1440 _invoke(_call_desc);
1441 return _call_desc.result._retn();
1442
1443
1444 }
1445
1446
1447 //
1448 // Code for hpp::core_idl::Problem::setPathValidation
1449
1450 // Proxy call descriptor class. Mangled signature:
1451 // void_i_chpp_mcore__idl_mPathValidation_e_chpp_mError
1452 class _0RL_cd_6b5b3c50bcc23985_c1000000
1453 : public omniCallDescriptor
1454 {
1455 public:
1456 inline _0RL_cd_6b5b3c50bcc23985_c1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1457 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1458 {
1459
1460 }
1461
1462 void marshalArguments(cdrStream&);
1463 void unmarshalArguments(cdrStream&);
1464
1465
1466 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1467 static const char* const _user_exns[];
1468
1469 hpp::core_idl::PathValidation_var arg_0_;
1470 hpp::core_idl::PathValidation_ptr arg_0;
1471 };
1472
1473 void _0RL_cd_6b5b3c50bcc23985_c1000000::marshalArguments(cdrStream& _n)
1474 {
1475 hpp::core_idl::PathValidation_Helper::marshalObjRef(arg_0,_n);
1476
1477 }
1478
1479 void _0RL_cd_6b5b3c50bcc23985_c1000000::unmarshalArguments(cdrStream& _n)
1480 {
1481 arg_0_ = hpp::core_idl::PathValidation_Helper::unmarshalObjRef(_n);
1482 arg_0 = arg_0_.in();
1483
1484 }
1485
1486 const char* const _0RL_cd_6b5b3c50bcc23985_c1000000::_user_exns[] = {
1487 hpp::Error::_PD_repoId
1488 };
1489
1490 void _0RL_cd_6b5b3c50bcc23985_c1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1491 {
1492 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1493 hpp::Error _ex;
1494 _ex <<= s;
1495 if (iop_client) iop_client->RequestCompleted();
1496 throw _ex;
1497 }
1498
1499
1500 else {
1501 if (iop_client) iop_client->RequestCompleted(1);
1502 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1503 (::CORBA::CompletionStatus)s.completion());
1504 }
1505 }
1506
1507 // Local call call-back function.
1508 static void
1509 _0RL_lcfn_6b5b3c50bcc23985_d1000000(omniCallDescriptor* cd, omniServant* svnt)
1510 {
1511 _0RL_cd_6b5b3c50bcc23985_c1000000* tcd = (_0RL_cd_6b5b3c50bcc23985_c1000000*)cd;
1512 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1513 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1514 impl->setPathValidation(tcd->arg_0);
1515 #else
1516 if (!cd->is_upcall())
1517 impl->setPathValidation(tcd->arg_0);
1518 else {
1519 try {
1520 impl->setPathValidation(tcd->arg_0);
1521 }
1522 catch(hpp::Error& ex) {
1523 throw omniORB::StubUserException(ex._NP_duplicate());
1524 }
1525
1526
1527 }
1528 #endif
1529
1530
1531 }
1532
1533 void hpp::core_idl::_objref_Problem::setPathValidation(::hpp::core_idl::PathValidation_ptr d)
1534 {
1535 _0RL_cd_6b5b3c50bcc23985_c1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d1000000, "setPathValidation", 18);
1536 _call_desc.arg_0 = d;
1537
1538 _invoke(_call_desc);
1539
1540
1541
1542 }
1543
1544
1545 //
1546 // Code for hpp::core_idl::Problem::getPathProjector
1547
1548 // Proxy call descriptor class. Mangled signature:
1549 // _chpp_mcore__idl_mPathProjector_e_chpp_mError
1550 class _0RL_cd_6b5b3c50bcc23985_e1000000
1551 : public omniCallDescriptor
1552 {
1553 public:
1554 inline _0RL_cd_6b5b3c50bcc23985_e1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1555 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1556 {
1557
1558 }
1559
1560
1561 void unmarshalReturnedValues(cdrStream&);
1562 void marshalReturnedValues(cdrStream&);
1563
1564 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1565 static const char* const _user_exns[];
1566
1567 hpp::core_idl::PathProjector_var result;
1568 };
1569
1570 void _0RL_cd_6b5b3c50bcc23985_e1000000::marshalReturnedValues(cdrStream& _n)
1571 {
1572 hpp::core_idl::PathProjector_Helper::marshalObjRef(result,_n);
1573
1574 }
1575
1576 void _0RL_cd_6b5b3c50bcc23985_e1000000::unmarshalReturnedValues(cdrStream& _n)
1577 {
1578 result = hpp::core_idl::PathProjector_Helper::unmarshalObjRef(_n);
1579
1580 }
1581
1582 const char* const _0RL_cd_6b5b3c50bcc23985_e1000000::_user_exns[] = {
1583 hpp::Error::_PD_repoId
1584 };
1585
1586 void _0RL_cd_6b5b3c50bcc23985_e1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1587 {
1588 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1589 hpp::Error _ex;
1590 _ex <<= s;
1591 if (iop_client) iop_client->RequestCompleted();
1592 throw _ex;
1593 }
1594
1595
1596 else {
1597 if (iop_client) iop_client->RequestCompleted(1);
1598 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1599 (::CORBA::CompletionStatus)s.completion());
1600 }
1601 }
1602
1603 // Local call call-back function.
1604 static void
1605 _0RL_lcfn_6b5b3c50bcc23985_f1000000(omniCallDescriptor* cd, omniServant* svnt)
1606 {
1607 _0RL_cd_6b5b3c50bcc23985_e1000000* tcd = (_0RL_cd_6b5b3c50bcc23985_e1000000*)cd;
1608 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1609 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1610 tcd->result = impl->getPathProjector();
1611 #else
1612 if (!cd->is_upcall())
1613 tcd->result = impl->getPathProjector();
1614 else {
1615 try {
1616 tcd->result = impl->getPathProjector();
1617 }
1618 catch(hpp::Error& ex) {
1619 throw omniORB::StubUserException(ex._NP_duplicate());
1620 }
1621
1622
1623 }
1624 #endif
1625
1626
1627 }
1628
1629 hpp::core_idl::PathProjector_ptr hpp::core_idl::_objref_Problem::getPathProjector()
1630 {
1631 _0RL_cd_6b5b3c50bcc23985_e1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f1000000, "getPathProjector", 17);
1632
1633
1634 _invoke(_call_desc);
1635 return _call_desc.result._retn();
1636
1637
1638 }
1639
1640
1641 //
1642 // Code for hpp::core_idl::Problem::setPathProjector
1643
1644 // Proxy call descriptor class. Mangled signature:
1645 // void_i_chpp_mcore__idl_mPathProjector_e_chpp_mError
1646 class _0RL_cd_6b5b3c50bcc23985_02000000
1647 : public omniCallDescriptor
1648 {
1649 public:
1650 inline _0RL_cd_6b5b3c50bcc23985_02000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1651 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1652 {
1653
1654 }
1655
1656 void marshalArguments(cdrStream&);
1657 void unmarshalArguments(cdrStream&);
1658
1659
1660 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1661 static const char* const _user_exns[];
1662
1663 hpp::core_idl::PathProjector_var arg_0_;
1664 hpp::core_idl::PathProjector_ptr arg_0;
1665 };
1666
1667 void _0RL_cd_6b5b3c50bcc23985_02000000::marshalArguments(cdrStream& _n)
1668 {
1669 hpp::core_idl::PathProjector_Helper::marshalObjRef(arg_0,_n);
1670
1671 }
1672
1673 void _0RL_cd_6b5b3c50bcc23985_02000000::unmarshalArguments(cdrStream& _n)
1674 {
1675 arg_0_ = hpp::core_idl::PathProjector_Helper::unmarshalObjRef(_n);
1676 arg_0 = arg_0_.in();
1677
1678 }
1679
1680 const char* const _0RL_cd_6b5b3c50bcc23985_02000000::_user_exns[] = {
1681 hpp::Error::_PD_repoId
1682 };
1683
1684 void _0RL_cd_6b5b3c50bcc23985_02000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1685 {
1686 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1687 hpp::Error _ex;
1688 _ex <<= s;
1689 if (iop_client) iop_client->RequestCompleted();
1690 throw _ex;
1691 }
1692
1693
1694 else {
1695 if (iop_client) iop_client->RequestCompleted(1);
1696 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1697 (::CORBA::CompletionStatus)s.completion());
1698 }
1699 }
1700
1701 // Local call call-back function.
1702 static void
1703 _0RL_lcfn_6b5b3c50bcc23985_12000000(omniCallDescriptor* cd, omniServant* svnt)
1704 {
1705 _0RL_cd_6b5b3c50bcc23985_02000000* tcd = (_0RL_cd_6b5b3c50bcc23985_02000000*)cd;
1706 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1707 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1708 impl->setPathProjector(tcd->arg_0);
1709 #else
1710 if (!cd->is_upcall())
1711 impl->setPathProjector(tcd->arg_0);
1712 else {
1713 try {
1714 impl->setPathProjector(tcd->arg_0);
1715 }
1716 catch(hpp::Error& ex) {
1717 throw omniORB::StubUserException(ex._NP_duplicate());
1718 }
1719
1720
1721 }
1722 #endif
1723
1724
1725 }
1726
1727 void hpp::core_idl::_objref_Problem::setPathProjector(::hpp::core_idl::PathProjector_ptr p)
1728 {
1729 _0RL_cd_6b5b3c50bcc23985_02000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_12000000, "setPathProjector", 17);
1730 _call_desc.arg_0 = p;
1731
1732 _invoke(_call_desc);
1733
1734
1735
1736 }
1737
1738
1739 //
1740 // Code for hpp::core_idl::Problem::getConfigValidations
1741
1742 // Proxy call descriptor class. Mangled signature:
1743 // _chpp_mcore__idl_mConfigValidation_e_chpp_mError
1744 class _0RL_cd_6b5b3c50bcc23985_22000000
1745 : public omniCallDescriptor
1746 {
1747 public:
1748 inline _0RL_cd_6b5b3c50bcc23985_22000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1749 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1750 {
1751
1752 }
1753
1754
1755 void unmarshalReturnedValues(cdrStream&);
1756 void marshalReturnedValues(cdrStream&);
1757
1758 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1759 static const char* const _user_exns[];
1760
1761 hpp::core_idl::ConfigValidation_var result;
1762 };
1763
1764 void _0RL_cd_6b5b3c50bcc23985_22000000::marshalReturnedValues(cdrStream& _n)
1765 {
1766 hpp::core_idl::ConfigValidation_Helper::marshalObjRef(result,_n);
1767
1768 }
1769
1770 void _0RL_cd_6b5b3c50bcc23985_22000000::unmarshalReturnedValues(cdrStream& _n)
1771 {
1772 result = hpp::core_idl::ConfigValidation_Helper::unmarshalObjRef(_n);
1773
1774 }
1775
1776 const char* const _0RL_cd_6b5b3c50bcc23985_22000000::_user_exns[] = {
1777 hpp::Error::_PD_repoId
1778 };
1779
1780 void _0RL_cd_6b5b3c50bcc23985_22000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1781 {
1782 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1783 hpp::Error _ex;
1784 _ex <<= s;
1785 if (iop_client) iop_client->RequestCompleted();
1786 throw _ex;
1787 }
1788
1789
1790 else {
1791 if (iop_client) iop_client->RequestCompleted(1);
1792 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1793 (::CORBA::CompletionStatus)s.completion());
1794 }
1795 }
1796
1797 // Local call call-back function.
1798 static void
1799 _0RL_lcfn_6b5b3c50bcc23985_32000000(omniCallDescriptor* cd, omniServant* svnt)
1800 {
1801 _0RL_cd_6b5b3c50bcc23985_22000000* tcd = (_0RL_cd_6b5b3c50bcc23985_22000000*)cd;
1802 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1803 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1804 tcd->result = impl->getConfigValidations();
1805 #else
1806 if (!cd->is_upcall())
1807 tcd->result = impl->getConfigValidations();
1808 else {
1809 try {
1810 tcd->result = impl->getConfigValidations();
1811 }
1812 catch(hpp::Error& ex) {
1813 throw omniORB::StubUserException(ex._NP_duplicate());
1814 }
1815
1816
1817 }
1818 #endif
1819
1820
1821 }
1822
1823 hpp::core_idl::ConfigValidation_ptr hpp::core_idl::_objref_Problem::getConfigValidations()
1824 {
1825 _0RL_cd_6b5b3c50bcc23985_22000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_32000000, "getConfigValidations", 21);
1826
1827
1828 _invoke(_call_desc);
1829 return _call_desc.result._retn();
1830
1831
1832 }
1833
1834
1835 //
1836 // Code for hpp::core_idl::Problem::clearConfigValidations
1837
1838 // Local call call-back function.
1839 static void
1840 _0RL_lcfn_6b5b3c50bcc23985_42000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
1841 {
1842
1843 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1844 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1845 impl->clearConfigValidations();
1846 #else
1847 if (!cd->is_upcall())
1848 impl->clearConfigValidations();
1849 else {
1850 try {
1851 impl->clearConfigValidations();
1852 }
1853 catch(hpp::Error& ex) {
1854 throw omniORB::StubUserException(ex._NP_duplicate());
1855 }
1856
1857
1858 }
1859 #endif
1860
1861
1862 }
1863
1864 void hpp::core_idl::_objref_Problem::clearConfigValidations()
1865 {
1866 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_42000000, "clearConfigValidations", 23);
1867
1868
1869 _invoke(_call_desc);
1870
1871
1872
1873 }
1874
1875
1876 //
1877 // Code for hpp::core_idl::Problem::addConfigValidation
1878
1879 // Proxy call descriptor class. Mangled signature:
1880 // void_i_chpp_mcore__idl_mConfigValidation_e_chpp_mError
1881 class _0RL_cd_6b5b3c50bcc23985_52000000
1882 : public omniCallDescriptor
1883 {
1884 public:
1885 inline _0RL_cd_6b5b3c50bcc23985_52000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1886 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1887 {
1888
1889 }
1890
1891 void marshalArguments(cdrStream&);
1892 void unmarshalArguments(cdrStream&);
1893
1894
1895 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1896 static const char* const _user_exns[];
1897
1898 hpp::core_idl::ConfigValidation_var arg_0_;
1899 hpp::core_idl::ConfigValidation_ptr arg_0;
1900 };
1901
1902 void _0RL_cd_6b5b3c50bcc23985_52000000::marshalArguments(cdrStream& _n)
1903 {
1904 hpp::core_idl::ConfigValidation_Helper::marshalObjRef(arg_0,_n);
1905
1906 }
1907
1908 void _0RL_cd_6b5b3c50bcc23985_52000000::unmarshalArguments(cdrStream& _n)
1909 {
1910 arg_0_ = hpp::core_idl::ConfigValidation_Helper::unmarshalObjRef(_n);
1911 arg_0 = arg_0_.in();
1912
1913 }
1914
1915 const char* const _0RL_cd_6b5b3c50bcc23985_52000000::_user_exns[] = {
1916 hpp::Error::_PD_repoId
1917 };
1918
1919 void _0RL_cd_6b5b3c50bcc23985_52000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1920 {
1921 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1922 hpp::Error _ex;
1923 _ex <<= s;
1924 if (iop_client) iop_client->RequestCompleted();
1925 throw _ex;
1926 }
1927
1928
1929 else {
1930 if (iop_client) iop_client->RequestCompleted(1);
1931 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1932 (::CORBA::CompletionStatus)s.completion());
1933 }
1934 }
1935
1936 // Local call call-back function.
1937 static void
1938 _0RL_lcfn_6b5b3c50bcc23985_62000000(omniCallDescriptor* cd, omniServant* svnt)
1939 {
1940 _0RL_cd_6b5b3c50bcc23985_52000000* tcd = (_0RL_cd_6b5b3c50bcc23985_52000000*)cd;
1941 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
1942 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1943 impl->addConfigValidation(tcd->arg_0);
1944 #else
1945 if (!cd->is_upcall())
1946 impl->addConfigValidation(tcd->arg_0);
1947 else {
1948 try {
1949 impl->addConfigValidation(tcd->arg_0);
1950 }
1951 catch(hpp::Error& ex) {
1952 throw omniORB::StubUserException(ex._NP_duplicate());
1953 }
1954
1955
1956 }
1957 #endif
1958
1959
1960 }
1961
1962 void hpp::core_idl::_objref_Problem::addConfigValidation(::hpp::core_idl::ConfigValidation_ptr cfgValidation)
1963 {
1964 _0RL_cd_6b5b3c50bcc23985_52000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_62000000, "addConfigValidation", 20);
1965 _call_desc.arg_0 = cfgValidation;
1966
1967 _invoke(_call_desc);
1968
1969
1970
1971 }
1972
1973
1974 //
1975 // Code for hpp::core_idl::Problem::getConfigurationShooter
1976
1977 // Proxy call descriptor class. Mangled signature:
1978 // _chpp_mcore__idl_mConfigurationShooter_e_chpp_mError
1979 class _0RL_cd_6b5b3c50bcc23985_72000000
1980 : public omniCallDescriptor
1981 {
1982 public:
1983 inline _0RL_cd_6b5b3c50bcc23985_72000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1984 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1985 {
1986
1987 }
1988
1989
1990 void unmarshalReturnedValues(cdrStream&);
1991 void marshalReturnedValues(cdrStream&);
1992
1993 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1994 static const char* const _user_exns[];
1995
1996 hpp::core_idl::ConfigurationShooter_var result;
1997 };
1998
1999 void _0RL_cd_6b5b3c50bcc23985_72000000::marshalReturnedValues(cdrStream& _n)
2000 {
2001 hpp::core_idl::ConfigurationShooter_Helper::marshalObjRef(result,_n);
2002
2003 }
2004
2005 void _0RL_cd_6b5b3c50bcc23985_72000000::unmarshalReturnedValues(cdrStream& _n)
2006 {
2007 result = hpp::core_idl::ConfigurationShooter_Helper::unmarshalObjRef(_n);
2008
2009 }
2010
2011 const char* const _0RL_cd_6b5b3c50bcc23985_72000000::_user_exns[] = {
2012 hpp::Error::_PD_repoId
2013 };
2014
2015 void _0RL_cd_6b5b3c50bcc23985_72000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2016 {
2017 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2018 hpp::Error _ex;
2019 _ex <<= s;
2020 if (iop_client) iop_client->RequestCompleted();
2021 throw _ex;
2022 }
2023
2024
2025 else {
2026 if (iop_client) iop_client->RequestCompleted(1);
2027 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2028 (::CORBA::CompletionStatus)s.completion());
2029 }
2030 }
2031
2032 // Local call call-back function.
2033 static void
2034 _0RL_lcfn_6b5b3c50bcc23985_82000000(omniCallDescriptor* cd, omniServant* svnt)
2035 {
2036 _0RL_cd_6b5b3c50bcc23985_72000000* tcd = (_0RL_cd_6b5b3c50bcc23985_72000000*)cd;
2037 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2038 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2039 tcd->result = impl->getConfigurationShooter();
2040 #else
2041 if (!cd->is_upcall())
2042 tcd->result = impl->getConfigurationShooter();
2043 else {
2044 try {
2045 tcd->result = impl->getConfigurationShooter();
2046 }
2047 catch(hpp::Error& ex) {
2048 throw omniORB::StubUserException(ex._NP_duplicate());
2049 }
2050
2051
2052 }
2053 #endif
2054
2055
2056 }
2057
2058 hpp::core_idl::ConfigurationShooter_ptr hpp::core_idl::_objref_Problem::getConfigurationShooter()
2059 {
2060 _0RL_cd_6b5b3c50bcc23985_72000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_82000000, "getConfigurationShooter", 24);
2061
2062
2063 _invoke(_call_desc);
2064 return _call_desc.result._retn();
2065
2066
2067 }
2068
2069
2070 //
2071 // Code for hpp::core_idl::Problem::setConfigurationShooter
2072
2073 // Proxy call descriptor class. Mangled signature:
2074 // void_i_chpp_mcore__idl_mConfigurationShooter_e_chpp_mError
2075 class _0RL_cd_6b5b3c50bcc23985_92000000
2076 : public omniCallDescriptor
2077 {
2078 public:
2079 inline _0RL_cd_6b5b3c50bcc23985_92000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2080 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2081 {
2082
2083 }
2084
2085 void marshalArguments(cdrStream&);
2086 void unmarshalArguments(cdrStream&);
2087
2088
2089 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2090 static const char* const _user_exns[];
2091
2092 hpp::core_idl::ConfigurationShooter_var arg_0_;
2093 hpp::core_idl::ConfigurationShooter_ptr arg_0;
2094 };
2095
2096 void _0RL_cd_6b5b3c50bcc23985_92000000::marshalArguments(cdrStream& _n)
2097 {
2098 hpp::core_idl::ConfigurationShooter_Helper::marshalObjRef(arg_0,_n);
2099
2100 }
2101
2102 void _0RL_cd_6b5b3c50bcc23985_92000000::unmarshalArguments(cdrStream& _n)
2103 {
2104 arg_0_ = hpp::core_idl::ConfigurationShooter_Helper::unmarshalObjRef(_n);
2105 arg_0 = arg_0_.in();
2106
2107 }
2108
2109 const char* const _0RL_cd_6b5b3c50bcc23985_92000000::_user_exns[] = {
2110 hpp::Error::_PD_repoId
2111 };
2112
2113 void _0RL_cd_6b5b3c50bcc23985_92000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2114 {
2115 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2116 hpp::Error _ex;
2117 _ex <<= s;
2118 if (iop_client) iop_client->RequestCompleted();
2119 throw _ex;
2120 }
2121
2122
2123 else {
2124 if (iop_client) iop_client->RequestCompleted(1);
2125 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2126 (::CORBA::CompletionStatus)s.completion());
2127 }
2128 }
2129
2130 // Local call call-back function.
2131 static void
2132 _0RL_lcfn_6b5b3c50bcc23985_a2000000(omniCallDescriptor* cd, omniServant* svnt)
2133 {
2134 _0RL_cd_6b5b3c50bcc23985_92000000* tcd = (_0RL_cd_6b5b3c50bcc23985_92000000*)cd;
2135 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2136 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2137 impl->setConfigurationShooter(tcd->arg_0);
2138 #else
2139 if (!cd->is_upcall())
2140 impl->setConfigurationShooter(tcd->arg_0);
2141 else {
2142 try {
2143 impl->setConfigurationShooter(tcd->arg_0);
2144 }
2145 catch(hpp::Error& ex) {
2146 throw omniORB::StubUserException(ex._NP_duplicate());
2147 }
2148
2149
2150 }
2151 #endif
2152
2153
2154 }
2155
2156 void hpp::core_idl::_objref_Problem::setConfigurationShooter(::hpp::core_idl::ConfigurationShooter_ptr d)
2157 {
2158 _0RL_cd_6b5b3c50bcc23985_92000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_a2000000, "setConfigurationShooter", 24);
2159 _call_desc.arg_0 = d;
2160
2161 _invoke(_call_desc);
2162
2163
2164
2165 }
2166
2167
2168 //
2169 // Code for hpp::core_idl::Problem::filterCollisionPairs
2170
2171 // Local call call-back function.
2172 static void
2173 _0RL_lcfn_6b5b3c50bcc23985_b2000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
2174 {
2175
2176 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2177 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2178 impl->filterCollisionPairs();
2179 #else
2180 if (!cd->is_upcall())
2181 impl->filterCollisionPairs();
2182 else {
2183 try {
2184 impl->filterCollisionPairs();
2185 }
2186 catch(hpp::Error& ex) {
2187 throw omniORB::StubUserException(ex._NP_duplicate());
2188 }
2189
2190
2191 }
2192 #endif
2193
2194
2195 }
2196
2197 void hpp::core_idl::_objref_Problem::filterCollisionPairs()
2198 {
2199 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b2000000, "filterCollisionPairs", 21);
2200
2201
2202 _invoke(_call_desc);
2203
2204
2205
2206 }
2207
2208
2209 //
2210 // Code for hpp::core_idl::Problem::setSecurityMargins
2211
2212 // Proxy call descriptor class. Mangled signature:
2213 // void_i_chpp_mfloatSeqSeq_e_chpp_mError
2214 class _0RL_cd_6b5b3c50bcc23985_c2000000
2215 : public omniCallDescriptor
2216 {
2217 public:
2218 inline _0RL_cd_6b5b3c50bcc23985_c2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2219 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2220 {
2221
2222 }
2223
2224 void marshalArguments(cdrStream&);
2225 void unmarshalArguments(cdrStream&);
2226
2227
2228 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2229 static const char* const _user_exns[];
2230
2231 hpp::floatSeqSeq_var arg_0_;
2232 const hpp::floatSeqSeq* arg_0;
2233 };
2234
2235 void _0RL_cd_6b5b3c50bcc23985_c2000000::marshalArguments(cdrStream& _n)
2236 {
2237 (const hpp::floatSeqSeq&) *arg_0 >>= _n;
2238
2239 }
2240
2241 void _0RL_cd_6b5b3c50bcc23985_c2000000::unmarshalArguments(cdrStream& _n)
2242 {
2243 arg_0_ = new hpp::floatSeqSeq;
2244 (hpp::floatSeqSeq&)arg_0_ <<= _n;
2245 arg_0 = &arg_0_.in();
2246
2247 }
2248
2249 const char* const _0RL_cd_6b5b3c50bcc23985_c2000000::_user_exns[] = {
2250 hpp::Error::_PD_repoId
2251 };
2252
2253 void _0RL_cd_6b5b3c50bcc23985_c2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2254 {
2255 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2256 hpp::Error _ex;
2257 _ex <<= s;
2258 if (iop_client) iop_client->RequestCompleted();
2259 throw _ex;
2260 }
2261
2262
2263 else {
2264 if (iop_client) iop_client->RequestCompleted(1);
2265 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2266 (::CORBA::CompletionStatus)s.completion());
2267 }
2268 }
2269
2270 // Local call call-back function.
2271 static void
2272 _0RL_lcfn_6b5b3c50bcc23985_d2000000(omniCallDescriptor* cd, omniServant* svnt)
2273 {
2274 _0RL_cd_6b5b3c50bcc23985_c2000000* tcd = (_0RL_cd_6b5b3c50bcc23985_c2000000*)cd;
2275 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2276 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2277 impl->setSecurityMargins(*tcd->arg_0);
2278 #else
2279 if (!cd->is_upcall())
2280 impl->setSecurityMargins(*tcd->arg_0);
2281 else {
2282 try {
2283 impl->setSecurityMargins(*tcd->arg_0);
2284 }
2285 catch(hpp::Error& ex) {
2286 throw omniORB::StubUserException(ex._NP_duplicate());
2287 }
2288
2289
2290 }
2291 #endif
2292
2293
2294 }
2295
2296 void hpp::core_idl::_objref_Problem::setSecurityMargins(const ::hpp::floatSeqSeq& margins)
2297 {
2298 _0RL_cd_6b5b3c50bcc23985_c2000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d2000000, "setSecurityMargins", 19);
2299 _call_desc.arg_0 = &(::hpp::floatSeqSeq&) margins;
2300
2301 _invoke(_call_desc);
2302
2303
2304
2305 }
2306
2307
2308 //
2309 // Code for hpp::core_idl::Problem::addObstacle
2310
2311 // Proxy call descriptor class. Mangled signature:
2312 // void_i_chpp_mpinocchio__idl_mCollisionObject_e_chpp_mError
2313 class _0RL_cd_6b5b3c50bcc23985_e2000000
2314 : public omniCallDescriptor
2315 {
2316 public:
2317 inline _0RL_cd_6b5b3c50bcc23985_e2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2318 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2319 {
2320
2321 }
2322
2323 void marshalArguments(cdrStream&);
2324 void unmarshalArguments(cdrStream&);
2325
2326
2327 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2328 static const char* const _user_exns[];
2329
2330 hpp::pinocchio_idl::CollisionObject_var arg_0_;
2331 hpp::pinocchio_idl::CollisionObject_ptr arg_0;
2332 };
2333
2334 void _0RL_cd_6b5b3c50bcc23985_e2000000::marshalArguments(cdrStream& _n)
2335 {
2336 hpp::pinocchio_idl::CollisionObject_Helper::marshalObjRef(arg_0,_n);
2337
2338 }
2339
2340 void _0RL_cd_6b5b3c50bcc23985_e2000000::unmarshalArguments(cdrStream& _n)
2341 {
2342 arg_0_ = hpp::pinocchio_idl::CollisionObject_Helper::unmarshalObjRef(_n);
2343 arg_0 = arg_0_.in();
2344
2345 }
2346
2347 const char* const _0RL_cd_6b5b3c50bcc23985_e2000000::_user_exns[] = {
2348 hpp::Error::_PD_repoId
2349 };
2350
2351 void _0RL_cd_6b5b3c50bcc23985_e2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2352 {
2353 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2354 hpp::Error _ex;
2355 _ex <<= s;
2356 if (iop_client) iop_client->RequestCompleted();
2357 throw _ex;
2358 }
2359
2360
2361 else {
2362 if (iop_client) iop_client->RequestCompleted(1);
2363 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2364 (::CORBA::CompletionStatus)s.completion());
2365 }
2366 }
2367
2368 // Local call call-back function.
2369 static void
2370 _0RL_lcfn_6b5b3c50bcc23985_f2000000(omniCallDescriptor* cd, omniServant* svnt)
2371 {
2372 _0RL_cd_6b5b3c50bcc23985_e2000000* tcd = (_0RL_cd_6b5b3c50bcc23985_e2000000*)cd;
2373 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2374 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2375 impl->addObstacle(tcd->arg_0);
2376 #else
2377 if (!cd->is_upcall())
2378 impl->addObstacle(tcd->arg_0);
2379 else {
2380 try {
2381 impl->addObstacle(tcd->arg_0);
2382 }
2383 catch(hpp::Error& ex) {
2384 throw omniORB::StubUserException(ex._NP_duplicate());
2385 }
2386
2387
2388 }
2389 #endif
2390
2391
2392 }
2393
2394 void hpp::core_idl::_objref_Problem::addObstacle(::hpp::pinocchio_idl::CollisionObject_ptr object)
2395 {
2396 _0RL_cd_6b5b3c50bcc23985_e2000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f2000000, "addObstacle", 12);
2397 _call_desc.arg_0 = object;
2398
2399 _invoke(_call_desc);
2400
2401
2402
2403 }
2404
2405
2406 //
2407 // Code for hpp::core_idl::Problem::setParameter
2408
2409 // Proxy call descriptor class. Mangled signature:
2410 // void_i_cstring_i_cany_e_chpp_mError
2411 class _0RL_cd_6b5b3c50bcc23985_03000000
2412 : public omniCallDescriptor
2413 {
2414 public:
2415 inline _0RL_cd_6b5b3c50bcc23985_03000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2416 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2417 {
2418
2419 }
2420
2421 void marshalArguments(cdrStream&);
2422 void unmarshalArguments(cdrStream&);
2423
2424
2425 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2426 static const char* const _user_exns[];
2427
2428 ::CORBA::String_var arg_0_;
2429 const char* arg_0;
2430 ::CORBA::Any_var arg_1_;
2431 const ::CORBA::Any* arg_1;
2432 };
2433
2434 void _0RL_cd_6b5b3c50bcc23985_03000000::marshalArguments(cdrStream& _n)
2435 {
2436 _n.marshalString(arg_0,0);
2437 (const ::CORBA::Any&) *arg_1 >>= _n;
2438
2439 }
2440
2441 void _0RL_cd_6b5b3c50bcc23985_03000000::unmarshalArguments(cdrStream& _n)
2442 {
2443 arg_0_ = _n.unmarshalString(0);
2444 arg_0 = arg_0_.in();
2445 arg_1_ = new ::CORBA::Any;
2446 (::CORBA::Any&)arg_1_ <<= _n;
2447 arg_1 = &arg_1_.in();
2448
2449 }
2450
2451 const char* const _0RL_cd_6b5b3c50bcc23985_03000000::_user_exns[] = {
2452 hpp::Error::_PD_repoId
2453 };
2454
2455 void _0RL_cd_6b5b3c50bcc23985_03000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2456 {
2457 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2458 hpp::Error _ex;
2459 _ex <<= s;
2460 if (iop_client) iop_client->RequestCompleted();
2461 throw _ex;
2462 }
2463
2464
2465 else {
2466 if (iop_client) iop_client->RequestCompleted(1);
2467 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2468 (::CORBA::CompletionStatus)s.completion());
2469 }
2470 }
2471
2472 // Local call call-back function.
2473 static void
2474 _0RL_lcfn_6b5b3c50bcc23985_13000000(omniCallDescriptor* cd, omniServant* svnt)
2475 {
2476 _0RL_cd_6b5b3c50bcc23985_03000000* tcd = (_0RL_cd_6b5b3c50bcc23985_03000000*)cd;
2477 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2478 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2479 impl->setParameter(tcd->arg_0, *tcd->arg_1);
2480 #else
2481 if (!cd->is_upcall())
2482 impl->setParameter(tcd->arg_0, *tcd->arg_1);
2483 else {
2484 try {
2485 impl->setParameter(tcd->arg_0, *tcd->arg_1);
2486 }
2487 catch(hpp::Error& ex) {
2488 throw omniORB::StubUserException(ex._NP_duplicate());
2489 }
2490
2491
2492 }
2493 #endif
2494
2495
2496 }
2497
2498 void hpp::core_idl::_objref_Problem::setParameter(const char* name, const ::CORBA::Any& value)
2499 {
2500 _0RL_cd_6b5b3c50bcc23985_03000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_13000000, "setParameter", 13);
2501 _call_desc.arg_0 = name;
2502 _call_desc.arg_1 = &(::CORBA::Any&) value;
2503
2504 _invoke(_call_desc);
2505
2506
2507
2508 }
2509
2510
2511 //
2512 // Code for hpp::core_idl::Problem::getParameter
2513
2514 // Proxy call descriptor class. Mangled signature:
2515 // _cany_i_cstring_e_chpp_mError
2516 class _0RL_cd_6b5b3c50bcc23985_23000000
2517 : public omniCallDescriptor
2518 {
2519 public:
2520 inline _0RL_cd_6b5b3c50bcc23985_23000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2521 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2522 {
2523
2524 }
2525
2526 void marshalArguments(cdrStream&);
2527 void unmarshalArguments(cdrStream&);
2528
2529 void unmarshalReturnedValues(cdrStream&);
2530 void marshalReturnedValues(cdrStream&);
2531
2532 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2533 static const char* const _user_exns[];
2534
2535 ::CORBA::String_var arg_0_;
2536 const char* arg_0;
2537 ::CORBA::Any_var result;
2538 };
2539
2540 void _0RL_cd_6b5b3c50bcc23985_23000000::marshalArguments(cdrStream& _n)
2541 {
2542 _n.marshalString(arg_0,0);
2543
2544 }
2545
2546 void _0RL_cd_6b5b3c50bcc23985_23000000::unmarshalArguments(cdrStream& _n)
2547 {
2548 arg_0_ = _n.unmarshalString(0);
2549 arg_0 = arg_0_.in();
2550
2551 }
2552
2553 void _0RL_cd_6b5b3c50bcc23985_23000000::marshalReturnedValues(cdrStream& _n)
2554 {
2555 (const ::CORBA::Any&) result >>= _n;
2556
2557 }
2558
2559 void _0RL_cd_6b5b3c50bcc23985_23000000::unmarshalReturnedValues(cdrStream& _n)
2560 {
2561 result = new ::CORBA::Any;
2562 (::CORBA::Any&)result <<= _n;
2563
2564 }
2565
2566 const char* const _0RL_cd_6b5b3c50bcc23985_23000000::_user_exns[] = {
2567 hpp::Error::_PD_repoId
2568 };
2569
2570 void _0RL_cd_6b5b3c50bcc23985_23000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2571 {
2572 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2573 hpp::Error _ex;
2574 _ex <<= s;
2575 if (iop_client) iop_client->RequestCompleted();
2576 throw _ex;
2577 }
2578
2579
2580 else {
2581 if (iop_client) iop_client->RequestCompleted(1);
2582 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2583 (::CORBA::CompletionStatus)s.completion());
2584 }
2585 }
2586
2587 // Local call call-back function.
2588 static void
2589 _0RL_lcfn_6b5b3c50bcc23985_33000000(omniCallDescriptor* cd, omniServant* svnt)
2590 {
2591 _0RL_cd_6b5b3c50bcc23985_23000000* tcd = (_0RL_cd_6b5b3c50bcc23985_23000000*)cd;
2592 hpp::core_idl::_impl_Problem* impl = (hpp::core_idl::_impl_Problem*) svnt->_ptrToInterface(hpp::core_idl::Problem::_PD_repoId);
2593 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2594 tcd->result = impl->getParameter(tcd->arg_0);
2595 #else
2596 if (!cd->is_upcall())
2597 tcd->result = impl->getParameter(tcd->arg_0);
2598 else {
2599 try {
2600 tcd->result = impl->getParameter(tcd->arg_0);
2601 }
2602 catch(hpp::Error& ex) {
2603 throw omniORB::StubUserException(ex._NP_duplicate());
2604 }
2605
2606
2607 }
2608 #endif
2609
2610
2611 }
2612
2613 ::CORBA::Any* hpp::core_idl::_objref_Problem::getParameter(const char* name)
2614 {
2615 _0RL_cd_6b5b3c50bcc23985_23000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_33000000, "getParameter", 13);
2616 _call_desc.arg_0 = name;
2617
2618 _invoke(_call_desc);
2619 return _call_desc.result._retn();
2620
2621
2622 }
2623
2624 16 hpp::core_idl::_pof_Problem::~_pof_Problem() {}
2625
2626
2627 omniObjRef*
2628 4 hpp::core_idl::_pof_Problem::newObjRef(omniIOR* ior, omniIdentity* id)
2629 {
2630
2/4
✓ Branch 2 taken 4 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 4 times.
✗ Branch 5 not taken.
4 return new ::hpp::core_idl::_objref_Problem(ior, id);
2631 }
2632
2633
2634 ::CORBA::Boolean
2635 4 hpp::core_idl::_pof_Problem::is_a(const char* id) const
2636 {
2637
2/2
✓ Branch 1 taken 3 times.
✓ Branch 2 taken 1 times.
4 if (omni::ptrStrMatch(id, ::hpp::core_idl::Problem::_PD_repoId))
2638 3 return 1;
2639
2640 1 return 0;
2641 }
2642
2643 const hpp::core_idl::_pof_Problem _the_pof_hpp_mcore__idl_mProblem;
2644
2645 6 hpp::core_idl::_impl_Problem::~_impl_Problem() {}
2646
2647
2648 ::CORBA::Boolean
2649 5 hpp::core_idl::_impl_Problem::_dispatch(omniCallHandle& _handle)
2650 {
2651 5 const char* op = _handle.operation_name();
2652
2653
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
5 if (omni::strMatch(op, "deleteThis")) {
2654
2655 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_10000000, "deleteThis", 11, 1);
2656
2657 _handle.upcall(this,_call_desc);
2658 return 1;
2659 }
2660
2661
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
5 if (omni::strMatch(op, "deleteIfExpired")) {
2662
2663 _0RL_cd_6b5b3c50bcc23985_20000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_30000000, "deleteIfExpired", 16, 1);
2664
2665 _handle.upcall(this,_call_desc);
2666 return 1;
2667 }
2668
2669
2/2
✓ Branch 1 taken 1 times.
✓ Branch 2 taken 4 times.
5 if (omni::strMatch(op, "persistantStorage")) {
2670
2671 1 _0RL_cd_6b5b3c50bcc23985_40000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_50000000, "persistantStorage", 18, 1);
2672
2673
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 _handle.upcall(this,_call_desc);
2674 1 return 1;
2675 1 }
2676
2677
2/2
✓ Branch 1 taken 2 times.
✓ Branch 2 taken 2 times.
4 if (omni::strMatch(op, "robot")) {
2678
2679
1/2
✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
2 _0RL_cd_6b5b3c50bcc23985_60000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_70000000, "robot", 6, 1);
2680
2681
1/2
✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
2 _handle.upcall(this,_call_desc);
2682 2 return 1;
2683 2 }
2684
2685
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setInitConfig")) {
2686
2687 _0RL_cd_6b5b3c50bcc23985_80000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_90000000, "setInitConfig", 14, 1);
2688
2689 _handle.upcall(this,_call_desc);
2690 return 1;
2691 }
2692
2693
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getInitConfig")) {
2694
2695 _0RL_cd_6b5b3c50bcc23985_a0000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b0000000, "getInitConfig", 14, 1);
2696
2697 _handle.upcall(this,_call_desc);
2698 return 1;
2699 }
2700
2701
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "addGoalConfig")) {
2702
2703 _0RL_cd_6b5b3c50bcc23985_80000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_c0000000, "addGoalConfig", 14, 1);
2704
2705 _handle.upcall(this,_call_desc);
2706 return 1;
2707 }
2708
2709
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "resetGoalConfigs")) {
2710
2711 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d0000000, "resetGoalConfigs", 17, 1);
2712
2713 _handle.upcall(this,_call_desc);
2714 return 1;
2715 }
2716
2717
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getConstraints")) {
2718
2719 _0RL_cd_6b5b3c50bcc23985_e0000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f0000000, "getConstraints", 15, 1);
2720
2721 _handle.upcall(this,_call_desc);
2722 return 1;
2723 }
2724
2725
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setConstraints")) {
2726
2727 _0RL_cd_6b5b3c50bcc23985_01000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_11000000, "setConstraints", 15, 1);
2728
2729 _handle.upcall(this,_call_desc);
2730 return 1;
2731 }
2732
2733
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getDistance")) {
2734
2735 _0RL_cd_6b5b3c50bcc23985_21000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_31000000, "getDistance", 12, 1);
2736
2737 _handle.upcall(this,_call_desc);
2738 return 1;
2739 }
2740
2741
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setDistance")) {
2742
2743 _0RL_cd_6b5b3c50bcc23985_41000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_51000000, "setDistance", 12, 1);
2744
2745 _handle.upcall(this,_call_desc);
2746 return 1;
2747 }
2748
2749
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getSteeringMethod")) {
2750
2751 _0RL_cd_6b5b3c50bcc23985_61000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_71000000, "getSteeringMethod", 18, 1);
2752
2753 _handle.upcall(this,_call_desc);
2754 return 1;
2755 }
2756
2757
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setSteeringMethod")) {
2758
2759 _0RL_cd_6b5b3c50bcc23985_81000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_91000000, "setSteeringMethod", 18, 1);
2760
2761 _handle.upcall(this,_call_desc);
2762 return 1;
2763 }
2764
2765
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getPathValidation")) {
2766
2767 _0RL_cd_6b5b3c50bcc23985_a1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b1000000, "getPathValidation", 18, 1);
2768
2769 _handle.upcall(this,_call_desc);
2770 return 1;
2771 }
2772
2773
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setPathValidation")) {
2774
2775 _0RL_cd_6b5b3c50bcc23985_c1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d1000000, "setPathValidation", 18, 1);
2776
2777 _handle.upcall(this,_call_desc);
2778 return 1;
2779 }
2780
2781
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getPathProjector")) {
2782
2783 _0RL_cd_6b5b3c50bcc23985_e1000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f1000000, "getPathProjector", 17, 1);
2784
2785 _handle.upcall(this,_call_desc);
2786 return 1;
2787 }
2788
2789
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setPathProjector")) {
2790
2791 _0RL_cd_6b5b3c50bcc23985_02000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_12000000, "setPathProjector", 17, 1);
2792
2793 _handle.upcall(this,_call_desc);
2794 return 1;
2795 }
2796
2797
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getConfigValidations")) {
2798
2799 _0RL_cd_6b5b3c50bcc23985_22000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_32000000, "getConfigValidations", 21, 1);
2800
2801 _handle.upcall(this,_call_desc);
2802 return 1;
2803 }
2804
2805
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "clearConfigValidations")) {
2806
2807 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_42000000, "clearConfigValidations", 23, 1);
2808
2809 _handle.upcall(this,_call_desc);
2810 return 1;
2811 }
2812
2813
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "addConfigValidation")) {
2814
2815 _0RL_cd_6b5b3c50bcc23985_52000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_62000000, "addConfigValidation", 20, 1);
2816
2817 _handle.upcall(this,_call_desc);
2818 return 1;
2819 }
2820
2821
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getConfigurationShooter")) {
2822
2823 _0RL_cd_6b5b3c50bcc23985_72000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_82000000, "getConfigurationShooter", 24, 1);
2824
2825 _handle.upcall(this,_call_desc);
2826 return 1;
2827 }
2828
2829
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setConfigurationShooter")) {
2830
2831 _0RL_cd_6b5b3c50bcc23985_92000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_a2000000, "setConfigurationShooter", 24, 1);
2832
2833 _handle.upcall(this,_call_desc);
2834 return 1;
2835 }
2836
2837
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "filterCollisionPairs")) {
2838
2839 _0RL_cd_6b5b3c50bcc23985_00000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_b2000000, "filterCollisionPairs", 21, 1);
2840
2841 _handle.upcall(this,_call_desc);
2842 return 1;
2843 }
2844
2845
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setSecurityMargins")) {
2846
2847 _0RL_cd_6b5b3c50bcc23985_c2000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_d2000000, "setSecurityMargins", 19, 1);
2848
2849 _handle.upcall(this,_call_desc);
2850 return 1;
2851 }
2852
2853
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "addObstacle")) {
2854
2855 _0RL_cd_6b5b3c50bcc23985_e2000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_f2000000, "addObstacle", 12, 1);
2856
2857 _handle.upcall(this,_call_desc);
2858 return 1;
2859 }
2860
2861
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "setParameter")) {
2862
2863 _0RL_cd_6b5b3c50bcc23985_03000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_13000000, "setParameter", 13, 1);
2864
2865 _handle.upcall(this,_call_desc);
2866 return 1;
2867 }
2868
2869
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
2 if (omni::strMatch(op, "getParameter")) {
2870
2871 _0RL_cd_6b5b3c50bcc23985_23000000 _call_desc(_0RL_lcfn_6b5b3c50bcc23985_33000000, "getParameter", 13, 1);
2872
2873 _handle.upcall(this,_call_desc);
2874 return 1;
2875 }
2876
2877
2878 2 return 0;
2879 }
2880
2881 void*
2882 9 hpp::core_idl::_impl_Problem::_ptrToInterface(const char* id)
2883 {
2884
2/2
✓ Branch 0 taken 6 times.
✓ Branch 1 taken 3 times.
9 if (id == ::hpp::core_idl::Problem::_PD_repoId)
2885 6 return (::hpp::core_idl::_impl_Problem*) this;
2886
2887
2/2
✓ Branch 0 taken 1 times.
✓ Branch 1 taken 2 times.
3 if (id == ::CORBA::Object::_PD_repoId)
2888 1 return (void*) 1;
2889
2890
1/2
✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
2 if (omni::strMatch(id, ::hpp::core_idl::Problem::_PD_repoId))
2891 2 return (::hpp::core_idl::_impl_Problem*) this;
2892
2893 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2894 return (void*) 1;
2895 return 0;
2896 }
2897
2898 const char*
2899 4 hpp::core_idl::_impl_Problem::_mostDerivedRepoId()
2900 {
2901 4 return ::hpp::core_idl::Problem::_PD_repoId;
2902 }
2903
2904 6 POA_hpp::core_idl::Problem::~Problem() {}
2905
2906