GCC Code Coverage Report


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

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit.
2
3 #include "device-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::Handle_ptr hpp::manipulation_idl::Handle_Helper::_nil() {
18 return ::hpp::manipulation_idl::Handle::_nil();
19 }
20
21 ::CORBA::Boolean hpp::manipulation_idl::Handle_Helper::is_nil(::hpp::manipulation_idl::Handle_ptr p) {
22 return ::CORBA::is_nil(p);
23
24 }
25
26 void hpp::manipulation_idl::Handle_Helper::release(::hpp::manipulation_idl::Handle_ptr p) {
27 ::CORBA::release(p);
28 }
29
30 void hpp::manipulation_idl::Handle_Helper::marshalObjRef(::hpp::manipulation_idl::Handle_ptr obj, cdrStream& s) {
31 ::hpp::manipulation_idl::Handle::_marshalObjRef(obj, s);
32 }
33
34 hpp::manipulation_idl::Handle_ptr hpp::manipulation_idl::Handle_Helper::unmarshalObjRef(cdrStream& s) {
35 return ::hpp::manipulation_idl::Handle::_unmarshalObjRef(s);
36 }
37
38 void hpp::manipulation_idl::Handle_Helper::duplicate(::hpp::manipulation_idl::Handle_ptr obj) {
39 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
40 }
41
42 hpp::manipulation_idl::Handle_ptr
43 hpp::manipulation_idl::Handle::_duplicate(::hpp::manipulation_idl::Handle_ptr obj)
44 {
45 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
46 return obj;
47 }
48
49 hpp::manipulation_idl::Handle_ptr
50 hpp::manipulation_idl::Handle::_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::Handle_ptr
59 hpp::manipulation_idl::Handle::_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::Handle_ptr
67 hpp::manipulation_idl::Handle::_nil()
68 {
69 #ifdef OMNI_UNLOADABLE_STUBS
70 static _objref_Handle _the_nil_obj;
71 return &_the_nil_obj;
72 #else
73 static _objref_Handle* _the_nil_ptr = 0;
74 if (!_the_nil_ptr) {
75 omni::nilRefLock().lock();
76 if (!_the_nil_ptr) {
77 _the_nil_ptr = new _objref_Handle;
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::Handle::_PD_repoId = "IDL:hpp/manipulation_idl/Handle:1.0";
87
88
89 hpp::manipulation_idl::_objref_Handle::~_objref_Handle() {
90
91 }
92
93
94 hpp::manipulation_idl::_objref_Handle::_objref_Handle(omniIOR* ior, omniIdentity* id) :
95 omniObjRef(::hpp::manipulation_idl::Handle::_PD_repoId, ior, id, 1)
96
97
98 {
99 _PR_setobj(this);
100 }
101
102 void*
103 hpp::manipulation_idl::_objref_Handle::_ptrToObjRef(const char* id)
104 {
105 if (id == ::hpp::manipulation_idl::Handle::_PD_repoId)
106 return (::hpp::manipulation_idl::Handle_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::Handle::_PD_repoId))
112 return (::hpp::manipulation_idl::Handle_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::Handle::setMask
123
124 // Proxy call descriptor class. Mangled signature:
125 // void_i_chpp_mboolSeq_e_chpp_mError
126 class _0RL_cd_23b050a7a3b3f002_00000000
127 : public omniCallDescriptor
128 {
129 public:
130 inline _0RL_cd_23b050a7a3b3f002_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 void marshalArguments(cdrStream&);
137 void unmarshalArguments(cdrStream&);
138
139
140 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
141 static const char* const _user_exns[];
142
143 hpp::boolSeq_var arg_0_;
144 const hpp::boolSeq* arg_0;
145 };
146
147 void _0RL_cd_23b050a7a3b3f002_00000000::marshalArguments(cdrStream& _n)
148 {
149 (const hpp::boolSeq&) *arg_0 >>= _n;
150
151 }
152
153 void _0RL_cd_23b050a7a3b3f002_00000000::unmarshalArguments(cdrStream& _n)
154 {
155 arg_0_ = new hpp::boolSeq;
156 (hpp::boolSeq&)arg_0_ <<= _n;
157 arg_0 = &arg_0_.in();
158
159 }
160
161 const char* const _0RL_cd_23b050a7a3b3f002_00000000::_user_exns[] = {
162 hpp::Error::_PD_repoId
163 };
164
165 void _0RL_cd_23b050a7a3b3f002_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
166 {
167 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
168 hpp::Error _ex;
169 _ex <<= s;
170 if (iop_client) iop_client->RequestCompleted();
171 throw _ex;
172 }
173
174
175 else {
176 if (iop_client) iop_client->RequestCompleted(1);
177 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
178 (::CORBA::CompletionStatus)s.completion());
179 }
180 }
181
182 // Local call call-back function.
183 static void
184 _0RL_lcfn_23b050a7a3b3f002_10000000(omniCallDescriptor* cd, omniServant* svnt)
185 {
186 _0RL_cd_23b050a7a3b3f002_00000000* tcd = (_0RL_cd_23b050a7a3b3f002_00000000*)cd;
187 hpp::manipulation_idl::_impl_Handle* impl = (hpp::manipulation_idl::_impl_Handle*) svnt->_ptrToInterface(hpp::manipulation_idl::Handle::_PD_repoId);
188 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
189 impl->setMask(*tcd->arg_0);
190 #else
191 if (!cd->is_upcall())
192 impl->setMask(*tcd->arg_0);
193 else {
194 try {
195 impl->setMask(*tcd->arg_0);
196 }
197 catch(hpp::Error& ex) {
198 throw omniORB::StubUserException(ex._NP_duplicate());
199 }
200
201
202 }
203 #endif
204
205
206 }
207
208 void hpp::manipulation_idl::_objref_Handle::setMask(const ::hpp::boolSeq& mask)
209 {
210 _0RL_cd_23b050a7a3b3f002_00000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_10000000, "setMask", 8);
211 _call_desc.arg_0 = &(::hpp::boolSeq&) mask;
212
213 _invoke(_call_desc);
214
215
216
217 }
218
219 hpp::manipulation_idl::_pof_Handle::~_pof_Handle() {}
220
221
222 omniObjRef*
223 hpp::manipulation_idl::_pof_Handle::newObjRef(omniIOR* ior, omniIdentity* id)
224 {
225 return new ::hpp::manipulation_idl::_objref_Handle(ior, id);
226 }
227
228
229 ::CORBA::Boolean
230 hpp::manipulation_idl::_pof_Handle::is_a(const char* id) const
231 {
232 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::Handle::_PD_repoId))
233 return 1;
234
235 return 0;
236 }
237
238 const hpp::manipulation_idl::_pof_Handle _the_pof_hpp_mmanipulation__idl_mHandle;
239
240 hpp::manipulation_idl::_impl_Handle::~_impl_Handle() {}
241
242
243 ::CORBA::Boolean
244 hpp::manipulation_idl::_impl_Handle::_dispatch(omniCallHandle& _handle)
245 {
246 const char* op = _handle.operation_name();
247
248 if (omni::strMatch(op, "setMask")) {
249
250 _0RL_cd_23b050a7a3b3f002_00000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_10000000, "setMask", 8, 1);
251
252 _handle.upcall(this,_call_desc);
253 return 1;
254 }
255
256
257 return 0;
258 }
259
260 void*
261 hpp::manipulation_idl::_impl_Handle::_ptrToInterface(const char* id)
262 {
263 if (id == ::hpp::manipulation_idl::Handle::_PD_repoId)
264 return (::hpp::manipulation_idl::_impl_Handle*) this;
265
266 if (id == ::CORBA::Object::_PD_repoId)
267 return (void*) 1;
268
269 if (omni::strMatch(id, ::hpp::manipulation_idl::Handle::_PD_repoId))
270 return (::hpp::manipulation_idl::_impl_Handle*) this;
271
272 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
273 return (void*) 1;
274 return 0;
275 }
276
277 const char*
278 hpp::manipulation_idl::_impl_Handle::_mostDerivedRepoId()
279 {
280 return ::hpp::manipulation_idl::Handle::_PD_repoId;
281 }
282
283 hpp::manipulation_idl::Device_ptr hpp::manipulation_idl::Device_Helper::_nil() {
284 return ::hpp::manipulation_idl::Device::_nil();
285 }
286
287 ::CORBA::Boolean hpp::manipulation_idl::Device_Helper::is_nil(::hpp::manipulation_idl::Device_ptr p) {
288 return ::CORBA::is_nil(p);
289
290 }
291
292 void hpp::manipulation_idl::Device_Helper::release(::hpp::manipulation_idl::Device_ptr p) {
293 ::CORBA::release(p);
294 }
295
296 void hpp::manipulation_idl::Device_Helper::marshalObjRef(::hpp::manipulation_idl::Device_ptr obj, cdrStream& s) {
297 ::hpp::manipulation_idl::Device::_marshalObjRef(obj, s);
298 }
299
300 hpp::manipulation_idl::Device_ptr hpp::manipulation_idl::Device_Helper::unmarshalObjRef(cdrStream& s) {
301 return ::hpp::manipulation_idl::Device::_unmarshalObjRef(s);
302 }
303
304 void hpp::manipulation_idl::Device_Helper::duplicate(::hpp::manipulation_idl::Device_ptr obj) {
305 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
306 }
307
308 hpp::manipulation_idl::Device_ptr
309 hpp::manipulation_idl::Device::_duplicate(::hpp::manipulation_idl::Device_ptr obj)
310 {
311 if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj);
312 return obj;
313 }
314
315 hpp::manipulation_idl::Device_ptr
316 hpp::manipulation_idl::Device::_narrow(::CORBA::Object_ptr obj)
317 {
318 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
319 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
320 return e ? e : _nil();
321 }
322
323
324 hpp::manipulation_idl::Device_ptr
325 hpp::manipulation_idl::Device::_unchecked_narrow(::CORBA::Object_ptr obj)
326 {
327 if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
328 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
329 return e ? e : _nil();
330 }
331
332 hpp::manipulation_idl::Device_ptr
333 hpp::manipulation_idl::Device::_nil()
334 {
335 #ifdef OMNI_UNLOADABLE_STUBS
336 static _objref_Device _the_nil_obj;
337 return &_the_nil_obj;
338 #else
339 static _objref_Device* _the_nil_ptr = 0;
340 if (!_the_nil_ptr) {
341 omni::nilRefLock().lock();
342 if (!_the_nil_ptr) {
343 _the_nil_ptr = new _objref_Device;
344 registerNilCorbaObject(_the_nil_ptr);
345 }
346 omni::nilRefLock().unlock();
347 }
348 return _the_nil_ptr;
349 #endif
350 }
351
352 const char* hpp::manipulation_idl::Device::_PD_repoId = "IDL:hpp/manipulation_idl/Device:1.0";
353
354
355 typedef hpp::pinocchio_idl::Device hpp_pinocchio_idl_Device;
356 typedef hpp::pinocchio_idl::_impl_Device hpp_pinocchio_idl__impl_Device;
357 typedef hpp::pinocchio_idl::_objref_Device hpp_pinocchio_idl__objref_Device;
358
359 hpp::manipulation_idl::_objref_Device::~_objref_Device() {
360
361 }
362
363
364 hpp::manipulation_idl::_objref_Device::_objref_Device(omniIOR* ior, omniIdentity* id) :
365 omniObjRef(::hpp::manipulation_idl::Device::_PD_repoId, ior, id, 1),
366 hpp_pinocchio_idl__objref_Device(ior, id)
367
368 {
369 _PR_setobj(this);
370 }
371
372 void*
373 hpp::manipulation_idl::_objref_Device::_ptrToObjRef(const char* id)
374 {
375 if (id == ::hpp::manipulation_idl::Device::_PD_repoId)
376 return (::hpp::manipulation_idl::Device_ptr) this;
377 if (id == ::hpp::pinocchio_idl::Device::_PD_repoId)
378 return (::hpp::pinocchio_idl::Device_ptr) this;
379
380
381 if (id == ::CORBA::Object::_PD_repoId)
382 return (::CORBA::Object_ptr) this;
383
384 if (omni::strMatch(id, ::hpp::manipulation_idl::Device::_PD_repoId))
385 return (::hpp::manipulation_idl::Device_ptr) this;
386 if (omni::strMatch(id, ::hpp::pinocchio_idl::Device::_PD_repoId))
387 return (::hpp::pinocchio_idl::Device_ptr) this;
388
389
390 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
391 return (::CORBA::Object_ptr) this;
392
393 return 0;
394 }
395
396
397 //
398 // Code for hpp::manipulation_idl::Device::getHandleNames
399
400 // Proxy call descriptor class. Mangled signature:
401 // _chpp_mNames__t_e_chpp_mError
402 class _0RL_cd_23b050a7a3b3f002_20000000
403 : public omniCallDescriptor
404 {
405 public:
406 inline _0RL_cd_23b050a7a3b3f002_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
407 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
408 {
409
410 }
411
412
413 void unmarshalReturnedValues(cdrStream&);
414 void marshalReturnedValues(cdrStream&);
415
416 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
417 static const char* const _user_exns[];
418
419 hpp::Names_t_var result;
420 };
421
422 void _0RL_cd_23b050a7a3b3f002_20000000::marshalReturnedValues(cdrStream& _n)
423 {
424 (const hpp::Names_t&) result >>= _n;
425
426 }
427
428 void _0RL_cd_23b050a7a3b3f002_20000000::unmarshalReturnedValues(cdrStream& _n)
429 {
430 result = new hpp::Names_t;
431 (hpp::Names_t&)result <<= _n;
432
433 }
434
435 const char* const _0RL_cd_23b050a7a3b3f002_20000000::_user_exns[] = {
436 hpp::Error::_PD_repoId
437 };
438
439 void _0RL_cd_23b050a7a3b3f002_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
440 {
441 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
442 hpp::Error _ex;
443 _ex <<= s;
444 if (iop_client) iop_client->RequestCompleted();
445 throw _ex;
446 }
447
448
449 else {
450 if (iop_client) iop_client->RequestCompleted(1);
451 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
452 (::CORBA::CompletionStatus)s.completion());
453 }
454 }
455
456 // Local call call-back function.
457 static void
458 _0RL_lcfn_23b050a7a3b3f002_30000000(omniCallDescriptor* cd, omniServant* svnt)
459 {
460 _0RL_cd_23b050a7a3b3f002_20000000* tcd = (_0RL_cd_23b050a7a3b3f002_20000000*)cd;
461 hpp::manipulation_idl::_impl_Device* impl = (hpp::manipulation_idl::_impl_Device*) svnt->_ptrToInterface(hpp::manipulation_idl::Device::_PD_repoId);
462 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
463 tcd->result = impl->getHandleNames();
464 #else
465 if (!cd->is_upcall())
466 tcd->result = impl->getHandleNames();
467 else {
468 try {
469 tcd->result = impl->getHandleNames();
470 }
471 catch(hpp::Error& ex) {
472 throw omniORB::StubUserException(ex._NP_duplicate());
473 }
474
475
476 }
477 #endif
478
479
480 }
481
482 hpp::Names_t* hpp::manipulation_idl::_objref_Device::getHandleNames()
483 {
484 _0RL_cd_23b050a7a3b3f002_20000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_30000000, "getHandleNames", 15);
485
486
487 _invoke(_call_desc);
488 return _call_desc.result._retn();
489
490
491 }
492
493
494 //
495 // Code for hpp::manipulation_idl::Device::getHandle
496
497 // Proxy call descriptor class. Mangled signature:
498 // _chpp_mmanipulation__idl_mHandle_i_cstring_e_chpp_mError
499 class _0RL_cd_23b050a7a3b3f002_40000000
500 : public omniCallDescriptor
501 {
502 public:
503 inline _0RL_cd_23b050a7a3b3f002_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
504 : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
505 {
506
507 }
508
509 void marshalArguments(cdrStream&);
510 void unmarshalArguments(cdrStream&);
511
512 void unmarshalReturnedValues(cdrStream&);
513 void marshalReturnedValues(cdrStream&);
514
515 void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
516 static const char* const _user_exns[];
517
518 ::CORBA::String_var arg_0_;
519 const char* arg_0;
520 hpp::manipulation_idl::Handle_var result;
521 };
522
523 void _0RL_cd_23b050a7a3b3f002_40000000::marshalArguments(cdrStream& _n)
524 {
525 _n.marshalString(arg_0,0);
526
527 }
528
529 void _0RL_cd_23b050a7a3b3f002_40000000::unmarshalArguments(cdrStream& _n)
530 {
531 arg_0_ = _n.unmarshalString(0);
532 arg_0 = arg_0_.in();
533
534 }
535
536 void _0RL_cd_23b050a7a3b3f002_40000000::marshalReturnedValues(cdrStream& _n)
537 {
538 hpp::manipulation_idl::Handle::_marshalObjRef(result,_n);
539
540 }
541
542 void _0RL_cd_23b050a7a3b3f002_40000000::unmarshalReturnedValues(cdrStream& _n)
543 {
544 result = hpp::manipulation_idl::Handle::_unmarshalObjRef(_n);
545
546 }
547
548 const char* const _0RL_cd_23b050a7a3b3f002_40000000::_user_exns[] = {
549 hpp::Error::_PD_repoId
550 };
551
552 void _0RL_cd_23b050a7a3b3f002_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
553 {
554 if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) {
555 hpp::Error _ex;
556 _ex <<= s;
557 if (iop_client) iop_client->RequestCompleted();
558 throw _ex;
559 }
560
561
562 else {
563 if (iop_client) iop_client->RequestCompleted(1);
564 OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
565 (::CORBA::CompletionStatus)s.completion());
566 }
567 }
568
569 // Local call call-back function.
570 static void
571 _0RL_lcfn_23b050a7a3b3f002_50000000(omniCallDescriptor* cd, omniServant* svnt)
572 {
573 _0RL_cd_23b050a7a3b3f002_40000000* tcd = (_0RL_cd_23b050a7a3b3f002_40000000*)cd;
574 hpp::manipulation_idl::_impl_Device* impl = (hpp::manipulation_idl::_impl_Device*) svnt->_ptrToInterface(hpp::manipulation_idl::Device::_PD_repoId);
575 #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base
576 tcd->result = impl->getHandle(tcd->arg_0);
577 #else
578 if (!cd->is_upcall())
579 tcd->result = impl->getHandle(tcd->arg_0);
580 else {
581 try {
582 tcd->result = impl->getHandle(tcd->arg_0);
583 }
584 catch(hpp::Error& ex) {
585 throw omniORB::StubUserException(ex._NP_duplicate());
586 }
587
588
589 }
590 #endif
591
592
593 }
594
595 hpp::manipulation_idl::Handle_ptr hpp::manipulation_idl::_objref_Device::getHandle(const char* name)
596 {
597 _0RL_cd_23b050a7a3b3f002_40000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_50000000, "getHandle", 10);
598 _call_desc.arg_0 = name;
599
600 _invoke(_call_desc);
601 return _call_desc.result._retn();
602
603
604 }
605
606 hpp::manipulation_idl::_pof_Device::~_pof_Device() {}
607
608
609 omniObjRef*
610 hpp::manipulation_idl::_pof_Device::newObjRef(omniIOR* ior, omniIdentity* id)
611 {
612 return new ::hpp::manipulation_idl::_objref_Device(ior, id);
613 }
614
615
616 ::CORBA::Boolean
617 hpp::manipulation_idl::_pof_Device::is_a(const char* id) const
618 {
619 if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::Device::_PD_repoId))
620 return 1;
621 if (omni::ptrStrMatch(id, hpp::pinocchio_idl::Device::_PD_repoId))
622 return 1;
623
624
625 return 0;
626 }
627
628 const hpp::manipulation_idl::_pof_Device _the_pof_hpp_mmanipulation__idl_mDevice;
629
630 hpp::manipulation_idl::_impl_Device::~_impl_Device() {}
631
632
633 ::CORBA::Boolean
634 hpp::manipulation_idl::_impl_Device::_dispatch(omniCallHandle& _handle)
635 {
636 const char* op = _handle.operation_name();
637
638 if (omni::strMatch(op, "getHandleNames")) {
639
640 _0RL_cd_23b050a7a3b3f002_20000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_30000000, "getHandleNames", 15, 1);
641
642 _handle.upcall(this,_call_desc);
643 return 1;
644 }
645
646 if (omni::strMatch(op, "getHandle")) {
647
648 _0RL_cd_23b050a7a3b3f002_40000000 _call_desc(_0RL_lcfn_23b050a7a3b3f002_50000000, "getHandle", 10, 1);
649
650 _handle.upcall(this,_call_desc);
651 return 1;
652 }
653
654
655 #ifndef _MSC_VER
656 if (hpp_pinocchio_idl__impl_Device::_dispatch(_handle)) {
657 return 1;
658 }
659 #else
660 // Work-around for incorrect MSVC code generation.
661 if (((hpp_pinocchio_idl__impl_Device*)this)->
662 hpp_pinocchio_idl__impl_Device::_dispatch(_handle)) {
663 return 1;
664 }
665 #endif
666
667
668 return 0;
669 }
670
671 void*
672 hpp::manipulation_idl::_impl_Device::_ptrToInterface(const char* id)
673 {
674 if (id == ::hpp::manipulation_idl::Device::_PD_repoId)
675 return (::hpp::manipulation_idl::_impl_Device*) this;
676 if (id == ::hpp::pinocchio_idl::Device::_PD_repoId)
677 return (::hpp::pinocchio_idl::_impl_Device*) this;
678
679
680 if (id == ::CORBA::Object::_PD_repoId)
681 return (void*) 1;
682
683 if (omni::strMatch(id, ::hpp::manipulation_idl::Device::_PD_repoId))
684 return (::hpp::manipulation_idl::_impl_Device*) this;
685 if (omni::strMatch(id, ::hpp::pinocchio_idl::Device::_PD_repoId))
686 return (::hpp::pinocchio_idl::_impl_Device*) this;
687
688
689 if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
690 return (void*) 1;
691 return 0;
692 }
693
694 const char*
695 hpp::manipulation_idl::_impl_Device::_mostDerivedRepoId()
696 {
697 return ::hpp::manipulation_idl::Device::_PD_repoId;
698 }
699
700 POA_hpp::manipulation_idl::Handle::~Handle() {}
701
702 POA_hpp::manipulation_idl::Device::~Device() {}
703
704