GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/path_plannersSK.cc
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 4 1018 0.4%
Branches: 0 836 0.0%

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