GCC Code Coverage Report


Directory: src/
File: src/hpp/manipulation_idl/_graphSK.cc
Date: 2024-12-13 15:43:02
Exec Total Coverage
Lines: 0 1567 0.0%
Branches: 0 1402 0.0%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit.
2
3 #include "_graph-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::manipulation_idl::graph_idl::GraphComponent_ptr hpp::manipulation_idl::graph_idl::GraphComponent_Helper::_nil() {
18 return ::hpp::manipulation_idl::graph_idl::GraphComponent::_nil();
19 }
20
21 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::GraphComponent_Helper::is_nil(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr p) {
22 return ::CORBA::is_nil(p);
23
24 }
25
26 void hpp::manipulation_idl::graph_idl::GraphComponent_Helper::release(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr p) {
27 ::CORBA::release(p);
28 }
29
30 void hpp::manipulation_idl::graph_idl::GraphComponent_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr obj, cdrStream& s) {
31 ::hpp::manipulation_idl::graph_idl::GraphComponent::_marshalObjRef(obj, s);
32 }
33
34 hpp::manipulation_idl::graph_idl::GraphComponent_ptr hpp::manipulation_idl::graph_idl::GraphComponent_Helper::unmarshalObjRef(cdrStream& s) {
35 return ::hpp::manipulation_idl::graph_idl::GraphComponent::_unmarshalObjRef(s);
36 }
37
38 void hpp::manipulation_idl::graph_idl::GraphComponent_Helper::duplicate(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr obj) {
39 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
40 }
41
42 hpp::manipulation_idl::graph_idl::GraphComponent_ptr
43 hpp::manipulation_idl::graph_idl::GraphComponent::_duplicate(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr obj)
44 {
45 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
46 return obj;
47 }
48
49 hpp::manipulation_idl::graph_idl::GraphComponent_ptr
50 hpp::manipulation_idl::graph_idl::GraphComponent::_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::manipulation_idl::graph_idl::GraphComponent_ptr
59 hpp::manipulation_idl::graph_idl::GraphComponent::_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::manipulation_idl::graph_idl::GraphComponent_ptr
67 hpp::manipulation_idl::graph_idl::GraphComponent::_nil()
68 {
69 #ifdef OMNI_UNLOADABLE_STUBS
70 static _objref_GraphComponent _the_nil_obj;
71 return &_the_nil_obj;
72 #else
73 static _objref_GraphComponent* _the_nil_ptr = 0;
74 if (!_the_nil_ptr) {
75 omni::nilRefLock().lock();
76 if (!_the_nil_ptr) {
77 _the_nil_ptr = new _objref_GraphComponent;
78 registerNilCorbaObject(_the_nil_ptr);
79 }
80 omni::nilRefLock().unlock();
81 }
82 return _the_nil_ptr;
83 #endif
84 }
85
86 const char* hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/GraphComponent:1.0";
87
88
89 hpp::manipulation_idl::graph_idl::_objref_GraphComponent::~_objref_GraphComponent() {
90
91 }
92
93
94 hpp::manipulation_idl::graph_idl::_objref_GraphComponent::_objref_GraphComponent(omniIOR* ior, omniIdentity* id) :
95 omniObjRef(::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId, ior, id, 1)
96
97
98 {
99 _PR_setobj(this);
100 }
101
102 void*
103 hpp::manipulation_idl::graph_idl::_objref_GraphComponent::_ptrToObjRef(const char* id)
104 {
105 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
106 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
107
108 if (id == ::CORBA::Object::_PD_repoId)
109 return (::CORBA::Object_ptr) this;
110
111 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
112 return (::hpp::manipulation_idl::graph_idl::GraphComponent_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::manipulation_idl::graph_idl::GraphComponent::name
123
124 // Proxy call descriptor class. Mangled signature:
125 // _cstring_e_chpp_mError
126 class _0RL_cd_a5500133f0710014_00000000
127 : public omniCallDescriptor
128 {
129 public:
130 inline _0RL_cd_a5500133f0710014_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 void unmarshalReturnedValues(cdrStream&);
138 void marshalReturnedValues(cdrStream&);
139
140 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
141 static const char* const _user_exns[];
142
143 ::CORBA::String_var result;
144 };
145
146 void _0RL_cd_a5500133f0710014_00000000::marshalReturnedValues(cdrStream& _n)
147 {
148 _n.marshalString(result,0);
149
150 }
151
152 void _0RL_cd_a5500133f0710014_00000000::unmarshalReturnedValues(cdrStream& _n)
153 {
154 result = _n.unmarshalString(0);
155
156 }
157
158 const char* const _0RL_cd_a5500133f0710014_00000000::_user_exns[] = {
159 hpp::Error::_PD_repoId
160 };
161
162 void _0RL_cd_a5500133f0710014_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
163 {
164 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
165 hpp::Error _ex;
166 _ex <<= s;
167 if (iop_client) iop_client->RequestCompleted();
168 throw _ex;
169 }
170
171
172 else {
173 if (iop_client) iop_client->RequestCompleted(1);
174 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
175 (::CORBA::CompletionStatus)s.completion());
176 }
177 }
178
179 // Local call call-back function.
180 static void
181 _0RL_lcfn_a5500133f0710014_10000000(omniCallDescriptor* cd, omniServant* svnt)
182 {
183 _0RL_cd_a5500133f0710014_00000000* tcd = (_0RL_cd_a5500133f0710014_00000000*)cd;
184 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
185 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
186 tcd->result = impl->name();
187 #else
188 if (!cd->is_upcall())
189 tcd->result = impl->name();
190 else {
191 try {
192 tcd->result = impl->name();
193 }
194 catch(hpp::Error& ex) {
195 throw omniORB::StubUserException(ex._NP_duplicate());
196 }
197
198
199 }
200 #endif
201
202
203 }
204
205 char* hpp::manipulation_idl::graph_idl::_objref_GraphComponent::name()
206 {
207 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_10000000, "name", 5);
208
209
210 _invoke(_call_desc);
211 return _call_desc.result._retn();
212
213
214 }
215
216
217 //
218 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::id
219
220 // Proxy call descriptor class. Mangled signature:
221 // _cunsigned_plonglong_e_chpp_mError
222 class _0RL_cd_a5500133f0710014_20000000
223 : public omniCallDescriptor
224 {
225 public:
226 inline _0RL_cd_a5500133f0710014_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
227 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
228 {
229
230 }
231
232
233 void unmarshalReturnedValues(cdrStream&);
234 void marshalReturnedValues(cdrStream&);
235
236 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
237 static const char* const _user_exns[];
238
239 hpp::manipulation_idl::graph_idl::size_t result;
240 };
241
242 void _0RL_cd_a5500133f0710014_20000000::marshalReturnedValues(cdrStream& _n)
243 {
244 result >>= _n;
245
246 }
247
248 void _0RL_cd_a5500133f0710014_20000000::unmarshalReturnedValues(cdrStream& _n)
249 {
250 (hpp::manipulation_idl::graph_idl::size_t&)result <<= _n;
251
252 }
253
254 const char* const _0RL_cd_a5500133f0710014_20000000::_user_exns[] = {
255 hpp::Error::_PD_repoId
256 };
257
258 void _0RL_cd_a5500133f0710014_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
259 {
260 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
261 hpp::Error _ex;
262 _ex <<= s;
263 if (iop_client) iop_client->RequestCompleted();
264 throw _ex;
265 }
266
267
268 else {
269 if (iop_client) iop_client->RequestCompleted(1);
270 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
271 (::CORBA::CompletionStatus)s.completion());
272 }
273 }
274
275 // Local call call-back function.
276 static void
277 _0RL_lcfn_a5500133f0710014_30000000(omniCallDescriptor* cd, omniServant* svnt)
278 {
279 _0RL_cd_a5500133f0710014_20000000* tcd = (_0RL_cd_a5500133f0710014_20000000*)cd;
280 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
281 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
282 tcd->result = impl->id();
283 #else
284 if (!cd->is_upcall())
285 tcd->result = impl->id();
286 else {
287 try {
288 tcd->result = impl->id();
289 }
290 catch(hpp::Error& ex) {
291 throw omniORB::StubUserException(ex._NP_duplicate());
292 }
293
294
295 }
296 #endif
297
298
299 }
300
301 hpp::manipulation_idl::graph_idl::size_t hpp::manipulation_idl::graph_idl::_objref_GraphComponent::id()
302 {
303 _0RL_cd_a5500133f0710014_20000000 _call_desc(_0RL_lcfn_a5500133f0710014_30000000, "id", 3);
304
305
306 _invoke(_call_desc);
307 return _call_desc.result;
308
309
310 }
311
312
313 //
314 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::parentGraph
315
316 // Proxy call descriptor class. Mangled signature:
317 // _chpp_mmanipulation__idl_mgraph__idl_mGraph_e_chpp_mError
318 class _0RL_cd_a5500133f0710014_40000000
319 : public omniCallDescriptor
320 {
321 public:
322 inline _0RL_cd_a5500133f0710014_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
323 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
324 {
325
326 }
327
328
329 void unmarshalReturnedValues(cdrStream&);
330 void marshalReturnedValues(cdrStream&);
331
332 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
333 static const char* const _user_exns[];
334
335 hpp::manipulation_idl::graph_idl::Graph_var result;
336 };
337
338 void _0RL_cd_a5500133f0710014_40000000::marshalReturnedValues(cdrStream& _n)
339 {
340 hpp::manipulation_idl::graph_idl::Graph_Helper::marshalObjRef(result,_n);
341
342 }
343
344 void _0RL_cd_a5500133f0710014_40000000::unmarshalReturnedValues(cdrStream& _n)
345 {
346 result = hpp::manipulation_idl::graph_idl::Graph_Helper::unmarshalObjRef(_n);
347
348 }
349
350 const char* const _0RL_cd_a5500133f0710014_40000000::_user_exns[] = {
351 hpp::Error::_PD_repoId
352 };
353
354 void _0RL_cd_a5500133f0710014_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
355 {
356 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
357 hpp::Error _ex;
358 _ex <<= s;
359 if (iop_client) iop_client->RequestCompleted();
360 throw _ex;
361 }
362
363
364 else {
365 if (iop_client) iop_client->RequestCompleted(1);
366 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
367 (::CORBA::CompletionStatus)s.completion());
368 }
369 }
370
371 // Local call call-back function.
372 static void
373 _0RL_lcfn_a5500133f0710014_50000000(omniCallDescriptor* cd, omniServant* svnt)
374 {
375 _0RL_cd_a5500133f0710014_40000000* tcd = (_0RL_cd_a5500133f0710014_40000000*)cd;
376 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
377 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
378 tcd->result = impl->parentGraph();
379 #else
380 if (!cd->is_upcall())
381 tcd->result = impl->parentGraph();
382 else {
383 try {
384 tcd->result = impl->parentGraph();
385 }
386 catch(hpp::Error& ex) {
387 throw omniORB::StubUserException(ex._NP_duplicate());
388 }
389
390
391 }
392 #endif
393
394
395 }
396
397 hpp::manipulation_idl::graph_idl::Graph_ptr hpp::manipulation_idl::graph_idl::_objref_GraphComponent::parentGraph()
398 {
399 _0RL_cd_a5500133f0710014_40000000 _call_desc(_0RL_lcfn_a5500133f0710014_50000000, "parentGraph", 12);
400
401
402 _invoke(_call_desc);
403 return _call_desc.result._retn();
404
405
406 }
407
408
409 //
410 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::addNumericalConstraint
411
412 // Proxy call descriptor class. Mangled signature:
413 // void_i_chpp_mconstraints__idl_mImplicit_e_chpp_mError
414 class _0RL_cd_a5500133f0710014_60000000
415 : public omniCallDescriptor
416 {
417 public:
418 inline _0RL_cd_a5500133f0710014_60000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
419 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
420 {
421
422 }
423
424 void marshalArguments(cdrStream&);
425 void unmarshalArguments(cdrStream&);
426
427
428 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
429 static const char* const _user_exns[];
430
431 hpp::constraints_idl::Implicit_var arg_0_;
432 hpp::constraints_idl::Implicit_ptr arg_0;
433 };
434
435 void _0RL_cd_a5500133f0710014_60000000::marshalArguments(cdrStream& _n)
436 {
437 hpp::constraints_idl::Implicit::_marshalObjRef(arg_0,_n);
438
439 }
440
441 void _0RL_cd_a5500133f0710014_60000000::unmarshalArguments(cdrStream& _n)
442 {
443 arg_0_ = hpp::constraints_idl::Implicit::_unmarshalObjRef(_n);
444 arg_0 = arg_0_.in();
445
446 }
447
448 const char* const _0RL_cd_a5500133f0710014_60000000::_user_exns[] = {
449 hpp::Error::_PD_repoId
450 };
451
452 void _0RL_cd_a5500133f0710014_60000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
453 {
454 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
455 hpp::Error _ex;
456 _ex <<= s;
457 if (iop_client) iop_client->RequestCompleted();
458 throw _ex;
459 }
460
461
462 else {
463 if (iop_client) iop_client->RequestCompleted(1);
464 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
465 (::CORBA::CompletionStatus)s.completion());
466 }
467 }
468
469 // Local call call-back function.
470 static void
471 _0RL_lcfn_a5500133f0710014_70000000(omniCallDescriptor* cd, omniServant* svnt)
472 {
473 _0RL_cd_a5500133f0710014_60000000* tcd = (_0RL_cd_a5500133f0710014_60000000*)cd;
474 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
475 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
476 impl->addNumericalConstraint(tcd->arg_0);
477 #else
478 if (!cd->is_upcall())
479 impl->addNumericalConstraint(tcd->arg_0);
480 else {
481 try {
482 impl->addNumericalConstraint(tcd->arg_0);
483 }
484 catch(hpp::Error& ex) {
485 throw omniORB::StubUserException(ex._NP_duplicate());
486 }
487
488
489 }
490 #endif
491
492
493 }
494
495 void hpp::manipulation_idl::graph_idl::_objref_GraphComponent::addNumericalConstraint(::hpp::constraints_idl::Implicit_ptr nm)
496 {
497 _0RL_cd_a5500133f0710014_60000000 _call_desc(_0RL_lcfn_a5500133f0710014_70000000, "addNumericalConstraint", 23);
498 _call_desc.arg_0 = nm;
499
500 _invoke(_call_desc);
501
502
503
504 }
505
506
507 //
508 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::addNumericalCost
509
510 // Local call call-back function.
511 static void
512 _0RL_lcfn_a5500133f0710014_80000000(omniCallDescriptor* cd, omniServant* svnt)
513 {
514 _0RL_cd_a5500133f0710014_60000000* tcd = (_0RL_cd_a5500133f0710014_60000000*)cd;
515 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
516 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
517 impl->addNumericalCost(tcd->arg_0);
518 #else
519 if (!cd->is_upcall())
520 impl->addNumericalCost(tcd->arg_0);
521 else {
522 try {
523 impl->addNumericalCost(tcd->arg_0);
524 }
525 catch(hpp::Error& ex) {
526 throw omniORB::StubUserException(ex._NP_duplicate());
527 }
528
529
530 }
531 #endif
532
533
534 }
535
536 void hpp::manipulation_idl::graph_idl::_objref_GraphComponent::addNumericalCost(::hpp::constraints_idl::Implicit_ptr nm)
537 {
538 _0RL_cd_a5500133f0710014_60000000 _call_desc(_0RL_lcfn_a5500133f0710014_80000000, "addNumericalCost", 17);
539 _call_desc.arg_0 = nm;
540
541 _invoke(_call_desc);
542
543
544
545 }
546
547
548 //
549 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::numericalConstraints
550
551 // Proxy call descriptor class. Mangled signature:
552 // _chpp_mconstraints__idl_mImplicits_e_chpp_mError
553 class _0RL_cd_a5500133f0710014_90000000
554 : public omniCallDescriptor
555 {
556 public:
557 inline _0RL_cd_a5500133f0710014_90000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
558 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
559 {
560
561 }
562
563
564 void unmarshalReturnedValues(cdrStream&);
565 void marshalReturnedValues(cdrStream&);
566
567 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
568 static const char* const _user_exns[];
569
570 hpp::constraints_idl::Implicits_var result;
571 };
572
573 void _0RL_cd_a5500133f0710014_90000000::marshalReturnedValues(cdrStream& _n)
574 {
575 (const hpp::constraints_idl::Implicits&) result >>= _n;
576
577 }
578
579 void _0RL_cd_a5500133f0710014_90000000::unmarshalReturnedValues(cdrStream& _n)
580 {
581 result = new hpp::constraints_idl::Implicits;
582 (hpp::constraints_idl::Implicits&)result <<= _n;
583
584 }
585
586 const char* const _0RL_cd_a5500133f0710014_90000000::_user_exns[] = {
587 hpp::Error::_PD_repoId
588 };
589
590 void _0RL_cd_a5500133f0710014_90000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
591 {
592 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
593 hpp::Error _ex;
594 _ex <<= s;
595 if (iop_client) iop_client->RequestCompleted();
596 throw _ex;
597 }
598
599
600 else {
601 if (iop_client) iop_client->RequestCompleted(1);
602 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
603 (::CORBA::CompletionStatus)s.completion());
604 }
605 }
606
607 // Local call call-back function.
608 static void
609 _0RL_lcfn_a5500133f0710014_a0000000(omniCallDescriptor* cd, omniServant* svnt)
610 {
611 _0RL_cd_a5500133f0710014_90000000* tcd = (_0RL_cd_a5500133f0710014_90000000*)cd;
612 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
613 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
614 tcd->result = impl->numericalConstraints();
615 #else
616 if (!cd->is_upcall())
617 tcd->result = impl->numericalConstraints();
618 else {
619 try {
620 tcd->result = impl->numericalConstraints();
621 }
622 catch(hpp::Error& ex) {
623 throw omniORB::StubUserException(ex._NP_duplicate());
624 }
625
626
627 }
628 #endif
629
630
631 }
632
633 hpp::constraints_idl::Implicits* hpp::manipulation_idl::graph_idl::_objref_GraphComponent::numericalConstraints()
634 {
635 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_a0000000, "numericalConstraints", 21);
636
637
638 _invoke(_call_desc);
639 return _call_desc.result._retn();
640
641
642 }
643
644
645 //
646 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::numericalCosts
647
648 // Local call call-back function.
649 static void
650 _0RL_lcfn_a5500133f0710014_b0000000(omniCallDescriptor* cd, omniServant* svnt)
651 {
652 _0RL_cd_a5500133f0710014_90000000* tcd = (_0RL_cd_a5500133f0710014_90000000*)cd;
653 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
654 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
655 tcd->result = impl->numericalCosts();
656 #else
657 if (!cd->is_upcall())
658 tcd->result = impl->numericalCosts();
659 else {
660 try {
661 tcd->result = impl->numericalCosts();
662 }
663 catch(hpp::Error& ex) {
664 throw omniORB::StubUserException(ex._NP_duplicate());
665 }
666
667
668 }
669 #endif
670
671
672 }
673
674 hpp::constraints_idl::Implicits* hpp::manipulation_idl::graph_idl::_objref_GraphComponent::numericalCosts()
675 {
676 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_b0000000, "numericalCosts", 15);
677
678
679 _invoke(_call_desc);
680 return _call_desc.result._retn();
681
682
683 }
684
685
686 //
687 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::resetNumericalConstraints
688
689 // Proxy call descriptor class. Mangled signature:
690 // void_e_chpp_mError
691 class _0RL_cd_a5500133f0710014_c0000000
692 : public omniCallDescriptor
693 {
694 public:
695 inline _0RL_cd_a5500133f0710014_c0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
696 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
697 {
698
699 }
700
701
702
703 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
704 static const char* const _user_exns[];
705
706
707 };
708
709 const char* const _0RL_cd_a5500133f0710014_c0000000::_user_exns[] = {
710 hpp::Error::_PD_repoId
711 };
712
713 void _0RL_cd_a5500133f0710014_c0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
714 {
715 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
716 hpp::Error _ex;
717 _ex <<= s;
718 if (iop_client) iop_client->RequestCompleted();
719 throw _ex;
720 }
721
722
723 else {
724 if (iop_client) iop_client->RequestCompleted(1);
725 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
726 (::CORBA::CompletionStatus)s.completion());
727 }
728 }
729
730 // Local call call-back function.
731 static void
732 _0RL_lcfn_a5500133f0710014_d0000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
733 {
734
735 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
736 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
737 impl->resetNumericalConstraints();
738 #else
739 if (!cd->is_upcall())
740 impl->resetNumericalConstraints();
741 else {
742 try {
743 impl->resetNumericalConstraints();
744 }
745 catch(hpp::Error& ex) {
746 throw omniORB::StubUserException(ex._NP_duplicate());
747 }
748
749
750 }
751 #endif
752
753
754 }
755
756 void hpp::manipulation_idl::graph_idl::_objref_GraphComponent::resetNumericalConstraints()
757 {
758 _0RL_cd_a5500133f0710014_c0000000 _call_desc(_0RL_lcfn_a5500133f0710014_d0000000, "resetNumericalConstraints", 26);
759
760
761 _invoke(_call_desc);
762
763
764
765 }
766
767
768 //
769 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::setSolveLevelByLevel
770
771 // Proxy call descriptor class. Mangled signature:
772 // void_i_cboolean_e_chpp_mError
773 class _0RL_cd_a5500133f0710014_e0000000
774 : public omniCallDescriptor
775 {
776 public:
777 inline _0RL_cd_a5500133f0710014_e0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
778 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
779 {
780
781 }
782
783 void marshalArguments(cdrStream&);
784 void unmarshalArguments(cdrStream&);
785
786
787 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
788 static const char* const _user_exns[];
789
790 ::CORBA::Boolean arg_0;
791 };
792
793 void _0RL_cd_a5500133f0710014_e0000000::marshalArguments(cdrStream& _n)
794 {
795 _n.marshalBoolean(arg_0);
796
797 }
798
799 void _0RL_cd_a5500133f0710014_e0000000::unmarshalArguments(cdrStream& _n)
800 {
801 arg_0 = _n.unmarshalBoolean();
802
803 }
804
805 const char* const _0RL_cd_a5500133f0710014_e0000000::_user_exns[] = {
806 hpp::Error::_PD_repoId
807 };
808
809 void _0RL_cd_a5500133f0710014_e0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
810 {
811 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
812 hpp::Error _ex;
813 _ex <<= s;
814 if (iop_client) iop_client->RequestCompleted();
815 throw _ex;
816 }
817
818
819 else {
820 if (iop_client) iop_client->RequestCompleted(1);
821 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
822 (::CORBA::CompletionStatus)s.completion());
823 }
824 }
825
826 // Local call call-back function.
827 static void
828 _0RL_lcfn_a5500133f0710014_f0000000(omniCallDescriptor* cd, omniServant* svnt)
829 {
830 _0RL_cd_a5500133f0710014_e0000000* tcd = (_0RL_cd_a5500133f0710014_e0000000*)cd;
831 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
832 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
833 impl->setSolveLevelByLevel(tcd->arg_0);
834 #else
835 if (!cd->is_upcall())
836 impl->setSolveLevelByLevel(tcd->arg_0);
837 else {
838 try {
839 impl->setSolveLevelByLevel(tcd->arg_0);
840 }
841 catch(hpp::Error& ex) {
842 throw omniORB::StubUserException(ex._NP_duplicate());
843 }
844
845
846 }
847 #endif
848
849
850 }
851
852 void hpp::manipulation_idl::graph_idl::_objref_GraphComponent::setSolveLevelByLevel(::CORBA::Boolean input)
853 {
854 _0RL_cd_a5500133f0710014_e0000000 _call_desc(_0RL_lcfn_a5500133f0710014_f0000000, "setSolveLevelByLevel", 21);
855 _call_desc.arg_0 = input;
856
857 _invoke(_call_desc);
858
859
860
861 }
862
863
864 //
865 // Code for hpp::manipulation_idl::graph_idl::GraphComponent::getSolveLevelByLevel
866
867 // Proxy call descriptor class. Mangled signature:
868 // _cboolean_e_chpp_mError
869 class _0RL_cd_a5500133f0710014_01000000
870 : public omniCallDescriptor
871 {
872 public:
873 inline _0RL_cd_a5500133f0710014_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
874 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
875 {
876
877 }
878
879
880 void unmarshalReturnedValues(cdrStream&);
881 void marshalReturnedValues(cdrStream&);
882
883 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
884 static const char* const _user_exns[];
885
886 ::CORBA::Boolean result;
887 };
888
889 void _0RL_cd_a5500133f0710014_01000000::marshalReturnedValues(cdrStream& _n)
890 {
891 _n.marshalBoolean(result);
892
893 }
894
895 void _0RL_cd_a5500133f0710014_01000000::unmarshalReturnedValues(cdrStream& _n)
896 {
897 result = _n.unmarshalBoolean();
898
899 }
900
901 const char* const _0RL_cd_a5500133f0710014_01000000::_user_exns[] = {
902 hpp::Error::_PD_repoId
903 };
904
905 void _0RL_cd_a5500133f0710014_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
906 {
907 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
908 hpp::Error _ex;
909 _ex <<= s;
910 if (iop_client) iop_client->RequestCompleted();
911 throw _ex;
912 }
913
914
915 else {
916 if (iop_client) iop_client->RequestCompleted(1);
917 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
918 (::CORBA::CompletionStatus)s.completion());
919 }
920 }
921
922 // Local call call-back function.
923 static void
924 _0RL_lcfn_a5500133f0710014_11000000(omniCallDescriptor* cd, omniServant* svnt)
925 {
926 _0RL_cd_a5500133f0710014_01000000* tcd = (_0RL_cd_a5500133f0710014_01000000*)cd;
927 hpp::manipulation_idl::graph_idl::_impl_GraphComponent* impl = (hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId);
928 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
929 tcd->result = impl->getSolveLevelByLevel();
930 #else
931 if (!cd->is_upcall())
932 tcd->result = impl->getSolveLevelByLevel();
933 else {
934 try {
935 tcd->result = impl->getSolveLevelByLevel();
936 }
937 catch(hpp::Error& ex) {
938 throw omniORB::StubUserException(ex._NP_duplicate());
939 }
940
941
942 }
943 #endif
944
945
946 }
947
948 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_GraphComponent::getSolveLevelByLevel()
949 {
950 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_11000000, "getSolveLevelByLevel", 21);
951
952
953 _invoke(_call_desc);
954 return _call_desc.result;
955
956
957 }
958
959 hpp::manipulation_idl::graph_idl::_pof_GraphComponent::~_pof_GraphComponent() {}
960
961
962 omniObjRef*
963 hpp::manipulation_idl::graph_idl::_pof_GraphComponent::newObjRef(omniIOR* ior, omniIdentity* id)
964 {
965 return new ::hpp::manipulation_idl::graph_idl::_objref_GraphComponent(ior, id);
966 }
967
968
969 ::CORBA::Boolean
970 hpp::manipulation_idl::graph_idl::_pof_GraphComponent::is_a(const char* id) const
971 {
972 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
973 return 1;
974
975 return 0;
976 }
977
978 const hpp::manipulation_idl::graph_idl::_pof_GraphComponent _the_pof_hpp_mmanipulation__idl_mgraph__idl_mGraphComponent;
979
980 hpp::manipulation_idl::graph_idl::_impl_GraphComponent::~_impl_GraphComponent() {}
981
982
983 ::CORBA::Boolean
984 hpp::manipulation_idl::graph_idl::_impl_GraphComponent::_dispatch(omniCallHandle& _handle)
985 {
986 const char* op = _handle.operation_name();
987
988 if (omni::strMatch(op, "name")) {
989
990 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_10000000, "name", 5, 1);
991
992 _handle.upcall(this,_call_desc);
993 return 1;
994 }
995
996 if (omni::strMatch(op, "id")) {
997
998 _0RL_cd_a5500133f0710014_20000000 _call_desc(_0RL_lcfn_a5500133f0710014_30000000, "id", 3, 1);
999
1000 _handle.upcall(this,_call_desc);
1001 return 1;
1002 }
1003
1004 if (omni::strMatch(op, "parentGraph")) {
1005
1006 _0RL_cd_a5500133f0710014_40000000 _call_desc(_0RL_lcfn_a5500133f0710014_50000000, "parentGraph", 12, 1);
1007
1008 _handle.upcall(this,_call_desc);
1009 return 1;
1010 }
1011
1012 if (omni::strMatch(op, "addNumericalConstraint")) {
1013
1014 _0RL_cd_a5500133f0710014_60000000 _call_desc(_0RL_lcfn_a5500133f0710014_70000000, "addNumericalConstraint", 23, 1);
1015
1016 _handle.upcall(this,_call_desc);
1017 return 1;
1018 }
1019
1020 if (omni::strMatch(op, "addNumericalCost")) {
1021
1022 _0RL_cd_a5500133f0710014_60000000 _call_desc(_0RL_lcfn_a5500133f0710014_80000000, "addNumericalCost", 17, 1);
1023
1024 _handle.upcall(this,_call_desc);
1025 return 1;
1026 }
1027
1028 if (omni::strMatch(op, "numericalConstraints")) {
1029
1030 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_a0000000, "numericalConstraints", 21, 1);
1031
1032 _handle.upcall(this,_call_desc);
1033 return 1;
1034 }
1035
1036 if (omni::strMatch(op, "numericalCosts")) {
1037
1038 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_b0000000, "numericalCosts", 15, 1);
1039
1040 _handle.upcall(this,_call_desc);
1041 return 1;
1042 }
1043
1044 if (omni::strMatch(op, "resetNumericalConstraints")) {
1045
1046 _0RL_cd_a5500133f0710014_c0000000 _call_desc(_0RL_lcfn_a5500133f0710014_d0000000, "resetNumericalConstraints", 26, 1);
1047
1048 _handle.upcall(this,_call_desc);
1049 return 1;
1050 }
1051
1052 if (omni::strMatch(op, "setSolveLevelByLevel")) {
1053
1054 _0RL_cd_a5500133f0710014_e0000000 _call_desc(_0RL_lcfn_a5500133f0710014_f0000000, "setSolveLevelByLevel", 21, 1);
1055
1056 _handle.upcall(this,_call_desc);
1057 return 1;
1058 }
1059
1060 if (omni::strMatch(op, "getSolveLevelByLevel")) {
1061
1062 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_11000000, "getSolveLevelByLevel", 21, 1);
1063
1064 _handle.upcall(this,_call_desc);
1065 return 1;
1066 }
1067
1068
1069 return 0;
1070 }
1071
1072 void*
1073 hpp::manipulation_idl::graph_idl::_impl_GraphComponent::_ptrToInterface(const char* id)
1074 {
1075 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
1076 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
1077
1078 if (id == ::CORBA::Object::_PD_repoId)
1079 return (void*) 1;
1080
1081 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
1082 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
1083
1084 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1085 return (void*) 1;
1086 return 0;
1087 }
1088
1089 const char*
1090 hpp::manipulation_idl::graph_idl::_impl_GraphComponent::_mostDerivedRepoId()
1091 {
1092 return ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId;
1093 }
1094
1095 hpp::manipulation_idl::graph_idl::StateSelector_ptr hpp::manipulation_idl::graph_idl::StateSelector_Helper::_nil() {
1096 return ::hpp::manipulation_idl::graph_idl::StateSelector::_nil();
1097 }
1098
1099 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::StateSelector_Helper::is_nil(::hpp::manipulation_idl::graph_idl::StateSelector_ptr p) {
1100 return ::CORBA::is_nil(p);
1101
1102 }
1103
1104 void hpp::manipulation_idl::graph_idl::StateSelector_Helper::release(::hpp::manipulation_idl::graph_idl::StateSelector_ptr p) {
1105 ::CORBA::release(p);
1106 }
1107
1108 void hpp::manipulation_idl::graph_idl::StateSelector_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::StateSelector_ptr obj, cdrStream& s) {
1109 ::hpp::manipulation_idl::graph_idl::StateSelector::_marshalObjRef(obj, s);
1110 }
1111
1112 hpp::manipulation_idl::graph_idl::StateSelector_ptr hpp::manipulation_idl::graph_idl::StateSelector_Helper::unmarshalObjRef(cdrStream& s) {
1113 return ::hpp::manipulation_idl::graph_idl::StateSelector::_unmarshalObjRef(s);
1114 }
1115
1116 void hpp::manipulation_idl::graph_idl::StateSelector_Helper::duplicate(::hpp::manipulation_idl::graph_idl::StateSelector_ptr obj) {
1117 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1118 }
1119
1120 hpp::manipulation_idl::graph_idl::StateSelector_ptr
1121 hpp::manipulation_idl::graph_idl::StateSelector::_duplicate(::hpp::manipulation_idl::graph_idl::StateSelector_ptr obj)
1122 {
1123 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1124 return obj;
1125 }
1126
1127 hpp::manipulation_idl::graph_idl::StateSelector_ptr
1128 hpp::manipulation_idl::graph_idl::StateSelector::_narrow(::CORBA::Object_ptr obj)
1129 {
1130 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1131 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
1132 return e ? e : _nil();
1133 }
1134
1135
1136 hpp::manipulation_idl::graph_idl::StateSelector_ptr
1137 hpp::manipulation_idl::graph_idl::StateSelector::_unchecked_narrow(::CORBA::Object_ptr obj)
1138 {
1139 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1140 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
1141 return e ? e : _nil();
1142 }
1143
1144 hpp::manipulation_idl::graph_idl::StateSelector_ptr
1145 hpp::manipulation_idl::graph_idl::StateSelector::_nil()
1146 {
1147 #ifdef OMNI_UNLOADABLE_STUBS
1148 static _objref_StateSelector _the_nil_obj;
1149 return &_the_nil_obj;
1150 #else
1151 static _objref_StateSelector* _the_nil_ptr = 0;
1152 if (!_the_nil_ptr) {
1153 omni::nilRefLock().lock();
1154 if (!_the_nil_ptr) {
1155 _the_nil_ptr = new _objref_StateSelector;
1156 registerNilCorbaObject(_the_nil_ptr);
1157 }
1158 omni::nilRefLock().unlock();
1159 }
1160 return _the_nil_ptr;
1161 #endif
1162 }
1163
1164 const char* hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/StateSelector:1.0";
1165
1166
1167 hpp::manipulation_idl::graph_idl::_objref_StateSelector::~_objref_StateSelector() {
1168
1169 }
1170
1171
1172 hpp::manipulation_idl::graph_idl::_objref_StateSelector::_objref_StateSelector(omniIOR* ior, omniIdentity* id) :
1173 omniObjRef(::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId, ior, id, 1)
1174
1175
1176 {
1177 _PR_setobj(this);
1178 }
1179
1180 void*
1181 hpp::manipulation_idl::graph_idl::_objref_StateSelector::_ptrToObjRef(const char* id)
1182 {
1183 if (id == ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId)
1184 return (::hpp::manipulation_idl::graph_idl::StateSelector_ptr) this;
1185
1186 if (id == ::CORBA::Object::_PD_repoId)
1187 return (::CORBA::Object_ptr) this;
1188
1189 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId))
1190 return (::hpp::manipulation_idl::graph_idl::StateSelector_ptr) this;
1191
1192 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1193 return (::CORBA::Object_ptr) this;
1194
1195 return 0;
1196 }
1197
1198
1199 //
1200 // Code for hpp::manipulation_idl::graph_idl::StateSelector::name
1201
1202 // Local call call-back function.
1203 static void
1204 _0RL_lcfn_a5500133f0710014_21000000(omniCallDescriptor* cd, omniServant* svnt)
1205 {
1206 _0RL_cd_a5500133f0710014_00000000* tcd = (_0RL_cd_a5500133f0710014_00000000*)cd;
1207 hpp::manipulation_idl::graph_idl::_impl_StateSelector* impl = (hpp::manipulation_idl::graph_idl::_impl_StateSelector*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId);
1208 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1209 tcd->result = impl->name();
1210 #else
1211 if (!cd->is_upcall())
1212 tcd->result = impl->name();
1213 else {
1214 try {
1215 tcd->result = impl->name();
1216 }
1217 catch(hpp::Error& ex) {
1218 throw omniORB::StubUserException(ex._NP_duplicate());
1219 }
1220
1221
1222 }
1223 #endif
1224
1225
1226 }
1227
1228 char* hpp::manipulation_idl::graph_idl::_objref_StateSelector::name()
1229 {
1230 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_21000000, "name", 5);
1231
1232
1233 _invoke(_call_desc);
1234 return _call_desc.result._retn();
1235
1236
1237 }
1238
1239
1240 //
1241 // Code for hpp::manipulation_idl::graph_idl::StateSelector::parentGraph
1242
1243 // Local call call-back function.
1244 static void
1245 _0RL_lcfn_a5500133f0710014_31000000(omniCallDescriptor* cd, omniServant* svnt)
1246 {
1247 _0RL_cd_a5500133f0710014_40000000* tcd = (_0RL_cd_a5500133f0710014_40000000*)cd;
1248 hpp::manipulation_idl::graph_idl::_impl_StateSelector* impl = (hpp::manipulation_idl::graph_idl::_impl_StateSelector*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId);
1249 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1250 tcd->result = impl->parentGraph();
1251 #else
1252 if (!cd->is_upcall())
1253 tcd->result = impl->parentGraph();
1254 else {
1255 try {
1256 tcd->result = impl->parentGraph();
1257 }
1258 catch(hpp::Error& ex) {
1259 throw omniORB::StubUserException(ex._NP_duplicate());
1260 }
1261
1262
1263 }
1264 #endif
1265
1266
1267 }
1268
1269 hpp::manipulation_idl::graph_idl::Graph_ptr hpp::manipulation_idl::graph_idl::_objref_StateSelector::parentGraph()
1270 {
1271 _0RL_cd_a5500133f0710014_40000000 _call_desc(_0RL_lcfn_a5500133f0710014_31000000, "parentGraph", 12);
1272
1273
1274 _invoke(_call_desc);
1275 return _call_desc.result._retn();
1276
1277
1278 }
1279
1280
1281 //
1282 // Code for hpp::manipulation_idl::graph_idl::StateSelector::getStates
1283
1284 // Proxy call descriptor class. Mangled signature:
1285 // _chpp_mmanipulation__idl_mgraph__idl_mStates_e_chpp_mError
1286 class _0RL_cd_a5500133f0710014_41000000
1287 : public omniCallDescriptor
1288 {
1289 public:
1290 inline _0RL_cd_a5500133f0710014_41000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1291 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1292 {
1293
1294 }
1295
1296
1297 void unmarshalReturnedValues(cdrStream&);
1298 void marshalReturnedValues(cdrStream&);
1299
1300 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1301 static const char* const _user_exns[];
1302
1303 hpp::manipulation_idl::graph_idl::States_var result;
1304 };
1305
1306 void _0RL_cd_a5500133f0710014_41000000::marshalReturnedValues(cdrStream& _n)
1307 {
1308 (const hpp::manipulation_idl::graph_idl::States&) result >>= _n;
1309
1310 }
1311
1312 void _0RL_cd_a5500133f0710014_41000000::unmarshalReturnedValues(cdrStream& _n)
1313 {
1314 result = new hpp::manipulation_idl::graph_idl::States;
1315 (hpp::manipulation_idl::graph_idl::States&)result <<= _n;
1316
1317 }
1318
1319 const char* const _0RL_cd_a5500133f0710014_41000000::_user_exns[] = {
1320 hpp::Error::_PD_repoId
1321 };
1322
1323 void _0RL_cd_a5500133f0710014_41000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1324 {
1325 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1326 hpp::Error _ex;
1327 _ex <<= s;
1328 if (iop_client) iop_client->RequestCompleted();
1329 throw _ex;
1330 }
1331
1332
1333 else {
1334 if (iop_client) iop_client->RequestCompleted(1);
1335 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1336 (::CORBA::CompletionStatus)s.completion());
1337 }
1338 }
1339
1340 // Local call call-back function.
1341 static void
1342 _0RL_lcfn_a5500133f0710014_51000000(omniCallDescriptor* cd, omniServant* svnt)
1343 {
1344 _0RL_cd_a5500133f0710014_41000000* tcd = (_0RL_cd_a5500133f0710014_41000000*)cd;
1345 hpp::manipulation_idl::graph_idl::_impl_StateSelector* impl = (hpp::manipulation_idl::graph_idl::_impl_StateSelector*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId);
1346 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1347 tcd->result = impl->getStates();
1348 #else
1349 if (!cd->is_upcall())
1350 tcd->result = impl->getStates();
1351 else {
1352 try {
1353 tcd->result = impl->getStates();
1354 }
1355 catch(hpp::Error& ex) {
1356 throw omniORB::StubUserException(ex._NP_duplicate());
1357 }
1358
1359
1360 }
1361 #endif
1362
1363
1364 }
1365
1366 hpp::manipulation_idl::graph_idl::States* hpp::manipulation_idl::graph_idl::_objref_StateSelector::getStates()
1367 {
1368 _0RL_cd_a5500133f0710014_41000000 _call_desc(_0RL_lcfn_a5500133f0710014_51000000, "getStates", 10);
1369
1370
1371 _invoke(_call_desc);
1372 return _call_desc.result._retn();
1373
1374
1375 }
1376
1377 hpp::manipulation_idl::graph_idl::_pof_StateSelector::~_pof_StateSelector() {}
1378
1379
1380 omniObjRef*
1381 hpp::manipulation_idl::graph_idl::_pof_StateSelector::newObjRef(omniIOR* ior, omniIdentity* id)
1382 {
1383 return new ::hpp::manipulation_idl::graph_idl::_objref_StateSelector(ior, id);
1384 }
1385
1386
1387 ::CORBA::Boolean
1388 hpp::manipulation_idl::graph_idl::_pof_StateSelector::is_a(const char* id) const
1389 {
1390 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId))
1391 return 1;
1392
1393 return 0;
1394 }
1395
1396 const hpp::manipulation_idl::graph_idl::_pof_StateSelector _the_pof_hpp_mmanipulation__idl_mgraph__idl_mStateSelector;
1397
1398 hpp::manipulation_idl::graph_idl::_impl_StateSelector::~_impl_StateSelector() {}
1399
1400
1401 ::CORBA::Boolean
1402 hpp::manipulation_idl::graph_idl::_impl_StateSelector::_dispatch(omniCallHandle& _handle)
1403 {
1404 const char* op = _handle.operation_name();
1405
1406 if (omni::strMatch(op, "name")) {
1407
1408 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_21000000, "name", 5, 1);
1409
1410 _handle.upcall(this,_call_desc);
1411 return 1;
1412 }
1413
1414 if (omni::strMatch(op, "parentGraph")) {
1415
1416 _0RL_cd_a5500133f0710014_40000000 _call_desc(_0RL_lcfn_a5500133f0710014_31000000, "parentGraph", 12, 1);
1417
1418 _handle.upcall(this,_call_desc);
1419 return 1;
1420 }
1421
1422 if (omni::strMatch(op, "getStates")) {
1423
1424 _0RL_cd_a5500133f0710014_41000000 _call_desc(_0RL_lcfn_a5500133f0710014_51000000, "getStates", 10, 1);
1425
1426 _handle.upcall(this,_call_desc);
1427 return 1;
1428 }
1429
1430
1431 return 0;
1432 }
1433
1434 void*
1435 hpp::manipulation_idl::graph_idl::_impl_StateSelector::_ptrToInterface(const char* id)
1436 {
1437 if (id == ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId)
1438 return (::hpp::manipulation_idl::graph_idl::_impl_StateSelector*) this;
1439
1440 if (id == ::CORBA::Object::_PD_repoId)
1441 return (void*) 1;
1442
1443 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId))
1444 return (::hpp::manipulation_idl::graph_idl::_impl_StateSelector*) this;
1445
1446 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1447 return (void*) 1;
1448 return 0;
1449 }
1450
1451 const char*
1452 hpp::manipulation_idl::graph_idl::_impl_StateSelector::_mostDerivedRepoId()
1453 {
1454 return ::hpp::manipulation_idl::graph_idl::StateSelector::_PD_repoId;
1455 }
1456
1457 hpp::manipulation_idl::graph_idl::Graph_ptr hpp::manipulation_idl::graph_idl::Graph_Helper::_nil() {
1458 return ::hpp::manipulation_idl::graph_idl::Graph::_nil();
1459 }
1460
1461 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::Graph_Helper::is_nil(::hpp::manipulation_idl::graph_idl::Graph_ptr p) {
1462 return ::CORBA::is_nil(p);
1463
1464 }
1465
1466 void hpp::manipulation_idl::graph_idl::Graph_Helper::release(::hpp::manipulation_idl::graph_idl::Graph_ptr p) {
1467 ::CORBA::release(p);
1468 }
1469
1470 void hpp::manipulation_idl::graph_idl::Graph_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::Graph_ptr obj, cdrStream& s) {
1471 ::hpp::manipulation_idl::graph_idl::Graph::_marshalObjRef(obj, s);
1472 }
1473
1474 hpp::manipulation_idl::graph_idl::Graph_ptr hpp::manipulation_idl::graph_idl::Graph_Helper::unmarshalObjRef(cdrStream& s) {
1475 return ::hpp::manipulation_idl::graph_idl::Graph::_unmarshalObjRef(s);
1476 }
1477
1478 void hpp::manipulation_idl::graph_idl::Graph_Helper::duplicate(::hpp::manipulation_idl::graph_idl::Graph_ptr obj) {
1479 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1480 }
1481
1482 hpp::manipulation_idl::graph_idl::Graph_ptr
1483 hpp::manipulation_idl::graph_idl::Graph::_duplicate(::hpp::manipulation_idl::graph_idl::Graph_ptr obj)
1484 {
1485 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
1486 return obj;
1487 }
1488
1489 hpp::manipulation_idl::graph_idl::Graph_ptr
1490 hpp::manipulation_idl::graph_idl::Graph::_narrow(::CORBA::Object_ptr obj)
1491 {
1492 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1493 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
1494 return e ? e : _nil();
1495 }
1496
1497
1498 hpp::manipulation_idl::graph_idl::Graph_ptr
1499 hpp::manipulation_idl::graph_idl::Graph::_unchecked_narrow(::CORBA::Object_ptr obj)
1500 {
1501 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
1502 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
1503 return e ? e : _nil();
1504 }
1505
1506 hpp::manipulation_idl::graph_idl::Graph_ptr
1507 hpp::manipulation_idl::graph_idl::Graph::_nil()
1508 {
1509 #ifdef OMNI_UNLOADABLE_STUBS
1510 static _objref_Graph _the_nil_obj;
1511 return &_the_nil_obj;
1512 #else
1513 static _objref_Graph* _the_nil_ptr = 0;
1514 if (!_the_nil_ptr) {
1515 omni::nilRefLock().lock();
1516 if (!_the_nil_ptr) {
1517 _the_nil_ptr = new _objref_Graph;
1518 registerNilCorbaObject(_the_nil_ptr);
1519 }
1520 omni::nilRefLock().unlock();
1521 }
1522 return _the_nil_ptr;
1523 #endif
1524 }
1525
1526 const char* hpp::manipulation_idl::graph_idl::Graph::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/Graph:1.0";
1527
1528
1529 hpp::manipulation_idl::graph_idl::_objref_Graph::~_objref_Graph() {
1530
1531 }
1532
1533
1534 hpp::manipulation_idl::graph_idl::_objref_Graph::_objref_Graph(omniIOR* ior, omniIdentity* id) :
1535 omniObjRef(::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId, ior, id, 1),
1536 _objref_GraphComponent(ior, id)
1537
1538 {
1539 _PR_setobj(this);
1540 }
1541
1542 void*
1543 hpp::manipulation_idl::graph_idl::_objref_Graph::_ptrToObjRef(const char* id)
1544 {
1545 if (id == ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId)
1546 return (::hpp::manipulation_idl::graph_idl::Graph_ptr) this;
1547 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
1548 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
1549
1550
1551 if (id == ::CORBA::Object::_PD_repoId)
1552 return (::CORBA::Object_ptr) this;
1553
1554 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId))
1555 return (::hpp::manipulation_idl::graph_idl::Graph_ptr) this;
1556 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
1557 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
1558
1559
1560 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
1561 return (::CORBA::Object_ptr) this;
1562
1563 return 0;
1564 }
1565
1566
1567 //
1568 // Code for hpp::manipulation_idl::graph_idl::Graph::getStateSelector
1569
1570 // Proxy call descriptor class. Mangled signature:
1571 // _chpp_mmanipulation__idl_mgraph__idl_mStateSelector_e_chpp_mError
1572 class _0RL_cd_a5500133f0710014_61000000
1573 : public omniCallDescriptor
1574 {
1575 public:
1576 inline _0RL_cd_a5500133f0710014_61000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1577 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1578 {
1579
1580 }
1581
1582
1583 void unmarshalReturnedValues(cdrStream&);
1584 void marshalReturnedValues(cdrStream&);
1585
1586 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1587 static const char* const _user_exns[];
1588
1589 hpp::manipulation_idl::graph_idl::StateSelector_var result;
1590 };
1591
1592 void _0RL_cd_a5500133f0710014_61000000::marshalReturnedValues(cdrStream& _n)
1593 {
1594 hpp::manipulation_idl::graph_idl::StateSelector::_marshalObjRef(result,_n);
1595
1596 }
1597
1598 void _0RL_cd_a5500133f0710014_61000000::unmarshalReturnedValues(cdrStream& _n)
1599 {
1600 result = hpp::manipulation_idl::graph_idl::StateSelector::_unmarshalObjRef(_n);
1601
1602 }
1603
1604 const char* const _0RL_cd_a5500133f0710014_61000000::_user_exns[] = {
1605 hpp::Error::_PD_repoId
1606 };
1607
1608 void _0RL_cd_a5500133f0710014_61000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1609 {
1610 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1611 hpp::Error _ex;
1612 _ex <<= s;
1613 if (iop_client) iop_client->RequestCompleted();
1614 throw _ex;
1615 }
1616
1617
1618 else {
1619 if (iop_client) iop_client->RequestCompleted(1);
1620 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1621 (::CORBA::CompletionStatus)s.completion());
1622 }
1623 }
1624
1625 // Local call call-back function.
1626 static void
1627 _0RL_lcfn_a5500133f0710014_71000000(omniCallDescriptor* cd, omniServant* svnt)
1628 {
1629 _0RL_cd_a5500133f0710014_61000000* tcd = (_0RL_cd_a5500133f0710014_61000000*)cd;
1630 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
1631 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1632 tcd->result = impl->getStateSelector();
1633 #else
1634 if (!cd->is_upcall())
1635 tcd->result = impl->getStateSelector();
1636 else {
1637 try {
1638 tcd->result = impl->getStateSelector();
1639 }
1640 catch(hpp::Error& ex) {
1641 throw omniORB::StubUserException(ex._NP_duplicate());
1642 }
1643
1644
1645 }
1646 #endif
1647
1648
1649 }
1650
1651 hpp::manipulation_idl::graph_idl::StateSelector_ptr hpp::manipulation_idl::graph_idl::_objref_Graph::getStateSelector()
1652 {
1653 _0RL_cd_a5500133f0710014_61000000 _call_desc(_0RL_lcfn_a5500133f0710014_71000000, "getStateSelector", 17);
1654
1655
1656 _invoke(_call_desc);
1657 return _call_desc.result._retn();
1658
1659
1660 }
1661
1662
1663 //
1664 // Code for hpp::manipulation_idl::graph_idl::Graph::get
1665
1666 // Proxy call descriptor class. Mangled signature:
1667 // _chpp_mmanipulation__idl_mgraph__idl_mGraphComponent_i_cunsigned_plonglong_e_chpp_mError
1668 class _0RL_cd_a5500133f0710014_81000000
1669 : public omniCallDescriptor
1670 {
1671 public:
1672 inline _0RL_cd_a5500133f0710014_81000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1673 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1674 {
1675
1676 }
1677
1678 void marshalArguments(cdrStream&);
1679 void unmarshalArguments(cdrStream&);
1680
1681 void unmarshalReturnedValues(cdrStream&);
1682 void marshalReturnedValues(cdrStream&);
1683
1684 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1685 static const char* const _user_exns[];
1686
1687 hpp::manipulation_idl::graph_idl::size_t arg_0;
1688 hpp::manipulation_idl::graph_idl::GraphComponent_var result;
1689 };
1690
1691 void _0RL_cd_a5500133f0710014_81000000::marshalArguments(cdrStream& _n)
1692 {
1693 arg_0 >>= _n;
1694
1695 }
1696
1697 void _0RL_cd_a5500133f0710014_81000000::unmarshalArguments(cdrStream& _n)
1698 {
1699 (hpp::manipulation_idl::graph_idl::size_t&)arg_0 <<= _n;
1700
1701 }
1702
1703 void _0RL_cd_a5500133f0710014_81000000::marshalReturnedValues(cdrStream& _n)
1704 {
1705 hpp::manipulation_idl::graph_idl::GraphComponent::_marshalObjRef(result,_n);
1706
1707 }
1708
1709 void _0RL_cd_a5500133f0710014_81000000::unmarshalReturnedValues(cdrStream& _n)
1710 {
1711 result = hpp::manipulation_idl::graph_idl::GraphComponent::_unmarshalObjRef(_n);
1712
1713 }
1714
1715 const char* const _0RL_cd_a5500133f0710014_81000000::_user_exns[] = {
1716 hpp::Error::_PD_repoId
1717 };
1718
1719 void _0RL_cd_a5500133f0710014_81000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1720 {
1721 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1722 hpp::Error _ex;
1723 _ex <<= s;
1724 if (iop_client) iop_client->RequestCompleted();
1725 throw _ex;
1726 }
1727
1728
1729 else {
1730 if (iop_client) iop_client->RequestCompleted(1);
1731 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1732 (::CORBA::CompletionStatus)s.completion());
1733 }
1734 }
1735
1736 // Local call call-back function.
1737 static void
1738 _0RL_lcfn_a5500133f0710014_91000000(omniCallDescriptor* cd, omniServant* svnt)
1739 {
1740 _0RL_cd_a5500133f0710014_81000000* tcd = (_0RL_cd_a5500133f0710014_81000000*)cd;
1741 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
1742 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1743 tcd->result = impl->get(tcd->arg_0);
1744 #else
1745 if (!cd->is_upcall())
1746 tcd->result = impl->get(tcd->arg_0);
1747 else {
1748 try {
1749 tcd->result = impl->get(tcd->arg_0);
1750 }
1751 catch(hpp::Error& ex) {
1752 throw omniORB::StubUserException(ex._NP_duplicate());
1753 }
1754
1755
1756 }
1757 #endif
1758
1759
1760 }
1761
1762 hpp::manipulation_idl::graph_idl::GraphComponent_ptr hpp::manipulation_idl::graph_idl::_objref_Graph::get(::hpp::manipulation_idl::graph_idl::size_t id)
1763 {
1764 _0RL_cd_a5500133f0710014_81000000 _call_desc(_0RL_lcfn_a5500133f0710014_91000000, "get", 4);
1765 _call_desc.arg_0 = id;
1766
1767 _invoke(_call_desc);
1768 return _call_desc.result._retn();
1769
1770
1771 }
1772
1773
1774 //
1775 // Code for hpp::manipulation_idl::graph_idl::Graph::nbComponents
1776
1777 // Local call call-back function.
1778 static void
1779 _0RL_lcfn_a5500133f0710014_a1000000(omniCallDescriptor* cd, omniServant* svnt)
1780 {
1781 _0RL_cd_a5500133f0710014_20000000* tcd = (_0RL_cd_a5500133f0710014_20000000*)cd;
1782 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
1783 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1784 tcd->result = impl->nbComponents();
1785 #else
1786 if (!cd->is_upcall())
1787 tcd->result = impl->nbComponents();
1788 else {
1789 try {
1790 tcd->result = impl->nbComponents();
1791 }
1792 catch(hpp::Error& ex) {
1793 throw omniORB::StubUserException(ex._NP_duplicate());
1794 }
1795
1796
1797 }
1798 #endif
1799
1800
1801 }
1802
1803 hpp::manipulation_idl::graph_idl::size_t hpp::manipulation_idl::graph_idl::_objref_Graph::nbComponents()
1804 {
1805 _0RL_cd_a5500133f0710014_20000000 _call_desc(_0RL_lcfn_a5500133f0710014_a1000000, "nbComponents", 13);
1806
1807
1808 _invoke(_call_desc);
1809 return _call_desc.result;
1810
1811
1812 }
1813
1814
1815 //
1816 // Code for hpp::manipulation_idl::graph_idl::Graph::initialize
1817
1818 // Local call call-back function.
1819 static void
1820 _0RL_lcfn_a5500133f0710014_b1000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
1821 {
1822
1823 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
1824 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1825 impl->initialize();
1826 #else
1827 if (!cd->is_upcall())
1828 impl->initialize();
1829 else {
1830 try {
1831 impl->initialize();
1832 }
1833 catch(hpp::Error& ex) {
1834 throw omniORB::StubUserException(ex._NP_duplicate());
1835 }
1836
1837
1838 }
1839 #endif
1840
1841
1842 }
1843
1844 void hpp::manipulation_idl::graph_idl::_objref_Graph::initialize()
1845 {
1846 _0RL_cd_a5500133f0710014_c0000000 _call_desc(_0RL_lcfn_a5500133f0710014_b1000000, "initialize", 11);
1847
1848
1849 _invoke(_call_desc);
1850
1851
1852
1853 }
1854
1855
1856 //
1857 // Code for hpp::manipulation_idl::graph_idl::Graph::getState
1858
1859 // Proxy call descriptor class. Mangled signature:
1860 // _chpp_mmanipulation__idl_mgraph__idl_mState_i_chpp_mfloatSeq_e_chpp_mError
1861 class _0RL_cd_a5500133f0710014_c1000000
1862 : public omniCallDescriptor
1863 {
1864 public:
1865 inline _0RL_cd_a5500133f0710014_c1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1866 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1867 {
1868
1869 }
1870
1871 void marshalArguments(cdrStream&);
1872 void unmarshalArguments(cdrStream&);
1873
1874 void unmarshalReturnedValues(cdrStream&);
1875 void marshalReturnedValues(cdrStream&);
1876
1877 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1878 static const char* const _user_exns[];
1879
1880 hpp::floatSeq_var arg_0_;
1881 const hpp::floatSeq* arg_0;
1882 hpp::manipulation_idl::graph_idl::State_var result;
1883 };
1884
1885 void _0RL_cd_a5500133f0710014_c1000000::marshalArguments(cdrStream& _n)
1886 {
1887 (const hpp::floatSeq&) *arg_0 >>= _n;
1888
1889 }
1890
1891 void _0RL_cd_a5500133f0710014_c1000000::unmarshalArguments(cdrStream& _n)
1892 {
1893 arg_0_ = new hpp::floatSeq;
1894 (hpp::floatSeq&)arg_0_ <<= _n;
1895 arg_0 = &arg_0_.in();
1896
1897 }
1898
1899 void _0RL_cd_a5500133f0710014_c1000000::marshalReturnedValues(cdrStream& _n)
1900 {
1901 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(result,_n);
1902
1903 }
1904
1905 void _0RL_cd_a5500133f0710014_c1000000::unmarshalReturnedValues(cdrStream& _n)
1906 {
1907 result = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
1908
1909 }
1910
1911 const char* const _0RL_cd_a5500133f0710014_c1000000::_user_exns[] = {
1912 hpp::Error::_PD_repoId
1913 };
1914
1915 void _0RL_cd_a5500133f0710014_c1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1916 {
1917 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
1918 hpp::Error _ex;
1919 _ex <<= s;
1920 if (iop_client) iop_client->RequestCompleted();
1921 throw _ex;
1922 }
1923
1924
1925 else {
1926 if (iop_client) iop_client->RequestCompleted(1);
1927 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1928 (::CORBA::CompletionStatus)s.completion());
1929 }
1930 }
1931
1932 // Local call call-back function.
1933 static void
1934 _0RL_lcfn_a5500133f0710014_d1000000(omniCallDescriptor* cd, omniServant* svnt)
1935 {
1936 _0RL_cd_a5500133f0710014_c1000000* tcd = (_0RL_cd_a5500133f0710014_c1000000*)cd;
1937 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
1938 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
1939 tcd->result = impl->getState(*tcd->arg_0);
1940 #else
1941 if (!cd->is_upcall())
1942 tcd->result = impl->getState(*tcd->arg_0);
1943 else {
1944 try {
1945 tcd->result = impl->getState(*tcd->arg_0);
1946 }
1947 catch(hpp::Error& ex) {
1948 throw omniORB::StubUserException(ex._NP_duplicate());
1949 }
1950
1951
1952 }
1953 #endif
1954
1955
1956 }
1957
1958 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::_objref_Graph::getState(const ::hpp::floatSeq& config)
1959 {
1960 _0RL_cd_a5500133f0710014_c1000000 _call_desc(_0RL_lcfn_a5500133f0710014_d1000000, "getState", 9);
1961 _call_desc.arg_0 = &(::hpp::floatSeq&) config;
1962
1963 _invoke(_call_desc);
1964 return _call_desc.result._retn();
1965
1966
1967 }
1968
1969
1970 //
1971 // Code for hpp::manipulation_idl::graph_idl::Graph::getEdges
1972
1973 // Proxy call descriptor class. Mangled signature:
1974 // _chpp_mmanipulation__idl_mgraph__idl_mEdges_i_chpp_mmanipulation__idl_mgraph__idl_mState_i_chpp_mmanipulation__idl_mgraph__idl_mState_e_chpp_mError
1975 class _0RL_cd_a5500133f0710014_e1000000
1976 : public omniCallDescriptor
1977 {
1978 public:
1979 inline _0RL_cd_a5500133f0710014_e1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1980 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1981 {
1982
1983 }
1984
1985 void marshalArguments(cdrStream&);
1986 void unmarshalArguments(cdrStream&);
1987
1988 void unmarshalReturnedValues(cdrStream&);
1989 void marshalReturnedValues(cdrStream&);
1990
1991 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1992 static const char* const _user_exns[];
1993
1994 hpp::manipulation_idl::graph_idl::State_var arg_0_;
1995 hpp::manipulation_idl::graph_idl::State_ptr arg_0;
1996 hpp::manipulation_idl::graph_idl::State_var arg_1_;
1997 hpp::manipulation_idl::graph_idl::State_ptr arg_1;
1998 hpp::manipulation_idl::graph_idl::Edges_var result;
1999 };
2000
2001 void _0RL_cd_a5500133f0710014_e1000000::marshalArguments(cdrStream& _n)
2002 {
2003 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(arg_0,_n);
2004 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(arg_1,_n);
2005
2006 }
2007
2008 void _0RL_cd_a5500133f0710014_e1000000::unmarshalArguments(cdrStream& _n)
2009 {
2010 arg_0_ = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
2011 arg_0 = arg_0_.in();
2012 arg_1_ = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
2013 arg_1 = arg_1_.in();
2014
2015 }
2016
2017 void _0RL_cd_a5500133f0710014_e1000000::marshalReturnedValues(cdrStream& _n)
2018 {
2019 (const hpp::manipulation_idl::graph_idl::Edges&) result >>= _n;
2020
2021 }
2022
2023 void _0RL_cd_a5500133f0710014_e1000000::unmarshalReturnedValues(cdrStream& _n)
2024 {
2025 result = new hpp::manipulation_idl::graph_idl::Edges;
2026 (hpp::manipulation_idl::graph_idl::Edges&)result <<= _n;
2027
2028 }
2029
2030 const char* const _0RL_cd_a5500133f0710014_e1000000::_user_exns[] = {
2031 hpp::Error::_PD_repoId
2032 };
2033
2034 void _0RL_cd_a5500133f0710014_e1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2035 {
2036 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2037 hpp::Error _ex;
2038 _ex <<= s;
2039 if (iop_client) iop_client->RequestCompleted();
2040 throw _ex;
2041 }
2042
2043
2044 else {
2045 if (iop_client) iop_client->RequestCompleted(1);
2046 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2047 (::CORBA::CompletionStatus)s.completion());
2048 }
2049 }
2050
2051 // Local call call-back function.
2052 static void
2053 _0RL_lcfn_a5500133f0710014_f1000000(omniCallDescriptor* cd, omniServant* svnt)
2054 {
2055 _0RL_cd_a5500133f0710014_e1000000* tcd = (_0RL_cd_a5500133f0710014_e1000000*)cd;
2056 hpp::manipulation_idl::graph_idl::_impl_Graph* impl = (hpp::manipulation_idl::graph_idl::_impl_Graph*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Graph::_PD_repoId);
2057 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2058 tcd->result = impl->getEdges(tcd->arg_0, tcd->arg_1);
2059 #else
2060 if (!cd->is_upcall())
2061 tcd->result = impl->getEdges(tcd->arg_0, tcd->arg_1);
2062 else {
2063 try {
2064 tcd->result = impl->getEdges(tcd->arg_0, tcd->arg_1);
2065 }
2066 catch(hpp::Error& ex) {
2067 throw omniORB::StubUserException(ex._NP_duplicate());
2068 }
2069
2070
2071 }
2072 #endif
2073
2074
2075 }
2076
2077 hpp::manipulation_idl::graph_idl::Edges* hpp::manipulation_idl::graph_idl::_objref_Graph::getEdges(::hpp::manipulation_idl::graph_idl::State_ptr from, ::hpp::manipulation_idl::graph_idl::State_ptr to)
2078 {
2079 _0RL_cd_a5500133f0710014_e1000000 _call_desc(_0RL_lcfn_a5500133f0710014_f1000000, "getEdges", 9);
2080 _call_desc.arg_0 = from;
2081 _call_desc.arg_1 = to;
2082
2083 _invoke(_call_desc);
2084 return _call_desc.result._retn();
2085
2086
2087 }
2088
2089 hpp::manipulation_idl::graph_idl::_pof_Graph::~_pof_Graph() {}
2090
2091
2092 omniObjRef*
2093 hpp::manipulation_idl::graph_idl::_pof_Graph::newObjRef(omniIOR* ior, omniIdentity* id)
2094 {
2095 return new ::hpp::manipulation_idl::graph_idl::_objref_Graph(ior, id);
2096 }
2097
2098
2099 ::CORBA::Boolean
2100 hpp::manipulation_idl::graph_idl::_pof_Graph::is_a(const char* id) const
2101 {
2102 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId))
2103 return 1;
2104 if (omni::ptrStrMatch(id, hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
2105 return 1;
2106
2107
2108 return 0;
2109 }
2110
2111 const hpp::manipulation_idl::graph_idl::_pof_Graph _the_pof_hpp_mmanipulation__idl_mgraph__idl_mGraph;
2112
2113 hpp::manipulation_idl::graph_idl::_impl_Graph::~_impl_Graph() {}
2114
2115
2116 ::CORBA::Boolean
2117 hpp::manipulation_idl::graph_idl::_impl_Graph::_dispatch(omniCallHandle& _handle)
2118 {
2119 const char* op = _handle.operation_name();
2120
2121 if (omni::strMatch(op, "getStateSelector")) {
2122
2123 _0RL_cd_a5500133f0710014_61000000 _call_desc(_0RL_lcfn_a5500133f0710014_71000000, "getStateSelector", 17, 1);
2124
2125 _handle.upcall(this,_call_desc);
2126 return 1;
2127 }
2128
2129 if (omni::strMatch(op, "get")) {
2130
2131 _0RL_cd_a5500133f0710014_81000000 _call_desc(_0RL_lcfn_a5500133f0710014_91000000, "get", 4, 1);
2132
2133 _handle.upcall(this,_call_desc);
2134 return 1;
2135 }
2136
2137 if (omni::strMatch(op, "nbComponents")) {
2138
2139 _0RL_cd_a5500133f0710014_20000000 _call_desc(_0RL_lcfn_a5500133f0710014_a1000000, "nbComponents", 13, 1);
2140
2141 _handle.upcall(this,_call_desc);
2142 return 1;
2143 }
2144
2145 if (omni::strMatch(op, "initialize")) {
2146
2147 _0RL_cd_a5500133f0710014_c0000000 _call_desc(_0RL_lcfn_a5500133f0710014_b1000000, "initialize", 11, 1);
2148
2149 _handle.upcall(this,_call_desc);
2150 return 1;
2151 }
2152
2153 if (omni::strMatch(op, "getState")) {
2154
2155 _0RL_cd_a5500133f0710014_c1000000 _call_desc(_0RL_lcfn_a5500133f0710014_d1000000, "getState", 9, 1);
2156
2157 _handle.upcall(this,_call_desc);
2158 return 1;
2159 }
2160
2161 if (omni::strMatch(op, "getEdges")) {
2162
2163 _0RL_cd_a5500133f0710014_e1000000 _call_desc(_0RL_lcfn_a5500133f0710014_f1000000, "getEdges", 9, 1);
2164
2165 _handle.upcall(this,_call_desc);
2166 return 1;
2167 }
2168
2169
2170 #ifndef _MSC_VER
2171 if (_impl_GraphComponent::_dispatch(_handle)) {
2172 return 1;
2173 }
2174 #else
2175 // Work-around for incorrect MSVC code generation.
2176 if (((_impl_GraphComponent*)this)->
2177 _impl_GraphComponent::_dispatch(_handle)) {
2178 return 1;
2179 }
2180 #endif
2181
2182
2183 return 0;
2184 }
2185
2186 void*
2187 hpp::manipulation_idl::graph_idl::_impl_Graph::_ptrToInterface(const char* id)
2188 {
2189 if (id == ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId)
2190 return (::hpp::manipulation_idl::graph_idl::_impl_Graph*) this;
2191 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
2192 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
2193
2194
2195 if (id == ::CORBA::Object::_PD_repoId)
2196 return (void*) 1;
2197
2198 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId))
2199 return (::hpp::manipulation_idl::graph_idl::_impl_Graph*) this;
2200 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
2201 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
2202
2203
2204 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2205 return (void*) 1;
2206 return 0;
2207 }
2208
2209 const char*
2210 hpp::manipulation_idl::graph_idl::_impl_Graph::_mostDerivedRepoId()
2211 {
2212 return ::hpp::manipulation_idl::graph_idl::Graph::_PD_repoId;
2213 }
2214
2215 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::State_Helper::_nil() {
2216 return ::hpp::manipulation_idl::graph_idl::State::_nil();
2217 }
2218
2219 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::State_Helper::is_nil(::hpp::manipulation_idl::graph_idl::State_ptr p) {
2220 return ::CORBA::is_nil(p);
2221
2222 }
2223
2224 void hpp::manipulation_idl::graph_idl::State_Helper::release(::hpp::manipulation_idl::graph_idl::State_ptr p) {
2225 ::CORBA::release(p);
2226 }
2227
2228 void hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::State_ptr obj, cdrStream& s) {
2229 ::hpp::manipulation_idl::graph_idl::State::_marshalObjRef(obj, s);
2230 }
2231
2232 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(cdrStream& s) {
2233 return ::hpp::manipulation_idl::graph_idl::State::_unmarshalObjRef(s);
2234 }
2235
2236 void hpp::manipulation_idl::graph_idl::State_Helper::duplicate(::hpp::manipulation_idl::graph_idl::State_ptr obj) {
2237 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2238 }
2239
2240 hpp::manipulation_idl::graph_idl::State_ptr
2241 hpp::manipulation_idl::graph_idl::State::_duplicate(::hpp::manipulation_idl::graph_idl::State_ptr obj)
2242 {
2243 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2244 return obj;
2245 }
2246
2247 hpp::manipulation_idl::graph_idl::State_ptr
2248 hpp::manipulation_idl::graph_idl::State::_narrow(::CORBA::Object_ptr obj)
2249 {
2250 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2251 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
2252 return e ? e : _nil();
2253 }
2254
2255
2256 hpp::manipulation_idl::graph_idl::State_ptr
2257 hpp::manipulation_idl::graph_idl::State::_unchecked_narrow(::CORBA::Object_ptr obj)
2258 {
2259 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2260 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
2261 return e ? e : _nil();
2262 }
2263
2264 hpp::manipulation_idl::graph_idl::State_ptr
2265 hpp::manipulation_idl::graph_idl::State::_nil()
2266 {
2267 #ifdef OMNI_UNLOADABLE_STUBS
2268 static _objref_State _the_nil_obj;
2269 return &_the_nil_obj;
2270 #else
2271 static _objref_State* _the_nil_ptr = 0;
2272 if (!_the_nil_ptr) {
2273 omni::nilRefLock().lock();
2274 if (!_the_nil_ptr) {
2275 _the_nil_ptr = new _objref_State;
2276 registerNilCorbaObject(_the_nil_ptr);
2277 }
2278 omni::nilRefLock().unlock();
2279 }
2280 return _the_nil_ptr;
2281 #endif
2282 }
2283
2284 const char* hpp::manipulation_idl::graph_idl::State::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/State:1.0";
2285
2286
2287 hpp::manipulation_idl::graph_idl::_objref_State::~_objref_State() {
2288
2289 }
2290
2291
2292 hpp::manipulation_idl::graph_idl::_objref_State::_objref_State(omniIOR* ior, omniIdentity* id) :
2293 omniObjRef(::hpp::manipulation_idl::graph_idl::State::_PD_repoId, ior, id, 1),
2294 _objref_GraphComponent(ior, id)
2295
2296 {
2297 _PR_setobj(this);
2298 }
2299
2300 void*
2301 hpp::manipulation_idl::graph_idl::_objref_State::_ptrToObjRef(const char* id)
2302 {
2303 if (id == ::hpp::manipulation_idl::graph_idl::State::_PD_repoId)
2304 return (::hpp::manipulation_idl::graph_idl::State_ptr) this;
2305 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
2306 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
2307
2308
2309 if (id == ::CORBA::Object::_PD_repoId)
2310 return (::CORBA::Object_ptr) this;
2311
2312 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::State::_PD_repoId))
2313 return (::hpp::manipulation_idl::graph_idl::State_ptr) this;
2314 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
2315 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
2316
2317
2318 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2319 return (::CORBA::Object_ptr) this;
2320
2321 return 0;
2322 }
2323
2324
2325 //
2326 // Code for hpp::manipulation_idl::graph_idl::State::contains
2327
2328 // Proxy call descriptor class. Mangled signature:
2329 // _cboolean_i_chpp_mfloatSeq_e_chpp_mError
2330 class _0RL_cd_a5500133f0710014_02000000
2331 : public omniCallDescriptor
2332 {
2333 public:
2334 inline _0RL_cd_a5500133f0710014_02000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2335 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2336 {
2337
2338 }
2339
2340 void marshalArguments(cdrStream&);
2341 void unmarshalArguments(cdrStream&);
2342
2343 void unmarshalReturnedValues(cdrStream&);
2344 void marshalReturnedValues(cdrStream&);
2345
2346 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2347 static const char* const _user_exns[];
2348
2349 hpp::floatSeq_var arg_0_;
2350 const hpp::floatSeq* arg_0;
2351 ::CORBA::Boolean result;
2352 };
2353
2354 void _0RL_cd_a5500133f0710014_02000000::marshalArguments(cdrStream& _n)
2355 {
2356 (const hpp::floatSeq&) *arg_0 >>= _n;
2357
2358 }
2359
2360 void _0RL_cd_a5500133f0710014_02000000::unmarshalArguments(cdrStream& _n)
2361 {
2362 arg_0_ = new hpp::floatSeq;
2363 (hpp::floatSeq&)arg_0_ <<= _n;
2364 arg_0 = &arg_0_.in();
2365
2366 }
2367
2368 void _0RL_cd_a5500133f0710014_02000000::marshalReturnedValues(cdrStream& _n)
2369 {
2370 _n.marshalBoolean(result);
2371
2372 }
2373
2374 void _0RL_cd_a5500133f0710014_02000000::unmarshalReturnedValues(cdrStream& _n)
2375 {
2376 result = _n.unmarshalBoolean();
2377
2378 }
2379
2380 const char* const _0RL_cd_a5500133f0710014_02000000::_user_exns[] = {
2381 hpp::Error::_PD_repoId
2382 };
2383
2384 void _0RL_cd_a5500133f0710014_02000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2385 {
2386 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2387 hpp::Error _ex;
2388 _ex <<= s;
2389 if (iop_client) iop_client->RequestCompleted();
2390 throw _ex;
2391 }
2392
2393
2394 else {
2395 if (iop_client) iop_client->RequestCompleted(1);
2396 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2397 (::CORBA::CompletionStatus)s.completion());
2398 }
2399 }
2400
2401 // Local call call-back function.
2402 static void
2403 _0RL_lcfn_a5500133f0710014_12000000(omniCallDescriptor* cd, omniServant* svnt)
2404 {
2405 _0RL_cd_a5500133f0710014_02000000* tcd = (_0RL_cd_a5500133f0710014_02000000*)cd;
2406 hpp::manipulation_idl::graph_idl::_impl_State* impl = (hpp::manipulation_idl::graph_idl::_impl_State*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::State::_PD_repoId);
2407 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2408 tcd->result = impl->contains(*tcd->arg_0);
2409 #else
2410 if (!cd->is_upcall())
2411 tcd->result = impl->contains(*tcd->arg_0);
2412 else {
2413 try {
2414 tcd->result = impl->contains(*tcd->arg_0);
2415 }
2416 catch(hpp::Error& ex) {
2417 throw omniORB::StubUserException(ex._NP_duplicate());
2418 }
2419
2420
2421 }
2422 #endif
2423
2424
2425 }
2426
2427 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_State::contains(const ::hpp::floatSeq& config)
2428 {
2429 _0RL_cd_a5500133f0710014_02000000 _call_desc(_0RL_lcfn_a5500133f0710014_12000000, "contains", 9);
2430 _call_desc.arg_0 = &(::hpp::floatSeq&) config;
2431
2432 _invoke(_call_desc);
2433 return _call_desc.result;
2434
2435
2436 }
2437
2438
2439 //
2440 // Code for hpp::manipulation_idl::graph_idl::State::linkTo
2441
2442 // Proxy call descriptor class. Mangled signature:
2443 // _chpp_mmanipulation__idl_mgraph__idl_mEdge_i_cstring_i_chpp_mmanipulation__idl_mgraph__idl_mState_i_clonglong_e_chpp_mError
2444 class _0RL_cd_a5500133f0710014_22000000
2445 : public omniCallDescriptor
2446 {
2447 public:
2448 inline _0RL_cd_a5500133f0710014_22000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2449 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2450 {
2451
2452 }
2453
2454 void marshalArguments(cdrStream&);
2455 void unmarshalArguments(cdrStream&);
2456
2457 void unmarshalReturnedValues(cdrStream&);
2458 void marshalReturnedValues(cdrStream&);
2459
2460 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2461 static const char* const _user_exns[];
2462
2463 ::CORBA::String_var arg_0_;
2464 const char* arg_0;
2465 hpp::manipulation_idl::graph_idl::State_var arg_1_;
2466 hpp::manipulation_idl::graph_idl::State_ptr arg_1;
2467 hpp::size_type arg_2;
2468 hpp::manipulation_idl::graph_idl::Edge_var result;
2469 };
2470
2471 void _0RL_cd_a5500133f0710014_22000000::marshalArguments(cdrStream& _n)
2472 {
2473 _n.marshalString(arg_0,0);
2474 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(arg_1,_n);
2475 arg_2 >>= _n;
2476
2477 }
2478
2479 void _0RL_cd_a5500133f0710014_22000000::unmarshalArguments(cdrStream& _n)
2480 {
2481 arg_0_ = _n.unmarshalString(0);
2482 arg_0 = arg_0_.in();
2483 arg_1_ = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
2484 arg_1 = arg_1_.in();
2485 (hpp::size_type&)arg_2 <<= _n;
2486
2487 }
2488
2489 void _0RL_cd_a5500133f0710014_22000000::marshalReturnedValues(cdrStream& _n)
2490 {
2491 hpp::manipulation_idl::graph_idl::Edge_Helper::marshalObjRef(result,_n);
2492
2493 }
2494
2495 void _0RL_cd_a5500133f0710014_22000000::unmarshalReturnedValues(cdrStream& _n)
2496 {
2497 result = hpp::manipulation_idl::graph_idl::Edge_Helper::unmarshalObjRef(_n);
2498
2499 }
2500
2501 const char* const _0RL_cd_a5500133f0710014_22000000::_user_exns[] = {
2502 hpp::Error::_PD_repoId
2503 };
2504
2505 void _0RL_cd_a5500133f0710014_22000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2506 {
2507 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2508 hpp::Error _ex;
2509 _ex <<= s;
2510 if (iop_client) iop_client->RequestCompleted();
2511 throw _ex;
2512 }
2513
2514
2515 else {
2516 if (iop_client) iop_client->RequestCompleted(1);
2517 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2518 (::CORBA::CompletionStatus)s.completion());
2519 }
2520 }
2521
2522 // Local call call-back function.
2523 static void
2524 _0RL_lcfn_a5500133f0710014_32000000(omniCallDescriptor* cd, omniServant* svnt)
2525 {
2526 _0RL_cd_a5500133f0710014_22000000* tcd = (_0RL_cd_a5500133f0710014_22000000*)cd;
2527 hpp::manipulation_idl::graph_idl::_impl_State* impl = (hpp::manipulation_idl::graph_idl::_impl_State*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::State::_PD_repoId);
2528 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2529 tcd->result = impl->linkTo(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2530 #else
2531 if (!cd->is_upcall())
2532 tcd->result = impl->linkTo(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2533 else {
2534 try {
2535 tcd->result = impl->linkTo(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2536 }
2537 catch(hpp::Error& ex) {
2538 throw omniORB::StubUserException(ex._NP_duplicate());
2539 }
2540
2541
2542 }
2543 #endif
2544
2545
2546 }
2547
2548 hpp::manipulation_idl::graph_idl::Edge_ptr hpp::manipulation_idl::graph_idl::_objref_State::linkTo(const char* name, ::hpp::manipulation_idl::graph_idl::State_ptr to, ::hpp::size_type weight)
2549 {
2550 _0RL_cd_a5500133f0710014_22000000 _call_desc(_0RL_lcfn_a5500133f0710014_32000000, "linkTo", 7);
2551 _call_desc.arg_0 = name;
2552 _call_desc.arg_1 = to;
2553 _call_desc.arg_2 = weight;
2554
2555 _invoke(_call_desc);
2556 return _call_desc.result._retn();
2557
2558
2559 }
2560
2561
2562 //
2563 // Code for hpp::manipulation_idl::graph_idl::State::neighborEdges
2564
2565 // Proxy call descriptor class. Mangled signature:
2566 // _chpp_mmanipulation__idl_mgraph__idl_mEdges_e_chpp_mError
2567 class _0RL_cd_a5500133f0710014_42000000
2568 : public omniCallDescriptor
2569 {
2570 public:
2571 inline _0RL_cd_a5500133f0710014_42000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2572 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2573 {
2574
2575 }
2576
2577
2578 void unmarshalReturnedValues(cdrStream&);
2579 void marshalReturnedValues(cdrStream&);
2580
2581 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2582 static const char* const _user_exns[];
2583
2584 hpp::manipulation_idl::graph_idl::Edges_var result;
2585 };
2586
2587 void _0RL_cd_a5500133f0710014_42000000::marshalReturnedValues(cdrStream& _n)
2588 {
2589 (const hpp::manipulation_idl::graph_idl::Edges&) result >>= _n;
2590
2591 }
2592
2593 void _0RL_cd_a5500133f0710014_42000000::unmarshalReturnedValues(cdrStream& _n)
2594 {
2595 result = new hpp::manipulation_idl::graph_idl::Edges;
2596 (hpp::manipulation_idl::graph_idl::Edges&)result <<= _n;
2597
2598 }
2599
2600 const char* const _0RL_cd_a5500133f0710014_42000000::_user_exns[] = {
2601 hpp::Error::_PD_repoId
2602 };
2603
2604 void _0RL_cd_a5500133f0710014_42000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2605 {
2606 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2607 hpp::Error _ex;
2608 _ex <<= s;
2609 if (iop_client) iop_client->RequestCompleted();
2610 throw _ex;
2611 }
2612
2613
2614 else {
2615 if (iop_client) iop_client->RequestCompleted(1);
2616 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2617 (::CORBA::CompletionStatus)s.completion());
2618 }
2619 }
2620
2621 // Local call call-back function.
2622 static void
2623 _0RL_lcfn_a5500133f0710014_52000000(omniCallDescriptor* cd, omniServant* svnt)
2624 {
2625 _0RL_cd_a5500133f0710014_42000000* tcd = (_0RL_cd_a5500133f0710014_42000000*)cd;
2626 hpp::manipulation_idl::graph_idl::_impl_State* impl = (hpp::manipulation_idl::graph_idl::_impl_State*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::State::_PD_repoId);
2627 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2628 tcd->result = impl->neighborEdges();
2629 #else
2630 if (!cd->is_upcall())
2631 tcd->result = impl->neighborEdges();
2632 else {
2633 try {
2634 tcd->result = impl->neighborEdges();
2635 }
2636 catch(hpp::Error& ex) {
2637 throw omniORB::StubUserException(ex._NP_duplicate());
2638 }
2639
2640
2641 }
2642 #endif
2643
2644
2645 }
2646
2647 hpp::manipulation_idl::graph_idl::Edges* hpp::manipulation_idl::graph_idl::_objref_State::neighborEdges()
2648 {
2649 _0RL_cd_a5500133f0710014_42000000 _call_desc(_0RL_lcfn_a5500133f0710014_52000000, "neighborEdges", 14);
2650
2651
2652 _invoke(_call_desc);
2653 return _call_desc.result._retn();
2654
2655
2656 }
2657
2658
2659 //
2660 // Code for hpp::manipulation_idl::graph_idl::State::hiddenNeighbors
2661
2662 // Local call call-back function.
2663 static void
2664 _0RL_lcfn_a5500133f0710014_62000000(omniCallDescriptor* cd, omniServant* svnt)
2665 {
2666 _0RL_cd_a5500133f0710014_42000000* tcd = (_0RL_cd_a5500133f0710014_42000000*)cd;
2667 hpp::manipulation_idl::graph_idl::_impl_State* impl = (hpp::manipulation_idl::graph_idl::_impl_State*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::State::_PD_repoId);
2668 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2669 tcd->result = impl->hiddenNeighbors();
2670 #else
2671 if (!cd->is_upcall())
2672 tcd->result = impl->hiddenNeighbors();
2673 else {
2674 try {
2675 tcd->result = impl->hiddenNeighbors();
2676 }
2677 catch(hpp::Error& ex) {
2678 throw omniORB::StubUserException(ex._NP_duplicate());
2679 }
2680
2681
2682 }
2683 #endif
2684
2685
2686 }
2687
2688 hpp::manipulation_idl::graph_idl::Edges* hpp::manipulation_idl::graph_idl::_objref_State::hiddenNeighbors()
2689 {
2690 _0RL_cd_a5500133f0710014_42000000 _call_desc(_0RL_lcfn_a5500133f0710014_62000000, "hiddenNeighbors", 16);
2691
2692
2693 _invoke(_call_desc);
2694 return _call_desc.result._retn();
2695
2696
2697 }
2698
2699
2700 //
2701 // Code for hpp::manipulation_idl::graph_idl::State::configConstraint
2702
2703 // Proxy call descriptor class. Mangled signature:
2704 // _chpp_mcore__idl_mConstraintSet_e_chpp_mError
2705 class _0RL_cd_a5500133f0710014_72000000
2706 : public omniCallDescriptor
2707 {
2708 public:
2709 inline _0RL_cd_a5500133f0710014_72000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2710 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2711 {
2712
2713 }
2714
2715
2716 void unmarshalReturnedValues(cdrStream&);
2717 void marshalReturnedValues(cdrStream&);
2718
2719 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2720 static const char* const _user_exns[];
2721
2722 hpp::core_idl::ConstraintSet_var result;
2723 };
2724
2725 void _0RL_cd_a5500133f0710014_72000000::marshalReturnedValues(cdrStream& _n)
2726 {
2727 hpp::core_idl::ConstraintSet_Helper::marshalObjRef(result,_n);
2728
2729 }
2730
2731 void _0RL_cd_a5500133f0710014_72000000::unmarshalReturnedValues(cdrStream& _n)
2732 {
2733 result = hpp::core_idl::ConstraintSet_Helper::unmarshalObjRef(_n);
2734
2735 }
2736
2737 const char* const _0RL_cd_a5500133f0710014_72000000::_user_exns[] = {
2738 hpp::Error::_PD_repoId
2739 };
2740
2741 void _0RL_cd_a5500133f0710014_72000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2742 {
2743 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
2744 hpp::Error _ex;
2745 _ex <<= s;
2746 if (iop_client) iop_client->RequestCompleted();
2747 throw _ex;
2748 }
2749
2750
2751 else {
2752 if (iop_client) iop_client->RequestCompleted(1);
2753 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2754 (::CORBA::CompletionStatus)s.completion());
2755 }
2756 }
2757
2758 // Local call call-back function.
2759 static void
2760 _0RL_lcfn_a5500133f0710014_82000000(omniCallDescriptor* cd, omniServant* svnt)
2761 {
2762 _0RL_cd_a5500133f0710014_72000000* tcd = (_0RL_cd_a5500133f0710014_72000000*)cd;
2763 hpp::manipulation_idl::graph_idl::_impl_State* impl = (hpp::manipulation_idl::graph_idl::_impl_State*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::State::_PD_repoId);
2764 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
2765 tcd->result = impl->configConstraint();
2766 #else
2767 if (!cd->is_upcall())
2768 tcd->result = impl->configConstraint();
2769 else {
2770 try {
2771 tcd->result = impl->configConstraint();
2772 }
2773 catch(hpp::Error& ex) {
2774 throw omniORB::StubUserException(ex._NP_duplicate());
2775 }
2776
2777
2778 }
2779 #endif
2780
2781
2782 }
2783
2784 hpp::core_idl::ConstraintSet_ptr hpp::manipulation_idl::graph_idl::_objref_State::configConstraint()
2785 {
2786 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_82000000, "configConstraint", 17);
2787
2788
2789 _invoke(_call_desc);
2790 return _call_desc.result._retn();
2791
2792
2793 }
2794
2795 hpp::manipulation_idl::graph_idl::_pof_State::~_pof_State() {}
2796
2797
2798 omniObjRef*
2799 hpp::manipulation_idl::graph_idl::_pof_State::newObjRef(omniIOR* ior, omniIdentity* id)
2800 {
2801 return new ::hpp::manipulation_idl::graph_idl::_objref_State(ior, id);
2802 }
2803
2804
2805 ::CORBA::Boolean
2806 hpp::manipulation_idl::graph_idl::_pof_State::is_a(const char* id) const
2807 {
2808 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::State::_PD_repoId))
2809 return 1;
2810 if (omni::ptrStrMatch(id, hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
2811 return 1;
2812
2813
2814 return 0;
2815 }
2816
2817 const hpp::manipulation_idl::graph_idl::_pof_State _the_pof_hpp_mmanipulation__idl_mgraph__idl_mState;
2818
2819 hpp::manipulation_idl::graph_idl::_impl_State::~_impl_State() {}
2820
2821
2822 ::CORBA::Boolean
2823 hpp::manipulation_idl::graph_idl::_impl_State::_dispatch(omniCallHandle& _handle)
2824 {
2825 const char* op = _handle.operation_name();
2826
2827 if (omni::strMatch(op, "contains")) {
2828
2829 _0RL_cd_a5500133f0710014_02000000 _call_desc(_0RL_lcfn_a5500133f0710014_12000000, "contains", 9, 1);
2830
2831 _handle.upcall(this,_call_desc);
2832 return 1;
2833 }
2834
2835 if (omni::strMatch(op, "linkTo")) {
2836
2837 _0RL_cd_a5500133f0710014_22000000 _call_desc(_0RL_lcfn_a5500133f0710014_32000000, "linkTo", 7, 1);
2838
2839 _handle.upcall(this,_call_desc);
2840 return 1;
2841 }
2842
2843 if (omni::strMatch(op, "neighborEdges")) {
2844
2845 _0RL_cd_a5500133f0710014_42000000 _call_desc(_0RL_lcfn_a5500133f0710014_52000000, "neighborEdges", 14, 1);
2846
2847 _handle.upcall(this,_call_desc);
2848 return 1;
2849 }
2850
2851 if (omni::strMatch(op, "hiddenNeighbors")) {
2852
2853 _0RL_cd_a5500133f0710014_42000000 _call_desc(_0RL_lcfn_a5500133f0710014_62000000, "hiddenNeighbors", 16, 1);
2854
2855 _handle.upcall(this,_call_desc);
2856 return 1;
2857 }
2858
2859 if (omni::strMatch(op, "configConstraint")) {
2860
2861 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_82000000, "configConstraint", 17, 1);
2862
2863 _handle.upcall(this,_call_desc);
2864 return 1;
2865 }
2866
2867
2868 #ifndef _MSC_VER
2869 if (_impl_GraphComponent::_dispatch(_handle)) {
2870 return 1;
2871 }
2872 #else
2873 // Work-around for incorrect MSVC code generation.
2874 if (((_impl_GraphComponent*)this)->
2875 _impl_GraphComponent::_dispatch(_handle)) {
2876 return 1;
2877 }
2878 #endif
2879
2880
2881 return 0;
2882 }
2883
2884 void*
2885 hpp::manipulation_idl::graph_idl::_impl_State::_ptrToInterface(const char* id)
2886 {
2887 if (id == ::hpp::manipulation_idl::graph_idl::State::_PD_repoId)
2888 return (::hpp::manipulation_idl::graph_idl::_impl_State*) this;
2889 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
2890 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
2891
2892
2893 if (id == ::CORBA::Object::_PD_repoId)
2894 return (void*) 1;
2895
2896 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::State::_PD_repoId))
2897 return (::hpp::manipulation_idl::graph_idl::_impl_State*) this;
2898 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
2899 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
2900
2901
2902 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
2903 return (void*) 1;
2904 return 0;
2905 }
2906
2907 const char*
2908 hpp::manipulation_idl::graph_idl::_impl_State::_mostDerivedRepoId()
2909 {
2910 return ::hpp::manipulation_idl::graph_idl::State::_PD_repoId;
2911 }
2912
2913 hpp::manipulation_idl::graph_idl::Edge_ptr hpp::manipulation_idl::graph_idl::Edge_Helper::_nil() {
2914 return ::hpp::manipulation_idl::graph_idl::Edge::_nil();
2915 }
2916
2917 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::Edge_Helper::is_nil(::hpp::manipulation_idl::graph_idl::Edge_ptr p) {
2918 return ::CORBA::is_nil(p);
2919
2920 }
2921
2922 void hpp::manipulation_idl::graph_idl::Edge_Helper::release(::hpp::manipulation_idl::graph_idl::Edge_ptr p) {
2923 ::CORBA::release(p);
2924 }
2925
2926 void hpp::manipulation_idl::graph_idl::Edge_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::Edge_ptr obj, cdrStream& s) {
2927 ::hpp::manipulation_idl::graph_idl::Edge::_marshalObjRef(obj, s);
2928 }
2929
2930 hpp::manipulation_idl::graph_idl::Edge_ptr hpp::manipulation_idl::graph_idl::Edge_Helper::unmarshalObjRef(cdrStream& s) {
2931 return ::hpp::manipulation_idl::graph_idl::Edge::_unmarshalObjRef(s);
2932 }
2933
2934 void hpp::manipulation_idl::graph_idl::Edge_Helper::duplicate(::hpp::manipulation_idl::graph_idl::Edge_ptr obj) {
2935 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2936 }
2937
2938 hpp::manipulation_idl::graph_idl::Edge_ptr
2939 hpp::manipulation_idl::graph_idl::Edge::_duplicate(::hpp::manipulation_idl::graph_idl::Edge_ptr obj)
2940 {
2941 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
2942 return obj;
2943 }
2944
2945 hpp::manipulation_idl::graph_idl::Edge_ptr
2946 hpp::manipulation_idl::graph_idl::Edge::_narrow(::CORBA::Object_ptr obj)
2947 {
2948 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2949 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
2950 return e ? e : _nil();
2951 }
2952
2953
2954 hpp::manipulation_idl::graph_idl::Edge_ptr
2955 hpp::manipulation_idl::graph_idl::Edge::_unchecked_narrow(::CORBA::Object_ptr obj)
2956 {
2957 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
2958 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
2959 return e ? e : _nil();
2960 }
2961
2962 hpp::manipulation_idl::graph_idl::Edge_ptr
2963 hpp::manipulation_idl::graph_idl::Edge::_nil()
2964 {
2965 #ifdef OMNI_UNLOADABLE_STUBS
2966 static _objref_Edge _the_nil_obj;
2967 return &_the_nil_obj;
2968 #else
2969 static _objref_Edge* _the_nil_ptr = 0;
2970 if (!_the_nil_ptr) {
2971 omni::nilRefLock().lock();
2972 if (!_the_nil_ptr) {
2973 _the_nil_ptr = new _objref_Edge;
2974 registerNilCorbaObject(_the_nil_ptr);
2975 }
2976 omni::nilRefLock().unlock();
2977 }
2978 return _the_nil_ptr;
2979 #endif
2980 }
2981
2982 const char* hpp::manipulation_idl::graph_idl::Edge::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/Edge:1.0";
2983
2984
2985 hpp::manipulation_idl::graph_idl::_objref_Edge::~_objref_Edge() {
2986
2987 }
2988
2989
2990 hpp::manipulation_idl::graph_idl::_objref_Edge::_objref_Edge(omniIOR* ior, omniIdentity* id) :
2991 omniObjRef(::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId, ior, id, 1),
2992 _objref_GraphComponent(ior, id)
2993
2994 {
2995 _PR_setobj(this);
2996 }
2997
2998 void*
2999 hpp::manipulation_idl::graph_idl::_objref_Edge::_ptrToObjRef(const char* id)
3000 {
3001 if (id == ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId)
3002 return (::hpp::manipulation_idl::graph_idl::Edge_ptr) this;
3003 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
3004 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
3005
3006
3007 if (id == ::CORBA::Object::_PD_repoId)
3008 return (::CORBA::Object_ptr) this;
3009
3010 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
3011 return (::hpp::manipulation_idl::graph_idl::Edge_ptr) this;
3012 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
3013 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
3014
3015
3016 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
3017 return (::CORBA::Object_ptr) this;
3018
3019 return 0;
3020 }
3021
3022
3023 //
3024 // Code for hpp::manipulation_idl::graph_idl::Edge::stateFrom
3025
3026 // Proxy call descriptor class. Mangled signature:
3027 // _chpp_mmanipulation__idl_mgraph__idl_mState_e_chpp_mError
3028 class _0RL_cd_a5500133f0710014_92000000
3029 : public omniCallDescriptor
3030 {
3031 public:
3032 inline _0RL_cd_a5500133f0710014_92000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3033 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3034 {
3035
3036 }
3037
3038
3039 void unmarshalReturnedValues(cdrStream&);
3040 void marshalReturnedValues(cdrStream&);
3041
3042 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3043 static const char* const _user_exns[];
3044
3045 hpp::manipulation_idl::graph_idl::State_var result;
3046 };
3047
3048 void _0RL_cd_a5500133f0710014_92000000::marshalReturnedValues(cdrStream& _n)
3049 {
3050 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(result,_n);
3051
3052 }
3053
3054 void _0RL_cd_a5500133f0710014_92000000::unmarshalReturnedValues(cdrStream& _n)
3055 {
3056 result = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
3057
3058 }
3059
3060 const char* const _0RL_cd_a5500133f0710014_92000000::_user_exns[] = {
3061 hpp::Error::_PD_repoId
3062 };
3063
3064 void _0RL_cd_a5500133f0710014_92000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3065 {
3066 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3067 hpp::Error _ex;
3068 _ex <<= s;
3069 if (iop_client) iop_client->RequestCompleted();
3070 throw _ex;
3071 }
3072
3073
3074 else {
3075 if (iop_client) iop_client->RequestCompleted(1);
3076 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3077 (::CORBA::CompletionStatus)s.completion());
3078 }
3079 }
3080
3081 // Local call call-back function.
3082 static void
3083 _0RL_lcfn_a5500133f0710014_a2000000(omniCallDescriptor* cd, omniServant* svnt)
3084 {
3085 _0RL_cd_a5500133f0710014_92000000* tcd = (_0RL_cd_a5500133f0710014_92000000*)cd;
3086 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3087 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3088 tcd->result = impl->stateFrom();
3089 #else
3090 if (!cd->is_upcall())
3091 tcd->result = impl->stateFrom();
3092 else {
3093 try {
3094 tcd->result = impl->stateFrom();
3095 }
3096 catch(hpp::Error& ex) {
3097 throw omniORB::StubUserException(ex._NP_duplicate());
3098 }
3099
3100
3101 }
3102 #endif
3103
3104
3105 }
3106
3107 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::stateFrom()
3108 {
3109 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_a2000000, "stateFrom", 10);
3110
3111
3112 _invoke(_call_desc);
3113 return _call_desc.result._retn();
3114
3115
3116 }
3117
3118
3119 //
3120 // Code for hpp::manipulation_idl::graph_idl::Edge::stateTo
3121
3122 // Local call call-back function.
3123 static void
3124 _0RL_lcfn_a5500133f0710014_b2000000(omniCallDescriptor* cd, omniServant* svnt)
3125 {
3126 _0RL_cd_a5500133f0710014_92000000* tcd = (_0RL_cd_a5500133f0710014_92000000*)cd;
3127 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3128 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3129 tcd->result = impl->stateTo();
3130 #else
3131 if (!cd->is_upcall())
3132 tcd->result = impl->stateTo();
3133 else {
3134 try {
3135 tcd->result = impl->stateTo();
3136 }
3137 catch(hpp::Error& ex) {
3138 throw omniORB::StubUserException(ex._NP_duplicate());
3139 }
3140
3141
3142 }
3143 #endif
3144
3145
3146 }
3147
3148 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::stateTo()
3149 {
3150 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_b2000000, "stateTo", 8);
3151
3152
3153 _invoke(_call_desc);
3154 return _call_desc.result._retn();
3155
3156
3157 }
3158
3159
3160 //
3161 // Code for hpp::manipulation_idl::graph_idl::Edge::getState
3162
3163 // Local call call-back function.
3164 static void
3165 _0RL_lcfn_a5500133f0710014_c2000000(omniCallDescriptor* cd, omniServant* svnt)
3166 {
3167 _0RL_cd_a5500133f0710014_92000000* tcd = (_0RL_cd_a5500133f0710014_92000000*)cd;
3168 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3169 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3170 tcd->result = impl->getState();
3171 #else
3172 if (!cd->is_upcall())
3173 tcd->result = impl->getState();
3174 else {
3175 try {
3176 tcd->result = impl->getState();
3177 }
3178 catch(hpp::Error& ex) {
3179 throw omniORB::StubUserException(ex._NP_duplicate());
3180 }
3181
3182
3183 }
3184 #endif
3185
3186
3187 }
3188
3189 hpp::manipulation_idl::graph_idl::State_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::getState()
3190 {
3191 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_c2000000, "getState", 9);
3192
3193
3194 _invoke(_call_desc);
3195 return _call_desc.result._retn();
3196
3197
3198 }
3199
3200
3201 //
3202 // Code for hpp::manipulation_idl::graph_idl::Edge::setState
3203
3204 // Proxy call descriptor class. Mangled signature:
3205 // void_i_chpp_mmanipulation__idl_mgraph__idl_mState_e_chpp_mError
3206 class _0RL_cd_a5500133f0710014_d2000000
3207 : public omniCallDescriptor
3208 {
3209 public:
3210 inline _0RL_cd_a5500133f0710014_d2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3211 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3212 {
3213
3214 }
3215
3216 void marshalArguments(cdrStream&);
3217 void unmarshalArguments(cdrStream&);
3218
3219
3220 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3221 static const char* const _user_exns[];
3222
3223 hpp::manipulation_idl::graph_idl::State_var arg_0_;
3224 hpp::manipulation_idl::graph_idl::State_ptr arg_0;
3225 };
3226
3227 void _0RL_cd_a5500133f0710014_d2000000::marshalArguments(cdrStream& _n)
3228 {
3229 hpp::manipulation_idl::graph_idl::State_Helper::marshalObjRef(arg_0,_n);
3230
3231 }
3232
3233 void _0RL_cd_a5500133f0710014_d2000000::unmarshalArguments(cdrStream& _n)
3234 {
3235 arg_0_ = hpp::manipulation_idl::graph_idl::State_Helper::unmarshalObjRef(_n);
3236 arg_0 = arg_0_.in();
3237
3238 }
3239
3240 const char* const _0RL_cd_a5500133f0710014_d2000000::_user_exns[] = {
3241 hpp::Error::_PD_repoId
3242 };
3243
3244 void _0RL_cd_a5500133f0710014_d2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3245 {
3246 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3247 hpp::Error _ex;
3248 _ex <<= s;
3249 if (iop_client) iop_client->RequestCompleted();
3250 throw _ex;
3251 }
3252
3253
3254 else {
3255 if (iop_client) iop_client->RequestCompleted(1);
3256 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3257 (::CORBA::CompletionStatus)s.completion());
3258 }
3259 }
3260
3261 // Local call call-back function.
3262 static void
3263 _0RL_lcfn_a5500133f0710014_e2000000(omniCallDescriptor* cd, omniServant* svnt)
3264 {
3265 _0RL_cd_a5500133f0710014_d2000000* tcd = (_0RL_cd_a5500133f0710014_d2000000*)cd;
3266 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3267 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3268 impl->setState(tcd->arg_0);
3269 #else
3270 if (!cd->is_upcall())
3271 impl->setState(tcd->arg_0);
3272 else {
3273 try {
3274 impl->setState(tcd->arg_0);
3275 }
3276 catch(hpp::Error& ex) {
3277 throw omniORB::StubUserException(ex._NP_duplicate());
3278 }
3279
3280
3281 }
3282 #endif
3283
3284
3285 }
3286
3287 void hpp::manipulation_idl::graph_idl::_objref_Edge::setState(::hpp::manipulation_idl::graph_idl::State_ptr st)
3288 {
3289 _0RL_cd_a5500133f0710014_d2000000 _call_desc(_0RL_lcfn_a5500133f0710014_e2000000, "setState", 9);
3290 _call_desc.arg_0 = st;
3291
3292 _invoke(_call_desc);
3293
3294
3295
3296 }
3297
3298
3299 //
3300 // Code for hpp::manipulation_idl::graph_idl::Edge::getRelativeMotion
3301
3302 // Proxy call descriptor class. Mangled signature:
3303 // _chpp_mintSeqSeq_e_chpp_mError
3304 class _0RL_cd_a5500133f0710014_f2000000
3305 : public omniCallDescriptor
3306 {
3307 public:
3308 inline _0RL_cd_a5500133f0710014_f2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3309 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3310 {
3311
3312 }
3313
3314
3315 void unmarshalReturnedValues(cdrStream&);
3316 void marshalReturnedValues(cdrStream&);
3317
3318 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3319 static const char* const _user_exns[];
3320
3321 hpp::intSeqSeq_var result;
3322 };
3323
3324 void _0RL_cd_a5500133f0710014_f2000000::marshalReturnedValues(cdrStream& _n)
3325 {
3326 (const hpp::intSeqSeq&) result >>= _n;
3327
3328 }
3329
3330 void _0RL_cd_a5500133f0710014_f2000000::unmarshalReturnedValues(cdrStream& _n)
3331 {
3332 result = new hpp::intSeqSeq;
3333 (hpp::intSeqSeq&)result <<= _n;
3334
3335 }
3336
3337 const char* const _0RL_cd_a5500133f0710014_f2000000::_user_exns[] = {
3338 hpp::Error::_PD_repoId
3339 };
3340
3341 void _0RL_cd_a5500133f0710014_f2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3342 {
3343 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3344 hpp::Error _ex;
3345 _ex <<= s;
3346 if (iop_client) iop_client->RequestCompleted();
3347 throw _ex;
3348 }
3349
3350
3351 else {
3352 if (iop_client) iop_client->RequestCompleted(1);
3353 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3354 (::CORBA::CompletionStatus)s.completion());
3355 }
3356 }
3357
3358 // Local call call-back function.
3359 static void
3360 _0RL_lcfn_a5500133f0710014_03000000(omniCallDescriptor* cd, omniServant* svnt)
3361 {
3362 _0RL_cd_a5500133f0710014_f2000000* tcd = (_0RL_cd_a5500133f0710014_f2000000*)cd;
3363 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3364 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3365 tcd->result = impl->getRelativeMotion();
3366 #else
3367 if (!cd->is_upcall())
3368 tcd->result = impl->getRelativeMotion();
3369 else {
3370 try {
3371 tcd->result = impl->getRelativeMotion();
3372 }
3373 catch(hpp::Error& ex) {
3374 throw omniORB::StubUserException(ex._NP_duplicate());
3375 }
3376
3377
3378 }
3379 #endif
3380
3381
3382 }
3383
3384 hpp::intSeqSeq* hpp::manipulation_idl::graph_idl::_objref_Edge::getRelativeMotion()
3385 {
3386 _0RL_cd_a5500133f0710014_f2000000 _call_desc(_0RL_lcfn_a5500133f0710014_03000000, "getRelativeMotion", 18);
3387
3388
3389 _invoke(_call_desc);
3390 return _call_desc.result._retn();
3391
3392
3393 }
3394
3395
3396 //
3397 // Code for hpp::manipulation_idl::graph_idl::Edge::getSecurityMargins
3398
3399 // Proxy call descriptor class. Mangled signature:
3400 // _chpp_mfloatSeqSeq_e_chpp_mError
3401 class _0RL_cd_a5500133f0710014_13000000
3402 : public omniCallDescriptor
3403 {
3404 public:
3405 inline _0RL_cd_a5500133f0710014_13000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3406 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3407 {
3408
3409 }
3410
3411
3412 void unmarshalReturnedValues(cdrStream&);
3413 void marshalReturnedValues(cdrStream&);
3414
3415 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3416 static const char* const _user_exns[];
3417
3418 hpp::floatSeqSeq_var result;
3419 };
3420
3421 void _0RL_cd_a5500133f0710014_13000000::marshalReturnedValues(cdrStream& _n)
3422 {
3423 (const hpp::floatSeqSeq&) result >>= _n;
3424
3425 }
3426
3427 void _0RL_cd_a5500133f0710014_13000000::unmarshalReturnedValues(cdrStream& _n)
3428 {
3429 result = new hpp::floatSeqSeq;
3430 (hpp::floatSeqSeq&)result <<= _n;
3431
3432 }
3433
3434 const char* const _0RL_cd_a5500133f0710014_13000000::_user_exns[] = {
3435 hpp::Error::_PD_repoId
3436 };
3437
3438 void _0RL_cd_a5500133f0710014_13000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3439 {
3440 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3441 hpp::Error _ex;
3442 _ex <<= s;
3443 if (iop_client) iop_client->RequestCompleted();
3444 throw _ex;
3445 }
3446
3447
3448 else {
3449 if (iop_client) iop_client->RequestCompleted(1);
3450 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3451 (::CORBA::CompletionStatus)s.completion());
3452 }
3453 }
3454
3455 // Local call call-back function.
3456 static void
3457 _0RL_lcfn_a5500133f0710014_23000000(omniCallDescriptor* cd, omniServant* svnt)
3458 {
3459 _0RL_cd_a5500133f0710014_13000000* tcd = (_0RL_cd_a5500133f0710014_13000000*)cd;
3460 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3461 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3462 tcd->result = impl->getSecurityMargins();
3463 #else
3464 if (!cd->is_upcall())
3465 tcd->result = impl->getSecurityMargins();
3466 else {
3467 try {
3468 tcd->result = impl->getSecurityMargins();
3469 }
3470 catch(hpp::Error& ex) {
3471 throw omniORB::StubUserException(ex._NP_duplicate());
3472 }
3473
3474
3475 }
3476 #endif
3477
3478
3479 }
3480
3481 hpp::floatSeqSeq* hpp::manipulation_idl::graph_idl::_objref_Edge::getSecurityMargins()
3482 {
3483 _0RL_cd_a5500133f0710014_13000000 _call_desc(_0RL_lcfn_a5500133f0710014_23000000, "getSecurityMargins", 19);
3484
3485
3486 _invoke(_call_desc);
3487 return _call_desc.result._retn();
3488
3489
3490 }
3491
3492
3493 //
3494 // Code for hpp::manipulation_idl::graph_idl::Edge::setSecurityMarginForPair
3495
3496 // Proxy call descriptor class. Mangled signature:
3497 // void_i_clonglong_i_clonglong_i_cdouble_e_chpp_mError
3498 class _0RL_cd_a5500133f0710014_33000000
3499 : public omniCallDescriptor
3500 {
3501 public:
3502 inline _0RL_cd_a5500133f0710014_33000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3503 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3504 {
3505
3506 }
3507
3508 void marshalArguments(cdrStream&);
3509 void unmarshalArguments(cdrStream&);
3510
3511
3512 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3513 static const char* const _user_exns[];
3514
3515 hpp::size_type arg_0;
3516 hpp::size_type arg_1;
3517 hpp::value_type arg_2;
3518 };
3519
3520 void _0RL_cd_a5500133f0710014_33000000::marshalArguments(cdrStream& _n)
3521 {
3522 arg_0 >>= _n;
3523 arg_1 >>= _n;
3524 arg_2 >>= _n;
3525
3526 }
3527
3528 void _0RL_cd_a5500133f0710014_33000000::unmarshalArguments(cdrStream& _n)
3529 {
3530 (hpp::size_type&)arg_0 <<= _n;
3531 (hpp::size_type&)arg_1 <<= _n;
3532 (hpp::value_type&)arg_2 <<= _n;
3533
3534 }
3535
3536 const char* const _0RL_cd_a5500133f0710014_33000000::_user_exns[] = {
3537 hpp::Error::_PD_repoId
3538 };
3539
3540 void _0RL_cd_a5500133f0710014_33000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3541 {
3542 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3543 hpp::Error _ex;
3544 _ex <<= s;
3545 if (iop_client) iop_client->RequestCompleted();
3546 throw _ex;
3547 }
3548
3549
3550 else {
3551 if (iop_client) iop_client->RequestCompleted(1);
3552 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3553 (::CORBA::CompletionStatus)s.completion());
3554 }
3555 }
3556
3557 // Local call call-back function.
3558 static void
3559 _0RL_lcfn_a5500133f0710014_43000000(omniCallDescriptor* cd, omniServant* svnt)
3560 {
3561 _0RL_cd_a5500133f0710014_33000000* tcd = (_0RL_cd_a5500133f0710014_33000000*)cd;
3562 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3563 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3564 impl->setSecurityMarginForPair(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3565 #else
3566 if (!cd->is_upcall())
3567 impl->setSecurityMarginForPair(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3568 else {
3569 try {
3570 impl->setSecurityMarginForPair(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3571 }
3572 catch(hpp::Error& ex) {
3573 throw omniORB::StubUserException(ex._NP_duplicate());
3574 }
3575
3576
3577 }
3578 #endif
3579
3580
3581 }
3582
3583 void hpp::manipulation_idl::graph_idl::_objref_Edge::setSecurityMarginForPair(::hpp::size_type row, ::hpp::size_type col, ::hpp::value_type margin)
3584 {
3585 _0RL_cd_a5500133f0710014_33000000 _call_desc(_0RL_lcfn_a5500133f0710014_43000000, "setSecurityMarginForPair", 25);
3586 _call_desc.arg_0 = row;
3587 _call_desc.arg_1 = col;
3588 _call_desc.arg_2 = margin;
3589
3590 _invoke(_call_desc);
3591
3592
3593
3594 }
3595
3596
3597 //
3598 // Code for hpp::manipulation_idl::graph_idl::Edge::generateTargetConfig
3599
3600 // Proxy call descriptor class. Mangled signature:
3601 // _cboolean_i_chpp_mfloatSeq_n_chpp_mfloatSeq_e_chpp_mError
3602 class _0RL_cd_a5500133f0710014_53000000
3603 : public omniCallDescriptor
3604 {
3605 public:
3606 inline _0RL_cd_a5500133f0710014_53000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3607 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3608 {
3609
3610 }
3611
3612 void marshalArguments(cdrStream&);
3613 void unmarshalArguments(cdrStream&);
3614
3615 void unmarshalReturnedValues(cdrStream&);
3616 void marshalReturnedValues(cdrStream&);
3617
3618 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3619 static const char* const _user_exns[];
3620
3621 hpp::floatSeq_var arg_0_;
3622 const hpp::floatSeq* arg_0;
3623 hpp::floatSeq_var arg_1_;
3624 hpp::floatSeq* arg_1;
3625 ::CORBA::Boolean result;
3626 };
3627
3628 void _0RL_cd_a5500133f0710014_53000000::marshalArguments(cdrStream& _n)
3629 {
3630 (const hpp::floatSeq&) *arg_0 >>= _n;
3631 (const hpp::floatSeq&) *arg_1 >>= _n;
3632
3633 }
3634
3635 void _0RL_cd_a5500133f0710014_53000000::unmarshalArguments(cdrStream& _n)
3636 {
3637 arg_0_ = new hpp::floatSeq;
3638 (hpp::floatSeq&)arg_0_ <<= _n;
3639 arg_0 = &arg_0_.in();
3640 arg_1_ = new hpp::floatSeq;
3641 (hpp::floatSeq&)arg_1_ <<= _n;
3642 arg_1 = &arg_1_.inout();
3643
3644 }
3645
3646 void _0RL_cd_a5500133f0710014_53000000::marshalReturnedValues(cdrStream& _n)
3647 {
3648 _n.marshalBoolean(result);
3649 (const hpp::floatSeq&) *arg_1 >>= _n;
3650
3651 }
3652
3653 void _0RL_cd_a5500133f0710014_53000000::unmarshalReturnedValues(cdrStream& _n)
3654 {
3655 result = _n.unmarshalBoolean();
3656 (hpp::floatSeq&)*arg_1 <<= _n;
3657
3658 }
3659
3660 const char* const _0RL_cd_a5500133f0710014_53000000::_user_exns[] = {
3661 hpp::Error::_PD_repoId
3662 };
3663
3664 void _0RL_cd_a5500133f0710014_53000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3665 {
3666 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3667 hpp::Error _ex;
3668 _ex <<= s;
3669 if (iop_client) iop_client->RequestCompleted();
3670 throw _ex;
3671 }
3672
3673
3674 else {
3675 if (iop_client) iop_client->RequestCompleted(1);
3676 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3677 (::CORBA::CompletionStatus)s.completion());
3678 }
3679 }
3680
3681 // Local call call-back function.
3682 static void
3683 _0RL_lcfn_a5500133f0710014_63000000(omniCallDescriptor* cd, omniServant* svnt)
3684 {
3685 _0RL_cd_a5500133f0710014_53000000* tcd = (_0RL_cd_a5500133f0710014_53000000*)cd;
3686 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3687 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3688 tcd->result = impl->generateTargetConfig(*tcd->arg_0, *tcd->arg_1);
3689 #else
3690 if (!cd->is_upcall())
3691 tcd->result = impl->generateTargetConfig(*tcd->arg_0, *tcd->arg_1);
3692 else {
3693 try {
3694 tcd->result = impl->generateTargetConfig(*tcd->arg_0, *tcd->arg_1);
3695 }
3696 catch(hpp::Error& ex) {
3697 throw omniORB::StubUserException(ex._NP_duplicate());
3698 }
3699
3700
3701 }
3702 #endif
3703
3704
3705 }
3706
3707 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_Edge::generateTargetConfig(const ::hpp::floatSeq& qStart, ::hpp::floatSeq& q)
3708 {
3709 _0RL_cd_a5500133f0710014_53000000 _call_desc(_0RL_lcfn_a5500133f0710014_63000000, "generateTargetConfig", 21);
3710 _call_desc.arg_0 = &(::hpp::floatSeq&) qStart;
3711 _call_desc.arg_1 = &(::hpp::floatSeq&) q;
3712
3713 _invoke(_call_desc);
3714 return _call_desc.result;
3715
3716
3717 }
3718
3719
3720 //
3721 // Code for hpp::manipulation_idl::graph_idl::Edge::getSteeringMethod
3722
3723 // Proxy call descriptor class. Mangled signature:
3724 // _chpp_mcore__idl_mSteeringMethod_e_chpp_mError
3725 class _0RL_cd_a5500133f0710014_73000000
3726 : public omniCallDescriptor
3727 {
3728 public:
3729 inline _0RL_cd_a5500133f0710014_73000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3730 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3731 {
3732
3733 }
3734
3735
3736 void unmarshalReturnedValues(cdrStream&);
3737 void marshalReturnedValues(cdrStream&);
3738
3739 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3740 static const char* const _user_exns[];
3741
3742 hpp::core_idl::SteeringMethod_var result;
3743 };
3744
3745 void _0RL_cd_a5500133f0710014_73000000::marshalReturnedValues(cdrStream& _n)
3746 {
3747 hpp::core_idl::SteeringMethod::_marshalObjRef(result,_n);
3748
3749 }
3750
3751 void _0RL_cd_a5500133f0710014_73000000::unmarshalReturnedValues(cdrStream& _n)
3752 {
3753 result = hpp::core_idl::SteeringMethod::_unmarshalObjRef(_n);
3754
3755 }
3756
3757 const char* const _0RL_cd_a5500133f0710014_73000000::_user_exns[] = {
3758 hpp::Error::_PD_repoId
3759 };
3760
3761 void _0RL_cd_a5500133f0710014_73000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3762 {
3763 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3764 hpp::Error _ex;
3765 _ex <<= s;
3766 if (iop_client) iop_client->RequestCompleted();
3767 throw _ex;
3768 }
3769
3770
3771 else {
3772 if (iop_client) iop_client->RequestCompleted(1);
3773 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3774 (::CORBA::CompletionStatus)s.completion());
3775 }
3776 }
3777
3778 // Local call call-back function.
3779 static void
3780 _0RL_lcfn_a5500133f0710014_83000000(omniCallDescriptor* cd, omniServant* svnt)
3781 {
3782 _0RL_cd_a5500133f0710014_73000000* tcd = (_0RL_cd_a5500133f0710014_73000000*)cd;
3783 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3784 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3785 tcd->result = impl->getSteeringMethod();
3786 #else
3787 if (!cd->is_upcall())
3788 tcd->result = impl->getSteeringMethod();
3789 else {
3790 try {
3791 tcd->result = impl->getSteeringMethod();
3792 }
3793 catch(hpp::Error& ex) {
3794 throw omniORB::StubUserException(ex._NP_duplicate());
3795 }
3796
3797
3798 }
3799 #endif
3800
3801
3802 }
3803
3804 hpp::core_idl::SteeringMethod_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::getSteeringMethod()
3805 {
3806 _0RL_cd_a5500133f0710014_73000000 _call_desc(_0RL_lcfn_a5500133f0710014_83000000, "getSteeringMethod", 18);
3807
3808
3809 _invoke(_call_desc);
3810 return _call_desc.result._retn();
3811
3812
3813 }
3814
3815
3816 //
3817 // Code for hpp::manipulation_idl::graph_idl::Edge::getPathValidation
3818
3819 // Proxy call descriptor class. Mangled signature:
3820 // _chpp_mcore__idl_mPathValidation_e_chpp_mError
3821 class _0RL_cd_a5500133f0710014_93000000
3822 : public omniCallDescriptor
3823 {
3824 public:
3825 inline _0RL_cd_a5500133f0710014_93000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3826 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3827 {
3828
3829 }
3830
3831
3832 void unmarshalReturnedValues(cdrStream&);
3833 void marshalReturnedValues(cdrStream&);
3834
3835 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3836 static const char* const _user_exns[];
3837
3838 hpp::core_idl::PathValidation_var result;
3839 };
3840
3841 void _0RL_cd_a5500133f0710014_93000000::marshalReturnedValues(cdrStream& _n)
3842 {
3843 hpp::core_idl::PathValidation::_marshalObjRef(result,_n);
3844
3845 }
3846
3847 void _0RL_cd_a5500133f0710014_93000000::unmarshalReturnedValues(cdrStream& _n)
3848 {
3849 result = hpp::core_idl::PathValidation::_unmarshalObjRef(_n);
3850
3851 }
3852
3853 const char* const _0RL_cd_a5500133f0710014_93000000::_user_exns[] = {
3854 hpp::Error::_PD_repoId
3855 };
3856
3857 void _0RL_cd_a5500133f0710014_93000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3858 {
3859 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
3860 hpp::Error _ex;
3861 _ex <<= s;
3862 if (iop_client) iop_client->RequestCompleted();
3863 throw _ex;
3864 }
3865
3866
3867 else {
3868 if (iop_client) iop_client->RequestCompleted(1);
3869 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3870 (::CORBA::CompletionStatus)s.completion());
3871 }
3872 }
3873
3874 // Local call call-back function.
3875 static void
3876 _0RL_lcfn_a5500133f0710014_a3000000(omniCallDescriptor* cd, omniServant* svnt)
3877 {
3878 _0RL_cd_a5500133f0710014_93000000* tcd = (_0RL_cd_a5500133f0710014_93000000*)cd;
3879 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3880 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3881 tcd->result = impl->getPathValidation();
3882 #else
3883 if (!cd->is_upcall())
3884 tcd->result = impl->getPathValidation();
3885 else {
3886 try {
3887 tcd->result = impl->getPathValidation();
3888 }
3889 catch(hpp::Error& ex) {
3890 throw omniORB::StubUserException(ex._NP_duplicate());
3891 }
3892
3893
3894 }
3895 #endif
3896
3897
3898 }
3899
3900 hpp::core_idl::PathValidation_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::getPathValidation()
3901 {
3902 _0RL_cd_a5500133f0710014_93000000 _call_desc(_0RL_lcfn_a5500133f0710014_a3000000, "getPathValidation", 18);
3903
3904
3905 _invoke(_call_desc);
3906 return _call_desc.result._retn();
3907
3908
3909 }
3910
3911
3912 //
3913 // Code for hpp::manipulation_idl::graph_idl::Edge::configConstraint
3914
3915 // Local call call-back function.
3916 static void
3917 _0RL_lcfn_a5500133f0710014_b3000000(omniCallDescriptor* cd, omniServant* svnt)
3918 {
3919 _0RL_cd_a5500133f0710014_72000000* tcd = (_0RL_cd_a5500133f0710014_72000000*)cd;
3920 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3921 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3922 tcd->result = impl->configConstraint();
3923 #else
3924 if (!cd->is_upcall())
3925 tcd->result = impl->configConstraint();
3926 else {
3927 try {
3928 tcd->result = impl->configConstraint();
3929 }
3930 catch(hpp::Error& ex) {
3931 throw omniORB::StubUserException(ex._NP_duplicate());
3932 }
3933
3934
3935 }
3936 #endif
3937
3938
3939 }
3940
3941 hpp::core_idl::ConstraintSet_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::configConstraint()
3942 {
3943 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_b3000000, "configConstraint", 17);
3944
3945
3946 _invoke(_call_desc);
3947 return _call_desc.result._retn();
3948
3949
3950 }
3951
3952
3953 //
3954 // Code for hpp::manipulation_idl::graph_idl::Edge::targetConstraint
3955
3956 // Local call call-back function.
3957 static void
3958 _0RL_lcfn_a5500133f0710014_c3000000(omniCallDescriptor* cd, omniServant* svnt)
3959 {
3960 _0RL_cd_a5500133f0710014_72000000* tcd = (_0RL_cd_a5500133f0710014_72000000*)cd;
3961 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
3962 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
3963 tcd->result = impl->targetConstraint();
3964 #else
3965 if (!cd->is_upcall())
3966 tcd->result = impl->targetConstraint();
3967 else {
3968 try {
3969 tcd->result = impl->targetConstraint();
3970 }
3971 catch(hpp::Error& ex) {
3972 throw omniORB::StubUserException(ex._NP_duplicate());
3973 }
3974
3975
3976 }
3977 #endif
3978
3979
3980 }
3981
3982 hpp::core_idl::ConstraintSet_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::targetConstraint()
3983 {
3984 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_c3000000, "targetConstraint", 17);
3985
3986
3987 _invoke(_call_desc);
3988 return _call_desc.result._retn();
3989
3990
3991 }
3992
3993
3994 //
3995 // Code for hpp::manipulation_idl::graph_idl::Edge::pathConstraint
3996
3997 // Local call call-back function.
3998 static void
3999 _0RL_lcfn_a5500133f0710014_d3000000(omniCallDescriptor* cd, omniServant* svnt)
4000 {
4001 _0RL_cd_a5500133f0710014_72000000* tcd = (_0RL_cd_a5500133f0710014_72000000*)cd;
4002 hpp::manipulation_idl::graph_idl::_impl_Edge* impl = (hpp::manipulation_idl::graph_idl::_impl_Edge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Edge::_PD_repoId);
4003 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4004 tcd->result = impl->pathConstraint();
4005 #else
4006 if (!cd->is_upcall())
4007 tcd->result = impl->pathConstraint();
4008 else {
4009 try {
4010 tcd->result = impl->pathConstraint();
4011 }
4012 catch(hpp::Error& ex) {
4013 throw omniORB::StubUserException(ex._NP_duplicate());
4014 }
4015
4016
4017 }
4018 #endif
4019
4020
4021 }
4022
4023 hpp::core_idl::ConstraintSet_ptr hpp::manipulation_idl::graph_idl::_objref_Edge::pathConstraint()
4024 {
4025 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_d3000000, "pathConstraint", 15);
4026
4027
4028 _invoke(_call_desc);
4029 return _call_desc.result._retn();
4030
4031
4032 }
4033
4034 hpp::manipulation_idl::graph_idl::_pof_Edge::~_pof_Edge() {}
4035
4036
4037 omniObjRef*
4038 hpp::manipulation_idl::graph_idl::_pof_Edge::newObjRef(omniIOR* ior, omniIdentity* id)
4039 {
4040 return new ::hpp::manipulation_idl::graph_idl::_objref_Edge(ior, id);
4041 }
4042
4043
4044 ::CORBA::Boolean
4045 hpp::manipulation_idl::graph_idl::_pof_Edge::is_a(const char* id) const
4046 {
4047 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
4048 return 1;
4049 if (omni::ptrStrMatch(id, hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
4050 return 1;
4051
4052
4053 return 0;
4054 }
4055
4056 const hpp::manipulation_idl::graph_idl::_pof_Edge _the_pof_hpp_mmanipulation__idl_mgraph__idl_mEdge;
4057
4058 hpp::manipulation_idl::graph_idl::_impl_Edge::~_impl_Edge() {}
4059
4060
4061 ::CORBA::Boolean
4062 hpp::manipulation_idl::graph_idl::_impl_Edge::_dispatch(omniCallHandle& _handle)
4063 {
4064 const char* op = _handle.operation_name();
4065
4066 if (omni::strMatch(op, "stateFrom")) {
4067
4068 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_a2000000, "stateFrom", 10, 1);
4069
4070 _handle.upcall(this,_call_desc);
4071 return 1;
4072 }
4073
4074 if (omni::strMatch(op, "stateTo")) {
4075
4076 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_b2000000, "stateTo", 8, 1);
4077
4078 _handle.upcall(this,_call_desc);
4079 return 1;
4080 }
4081
4082 if (omni::strMatch(op, "getState")) {
4083
4084 _0RL_cd_a5500133f0710014_92000000 _call_desc(_0RL_lcfn_a5500133f0710014_c2000000, "getState", 9, 1);
4085
4086 _handle.upcall(this,_call_desc);
4087 return 1;
4088 }
4089
4090 if (omni::strMatch(op, "setState")) {
4091
4092 _0RL_cd_a5500133f0710014_d2000000 _call_desc(_0RL_lcfn_a5500133f0710014_e2000000, "setState", 9, 1);
4093
4094 _handle.upcall(this,_call_desc);
4095 return 1;
4096 }
4097
4098 if (omni::strMatch(op, "getRelativeMotion")) {
4099
4100 _0RL_cd_a5500133f0710014_f2000000 _call_desc(_0RL_lcfn_a5500133f0710014_03000000, "getRelativeMotion", 18, 1);
4101
4102 _handle.upcall(this,_call_desc);
4103 return 1;
4104 }
4105
4106 if (omni::strMatch(op, "getSecurityMargins")) {
4107
4108 _0RL_cd_a5500133f0710014_13000000 _call_desc(_0RL_lcfn_a5500133f0710014_23000000, "getSecurityMargins", 19, 1);
4109
4110 _handle.upcall(this,_call_desc);
4111 return 1;
4112 }
4113
4114 if (omni::strMatch(op, "setSecurityMarginForPair")) {
4115
4116 _0RL_cd_a5500133f0710014_33000000 _call_desc(_0RL_lcfn_a5500133f0710014_43000000, "setSecurityMarginForPair", 25, 1);
4117
4118 _handle.upcall(this,_call_desc);
4119 return 1;
4120 }
4121
4122 if (omni::strMatch(op, "generateTargetConfig")) {
4123
4124 _0RL_cd_a5500133f0710014_53000000 _call_desc(_0RL_lcfn_a5500133f0710014_63000000, "generateTargetConfig", 21, 1);
4125
4126 _handle.upcall(this,_call_desc);
4127 return 1;
4128 }
4129
4130 if (omni::strMatch(op, "getSteeringMethod")) {
4131
4132 _0RL_cd_a5500133f0710014_73000000 _call_desc(_0RL_lcfn_a5500133f0710014_83000000, "getSteeringMethod", 18, 1);
4133
4134 _handle.upcall(this,_call_desc);
4135 return 1;
4136 }
4137
4138 if (omni::strMatch(op, "getPathValidation")) {
4139
4140 _0RL_cd_a5500133f0710014_93000000 _call_desc(_0RL_lcfn_a5500133f0710014_a3000000, "getPathValidation", 18, 1);
4141
4142 _handle.upcall(this,_call_desc);
4143 return 1;
4144 }
4145
4146 if (omni::strMatch(op, "configConstraint")) {
4147
4148 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_b3000000, "configConstraint", 17, 1);
4149
4150 _handle.upcall(this,_call_desc);
4151 return 1;
4152 }
4153
4154 if (omni::strMatch(op, "targetConstraint")) {
4155
4156 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_c3000000, "targetConstraint", 17, 1);
4157
4158 _handle.upcall(this,_call_desc);
4159 return 1;
4160 }
4161
4162 if (omni::strMatch(op, "pathConstraint")) {
4163
4164 _0RL_cd_a5500133f0710014_72000000 _call_desc(_0RL_lcfn_a5500133f0710014_d3000000, "pathConstraint", 15, 1);
4165
4166 _handle.upcall(this,_call_desc);
4167 return 1;
4168 }
4169
4170
4171 #ifndef _MSC_VER
4172 if (_impl_GraphComponent::_dispatch(_handle)) {
4173 return 1;
4174 }
4175 #else
4176 // Work-around for incorrect MSVC code generation.
4177 if (((_impl_GraphComponent*)this)->
4178 _impl_GraphComponent::_dispatch(_handle)) {
4179 return 1;
4180 }
4181 #endif
4182
4183
4184 return 0;
4185 }
4186
4187 void*
4188 hpp::manipulation_idl::graph_idl::_impl_Edge::_ptrToInterface(const char* id)
4189 {
4190 if (id == ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId)
4191 return (::hpp::manipulation_idl::graph_idl::_impl_Edge*) this;
4192 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
4193 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
4194
4195
4196 if (id == ::CORBA::Object::_PD_repoId)
4197 return (void*) 1;
4198
4199 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
4200 return (::hpp::manipulation_idl::graph_idl::_impl_Edge*) this;
4201 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
4202 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
4203
4204
4205 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
4206 return (void*) 1;
4207 return 0;
4208 }
4209
4210 const char*
4211 hpp::manipulation_idl::graph_idl::_impl_Edge::_mostDerivedRepoId()
4212 {
4213 return ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId;
4214 }
4215
4216 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::_nil() {
4217 return ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_nil();
4218 }
4219
4220 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::is_nil(::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr p) {
4221 return ::CORBA::is_nil(p);
4222
4223 }
4224
4225 void hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::release(::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr p) {
4226 ::CORBA::release(p);
4227 }
4228
4229 void hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr obj, cdrStream& s) {
4230 ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_marshalObjRef(obj, s);
4231 }
4232
4233 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::unmarshalObjRef(cdrStream& s) {
4234 return ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_unmarshalObjRef(s);
4235 }
4236
4237 void hpp::manipulation_idl::graph_idl::LevelSetEdge_Helper::duplicate(::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr obj) {
4238 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
4239 }
4240
4241 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr
4242 hpp::manipulation_idl::graph_idl::LevelSetEdge::_duplicate(::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr obj)
4243 {
4244 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
4245 return obj;
4246 }
4247
4248 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr
4249 hpp::manipulation_idl::graph_idl::LevelSetEdge::_narrow(::CORBA::Object_ptr obj)
4250 {
4251 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
4252 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
4253 return e ? e : _nil();
4254 }
4255
4256
4257 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr
4258 hpp::manipulation_idl::graph_idl::LevelSetEdge::_unchecked_narrow(::CORBA::Object_ptr obj)
4259 {
4260 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
4261 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
4262 return e ? e : _nil();
4263 }
4264
4265 hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr
4266 hpp::manipulation_idl::graph_idl::LevelSetEdge::_nil()
4267 {
4268 #ifdef OMNI_UNLOADABLE_STUBS
4269 static _objref_LevelSetEdge _the_nil_obj;
4270 return &_the_nil_obj;
4271 #else
4272 static _objref_LevelSetEdge* _the_nil_ptr = 0;
4273 if (!_the_nil_ptr) {
4274 omni::nilRefLock().lock();
4275 if (!_the_nil_ptr) {
4276 _the_nil_ptr = new _objref_LevelSetEdge;
4277 registerNilCorbaObject(_the_nil_ptr);
4278 }
4279 omni::nilRefLock().unlock();
4280 }
4281 return _the_nil_ptr;
4282 #endif
4283 }
4284
4285 const char* hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/LevelSetEdge:1.0";
4286
4287
4288 hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::~_objref_LevelSetEdge() {
4289
4290 }
4291
4292
4293 hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::_objref_LevelSetEdge(omniIOR* ior, omniIdentity* id) :
4294 omniObjRef(::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId, ior, id, 1),
4295 _objref_Edge(ior, id)
4296
4297 {
4298 _PR_setobj(this);
4299 }
4300
4301 void*
4302 hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::_ptrToObjRef(const char* id)
4303 {
4304 if (id == ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId)
4305 return (::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr) this;
4306 if (id == ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId)
4307 return (::hpp::manipulation_idl::graph_idl::Edge_ptr) this;
4308
4309 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
4310 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
4311
4312
4313 if (id == ::CORBA::Object::_PD_repoId)
4314 return (::CORBA::Object_ptr) this;
4315
4316 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId))
4317 return (::hpp::manipulation_idl::graph_idl::LevelSetEdge_ptr) this;
4318 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
4319 return (::hpp::manipulation_idl::graph_idl::Edge_ptr) this;
4320
4321 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
4322 return (::hpp::manipulation_idl::graph_idl::GraphComponent_ptr) this;
4323
4324
4325 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
4326 return (::CORBA::Object_ptr) this;
4327
4328 return 0;
4329 }
4330
4331
4332 //
4333 // Code for hpp::manipulation_idl::graph_idl::LevelSetEdge::paramConstraints
4334
4335 // Local call call-back function.
4336 static void
4337 _0RL_lcfn_a5500133f0710014_e3000000(omniCallDescriptor* cd, omniServant* svnt)
4338 {
4339 _0RL_cd_a5500133f0710014_90000000* tcd = (_0RL_cd_a5500133f0710014_90000000*)cd;
4340 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge* impl = (hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId);
4341 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4342 tcd->result = impl->paramConstraints();
4343 #else
4344 if (!cd->is_upcall())
4345 tcd->result = impl->paramConstraints();
4346 else {
4347 try {
4348 tcd->result = impl->paramConstraints();
4349 }
4350 catch(hpp::Error& ex) {
4351 throw omniORB::StubUserException(ex._NP_duplicate());
4352 }
4353
4354
4355 }
4356 #endif
4357
4358
4359 }
4360
4361 hpp::constraints_idl::Implicits* hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::paramConstraints()
4362 {
4363 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_e3000000, "paramConstraints", 17);
4364
4365
4366 _invoke(_call_desc);
4367 return _call_desc.result._retn();
4368
4369
4370 }
4371
4372
4373 //
4374 // Code for hpp::manipulation_idl::graph_idl::LevelSetEdge::conditionConstraints
4375
4376 // Local call call-back function.
4377 static void
4378 _0RL_lcfn_a5500133f0710014_f3000000(omniCallDescriptor* cd, omniServant* svnt)
4379 {
4380 _0RL_cd_a5500133f0710014_90000000* tcd = (_0RL_cd_a5500133f0710014_90000000*)cd;
4381 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge* impl = (hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId);
4382 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4383 tcd->result = impl->conditionConstraints();
4384 #else
4385 if (!cd->is_upcall())
4386 tcd->result = impl->conditionConstraints();
4387 else {
4388 try {
4389 tcd->result = impl->conditionConstraints();
4390 }
4391 catch(hpp::Error& ex) {
4392 throw omniORB::StubUserException(ex._NP_duplicate());
4393 }
4394
4395
4396 }
4397 #endif
4398
4399
4400 }
4401
4402 hpp::constraints_idl::Implicits* hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::conditionConstraints()
4403 {
4404 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_f3000000, "conditionConstraints", 21);
4405
4406
4407 _invoke(_call_desc);
4408 return _call_desc.result._retn();
4409
4410
4411 }
4412
4413
4414 //
4415 // Code for hpp::manipulation_idl::graph_idl::LevelSetEdge::generateTargetConfigOnLeaf
4416
4417 // Proxy call descriptor class. Mangled signature:
4418 // _cboolean_i_chpp_mfloatSeq_i_chpp_mfloatSeq_n_chpp_mfloatSeq_e_chpp_mError
4419 class _0RL_cd_a5500133f0710014_04000000
4420 : public omniCallDescriptor
4421 {
4422 public:
4423 inline _0RL_cd_a5500133f0710014_04000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4424 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4425 {
4426
4427 }
4428
4429 void marshalArguments(cdrStream&);
4430 void unmarshalArguments(cdrStream&);
4431
4432 void unmarshalReturnedValues(cdrStream&);
4433 void marshalReturnedValues(cdrStream&);
4434
4435 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4436 static const char* const _user_exns[];
4437
4438 hpp::floatSeq_var arg_0_;
4439 const hpp::floatSeq* arg_0;
4440 hpp::floatSeq_var arg_1_;
4441 const hpp::floatSeq* arg_1;
4442 hpp::floatSeq_var arg_2_;
4443 hpp::floatSeq* arg_2;
4444 ::CORBA::Boolean result;
4445 };
4446
4447 void _0RL_cd_a5500133f0710014_04000000::marshalArguments(cdrStream& _n)
4448 {
4449 (const hpp::floatSeq&) *arg_0 >>= _n;
4450 (const hpp::floatSeq&) *arg_1 >>= _n;
4451 (const hpp::floatSeq&) *arg_2 >>= _n;
4452
4453 }
4454
4455 void _0RL_cd_a5500133f0710014_04000000::unmarshalArguments(cdrStream& _n)
4456 {
4457 arg_0_ = new hpp::floatSeq;
4458 (hpp::floatSeq&)arg_0_ <<= _n;
4459 arg_0 = &arg_0_.in();
4460 arg_1_ = new hpp::floatSeq;
4461 (hpp::floatSeq&)arg_1_ <<= _n;
4462 arg_1 = &arg_1_.in();
4463 arg_2_ = new hpp::floatSeq;
4464 (hpp::floatSeq&)arg_2_ <<= _n;
4465 arg_2 = &arg_2_.inout();
4466
4467 }
4468
4469 void _0RL_cd_a5500133f0710014_04000000::marshalReturnedValues(cdrStream& _n)
4470 {
4471 _n.marshalBoolean(result);
4472 (const hpp::floatSeq&) *arg_2 >>= _n;
4473
4474 }
4475
4476 void _0RL_cd_a5500133f0710014_04000000::unmarshalReturnedValues(cdrStream& _n)
4477 {
4478 result = _n.unmarshalBoolean();
4479 (hpp::floatSeq&)*arg_2 <<= _n;
4480
4481 }
4482
4483 const char* const _0RL_cd_a5500133f0710014_04000000::_user_exns[] = {
4484 hpp::Error::_PD_repoId
4485 };
4486
4487 void _0RL_cd_a5500133f0710014_04000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4488 {
4489 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
4490 hpp::Error _ex;
4491 _ex <<= s;
4492 if (iop_client) iop_client->RequestCompleted();
4493 throw _ex;
4494 }
4495
4496
4497 else {
4498 if (iop_client) iop_client->RequestCompleted(1);
4499 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4500 (::CORBA::CompletionStatus)s.completion());
4501 }
4502 }
4503
4504 // Local call call-back function.
4505 static void
4506 _0RL_lcfn_a5500133f0710014_14000000(omniCallDescriptor* cd, omniServant* svnt)
4507 {
4508 _0RL_cd_a5500133f0710014_04000000* tcd = (_0RL_cd_a5500133f0710014_04000000*)cd;
4509 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge* impl = (hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId);
4510 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4511 tcd->result = impl->generateTargetConfigOnLeaf(*tcd->arg_0, *tcd->arg_1, *tcd->arg_2);
4512 #else
4513 if (!cd->is_upcall())
4514 tcd->result = impl->generateTargetConfigOnLeaf(*tcd->arg_0, *tcd->arg_1, *tcd->arg_2);
4515 else {
4516 try {
4517 tcd->result = impl->generateTargetConfigOnLeaf(*tcd->arg_0, *tcd->arg_1, *tcd->arg_2);
4518 }
4519 catch(hpp::Error& ex) {
4520 throw omniORB::StubUserException(ex._NP_duplicate());
4521 }
4522
4523
4524 }
4525 #endif
4526
4527
4528 }
4529
4530 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge::generateTargetConfigOnLeaf(const ::hpp::floatSeq& qStart, const ::hpp::floatSeq& qLeaf, ::hpp::floatSeq& q)
4531 {
4532 _0RL_cd_a5500133f0710014_04000000 _call_desc(_0RL_lcfn_a5500133f0710014_14000000, "generateTargetConfigOnLeaf", 27);
4533 _call_desc.arg_0 = &(::hpp::floatSeq&) qStart;
4534 _call_desc.arg_1 = &(::hpp::floatSeq&) qLeaf;
4535 _call_desc.arg_2 = &(::hpp::floatSeq&) q;
4536
4537 _invoke(_call_desc);
4538 return _call_desc.result;
4539
4540
4541 }
4542
4543 hpp::manipulation_idl::graph_idl::_pof_LevelSetEdge::~_pof_LevelSetEdge() {}
4544
4545
4546 omniObjRef*
4547 hpp::manipulation_idl::graph_idl::_pof_LevelSetEdge::newObjRef(omniIOR* ior, omniIdentity* id)
4548 {
4549 return new ::hpp::manipulation_idl::graph_idl::_objref_LevelSetEdge(ior, id);
4550 }
4551
4552
4553 ::CORBA::Boolean
4554 hpp::manipulation_idl::graph_idl::_pof_LevelSetEdge::is_a(const char* id) const
4555 {
4556 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId))
4557 return 1;
4558 if (omni::ptrStrMatch(id, hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
4559 return 1;
4560
4561 if (omni::ptrStrMatch(id, hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
4562 return 1;
4563
4564
4565 return 0;
4566 }
4567
4568 const hpp::manipulation_idl::graph_idl::_pof_LevelSetEdge _the_pof_hpp_mmanipulation__idl_mgraph__idl_mLevelSetEdge;
4569
4570 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge::~_impl_LevelSetEdge() {}
4571
4572
4573 ::CORBA::Boolean
4574 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge::_dispatch(omniCallHandle& _handle)
4575 {
4576 const char* op = _handle.operation_name();
4577
4578 if (omni::strMatch(op, "paramConstraints")) {
4579
4580 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_e3000000, "paramConstraints", 17, 1);
4581
4582 _handle.upcall(this,_call_desc);
4583 return 1;
4584 }
4585
4586 if (omni::strMatch(op, "conditionConstraints")) {
4587
4588 _0RL_cd_a5500133f0710014_90000000 _call_desc(_0RL_lcfn_a5500133f0710014_f3000000, "conditionConstraints", 21, 1);
4589
4590 _handle.upcall(this,_call_desc);
4591 return 1;
4592 }
4593
4594 if (omni::strMatch(op, "generateTargetConfigOnLeaf")) {
4595
4596 _0RL_cd_a5500133f0710014_04000000 _call_desc(_0RL_lcfn_a5500133f0710014_14000000, "generateTargetConfigOnLeaf", 27, 1);
4597
4598 _handle.upcall(this,_call_desc);
4599 return 1;
4600 }
4601
4602
4603 #ifndef _MSC_VER
4604 if (_impl_Edge::_dispatch(_handle)) {
4605 return 1;
4606 }
4607 #else
4608 // Work-around for incorrect MSVC code generation.
4609 if (((_impl_Edge*)this)->
4610 _impl_Edge::_dispatch(_handle)) {
4611 return 1;
4612 }
4613 #endif
4614
4615
4616 return 0;
4617 }
4618
4619 void*
4620 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge::_ptrToInterface(const char* id)
4621 {
4622 if (id == ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId)
4623 return (::hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge*) this;
4624 if (id == ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId)
4625 return (::hpp::manipulation_idl::graph_idl::_impl_Edge*) this;
4626
4627 if (id == ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId)
4628 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
4629
4630
4631 if (id == ::CORBA::Object::_PD_repoId)
4632 return (void*) 1;
4633
4634 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId))
4635 return (::hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge*) this;
4636 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Edge::_PD_repoId))
4637 return (::hpp::manipulation_idl::graph_idl::_impl_Edge*) this;
4638
4639 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::GraphComponent::_PD_repoId))
4640 return (::hpp::manipulation_idl::graph_idl::_impl_GraphComponent*) this;
4641
4642
4643 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
4644 return (void*) 1;
4645 return 0;
4646 }
4647
4648 const char*
4649 hpp::manipulation_idl::graph_idl::_impl_LevelSetEdge::_mostDerivedRepoId()
4650 {
4651 return ::hpp::manipulation_idl::graph_idl::LevelSetEdge::_PD_repoId;
4652 }
4653
4654 hpp::manipulation_idl::graph_idl::Validation_ptr hpp::manipulation_idl::graph_idl::Validation_Helper::_nil() {
4655 return ::hpp::manipulation_idl::graph_idl::Validation::_nil();
4656 }
4657
4658 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::Validation_Helper::is_nil(::hpp::manipulation_idl::graph_idl::Validation_ptr p) {
4659 return ::CORBA::is_nil(p);
4660
4661 }
4662
4663 void hpp::manipulation_idl::graph_idl::Validation_Helper::release(::hpp::manipulation_idl::graph_idl::Validation_ptr p) {
4664 ::CORBA::release(p);
4665 }
4666
4667 void hpp::manipulation_idl::graph_idl::Validation_Helper::marshalObjRef(::hpp::manipulation_idl::graph_idl::Validation_ptr obj, cdrStream& s) {
4668 ::hpp::manipulation_idl::graph_idl::Validation::_marshalObjRef(obj, s);
4669 }
4670
4671 hpp::manipulation_idl::graph_idl::Validation_ptr hpp::manipulation_idl::graph_idl::Validation_Helper::unmarshalObjRef(cdrStream& s) {
4672 return ::hpp::manipulation_idl::graph_idl::Validation::_unmarshalObjRef(s);
4673 }
4674
4675 void hpp::manipulation_idl::graph_idl::Validation_Helper::duplicate(::hpp::manipulation_idl::graph_idl::Validation_ptr obj) {
4676 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
4677 }
4678
4679 hpp::manipulation_idl::graph_idl::Validation_ptr
4680 hpp::manipulation_idl::graph_idl::Validation::_duplicate(::hpp::manipulation_idl::graph_idl::Validation_ptr obj)
4681 {
4682 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
4683 return obj;
4684 }
4685
4686 hpp::manipulation_idl::graph_idl::Validation_ptr
4687 hpp::manipulation_idl::graph_idl::Validation::_narrow(::CORBA::Object_ptr obj)
4688 {
4689 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
4690 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
4691 return e ? e : _nil();
4692 }
4693
4694
4695 hpp::manipulation_idl::graph_idl::Validation_ptr
4696 hpp::manipulation_idl::graph_idl::Validation::_unchecked_narrow(::CORBA::Object_ptr obj)
4697 {
4698 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
4699 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
4700 return e ? e : _nil();
4701 }
4702
4703 hpp::manipulation_idl::graph_idl::Validation_ptr
4704 hpp::manipulation_idl::graph_idl::Validation::_nil()
4705 {
4706 #ifdef OMNI_UNLOADABLE_STUBS
4707 static _objref_Validation _the_nil_obj;
4708 return &_the_nil_obj;
4709 #else
4710 static _objref_Validation* _the_nil_ptr = 0;
4711 if (!_the_nil_ptr) {
4712 omni::nilRefLock().lock();
4713 if (!_the_nil_ptr) {
4714 _the_nil_ptr = new _objref_Validation;
4715 registerNilCorbaObject(_the_nil_ptr);
4716 }
4717 omni::nilRefLock().unlock();
4718 }
4719 return _the_nil_ptr;
4720 #endif
4721 }
4722
4723 const char* hpp::manipulation_idl::graph_idl::Validation::_PD_repoId = "IDL:hpp/manipulation_idl/graph_idl/Validation:1.0";
4724
4725
4726 hpp::manipulation_idl::graph_idl::_objref_Validation::~_objref_Validation() {
4727
4728 }
4729
4730
4731 hpp::manipulation_idl::graph_idl::_objref_Validation::_objref_Validation(omniIOR* ior, omniIdentity* id) :
4732 omniObjRef(::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId, ior, id, 1)
4733
4734
4735 {
4736 _PR_setobj(this);
4737 }
4738
4739 void*
4740 hpp::manipulation_idl::graph_idl::_objref_Validation::_ptrToObjRef(const char* id)
4741 {
4742 if (id == ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId)
4743 return (::hpp::manipulation_idl::graph_idl::Validation_ptr) this;
4744
4745 if (id == ::CORBA::Object::_PD_repoId)
4746 return (::CORBA::Object_ptr) this;
4747
4748 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId))
4749 return (::hpp::manipulation_idl::graph_idl::Validation_ptr) this;
4750
4751 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
4752 return (::CORBA::Object_ptr) this;
4753
4754 return 0;
4755 }
4756
4757
4758 //
4759 // Code for hpp::manipulation_idl::graph_idl::Validation::str
4760
4761 // Local call call-back function.
4762 static void
4763 _0RL_lcfn_a5500133f0710014_24000000(omniCallDescriptor* cd, omniServant* svnt)
4764 {
4765 _0RL_cd_a5500133f0710014_00000000* tcd = (_0RL_cd_a5500133f0710014_00000000*)cd;
4766 hpp::manipulation_idl::graph_idl::_impl_Validation* impl = (hpp::manipulation_idl::graph_idl::_impl_Validation*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Validation::_PD_repoId);
4767 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4768 tcd->result = impl->str();
4769 #else
4770 if (!cd->is_upcall())
4771 tcd->result = impl->str();
4772 else {
4773 try {
4774 tcd->result = impl->str();
4775 }
4776 catch(hpp::Error& ex) {
4777 throw omniORB::StubUserException(ex._NP_duplicate());
4778 }
4779
4780
4781 }
4782 #endif
4783
4784
4785 }
4786
4787 char* hpp::manipulation_idl::graph_idl::_objref_Validation::str()
4788 {
4789 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_24000000, "str", 4);
4790
4791
4792 _invoke(_call_desc);
4793 return _call_desc.result._retn();
4794
4795
4796 }
4797
4798
4799 //
4800 // Code for hpp::manipulation_idl::graph_idl::Validation::hasErrors
4801
4802 // Local call call-back function.
4803 static void
4804 _0RL_lcfn_a5500133f0710014_34000000(omniCallDescriptor* cd, omniServant* svnt)
4805 {
4806 _0RL_cd_a5500133f0710014_01000000* tcd = (_0RL_cd_a5500133f0710014_01000000*)cd;
4807 hpp::manipulation_idl::graph_idl::_impl_Validation* impl = (hpp::manipulation_idl::graph_idl::_impl_Validation*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Validation::_PD_repoId);
4808 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4809 tcd->result = impl->hasErrors();
4810 #else
4811 if (!cd->is_upcall())
4812 tcd->result = impl->hasErrors();
4813 else {
4814 try {
4815 tcd->result = impl->hasErrors();
4816 }
4817 catch(hpp::Error& ex) {
4818 throw omniORB::StubUserException(ex._NP_duplicate());
4819 }
4820
4821
4822 }
4823 #endif
4824
4825
4826 }
4827
4828 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_Validation::hasErrors()
4829 {
4830 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_34000000, "hasErrors", 10);
4831
4832
4833 _invoke(_call_desc);
4834 return _call_desc.result;
4835
4836
4837 }
4838
4839
4840 //
4841 // Code for hpp::manipulation_idl::graph_idl::Validation::hasWarnings
4842
4843 // Local call call-back function.
4844 static void
4845 _0RL_lcfn_a5500133f0710014_44000000(omniCallDescriptor* cd, omniServant* svnt)
4846 {
4847 _0RL_cd_a5500133f0710014_01000000* tcd = (_0RL_cd_a5500133f0710014_01000000*)cd;
4848 hpp::manipulation_idl::graph_idl::_impl_Validation* impl = (hpp::manipulation_idl::graph_idl::_impl_Validation*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Validation::_PD_repoId);
4849 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4850 tcd->result = impl->hasWarnings();
4851 #else
4852 if (!cd->is_upcall())
4853 tcd->result = impl->hasWarnings();
4854 else {
4855 try {
4856 tcd->result = impl->hasWarnings();
4857 }
4858 catch(hpp::Error& ex) {
4859 throw omniORB::StubUserException(ex._NP_duplicate());
4860 }
4861
4862
4863 }
4864 #endif
4865
4866
4867 }
4868
4869 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_Validation::hasWarnings()
4870 {
4871 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_44000000, "hasWarnings", 12);
4872
4873
4874 _invoke(_call_desc);
4875 return _call_desc.result;
4876
4877
4878 }
4879
4880
4881 //
4882 // Code for hpp::manipulation_idl::graph_idl::Validation::getCollisionsForNode
4883
4884 // Proxy call descriptor class. Mangled signature:
4885 // _chpp_mstringSeqSeq_i_cstring_e_chpp_mError
4886 class _0RL_cd_a5500133f0710014_54000000
4887 : public omniCallDescriptor
4888 {
4889 public:
4890 inline _0RL_cd_a5500133f0710014_54000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4891 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4892 {
4893
4894 }
4895
4896 void marshalArguments(cdrStream&);
4897 void unmarshalArguments(cdrStream&);
4898
4899 void unmarshalReturnedValues(cdrStream&);
4900 void marshalReturnedValues(cdrStream&);
4901
4902 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4903 static const char* const _user_exns[];
4904
4905 ::CORBA::String_var arg_0_;
4906 const char* arg_0;
4907 hpp::stringSeqSeq_var result;
4908 };
4909
4910 void _0RL_cd_a5500133f0710014_54000000::marshalArguments(cdrStream& _n)
4911 {
4912 _n.marshalString(arg_0,0);
4913
4914 }
4915
4916 void _0RL_cd_a5500133f0710014_54000000::unmarshalArguments(cdrStream& _n)
4917 {
4918 arg_0_ = _n.unmarshalString(0);
4919 arg_0 = arg_0_.in();
4920
4921 }
4922
4923 void _0RL_cd_a5500133f0710014_54000000::marshalReturnedValues(cdrStream& _n)
4924 {
4925 (const hpp::stringSeqSeq&) result >>= _n;
4926
4927 }
4928
4929 void _0RL_cd_a5500133f0710014_54000000::unmarshalReturnedValues(cdrStream& _n)
4930 {
4931 result = new hpp::stringSeqSeq;
4932 (hpp::stringSeqSeq&)result <<= _n;
4933
4934 }
4935
4936 const char* const _0RL_cd_a5500133f0710014_54000000::_user_exns[] = {
4937 hpp::Error::_PD_repoId
4938 };
4939
4940 void _0RL_cd_a5500133f0710014_54000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4941 {
4942 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
4943 hpp::Error _ex;
4944 _ex <<= s;
4945 if (iop_client) iop_client->RequestCompleted();
4946 throw _ex;
4947 }
4948
4949
4950 else {
4951 if (iop_client) iop_client->RequestCompleted(1);
4952 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4953 (::CORBA::CompletionStatus)s.completion());
4954 }
4955 }
4956
4957 // Local call call-back function.
4958 static void
4959 _0RL_lcfn_a5500133f0710014_64000000(omniCallDescriptor* cd, omniServant* svnt)
4960 {
4961 _0RL_cd_a5500133f0710014_54000000* tcd = (_0RL_cd_a5500133f0710014_54000000*)cd;
4962 hpp::manipulation_idl::graph_idl::_impl_Validation* impl = (hpp::manipulation_idl::graph_idl::_impl_Validation*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Validation::_PD_repoId);
4963 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
4964 tcd->result = impl->getCollisionsForNode(tcd->arg_0);
4965 #else
4966 if (!cd->is_upcall())
4967 tcd->result = impl->getCollisionsForNode(tcd->arg_0);
4968 else {
4969 try {
4970 tcd->result = impl->getCollisionsForNode(tcd->arg_0);
4971 }
4972 catch(hpp::Error& ex) {
4973 throw omniORB::StubUserException(ex._NP_duplicate());
4974 }
4975
4976
4977 }
4978 #endif
4979
4980
4981 }
4982
4983 hpp::stringSeqSeq* hpp::manipulation_idl::graph_idl::_objref_Validation::getCollisionsForNode(const char* name)
4984 {
4985 _0RL_cd_a5500133f0710014_54000000 _call_desc(_0RL_lcfn_a5500133f0710014_64000000, "getCollisionsForNode", 21);
4986 _call_desc.arg_0 = name;
4987
4988 _invoke(_call_desc);
4989 return _call_desc.result._retn();
4990
4991
4992 }
4993
4994
4995 //
4996 // Code for hpp::manipulation_idl::graph_idl::Validation::validate
4997
4998 // Proxy call descriptor class. Mangled signature:
4999 // _cboolean_i_chpp_mmanipulation__idl_mgraph__idl_mGraphComponent_e_chpp_mError
5000 class _0RL_cd_a5500133f0710014_74000000
5001 : public omniCallDescriptor
5002 {
5003 public:
5004 inline _0RL_cd_a5500133f0710014_74000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5005 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5006 {
5007
5008 }
5009
5010 void marshalArguments(cdrStream&);
5011 void unmarshalArguments(cdrStream&);
5012
5013 void unmarshalReturnedValues(cdrStream&);
5014 void marshalReturnedValues(cdrStream&);
5015
5016 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5017 static const char* const _user_exns[];
5018
5019 hpp::manipulation_idl::graph_idl::GraphComponent_var arg_0_;
5020 hpp::manipulation_idl::graph_idl::GraphComponent_ptr arg_0;
5021 ::CORBA::Boolean result;
5022 };
5023
5024 void _0RL_cd_a5500133f0710014_74000000::marshalArguments(cdrStream& _n)
5025 {
5026 hpp::manipulation_idl::graph_idl::GraphComponent::_marshalObjRef(arg_0,_n);
5027
5028 }
5029
5030 void _0RL_cd_a5500133f0710014_74000000::unmarshalArguments(cdrStream& _n)
5031 {
5032 arg_0_ = hpp::manipulation_idl::graph_idl::GraphComponent::_unmarshalObjRef(_n);
5033 arg_0 = arg_0_.in();
5034
5035 }
5036
5037 void _0RL_cd_a5500133f0710014_74000000::marshalReturnedValues(cdrStream& _n)
5038 {
5039 _n.marshalBoolean(result);
5040
5041 }
5042
5043 void _0RL_cd_a5500133f0710014_74000000::unmarshalReturnedValues(cdrStream& _n)
5044 {
5045 result = _n.unmarshalBoolean();
5046
5047 }
5048
5049 const char* const _0RL_cd_a5500133f0710014_74000000::_user_exns[] = {
5050 hpp::Error::_PD_repoId
5051 };
5052
5053 void _0RL_cd_a5500133f0710014_74000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5054 {
5055 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
5056 hpp::Error _ex;
5057 _ex <<= s;
5058 if (iop_client) iop_client->RequestCompleted();
5059 throw _ex;
5060 }
5061
5062
5063 else {
5064 if (iop_client) iop_client->RequestCompleted(1);
5065 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5066 (::CORBA::CompletionStatus)s.completion());
5067 }
5068 }
5069
5070 // Local call call-back function.
5071 static void
5072 _0RL_lcfn_a5500133f0710014_84000000(omniCallDescriptor* cd, omniServant* svnt)
5073 {
5074 _0RL_cd_a5500133f0710014_74000000* tcd = (_0RL_cd_a5500133f0710014_74000000*)cd;
5075 hpp::manipulation_idl::graph_idl::_impl_Validation* impl = (hpp::manipulation_idl::graph_idl::_impl_Validation*) svnt->_ptrToInterface(hpp::manipulation_idl::graph_idl::Validation::_PD_repoId);
5076 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
5077 tcd->result = impl->validate(tcd->arg_0);
5078 #else
5079 if (!cd->is_upcall())
5080 tcd->result = impl->validate(tcd->arg_0);
5081 else {
5082 try {
5083 tcd->result = impl->validate(tcd->arg_0);
5084 }
5085 catch(hpp::Error& ex) {
5086 throw omniORB::StubUserException(ex._NP_duplicate());
5087 }
5088
5089
5090 }
5091 #endif
5092
5093
5094 }
5095
5096 ::CORBA::Boolean hpp::manipulation_idl::graph_idl::_objref_Validation::validate(::hpp::manipulation_idl::graph_idl::GraphComponent_ptr comp)
5097 {
5098 _0RL_cd_a5500133f0710014_74000000 _call_desc(_0RL_lcfn_a5500133f0710014_84000000, "validate", 9);
5099 _call_desc.arg_0 = comp;
5100
5101 _invoke(_call_desc);
5102 return _call_desc.result;
5103
5104
5105 }
5106
5107 hpp::manipulation_idl::graph_idl::_pof_Validation::~_pof_Validation() {}
5108
5109
5110 omniObjRef*
5111 hpp::manipulation_idl::graph_idl::_pof_Validation::newObjRef(omniIOR* ior, omniIdentity* id)
5112 {
5113 return new ::hpp::manipulation_idl::graph_idl::_objref_Validation(ior, id);
5114 }
5115
5116
5117 ::CORBA::Boolean
5118 hpp::manipulation_idl::graph_idl::_pof_Validation::is_a(const char* id) const
5119 {
5120 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId))
5121 return 1;
5122
5123 return 0;
5124 }
5125
5126 const hpp::manipulation_idl::graph_idl::_pof_Validation _the_pof_hpp_mmanipulation__idl_mgraph__idl_mValidation;
5127
5128 hpp::manipulation_idl::graph_idl::_impl_Validation::~_impl_Validation() {}
5129
5130
5131 ::CORBA::Boolean
5132 hpp::manipulation_idl::graph_idl::_impl_Validation::_dispatch(omniCallHandle& _handle)
5133 {
5134 const char* op = _handle.operation_name();
5135
5136 if (omni::strMatch(op, "str")) {
5137
5138 _0RL_cd_a5500133f0710014_00000000 _call_desc(_0RL_lcfn_a5500133f0710014_24000000, "str", 4, 1);
5139
5140 _handle.upcall(this,_call_desc);
5141 return 1;
5142 }
5143
5144 if (omni::strMatch(op, "hasErrors")) {
5145
5146 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_34000000, "hasErrors", 10, 1);
5147
5148 _handle.upcall(this,_call_desc);
5149 return 1;
5150 }
5151
5152 if (omni::strMatch(op, "hasWarnings")) {
5153
5154 _0RL_cd_a5500133f0710014_01000000 _call_desc(_0RL_lcfn_a5500133f0710014_44000000, "hasWarnings", 12, 1);
5155
5156 _handle.upcall(this,_call_desc);
5157 return 1;
5158 }
5159
5160 if (omni::strMatch(op, "getCollisionsForNode")) {
5161
5162 _0RL_cd_a5500133f0710014_54000000 _call_desc(_0RL_lcfn_a5500133f0710014_64000000, "getCollisionsForNode", 21, 1);
5163
5164 _handle.upcall(this,_call_desc);
5165 return 1;
5166 }
5167
5168 if (omni::strMatch(op, "validate")) {
5169
5170 _0RL_cd_a5500133f0710014_74000000 _call_desc(_0RL_lcfn_a5500133f0710014_84000000, "validate", 9, 1);
5171
5172 _handle.upcall(this,_call_desc);
5173 return 1;
5174 }
5175
5176
5177 return 0;
5178 }
5179
5180 void*
5181 hpp::manipulation_idl::graph_idl::_impl_Validation::_ptrToInterface(const char* id)
5182 {
5183 if (id == ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId)
5184 return (::hpp::manipulation_idl::graph_idl::_impl_Validation*) this;
5185
5186 if (id == ::CORBA::Object::_PD_repoId)
5187 return (void*) 1;
5188
5189 if (omni::strMatch(id, ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId))
5190 return (::hpp::manipulation_idl::graph_idl::_impl_Validation*) this;
5191
5192 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
5193 return (void*) 1;
5194 return 0;
5195 }
5196
5197 const char*
5198 hpp::manipulation_idl::graph_idl::_impl_Validation::_mostDerivedRepoId()
5199 {
5200 return ::hpp::manipulation_idl::graph_idl::Validation::_PD_repoId;
5201 }
5202
5203 POA_hpp::manipulation_idl::graph_idl::GraphComponent::~GraphComponent() {}
5204
5205 POA_hpp::manipulation_idl::graph_idl::StateSelector::~StateSelector() {}
5206
5207 POA_hpp::manipulation_idl::graph_idl::Graph::~Graph() {}
5208
5209 POA_hpp::manipulation_idl::graph_idl::State::~State() {}
5210
5211 POA_hpp::manipulation_idl::graph_idl::Edge::~Edge() {}
5212
5213 POA_hpp::manipulation_idl::graph_idl::LevelSetEdge::~LevelSetEdge() {}
5214
5215 POA_hpp::manipulation_idl::graph_idl::Validation::~Validation() {}
5216
5217