GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/gepetto/viewer/corba/graphical-interfaceSK.cc Lines: 0 2781 0.0 %
Date: 2024-04-11 13:16:18 Branches: 0 1606 0.0 %

Line Branch Exec Source
1
// This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit.
2
3
#include "graphical-interface.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
static const char* _0RL_library_version = omniORB_4_2;
14
15
16
17
::CORBA::Exception::insertExceptionToAny gepetto::Error::insertToAnyFn = 0;
18
::CORBA::Exception::insertExceptionToAnyNCP gepetto::Error::insertToAnyFnNCP = 0;
19
20
gepetto::Error::Error(const gepetto::Error& _s) : ::CORBA::UserException(_s)
21
{
22
  msg = _s.msg;
23
24
}
25
26
gepetto::Error::Error(const char* _msg)
27
{
28
  pd_insertToAnyFn    = gepetto::Error::insertToAnyFn;
29
  pd_insertToAnyFnNCP = gepetto::Error::insertToAnyFnNCP;
30
  msg = _msg;
31
32
}
33
34
35
36
gepetto::Error& gepetto::Error::operator=(const gepetto::Error& _s)
37
{
38
  if (&_s != this) {
39
    ((::CORBA::UserException*) this)->operator=(_s);
40
    msg = _s.msg;
41
42
  }
43
  return *this;
44
}
45
46
gepetto::Error::~Error() {}
47
48
void gepetto::Error::_raise() const { throw *this; }
49
50
const char* gepetto::Error::_PD_repoId = "IDL:gepetto/Error:1.0";
51
const char* gepetto::Error::_PD_typeId = "Exception/UserException/gepetto::Error";
52
53
gepetto::Error* gepetto::Error::_downcast(::CORBA::Exception* _e) {
54
  return (Error*) _NP_is_a(_e, _PD_typeId);
55
}
56
57
const gepetto::Error* gepetto::Error::_downcast(const ::CORBA::Exception* _e) {
58
  return (const Error*) _NP_is_a(_e, _PD_typeId);
59
}
60
61
::CORBA::Exception* gepetto::Error::_NP_duplicate() const {
62
  return new Error(*this);
63
}
64
65
const char* gepetto::Error::_NP_typeId() const {
66
  return _PD_typeId;
67
}
68
69
const char* gepetto::Error::_NP_repoId(int* _size) const {
70
  *_size = sizeof("IDL:gepetto/Error:1.0");
71
  return _PD_repoId;
72
}
73
74
void gepetto::Error::_NP_marshal(cdrStream& _s) const {
75
  *this >>= _s;
76
}
77
78
void
79
gepetto::Error::operator>>= (cdrStream& _n) const
80
{
81
  _n.marshalString(msg,0);
82
83
}
84
85
void
86
gepetto::Error::operator<<= (cdrStream& _n)
87
{
88
  msg = _n.unmarshalString(0);
89
90
}
91
92
gepetto::corbaserver::NodeCallback_ptr gepetto::corbaserver::NodeCallback_Helper::_nil() {
93
  return ::gepetto::corbaserver::NodeCallback::_nil();
94
}
95
96
::CORBA::Boolean gepetto::corbaserver::NodeCallback_Helper::is_nil(::gepetto::corbaserver::NodeCallback_ptr p) {
97
  return ::CORBA::is_nil(p);
98
99
}
100
101
void gepetto::corbaserver::NodeCallback_Helper::release(::gepetto::corbaserver::NodeCallback_ptr p) {
102
  ::CORBA::release(p);
103
}
104
105
void gepetto::corbaserver::NodeCallback_Helper::marshalObjRef(::gepetto::corbaserver::NodeCallback_ptr obj, cdrStream& s) {
106
  ::gepetto::corbaserver::NodeCallback::_marshalObjRef(obj, s);
107
}
108
109
gepetto::corbaserver::NodeCallback_ptr gepetto::corbaserver::NodeCallback_Helper::unmarshalObjRef(cdrStream& s) {
110
  return ::gepetto::corbaserver::NodeCallback::_unmarshalObjRef(s);
111
}
112
113
void gepetto::corbaserver::NodeCallback_Helper::duplicate(::gepetto::corbaserver::NodeCallback_ptr obj) {
114
  if (obj && !obj->_NP_is_nil())  omni::duplicateObjRef(obj);
115
}
116
117
gepetto::corbaserver::NodeCallback_ptr
118
gepetto::corbaserver::NodeCallback::_duplicate(::gepetto::corbaserver::NodeCallback_ptr obj)
119
{
120
  if (obj && !obj->_NP_is_nil())  omni::duplicateObjRef(obj);
121
  return obj;
122
}
123
124
gepetto::corbaserver::NodeCallback_ptr
125
gepetto::corbaserver::NodeCallback::_narrow(::CORBA::Object_ptr obj)
126
{
127
  if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
128
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
129
  return e ? e : _nil();
130
}
131
132
133
gepetto::corbaserver::NodeCallback_ptr
134
gepetto::corbaserver::NodeCallback::_unchecked_narrow(::CORBA::Object_ptr obj)
135
{
136
  if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
137
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
138
  return e ? e : _nil();
139
}
140
141
gepetto::corbaserver::NodeCallback_ptr
142
gepetto::corbaserver::NodeCallback::_nil()
143
{
144
#ifdef OMNI_UNLOADABLE_STUBS
145
  static _objref_NodeCallback _the_nil_obj;
146
  return &_the_nil_obj;
147
#else
148
  static _objref_NodeCallback* _the_nil_ptr = 0;
149
  if (!_the_nil_ptr) {
150
    omni::nilRefLock().lock();
151
    if (!_the_nil_ptr) {
152
      _the_nil_ptr = new _objref_NodeCallback;
153
      registerNilCorbaObject(_the_nil_ptr);
154
    }
155
    omni::nilRefLock().unlock();
156
  }
157
  return _the_nil_ptr;
158
#endif
159
}
160
161
const char* gepetto::corbaserver::NodeCallback::_PD_repoId = "IDL:gepetto/corbaserver/NodeCallback:1.0";
162
163
164
gepetto::corbaserver::_objref_NodeCallback::~_objref_NodeCallback() {
165
166
}
167
168
169
gepetto::corbaserver::_objref_NodeCallback::_objref_NodeCallback(omniIOR* ior, omniIdentity* id) :
170
   omniObjRef(::gepetto::corbaserver::NodeCallback::_PD_repoId, ior, id, 1)
171
172
173
{
174
  _PR_setobj(this);
175
}
176
177
void*
178
gepetto::corbaserver::_objref_NodeCallback::_ptrToObjRef(const char* id)
179
{
180
  if (id == ::gepetto::corbaserver::NodeCallback::_PD_repoId)
181
    return (::gepetto::corbaserver::NodeCallback_ptr) this;
182
183
  if (id == ::CORBA::Object::_PD_repoId)
184
    return (::CORBA::Object_ptr) this;
185
186
  if (omni::strMatch(id, ::gepetto::corbaserver::NodeCallback::_PD_repoId))
187
    return (::gepetto::corbaserver::NodeCallback_ptr) this;
188
189
  if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
190
    return (::CORBA::Object_ptr) this;
191
192
  return 0;
193
}
194
195
196
//
197
// Code for gepetto::corbaserver::NodeCallback::selected
198
199
// Proxy call descriptor class. Mangled signature:
200
//  void_i_cstring_i_a3_cfloat_i_a3_cfloat_e_cgepetto_mError
201
class _0RL_cd_0e2b00c21b9f97c5_00000000
202
  : public omniCallDescriptor
203
{
204
public:
205
  inline _0RL_cd_0e2b00c21b9f97c5_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
206
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
207
  {
208
209
  }
210
211
  void marshalArguments(cdrStream&);
212
  void unmarshalArguments(cdrStream&);
213
214
215
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
216
  static const char* const _user_exns[];
217
218
  ::CORBA::String_var arg_0_;
219
  const char* arg_0;
220
  gepetto::corbaserver::Position arg_1_;
221
  const gepetto::corbaserver::Position_slice* arg_1;
222
  gepetto::corbaserver::Position arg_2_;
223
  const gepetto::corbaserver::Position_slice* arg_2;
224
};
225
226
void _0RL_cd_0e2b00c21b9f97c5_00000000::marshalArguments(cdrStream& _n)
227
{
228
  _n.marshalString(arg_0,0);
229
  if (! _n.marshal_byte_swap()) {
230
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
231
  }
232
  else
233
  {
234
    _n.declareArrayLength(omni::ALIGN_4, 12);
235
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
236
      arg_1[_0i0] >>= _n;
237
    }
238
  }
239
  if (! _n.marshal_byte_swap()) {
240
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
241
  }
242
  else
243
  {
244
    _n.declareArrayLength(omni::ALIGN_4, 12);
245
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
246
      arg_2[_0i0] >>= _n;
247
    }
248
  }
249
250
}
251
252
void _0RL_cd_0e2b00c21b9f97c5_00000000::unmarshalArguments(cdrStream& _n)
253
{
254
  arg_0_ = _n.unmarshalString(0);
255
  arg_0 = arg_0_.in();
256
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
257
  arg_1 = &arg_1_[0];
258
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
259
  arg_2 = &arg_2_[0];
260
261
}
262
263
const char* const _0RL_cd_0e2b00c21b9f97c5_00000000::_user_exns[] = {
264
  gepetto::Error::_PD_repoId
265
};
266
267
void _0RL_cd_0e2b00c21b9f97c5_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
268
{
269
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
270
    gepetto::Error _ex;
271
    _ex <<= s;
272
    if (iop_client) iop_client->RequestCompleted();
273
    throw _ex;
274
  }
275
276
277
  else {
278
    if (iop_client) iop_client->RequestCompleted(1);
279
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
280
                  (::CORBA::CompletionStatus)s.completion());
281
  }
282
}
283
284
// Local call call-back function.
285
static void
286
_0RL_lcfn_0e2b00c21b9f97c5_10000000(omniCallDescriptor* cd, omniServant* svnt)
287
{
288
  _0RL_cd_0e2b00c21b9f97c5_00000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_00000000*)cd;
289
  gepetto::corbaserver::_impl_NodeCallback* impl = (gepetto::corbaserver::_impl_NodeCallback*) svnt->_ptrToInterface(gepetto::corbaserver::NodeCallback::_PD_repoId);
290
#ifdef HAS_Cplusplus_catch_exception_by_base
291
  impl->selected(tcd->arg_0, tcd->arg_1, tcd->arg_2);
292
#else
293
  if (!cd->is_upcall())
294
    impl->selected(tcd->arg_0, tcd->arg_1, tcd->arg_2);
295
  else {
296
    try {
297
      impl->selected(tcd->arg_0, tcd->arg_1, tcd->arg_2);
298
    }
299
    catch(gepetto::Error& ex) {
300
      throw omniORB::StubUserException(ex._NP_duplicate());
301
    }
302
303
304
  }
305
#endif
306
307
308
}
309
310
void gepetto::corbaserver::_objref_NodeCallback::selected(const char* name, const ::gepetto::corbaserver::Position positionInWorldFrame, const ::gepetto::corbaserver::Position normalInLocalFrame)
311
{
312
  _0RL_cd_0e2b00c21b9f97c5_00000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_10000000, "selected", 9);
313
  _call_desc.arg_0 = name;
314
  _call_desc.arg_1 = &positionInWorldFrame[0];
315
  _call_desc.arg_2 = &normalInLocalFrame[0];
316
317
  _invoke(_call_desc);
318
319
320
321
}
322
323
gepetto::corbaserver::_pof_NodeCallback::~_pof_NodeCallback() {}
324
325
326
omniObjRef*
327
gepetto::corbaserver::_pof_NodeCallback::newObjRef(omniIOR* ior, omniIdentity* id)
328
{
329
  return new ::gepetto::corbaserver::_objref_NodeCallback(ior, id);
330
}
331
332
333
::CORBA::Boolean
334
gepetto::corbaserver::_pof_NodeCallback::is_a(const char* id) const
335
{
336
  if (omni::ptrStrMatch(id, ::gepetto::corbaserver::NodeCallback::_PD_repoId))
337
    return 1;
338
339
  return 0;
340
}
341
342
const gepetto::corbaserver::_pof_NodeCallback _the_pof_gepetto_mcorbaserver_mNodeCallback;
343
344
gepetto::corbaserver::_impl_NodeCallback::~_impl_NodeCallback() {}
345
346
347
::CORBA::Boolean
348
gepetto::corbaserver::_impl_NodeCallback::_dispatch(omniCallHandle& _handle)
349
{
350
  const char* op = _handle.operation_name();
351
352
  if (omni::strMatch(op, "selected")) {
353
354
    _0RL_cd_0e2b00c21b9f97c5_00000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_10000000, "selected", 9, 1);
355
356
    _handle.upcall(this,_call_desc);
357
    return 1;
358
  }
359
360
361
  return 0;
362
}
363
364
void*
365
gepetto::corbaserver::_impl_NodeCallback::_ptrToInterface(const char* id)
366
{
367
  if (id == ::gepetto::corbaserver::NodeCallback::_PD_repoId)
368
    return (::gepetto::corbaserver::_impl_NodeCallback*) this;
369
370
  if (id == ::CORBA::Object::_PD_repoId)
371
    return (void*) 1;
372
373
  if (omni::strMatch(id, ::gepetto::corbaserver::NodeCallback::_PD_repoId))
374
    return (::gepetto::corbaserver::_impl_NodeCallback*) this;
375
376
  if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
377
    return (void*) 1;
378
  return 0;
379
}
380
381
const char*
382
gepetto::corbaserver::_impl_NodeCallback::_mostDerivedRepoId()
383
{
384
  return ::gepetto::corbaserver::NodeCallback::_PD_repoId;
385
}
386
387
gepetto::corbaserver::GraphicalInterface_ptr gepetto::corbaserver::GraphicalInterface_Helper::_nil() {
388
  return ::gepetto::corbaserver::GraphicalInterface::_nil();
389
}
390
391
::CORBA::Boolean gepetto::corbaserver::GraphicalInterface_Helper::is_nil(::gepetto::corbaserver::GraphicalInterface_ptr p) {
392
  return ::CORBA::is_nil(p);
393
394
}
395
396
void gepetto::corbaserver::GraphicalInterface_Helper::release(::gepetto::corbaserver::GraphicalInterface_ptr p) {
397
  ::CORBA::release(p);
398
}
399
400
void gepetto::corbaserver::GraphicalInterface_Helper::marshalObjRef(::gepetto::corbaserver::GraphicalInterface_ptr obj, cdrStream& s) {
401
  ::gepetto::corbaserver::GraphicalInterface::_marshalObjRef(obj, s);
402
}
403
404
gepetto::corbaserver::GraphicalInterface_ptr gepetto::corbaserver::GraphicalInterface_Helper::unmarshalObjRef(cdrStream& s) {
405
  return ::gepetto::corbaserver::GraphicalInterface::_unmarshalObjRef(s);
406
}
407
408
void gepetto::corbaserver::GraphicalInterface_Helper::duplicate(::gepetto::corbaserver::GraphicalInterface_ptr obj) {
409
  if (obj && !obj->_NP_is_nil())  omni::duplicateObjRef(obj);
410
}
411
412
gepetto::corbaserver::GraphicalInterface_ptr
413
gepetto::corbaserver::GraphicalInterface::_duplicate(::gepetto::corbaserver::GraphicalInterface_ptr obj)
414
{
415
  if (obj && !obj->_NP_is_nil())  omni::duplicateObjRef(obj);
416
  return obj;
417
}
418
419
gepetto::corbaserver::GraphicalInterface_ptr
420
gepetto::corbaserver::GraphicalInterface::_narrow(::CORBA::Object_ptr obj)
421
{
422
  if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
423
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
424
  return e ? e : _nil();
425
}
426
427
428
gepetto::corbaserver::GraphicalInterface_ptr
429
gepetto::corbaserver::GraphicalInterface::_unchecked_narrow(::CORBA::Object_ptr obj)
430
{
431
  if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil();
432
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
433
  return e ? e : _nil();
434
}
435
436
gepetto::corbaserver::GraphicalInterface_ptr
437
gepetto::corbaserver::GraphicalInterface::_nil()
438
{
439
#ifdef OMNI_UNLOADABLE_STUBS
440
  static _objref_GraphicalInterface _the_nil_obj;
441
  return &_the_nil_obj;
442
#else
443
  static _objref_GraphicalInterface* _the_nil_ptr = 0;
444
  if (!_the_nil_ptr) {
445
    omni::nilRefLock().lock();
446
    if (!_the_nil_ptr) {
447
      _the_nil_ptr = new _objref_GraphicalInterface;
448
      registerNilCorbaObject(_the_nil_ptr);
449
    }
450
    omni::nilRefLock().unlock();
451
  }
452
  return _the_nil_ptr;
453
#endif
454
}
455
456
const char* gepetto::corbaserver::GraphicalInterface::_PD_repoId = "IDL:gepetto/corbaserver/GraphicalInterface:1.0";
457
458
459
gepetto::corbaserver::_objref_GraphicalInterface::~_objref_GraphicalInterface() {
460
461
}
462
463
464
gepetto::corbaserver::_objref_GraphicalInterface::_objref_GraphicalInterface(omniIOR* ior, omniIdentity* id) :
465
   omniObjRef(::gepetto::corbaserver::GraphicalInterface::_PD_repoId, ior, id, 1)
466
467
468
{
469
  _PR_setobj(this);
470
}
471
472
void*
473
gepetto::corbaserver::_objref_GraphicalInterface::_ptrToObjRef(const char* id)
474
{
475
  if (id == ::gepetto::corbaserver::GraphicalInterface::_PD_repoId)
476
    return (::gepetto::corbaserver::GraphicalInterface_ptr) this;
477
478
  if (id == ::CORBA::Object::_PD_repoId)
479
    return (::CORBA::Object_ptr) this;
480
481
  if (omni::strMatch(id, ::gepetto::corbaserver::GraphicalInterface::_PD_repoId))
482
    return (::gepetto::corbaserver::GraphicalInterface_ptr) this;
483
484
  if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
485
    return (::CORBA::Object_ptr) this;
486
487
  return 0;
488
}
489
490
491
//
492
// Code for gepetto::corbaserver::GraphicalInterface::createWindow
493
494
// Proxy call descriptor class. Mangled signature:
495
//  _cstring_i_cstring_e_cgepetto_mError
496
class _0RL_cd_0e2b00c21b9f97c5_20000000
497
  : public omniCallDescriptor
498
{
499
public:
500
  inline _0RL_cd_0e2b00c21b9f97c5_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
501
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
502
  {
503
504
  }
505
506
  void marshalArguments(cdrStream&);
507
  void unmarshalArguments(cdrStream&);
508
509
  void unmarshalReturnedValues(cdrStream&);
510
  void marshalReturnedValues(cdrStream&);
511
512
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
513
  static const char* const _user_exns[];
514
515
  ::CORBA::String_var arg_0_;
516
  const char* arg_0;
517
  ::CORBA::String_var result;
518
};
519
520
void _0RL_cd_0e2b00c21b9f97c5_20000000::marshalArguments(cdrStream& _n)
521
{
522
  _n.marshalString(arg_0,0);
523
524
}
525
526
void _0RL_cd_0e2b00c21b9f97c5_20000000::unmarshalArguments(cdrStream& _n)
527
{
528
  arg_0_ = _n.unmarshalString(0);
529
  arg_0 = arg_0_.in();
530
531
}
532
533
void _0RL_cd_0e2b00c21b9f97c5_20000000::marshalReturnedValues(cdrStream& _n)
534
{
535
  _n.marshalString(result,0);
536
537
}
538
539
void _0RL_cd_0e2b00c21b9f97c5_20000000::unmarshalReturnedValues(cdrStream& _n)
540
{
541
  result = _n.unmarshalString(0);
542
543
}
544
545
const char* const _0RL_cd_0e2b00c21b9f97c5_20000000::_user_exns[] = {
546
  gepetto::Error::_PD_repoId
547
};
548
549
void _0RL_cd_0e2b00c21b9f97c5_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
550
{
551
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
552
    gepetto::Error _ex;
553
    _ex <<= s;
554
    if (iop_client) iop_client->RequestCompleted();
555
    throw _ex;
556
  }
557
558
559
  else {
560
    if (iop_client) iop_client->RequestCompleted(1);
561
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
562
                  (::CORBA::CompletionStatus)s.completion());
563
  }
564
}
565
566
// Local call call-back function.
567
static void
568
_0RL_lcfn_0e2b00c21b9f97c5_30000000(omniCallDescriptor* cd, omniServant* svnt)
569
{
570
  _0RL_cd_0e2b00c21b9f97c5_20000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_20000000*)cd;
571
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
572
#ifdef HAS_Cplusplus_catch_exception_by_base
573
  tcd->result = impl->createWindow(tcd->arg_0);
574
#else
575
  if (!cd->is_upcall())
576
    tcd->result = impl->createWindow(tcd->arg_0);
577
  else {
578
    try {
579
      tcd->result = impl->createWindow(tcd->arg_0);
580
    }
581
    catch(gepetto::Error& ex) {
582
      throw omniORB::StubUserException(ex._NP_duplicate());
583
    }
584
585
586
  }
587
#endif
588
589
590
}
591
592
char* gepetto::corbaserver::_objref_GraphicalInterface::createWindow(const char* name)
593
{
594
  _0RL_cd_0e2b00c21b9f97c5_20000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_30000000, "createWindow", 13);
595
  _call_desc.arg_0 = name;
596
597
  _invoke(_call_desc);
598
  return _call_desc.result._retn();
599
600
601
}
602
603
604
//
605
// Code for gepetto::corbaserver::GraphicalInterface::getWindowID
606
607
// Local call call-back function.
608
static void
609
_0RL_lcfn_0e2b00c21b9f97c5_40000000(omniCallDescriptor* cd, omniServant* svnt)
610
{
611
  _0RL_cd_0e2b00c21b9f97c5_20000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_20000000*)cd;
612
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
613
#ifdef HAS_Cplusplus_catch_exception_by_base
614
  tcd->result = impl->getWindowID(tcd->arg_0);
615
#else
616
  if (!cd->is_upcall())
617
    tcd->result = impl->getWindowID(tcd->arg_0);
618
  else {
619
    try {
620
      tcd->result = impl->getWindowID(tcd->arg_0);
621
    }
622
    catch(gepetto::Error& ex) {
623
      throw omniORB::StubUserException(ex._NP_duplicate());
624
    }
625
626
627
  }
628
#endif
629
630
631
}
632
633
char* gepetto::corbaserver::_objref_GraphicalInterface::getWindowID(const char* name)
634
{
635
  _0RL_cd_0e2b00c21b9f97c5_20000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_40000000, "getWindowID", 12);
636
  _call_desc.arg_0 = name;
637
638
  _invoke(_call_desc);
639
  return _call_desc.result._retn();
640
641
642
}
643
644
645
//
646
// Code for gepetto::corbaserver::GraphicalInterface::setBackgroundColor1
647
648
// Proxy call descriptor class. Mangled signature:
649
//  _cboolean_i_cstring_i_a4_cfloat
650
class _0RL_cd_0e2b00c21b9f97c5_50000000
651
  : public omniCallDescriptor
652
{
653
public:
654
  inline _0RL_cd_0e2b00c21b9f97c5_50000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
655
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 0, upcall)
656
  {
657
658
  }
659
660
  void marshalArguments(cdrStream&);
661
  void unmarshalArguments(cdrStream&);
662
663
  void unmarshalReturnedValues(cdrStream&);
664
  void marshalReturnedValues(cdrStream&);
665
666
667
  static const char* const _user_exns[];
668
669
  ::CORBA::String_var arg_0_;
670
  const char* arg_0;
671
  gepetto::corbaserver::Color arg_1_;
672
  const gepetto::corbaserver::Color_slice* arg_1;
673
  ::CORBA::Boolean result;
674
};
675
676
void _0RL_cd_0e2b00c21b9f97c5_50000000::marshalArguments(cdrStream& _n)
677
{
678
  _n.marshalString(arg_0,0);
679
  if (! _n.marshal_byte_swap()) {
680
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),16,omni::ALIGN_4);
681
  }
682
  else
683
  {
684
    _n.declareArrayLength(omni::ALIGN_4, 16);
685
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
686
      arg_1[_0i0] >>= _n;
687
    }
688
  }
689
690
}
691
692
void _0RL_cd_0e2b00c21b9f97c5_50000000::unmarshalArguments(cdrStream& _n)
693
{
694
  arg_0_ = _n.unmarshalString(0);
695
  arg_0 = arg_0_.in();
696
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 4);
697
  arg_1 = &arg_1_[0];
698
699
}
700
701
void _0RL_cd_0e2b00c21b9f97c5_50000000::marshalReturnedValues(cdrStream& _n)
702
{
703
  _n.marshalBoolean(result);
704
705
}
706
707
void _0RL_cd_0e2b00c21b9f97c5_50000000::unmarshalReturnedValues(cdrStream& _n)
708
{
709
  result = _n.unmarshalBoolean();
710
711
}
712
713
const char* const _0RL_cd_0e2b00c21b9f97c5_50000000::_user_exns[] = {
714
  0
715
};
716
717
// Local call call-back function.
718
static void
719
_0RL_lcfn_0e2b00c21b9f97c5_60000000(omniCallDescriptor* cd, omniServant* svnt)
720
{
721
  _0RL_cd_0e2b00c21b9f97c5_50000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_50000000*)cd;
722
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
723
  tcd->result = impl->setBackgroundColor1(tcd->arg_0, tcd->arg_1);
724
725
726
}
727
728
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setBackgroundColor1(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor)
729
{
730
  _0RL_cd_0e2b00c21b9f97c5_50000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_60000000, "setBackgroundColor1", 20);
731
  _call_desc.arg_0 = wid;
732
  _call_desc.arg_1 = &RGBAcolor[0];
733
734
  _invoke(_call_desc);
735
  return _call_desc.result;
736
737
738
}
739
740
741
//
742
// Code for gepetto::corbaserver::GraphicalInterface::setBackgroundColor2
743
744
// Local call call-back function.
745
static void
746
_0RL_lcfn_0e2b00c21b9f97c5_70000000(omniCallDescriptor* cd, omniServant* svnt)
747
{
748
  _0RL_cd_0e2b00c21b9f97c5_50000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_50000000*)cd;
749
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
750
  tcd->result = impl->setBackgroundColor2(tcd->arg_0, tcd->arg_1);
751
752
753
}
754
755
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setBackgroundColor2(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor)
756
{
757
  _0RL_cd_0e2b00c21b9f97c5_50000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_70000000, "setBackgroundColor2", 20);
758
  _call_desc.arg_0 = wid;
759
  _call_desc.arg_1 = &RGBAcolor[0];
760
761
  _invoke(_call_desc);
762
  return _call_desc.result;
763
764
765
}
766
767
768
//
769
// Code for gepetto::corbaserver::GraphicalInterface::createScene
770
771
// Proxy call descriptor class. Mangled signature:
772
//  void_i_cstring_e_cgepetto_mError
773
class _0RL_cd_0e2b00c21b9f97c5_80000000
774
  : public omniCallDescriptor
775
{
776
public:
777
  inline _0RL_cd_0e2b00c21b9f97c5_80000000(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::String_var arg_0_;
791
  const char* arg_0;
792
};
793
794
void _0RL_cd_0e2b00c21b9f97c5_80000000::marshalArguments(cdrStream& _n)
795
{
796
  _n.marshalString(arg_0,0);
797
798
}
799
800
void _0RL_cd_0e2b00c21b9f97c5_80000000::unmarshalArguments(cdrStream& _n)
801
{
802
  arg_0_ = _n.unmarshalString(0);
803
  arg_0 = arg_0_.in();
804
805
}
806
807
const char* const _0RL_cd_0e2b00c21b9f97c5_80000000::_user_exns[] = {
808
  gepetto::Error::_PD_repoId
809
};
810
811
void _0RL_cd_0e2b00c21b9f97c5_80000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
812
{
813
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
814
    gepetto::Error _ex;
815
    _ex <<= s;
816
    if (iop_client) iop_client->RequestCompleted();
817
    throw _ex;
818
  }
819
820
821
  else {
822
    if (iop_client) iop_client->RequestCompleted(1);
823
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
824
                  (::CORBA::CompletionStatus)s.completion());
825
  }
826
}
827
828
// Local call call-back function.
829
static void
830
_0RL_lcfn_0e2b00c21b9f97c5_90000000(omniCallDescriptor* cd, omniServant* svnt)
831
{
832
  _0RL_cd_0e2b00c21b9f97c5_80000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_80000000*)cd;
833
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
834
#ifdef HAS_Cplusplus_catch_exception_by_base
835
  impl->createScene(tcd->arg_0);
836
#else
837
  if (!cd->is_upcall())
838
    impl->createScene(tcd->arg_0);
839
  else {
840
    try {
841
      impl->createScene(tcd->arg_0);
842
    }
843
    catch(gepetto::Error& ex) {
844
      throw omniORB::StubUserException(ex._NP_duplicate());
845
    }
846
847
848
  }
849
#endif
850
851
852
}
853
854
void gepetto::corbaserver::_objref_GraphicalInterface::createScene(const char* sceneName)
855
{
856
  _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_90000000, "createScene", 12);
857
  _call_desc.arg_0 = sceneName;
858
859
  _invoke(_call_desc);
860
861
862
863
}
864
865
866
//
867
// Code for gepetto::corbaserver::GraphicalInterface::createSceneWithFloor
868
869
// Local call call-back function.
870
static void
871
_0RL_lcfn_0e2b00c21b9f97c5_a0000000(omniCallDescriptor* cd, omniServant* svnt)
872
{
873
  _0RL_cd_0e2b00c21b9f97c5_80000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_80000000*)cd;
874
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
875
#ifdef HAS_Cplusplus_catch_exception_by_base
876
  impl->createSceneWithFloor(tcd->arg_0);
877
#else
878
  if (!cd->is_upcall())
879
    impl->createSceneWithFloor(tcd->arg_0);
880
  else {
881
    try {
882
      impl->createSceneWithFloor(tcd->arg_0);
883
    }
884
    catch(gepetto::Error& ex) {
885
      throw omniORB::StubUserException(ex._NP_duplicate());
886
    }
887
888
889
  }
890
#endif
891
892
893
}
894
895
void gepetto::corbaserver::_objref_GraphicalInterface::createSceneWithFloor(const char* sceneName)
896
{
897
  _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a0000000, "createSceneWithFloor", 21);
898
  _call_desc.arg_0 = sceneName;
899
900
  _invoke(_call_desc);
901
902
903
904
}
905
906
907
//
908
// Code for gepetto::corbaserver::GraphicalInterface::addSceneToWindow
909
910
// Proxy call descriptor class. Mangled signature:
911
//  _cboolean_i_cstring_i_cstring_e_cgepetto_mError
912
class _0RL_cd_0e2b00c21b9f97c5_b0000000
913
  : public omniCallDescriptor
914
{
915
public:
916
  inline _0RL_cd_0e2b00c21b9f97c5_b0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
917
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
918
  {
919
920
  }
921
922
  void marshalArguments(cdrStream&);
923
  void unmarshalArguments(cdrStream&);
924
925
  void unmarshalReturnedValues(cdrStream&);
926
  void marshalReturnedValues(cdrStream&);
927
928
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
929
  static const char* const _user_exns[];
930
931
  ::CORBA::String_var arg_0_;
932
  const char* arg_0;
933
  ::CORBA::String_var arg_1_;
934
  const char* arg_1;
935
  ::CORBA::Boolean result;
936
};
937
938
void _0RL_cd_0e2b00c21b9f97c5_b0000000::marshalArguments(cdrStream& _n)
939
{
940
  _n.marshalString(arg_0,0);
941
  _n.marshalString(arg_1,0);
942
943
}
944
945
void _0RL_cd_0e2b00c21b9f97c5_b0000000::unmarshalArguments(cdrStream& _n)
946
{
947
  arg_0_ = _n.unmarshalString(0);
948
  arg_0 = arg_0_.in();
949
  arg_1_ = _n.unmarshalString(0);
950
  arg_1 = arg_1_.in();
951
952
}
953
954
void _0RL_cd_0e2b00c21b9f97c5_b0000000::marshalReturnedValues(cdrStream& _n)
955
{
956
  _n.marshalBoolean(result);
957
958
}
959
960
void _0RL_cd_0e2b00c21b9f97c5_b0000000::unmarshalReturnedValues(cdrStream& _n)
961
{
962
  result = _n.unmarshalBoolean();
963
964
}
965
966
const char* const _0RL_cd_0e2b00c21b9f97c5_b0000000::_user_exns[] = {
967
  gepetto::Error::_PD_repoId
968
};
969
970
void _0RL_cd_0e2b00c21b9f97c5_b0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
971
{
972
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
973
    gepetto::Error _ex;
974
    _ex <<= s;
975
    if (iop_client) iop_client->RequestCompleted();
976
    throw _ex;
977
  }
978
979
980
  else {
981
    if (iop_client) iop_client->RequestCompleted(1);
982
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
983
                  (::CORBA::CompletionStatus)s.completion());
984
  }
985
}
986
987
// Local call call-back function.
988
static void
989
_0RL_lcfn_0e2b00c21b9f97c5_c0000000(omniCallDescriptor* cd, omniServant* svnt)
990
{
991
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
992
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
993
#ifdef HAS_Cplusplus_catch_exception_by_base
994
  tcd->result = impl->addSceneToWindow(tcd->arg_0, tcd->arg_1);
995
#else
996
  if (!cd->is_upcall())
997
    tcd->result = impl->addSceneToWindow(tcd->arg_0, tcd->arg_1);
998
  else {
999
    try {
1000
      tcd->result = impl->addSceneToWindow(tcd->arg_0, tcd->arg_1);
1001
    }
1002
    catch(gepetto::Error& ex) {
1003
      throw omniORB::StubUserException(ex._NP_duplicate());
1004
    }
1005
1006
1007
  }
1008
#endif
1009
1010
1011
}
1012
1013
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addSceneToWindow(const char* sceneName, const char* wid)
1014
{
1015
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c0000000, "addSceneToWindow", 17);
1016
  _call_desc.arg_0 = sceneName;
1017
  _call_desc.arg_1 = wid;
1018
1019
  _invoke(_call_desc);
1020
  return _call_desc.result;
1021
1022
1023
}
1024
1025
1026
//
1027
// Code for gepetto::corbaserver::GraphicalInterface::addFloor
1028
1029
// Proxy call descriptor class. Mangled signature:
1030
//  _cboolean_i_cstring_e_cgepetto_mError
1031
class _0RL_cd_0e2b00c21b9f97c5_d0000000
1032
  : public omniCallDescriptor
1033
{
1034
public:
1035
  inline _0RL_cd_0e2b00c21b9f97c5_d0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1036
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1037
  {
1038
1039
  }
1040
1041
  void marshalArguments(cdrStream&);
1042
  void unmarshalArguments(cdrStream&);
1043
1044
  void unmarshalReturnedValues(cdrStream&);
1045
  void marshalReturnedValues(cdrStream&);
1046
1047
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1048
  static const char* const _user_exns[];
1049
1050
  ::CORBA::String_var arg_0_;
1051
  const char* arg_0;
1052
  ::CORBA::Boolean result;
1053
};
1054
1055
void _0RL_cd_0e2b00c21b9f97c5_d0000000::marshalArguments(cdrStream& _n)
1056
{
1057
  _n.marshalString(arg_0,0);
1058
1059
}
1060
1061
void _0RL_cd_0e2b00c21b9f97c5_d0000000::unmarshalArguments(cdrStream& _n)
1062
{
1063
  arg_0_ = _n.unmarshalString(0);
1064
  arg_0 = arg_0_.in();
1065
1066
}
1067
1068
void _0RL_cd_0e2b00c21b9f97c5_d0000000::marshalReturnedValues(cdrStream& _n)
1069
{
1070
  _n.marshalBoolean(result);
1071
1072
}
1073
1074
void _0RL_cd_0e2b00c21b9f97c5_d0000000::unmarshalReturnedValues(cdrStream& _n)
1075
{
1076
  result = _n.unmarshalBoolean();
1077
1078
}
1079
1080
const char* const _0RL_cd_0e2b00c21b9f97c5_d0000000::_user_exns[] = {
1081
  gepetto::Error::_PD_repoId
1082
};
1083
1084
void _0RL_cd_0e2b00c21b9f97c5_d0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1085
{
1086
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1087
    gepetto::Error _ex;
1088
    _ex <<= s;
1089
    if (iop_client) iop_client->RequestCompleted();
1090
    throw _ex;
1091
  }
1092
1093
1094
  else {
1095
    if (iop_client) iop_client->RequestCompleted(1);
1096
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1097
                  (::CORBA::CompletionStatus)s.completion());
1098
  }
1099
}
1100
1101
// Local call call-back function.
1102
static void
1103
_0RL_lcfn_0e2b00c21b9f97c5_e0000000(omniCallDescriptor* cd, omniServant* svnt)
1104
{
1105
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
1106
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1107
#ifdef HAS_Cplusplus_catch_exception_by_base
1108
  tcd->result = impl->addFloor(tcd->arg_0);
1109
#else
1110
  if (!cd->is_upcall())
1111
    tcd->result = impl->addFloor(tcd->arg_0);
1112
  else {
1113
    try {
1114
      tcd->result = impl->addFloor(tcd->arg_0);
1115
    }
1116
    catch(gepetto::Error& ex) {
1117
      throw omniORB::StubUserException(ex._NP_duplicate());
1118
    }
1119
1120
1121
  }
1122
#endif
1123
1124
1125
}
1126
1127
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addFloor(const char* floorName)
1128
{
1129
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e0000000, "addFloor", 9);
1130
  _call_desc.arg_0 = floorName;
1131
1132
  _invoke(_call_desc);
1133
  return _call_desc.result;
1134
1135
1136
}
1137
1138
1139
//
1140
// Code for gepetto::corbaserver::GraphicalInterface::addBox
1141
1142
// Proxy call descriptor class. Mangled signature:
1143
//  _cboolean_i_cstring_i_cfloat_i_cfloat_i_cfloat_i_a4_cfloat_e_cgepetto_mError
1144
class _0RL_cd_0e2b00c21b9f97c5_f0000000
1145
  : public omniCallDescriptor
1146
{
1147
public:
1148
  inline _0RL_cd_0e2b00c21b9f97c5_f0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1149
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1150
  {
1151
1152
  }
1153
1154
  void marshalArguments(cdrStream&);
1155
  void unmarshalArguments(cdrStream&);
1156
1157
  void unmarshalReturnedValues(cdrStream&);
1158
  void marshalReturnedValues(cdrStream&);
1159
1160
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1161
  static const char* const _user_exns[];
1162
1163
  ::CORBA::String_var arg_0_;
1164
  const char* arg_0;
1165
  ::CORBA::Float arg_1;
1166
  ::CORBA::Float arg_2;
1167
  ::CORBA::Float arg_3;
1168
  gepetto::corbaserver::Color arg_4_;
1169
  const gepetto::corbaserver::Color_slice* arg_4;
1170
  ::CORBA::Boolean result;
1171
};
1172
1173
void _0RL_cd_0e2b00c21b9f97c5_f0000000::marshalArguments(cdrStream& _n)
1174
{
1175
  _n.marshalString(arg_0,0);
1176
  arg_1 >>= _n;
1177
  arg_2 >>= _n;
1178
  arg_3 >>= _n;
1179
  if (! _n.marshal_byte_swap()) {
1180
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_4),16,omni::ALIGN_4);
1181
  }
1182
  else
1183
  {
1184
    _n.declareArrayLength(omni::ALIGN_4, 16);
1185
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
1186
      arg_4[_0i0] >>= _n;
1187
    }
1188
  }
1189
1190
}
1191
1192
void _0RL_cd_0e2b00c21b9f97c5_f0000000::unmarshalArguments(cdrStream& _n)
1193
{
1194
  arg_0_ = _n.unmarshalString(0);
1195
  arg_0 = arg_0_.in();
1196
  (::CORBA::Float&)arg_1 <<= _n;
1197
  (::CORBA::Float&)arg_2 <<= _n;
1198
  (::CORBA::Float&)arg_3 <<= _n;
1199
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_4_), 4);
1200
  arg_4 = &arg_4_[0];
1201
1202
}
1203
1204
void _0RL_cd_0e2b00c21b9f97c5_f0000000::marshalReturnedValues(cdrStream& _n)
1205
{
1206
  _n.marshalBoolean(result);
1207
1208
}
1209
1210
void _0RL_cd_0e2b00c21b9f97c5_f0000000::unmarshalReturnedValues(cdrStream& _n)
1211
{
1212
  result = _n.unmarshalBoolean();
1213
1214
}
1215
1216
const char* const _0RL_cd_0e2b00c21b9f97c5_f0000000::_user_exns[] = {
1217
  gepetto::Error::_PD_repoId
1218
};
1219
1220
void _0RL_cd_0e2b00c21b9f97c5_f0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1221
{
1222
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1223
    gepetto::Error _ex;
1224
    _ex <<= s;
1225
    if (iop_client) iop_client->RequestCompleted();
1226
    throw _ex;
1227
  }
1228
1229
1230
  else {
1231
    if (iop_client) iop_client->RequestCompleted(1);
1232
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1233
                  (::CORBA::CompletionStatus)s.completion());
1234
  }
1235
}
1236
1237
// Local call call-back function.
1238
static void
1239
_0RL_lcfn_0e2b00c21b9f97c5_01000000(omniCallDescriptor* cd, omniServant* svnt)
1240
{
1241
  _0RL_cd_0e2b00c21b9f97c5_f0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_f0000000*)cd;
1242
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1243
#ifdef HAS_Cplusplus_catch_exception_by_base
1244
  tcd->result = impl->addBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1245
#else
1246
  if (!cd->is_upcall())
1247
    tcd->result = impl->addBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1248
  else {
1249
    try {
1250
      tcd->result = impl->addBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1251
    }
1252
    catch(gepetto::Error& ex) {
1253
      throw omniORB::StubUserException(ex._NP_duplicate());
1254
    }
1255
1256
1257
  }
1258
#endif
1259
1260
1261
}
1262
1263
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addBox(const char* boxName, ::CORBA::Float boxSize1, ::CORBA::Float boxSize2, ::CORBA::Float boxSize3, const ::gepetto::corbaserver::Color RGBAcolor)
1264
{
1265
  _0RL_cd_0e2b00c21b9f97c5_f0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_01000000, "addBox", 7);
1266
  _call_desc.arg_0 = boxName;
1267
  _call_desc.arg_1 = boxSize1;
1268
  _call_desc.arg_2 = boxSize2;
1269
  _call_desc.arg_3 = boxSize3;
1270
  _call_desc.arg_4 = &RGBAcolor[0];
1271
1272
  _invoke(_call_desc);
1273
  return _call_desc.result;
1274
1275
1276
}
1277
1278
1279
//
1280
// Code for gepetto::corbaserver::GraphicalInterface::addCapsule
1281
1282
// Proxy call descriptor class. Mangled signature:
1283
//  _cboolean_i_cstring_i_cfloat_i_cfloat_i_a4_cfloat_e_cgepetto_mError
1284
class _0RL_cd_0e2b00c21b9f97c5_11000000
1285
  : public omniCallDescriptor
1286
{
1287
public:
1288
  inline _0RL_cd_0e2b00c21b9f97c5_11000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1289
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1290
  {
1291
1292
  }
1293
1294
  void marshalArguments(cdrStream&);
1295
  void unmarshalArguments(cdrStream&);
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
  ::CORBA::String_var arg_0_;
1304
  const char* arg_0;
1305
  ::CORBA::Float arg_1;
1306
  ::CORBA::Float arg_2;
1307
  gepetto::corbaserver::Color arg_3_;
1308
  const gepetto::corbaserver::Color_slice* arg_3;
1309
  ::CORBA::Boolean result;
1310
};
1311
1312
void _0RL_cd_0e2b00c21b9f97c5_11000000::marshalArguments(cdrStream& _n)
1313
{
1314
  _n.marshalString(arg_0,0);
1315
  arg_1 >>= _n;
1316
  arg_2 >>= _n;
1317
  if (! _n.marshal_byte_swap()) {
1318
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_3),16,omni::ALIGN_4);
1319
  }
1320
  else
1321
  {
1322
    _n.declareArrayLength(omni::ALIGN_4, 16);
1323
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
1324
      arg_3[_0i0] >>= _n;
1325
    }
1326
  }
1327
1328
}
1329
1330
void _0RL_cd_0e2b00c21b9f97c5_11000000::unmarshalArguments(cdrStream& _n)
1331
{
1332
  arg_0_ = _n.unmarshalString(0);
1333
  arg_0 = arg_0_.in();
1334
  (::CORBA::Float&)arg_1 <<= _n;
1335
  (::CORBA::Float&)arg_2 <<= _n;
1336
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_3_), 4);
1337
  arg_3 = &arg_3_[0];
1338
1339
}
1340
1341
void _0RL_cd_0e2b00c21b9f97c5_11000000::marshalReturnedValues(cdrStream& _n)
1342
{
1343
  _n.marshalBoolean(result);
1344
1345
}
1346
1347
void _0RL_cd_0e2b00c21b9f97c5_11000000::unmarshalReturnedValues(cdrStream& _n)
1348
{
1349
  result = _n.unmarshalBoolean();
1350
1351
}
1352
1353
const char* const _0RL_cd_0e2b00c21b9f97c5_11000000::_user_exns[] = {
1354
  gepetto::Error::_PD_repoId
1355
};
1356
1357
void _0RL_cd_0e2b00c21b9f97c5_11000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1358
{
1359
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1360
    gepetto::Error _ex;
1361
    _ex <<= s;
1362
    if (iop_client) iop_client->RequestCompleted();
1363
    throw _ex;
1364
  }
1365
1366
1367
  else {
1368
    if (iop_client) iop_client->RequestCompleted(1);
1369
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1370
                  (::CORBA::CompletionStatus)s.completion());
1371
  }
1372
}
1373
1374
// Local call call-back function.
1375
static void
1376
_0RL_lcfn_0e2b00c21b9f97c5_21000000(omniCallDescriptor* cd, omniServant* svnt)
1377
{
1378
  _0RL_cd_0e2b00c21b9f97c5_11000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_11000000*)cd;
1379
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1380
#ifdef HAS_Cplusplus_catch_exception_by_base
1381
  tcd->result = impl->addCapsule(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1382
#else
1383
  if (!cd->is_upcall())
1384
    tcd->result = impl->addCapsule(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1385
  else {
1386
    try {
1387
      tcd->result = impl->addCapsule(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1388
    }
1389
    catch(gepetto::Error& ex) {
1390
      throw omniORB::StubUserException(ex._NP_duplicate());
1391
    }
1392
1393
1394
  }
1395
#endif
1396
1397
1398
}
1399
1400
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addCapsule(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor)
1401
{
1402
  _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_21000000, "addCapsule", 11);
1403
  _call_desc.arg_0 = name;
1404
  _call_desc.arg_1 = radius;
1405
  _call_desc.arg_2 = height;
1406
  _call_desc.arg_3 = &RGBAcolor[0];
1407
1408
  _invoke(_call_desc);
1409
  return _call_desc.result;
1410
1411
1412
}
1413
1414
1415
//
1416
// Code for gepetto::corbaserver::GraphicalInterface::addArrow
1417
1418
// Local call call-back function.
1419
static void
1420
_0RL_lcfn_0e2b00c21b9f97c5_31000000(omniCallDescriptor* cd, omniServant* svnt)
1421
{
1422
  _0RL_cd_0e2b00c21b9f97c5_11000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_11000000*)cd;
1423
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1424
#ifdef HAS_Cplusplus_catch_exception_by_base
1425
  tcd->result = impl->addArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1426
#else
1427
  if (!cd->is_upcall())
1428
    tcd->result = impl->addArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1429
  else {
1430
    try {
1431
      tcd->result = impl->addArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1432
    }
1433
    catch(gepetto::Error& ex) {
1434
      throw omniORB::StubUserException(ex._NP_duplicate());
1435
    }
1436
1437
1438
  }
1439
#endif
1440
1441
1442
}
1443
1444
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addArrow(const char* name, ::CORBA::Float radius, ::CORBA::Float length, const ::gepetto::corbaserver::Color RGBAcolor)
1445
{
1446
  _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_31000000, "addArrow", 9);
1447
  _call_desc.arg_0 = name;
1448
  _call_desc.arg_1 = radius;
1449
  _call_desc.arg_2 = length;
1450
  _call_desc.arg_3 = &RGBAcolor[0];
1451
1452
  _invoke(_call_desc);
1453
  return _call_desc.result;
1454
1455
1456
}
1457
1458
1459
//
1460
// Code for gepetto::corbaserver::GraphicalInterface::addRod
1461
1462
// Proxy call descriptor class. Mangled signature:
1463
//  _cboolean_i_cstring_i_a4_cfloat_i_cfloat_i_cfloat_i_cshort_e_cgepetto_mError
1464
class _0RL_cd_0e2b00c21b9f97c5_41000000
1465
  : public omniCallDescriptor
1466
{
1467
public:
1468
  inline _0RL_cd_0e2b00c21b9f97c5_41000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1469
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1470
  {
1471
1472
  }
1473
1474
  void marshalArguments(cdrStream&);
1475
  void unmarshalArguments(cdrStream&);
1476
1477
  void unmarshalReturnedValues(cdrStream&);
1478
  void marshalReturnedValues(cdrStream&);
1479
1480
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1481
  static const char* const _user_exns[];
1482
1483
  ::CORBA::String_var arg_0_;
1484
  const char* arg_0;
1485
  gepetto::corbaserver::Color arg_1_;
1486
  const gepetto::corbaserver::Color_slice* arg_1;
1487
  ::CORBA::Float arg_2;
1488
  ::CORBA::Float arg_3;
1489
  ::CORBA::Short arg_4;
1490
  ::CORBA::Boolean result;
1491
};
1492
1493
void _0RL_cd_0e2b00c21b9f97c5_41000000::marshalArguments(cdrStream& _n)
1494
{
1495
  _n.marshalString(arg_0,0);
1496
  if (! _n.marshal_byte_swap()) {
1497
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),16,omni::ALIGN_4);
1498
  }
1499
  else
1500
  {
1501
    _n.declareArrayLength(omni::ALIGN_4, 16);
1502
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
1503
      arg_1[_0i0] >>= _n;
1504
    }
1505
  }
1506
  arg_2 >>= _n;
1507
  arg_3 >>= _n;
1508
  arg_4 >>= _n;
1509
1510
}
1511
1512
void _0RL_cd_0e2b00c21b9f97c5_41000000::unmarshalArguments(cdrStream& _n)
1513
{
1514
  arg_0_ = _n.unmarshalString(0);
1515
  arg_0 = arg_0_.in();
1516
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 4);
1517
  arg_1 = &arg_1_[0];
1518
  (::CORBA::Float&)arg_2 <<= _n;
1519
  (::CORBA::Float&)arg_3 <<= _n;
1520
  (::CORBA::Short&)arg_4 <<= _n;
1521
1522
}
1523
1524
void _0RL_cd_0e2b00c21b9f97c5_41000000::marshalReturnedValues(cdrStream& _n)
1525
{
1526
  _n.marshalBoolean(result);
1527
1528
}
1529
1530
void _0RL_cd_0e2b00c21b9f97c5_41000000::unmarshalReturnedValues(cdrStream& _n)
1531
{
1532
  result = _n.unmarshalBoolean();
1533
1534
}
1535
1536
const char* const _0RL_cd_0e2b00c21b9f97c5_41000000::_user_exns[] = {
1537
  gepetto::Error::_PD_repoId
1538
};
1539
1540
void _0RL_cd_0e2b00c21b9f97c5_41000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1541
{
1542
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1543
    gepetto::Error _ex;
1544
    _ex <<= s;
1545
    if (iop_client) iop_client->RequestCompleted();
1546
    throw _ex;
1547
  }
1548
1549
1550
  else {
1551
    if (iop_client) iop_client->RequestCompleted(1);
1552
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1553
                  (::CORBA::CompletionStatus)s.completion());
1554
  }
1555
}
1556
1557
// Local call call-back function.
1558
static void
1559
_0RL_lcfn_0e2b00c21b9f97c5_51000000(omniCallDescriptor* cd, omniServant* svnt)
1560
{
1561
  _0RL_cd_0e2b00c21b9f97c5_41000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_41000000*)cd;
1562
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1563
#ifdef HAS_Cplusplus_catch_exception_by_base
1564
  tcd->result = impl->addRod(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1565
#else
1566
  if (!cd->is_upcall())
1567
    tcd->result = impl->addRod(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1568
  else {
1569
    try {
1570
      tcd->result = impl->addRod(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
1571
    }
1572
    catch(gepetto::Error& ex) {
1573
      throw omniORB::StubUserException(ex._NP_duplicate());
1574
    }
1575
1576
1577
  }
1578
#endif
1579
1580
1581
}
1582
1583
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addRod(const char* rodName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float totalLength, ::CORBA::Short maxCapsule)
1584
{
1585
  _0RL_cd_0e2b00c21b9f97c5_41000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_51000000, "addRod", 7);
1586
  _call_desc.arg_0 = rodName;
1587
  _call_desc.arg_1 = &RGBAcolor[0];
1588
  _call_desc.arg_2 = radius;
1589
  _call_desc.arg_3 = totalLength;
1590
  _call_desc.arg_4 = maxCapsule;
1591
1592
  _invoke(_call_desc);
1593
  return _call_desc.result;
1594
1595
1596
}
1597
1598
1599
//
1600
// Code for gepetto::corbaserver::GraphicalInterface::resizeCapsule
1601
1602
// Proxy call descriptor class. Mangled signature:
1603
//  _cboolean_i_cstring_i_cfloat_e_cgepetto_mError
1604
class _0RL_cd_0e2b00c21b9f97c5_61000000
1605
  : public omniCallDescriptor
1606
{
1607
public:
1608
  inline _0RL_cd_0e2b00c21b9f97c5_61000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1609
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1610
  {
1611
1612
  }
1613
1614
  void marshalArguments(cdrStream&);
1615
  void unmarshalArguments(cdrStream&);
1616
1617
  void unmarshalReturnedValues(cdrStream&);
1618
  void marshalReturnedValues(cdrStream&);
1619
1620
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1621
  static const char* const _user_exns[];
1622
1623
  ::CORBA::String_var arg_0_;
1624
  const char* arg_0;
1625
  ::CORBA::Float arg_1;
1626
  ::CORBA::Boolean result;
1627
};
1628
1629
void _0RL_cd_0e2b00c21b9f97c5_61000000::marshalArguments(cdrStream& _n)
1630
{
1631
  _n.marshalString(arg_0,0);
1632
  arg_1 >>= _n;
1633
1634
}
1635
1636
void _0RL_cd_0e2b00c21b9f97c5_61000000::unmarshalArguments(cdrStream& _n)
1637
{
1638
  arg_0_ = _n.unmarshalString(0);
1639
  arg_0 = arg_0_.in();
1640
  (::CORBA::Float&)arg_1 <<= _n;
1641
1642
}
1643
1644
void _0RL_cd_0e2b00c21b9f97c5_61000000::marshalReturnedValues(cdrStream& _n)
1645
{
1646
  _n.marshalBoolean(result);
1647
1648
}
1649
1650
void _0RL_cd_0e2b00c21b9f97c5_61000000::unmarshalReturnedValues(cdrStream& _n)
1651
{
1652
  result = _n.unmarshalBoolean();
1653
1654
}
1655
1656
const char* const _0RL_cd_0e2b00c21b9f97c5_61000000::_user_exns[] = {
1657
  gepetto::Error::_PD_repoId
1658
};
1659
1660
void _0RL_cd_0e2b00c21b9f97c5_61000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1661
{
1662
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1663
    gepetto::Error _ex;
1664
    _ex <<= s;
1665
    if (iop_client) iop_client->RequestCompleted();
1666
    throw _ex;
1667
  }
1668
1669
1670
  else {
1671
    if (iop_client) iop_client->RequestCompleted(1);
1672
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1673
                  (::CORBA::CompletionStatus)s.completion());
1674
  }
1675
}
1676
1677
// Local call call-back function.
1678
static void
1679
_0RL_lcfn_0e2b00c21b9f97c5_71000000(omniCallDescriptor* cd, omniServant* svnt)
1680
{
1681
  _0RL_cd_0e2b00c21b9f97c5_61000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_61000000*)cd;
1682
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1683
#ifdef HAS_Cplusplus_catch_exception_by_base
1684
  tcd->result = impl->resizeCapsule(tcd->arg_0, tcd->arg_1);
1685
#else
1686
  if (!cd->is_upcall())
1687
    tcd->result = impl->resizeCapsule(tcd->arg_0, tcd->arg_1);
1688
  else {
1689
    try {
1690
      tcd->result = impl->resizeCapsule(tcd->arg_0, tcd->arg_1);
1691
    }
1692
    catch(gepetto::Error& ex) {
1693
      throw omniORB::StubUserException(ex._NP_duplicate());
1694
    }
1695
1696
1697
  }
1698
#endif
1699
1700
1701
}
1702
1703
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::resizeCapsule(const char* capsuleName, ::CORBA::Float height)
1704
{
1705
  _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_71000000, "resizeCapsule", 14);
1706
  _call_desc.arg_0 = capsuleName;
1707
  _call_desc.arg_1 = height;
1708
1709
  _invoke(_call_desc);
1710
  return _call_desc.result;
1711
1712
1713
}
1714
1715
1716
//
1717
// Code for gepetto::corbaserver::GraphicalInterface::resizeArrow
1718
1719
// Proxy call descriptor class. Mangled signature:
1720
//  _cboolean_i_cstring_i_cfloat_i_cfloat_e_cgepetto_mError
1721
class _0RL_cd_0e2b00c21b9f97c5_81000000
1722
  : public omniCallDescriptor
1723
{
1724
public:
1725
  inline _0RL_cd_0e2b00c21b9f97c5_81000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
1726
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
1727
  {
1728
1729
  }
1730
1731
  void marshalArguments(cdrStream&);
1732
  void unmarshalArguments(cdrStream&);
1733
1734
  void unmarshalReturnedValues(cdrStream&);
1735
  void marshalReturnedValues(cdrStream&);
1736
1737
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
1738
  static const char* const _user_exns[];
1739
1740
  ::CORBA::String_var arg_0_;
1741
  const char* arg_0;
1742
  ::CORBA::Float arg_1;
1743
  ::CORBA::Float arg_2;
1744
  ::CORBA::Boolean result;
1745
};
1746
1747
void _0RL_cd_0e2b00c21b9f97c5_81000000::marshalArguments(cdrStream& _n)
1748
{
1749
  _n.marshalString(arg_0,0);
1750
  arg_1 >>= _n;
1751
  arg_2 >>= _n;
1752
1753
}
1754
1755
void _0RL_cd_0e2b00c21b9f97c5_81000000::unmarshalArguments(cdrStream& _n)
1756
{
1757
  arg_0_ = _n.unmarshalString(0);
1758
  arg_0 = arg_0_.in();
1759
  (::CORBA::Float&)arg_1 <<= _n;
1760
  (::CORBA::Float&)arg_2 <<= _n;
1761
1762
}
1763
1764
void _0RL_cd_0e2b00c21b9f97c5_81000000::marshalReturnedValues(cdrStream& _n)
1765
{
1766
  _n.marshalBoolean(result);
1767
1768
}
1769
1770
void _0RL_cd_0e2b00c21b9f97c5_81000000::unmarshalReturnedValues(cdrStream& _n)
1771
{
1772
  result = _n.unmarshalBoolean();
1773
1774
}
1775
1776
const char* const _0RL_cd_0e2b00c21b9f97c5_81000000::_user_exns[] = {
1777
  gepetto::Error::_PD_repoId
1778
};
1779
1780
void _0RL_cd_0e2b00c21b9f97c5_81000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
1781
{
1782
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
1783
    gepetto::Error _ex;
1784
    _ex <<= s;
1785
    if (iop_client) iop_client->RequestCompleted();
1786
    throw _ex;
1787
  }
1788
1789
1790
  else {
1791
    if (iop_client) iop_client->RequestCompleted(1);
1792
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
1793
                  (::CORBA::CompletionStatus)s.completion());
1794
  }
1795
}
1796
1797
// Local call call-back function.
1798
static void
1799
_0RL_lcfn_0e2b00c21b9f97c5_91000000(omniCallDescriptor* cd, omniServant* svnt)
1800
{
1801
  _0RL_cd_0e2b00c21b9f97c5_81000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_81000000*)cd;
1802
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1803
#ifdef HAS_Cplusplus_catch_exception_by_base
1804
  tcd->result = impl->resizeArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2);
1805
#else
1806
  if (!cd->is_upcall())
1807
    tcd->result = impl->resizeArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2);
1808
  else {
1809
    try {
1810
      tcd->result = impl->resizeArrow(tcd->arg_0, tcd->arg_1, tcd->arg_2);
1811
    }
1812
    catch(gepetto::Error& ex) {
1813
      throw omniORB::StubUserException(ex._NP_duplicate());
1814
    }
1815
1816
1817
  }
1818
#endif
1819
1820
1821
}
1822
1823
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::resizeArrow(const char* capsuleName, ::CORBA::Float radius, ::CORBA::Float length)
1824
{
1825
  _0RL_cd_0e2b00c21b9f97c5_81000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_91000000, "resizeArrow", 12);
1826
  _call_desc.arg_0 = capsuleName;
1827
  _call_desc.arg_1 = radius;
1828
  _call_desc.arg_2 = length;
1829
1830
  _invoke(_call_desc);
1831
  return _call_desc.result;
1832
1833
1834
}
1835
1836
1837
//
1838
// Code for gepetto::corbaserver::GraphicalInterface::addMesh
1839
1840
// Local call call-back function.
1841
static void
1842
_0RL_lcfn_0e2b00c21b9f97c5_a1000000(omniCallDescriptor* cd, omniServant* svnt)
1843
{
1844
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
1845
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1846
#ifdef HAS_Cplusplus_catch_exception_by_base
1847
  tcd->result = impl->addMesh(tcd->arg_0, tcd->arg_1);
1848
#else
1849
  if (!cd->is_upcall())
1850
    tcd->result = impl->addMesh(tcd->arg_0, tcd->arg_1);
1851
  else {
1852
    try {
1853
      tcd->result = impl->addMesh(tcd->arg_0, tcd->arg_1);
1854
    }
1855
    catch(gepetto::Error& ex) {
1856
      throw omniORB::StubUserException(ex._NP_duplicate());
1857
    }
1858
1859
1860
  }
1861
#endif
1862
1863
1864
}
1865
1866
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addMesh(const char* meshName, const char* meshPath)
1867
{
1868
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a1000000, "addMesh", 8);
1869
  _call_desc.arg_0 = meshName;
1870
  _call_desc.arg_1 = meshPath;
1871
1872
  _invoke(_call_desc);
1873
  return _call_desc.result;
1874
1875
1876
}
1877
1878
1879
//
1880
// Code for gepetto::corbaserver::GraphicalInterface::removeLightSources
1881
1882
// Local call call-back function.
1883
static void
1884
_0RL_lcfn_0e2b00c21b9f97c5_b1000000(omniCallDescriptor* cd, omniServant* svnt)
1885
{
1886
  _0RL_cd_0e2b00c21b9f97c5_80000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_80000000*)cd;
1887
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1888
#ifdef HAS_Cplusplus_catch_exception_by_base
1889
  impl->removeLightSources(tcd->arg_0);
1890
#else
1891
  if (!cd->is_upcall())
1892
    impl->removeLightSources(tcd->arg_0);
1893
  else {
1894
    try {
1895
      impl->removeLightSources(tcd->arg_0);
1896
    }
1897
    catch(gepetto::Error& ex) {
1898
      throw omniORB::StubUserException(ex._NP_duplicate());
1899
    }
1900
1901
1902
  }
1903
#endif
1904
1905
1906
}
1907
1908
void gepetto::corbaserver::_objref_GraphicalInterface::removeLightSources(const char* meshName)
1909
{
1910
  _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b1000000, "removeLightSources", 19);
1911
  _call_desc.arg_0 = meshName;
1912
1913
  _invoke(_call_desc);
1914
1915
1916
1917
}
1918
1919
1920
//
1921
// Code for gepetto::corbaserver::GraphicalInterface::addCone
1922
1923
// Local call call-back function.
1924
static void
1925
_0RL_lcfn_0e2b00c21b9f97c5_c1000000(omniCallDescriptor* cd, omniServant* svnt)
1926
{
1927
  _0RL_cd_0e2b00c21b9f97c5_11000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_11000000*)cd;
1928
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1929
#ifdef HAS_Cplusplus_catch_exception_by_base
1930
  tcd->result = impl->addCone(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1931
#else
1932
  if (!cd->is_upcall())
1933
    tcd->result = impl->addCone(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1934
  else {
1935
    try {
1936
      tcd->result = impl->addCone(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1937
    }
1938
    catch(gepetto::Error& ex) {
1939
      throw omniORB::StubUserException(ex._NP_duplicate());
1940
    }
1941
1942
1943
  }
1944
#endif
1945
1946
1947
}
1948
1949
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addCone(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor)
1950
{
1951
  _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c1000000, "addCone", 8);
1952
  _call_desc.arg_0 = name;
1953
  _call_desc.arg_1 = radius;
1954
  _call_desc.arg_2 = height;
1955
  _call_desc.arg_3 = &RGBAcolor[0];
1956
1957
  _invoke(_call_desc);
1958
  return _call_desc.result;
1959
1960
1961
}
1962
1963
1964
//
1965
// Code for gepetto::corbaserver::GraphicalInterface::addCylinder
1966
1967
// Local call call-back function.
1968
static void
1969
_0RL_lcfn_0e2b00c21b9f97c5_d1000000(omniCallDescriptor* cd, omniServant* svnt)
1970
{
1971
  _0RL_cd_0e2b00c21b9f97c5_11000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_11000000*)cd;
1972
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
1973
#ifdef HAS_Cplusplus_catch_exception_by_base
1974
  tcd->result = impl->addCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1975
#else
1976
  if (!cd->is_upcall())
1977
    tcd->result = impl->addCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1978
  else {
1979
    try {
1980
      tcd->result = impl->addCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
1981
    }
1982
    catch(gepetto::Error& ex) {
1983
      throw omniORB::StubUserException(ex._NP_duplicate());
1984
    }
1985
1986
1987
  }
1988
#endif
1989
1990
1991
}
1992
1993
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addCylinder(const char* cylinderName, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor)
1994
{
1995
  _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d1000000, "addCylinder", 12);
1996
  _call_desc.arg_0 = cylinderName;
1997
  _call_desc.arg_1 = radius;
1998
  _call_desc.arg_2 = height;
1999
  _call_desc.arg_3 = &RGBAcolor[0];
2000
2001
  _invoke(_call_desc);
2002
  return _call_desc.result;
2003
2004
2005
}
2006
2007
2008
//
2009
// Code for gepetto::corbaserver::GraphicalInterface::addSphere
2010
2011
// Proxy call descriptor class. Mangled signature:
2012
//  _cboolean_i_cstring_i_cfloat_i_a4_cfloat_e_cgepetto_mError
2013
class _0RL_cd_0e2b00c21b9f97c5_e1000000
2014
  : public omniCallDescriptor
2015
{
2016
public:
2017
  inline _0RL_cd_0e2b00c21b9f97c5_e1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2018
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2019
  {
2020
2021
  }
2022
2023
  void marshalArguments(cdrStream&);
2024
  void unmarshalArguments(cdrStream&);
2025
2026
  void unmarshalReturnedValues(cdrStream&);
2027
  void marshalReturnedValues(cdrStream&);
2028
2029
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2030
  static const char* const _user_exns[];
2031
2032
  ::CORBA::String_var arg_0_;
2033
  const char* arg_0;
2034
  ::CORBA::Float arg_1;
2035
  gepetto::corbaserver::Color arg_2_;
2036
  const gepetto::corbaserver::Color_slice* arg_2;
2037
  ::CORBA::Boolean result;
2038
};
2039
2040
void _0RL_cd_0e2b00c21b9f97c5_e1000000::marshalArguments(cdrStream& _n)
2041
{
2042
  _n.marshalString(arg_0,0);
2043
  arg_1 >>= _n;
2044
  if (! _n.marshal_byte_swap()) {
2045
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),16,omni::ALIGN_4);
2046
  }
2047
  else
2048
  {
2049
    _n.declareArrayLength(omni::ALIGN_4, 16);
2050
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
2051
      arg_2[_0i0] >>= _n;
2052
    }
2053
  }
2054
2055
}
2056
2057
void _0RL_cd_0e2b00c21b9f97c5_e1000000::unmarshalArguments(cdrStream& _n)
2058
{
2059
  arg_0_ = _n.unmarshalString(0);
2060
  arg_0 = arg_0_.in();
2061
  (::CORBA::Float&)arg_1 <<= _n;
2062
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 4);
2063
  arg_2 = &arg_2_[0];
2064
2065
}
2066
2067
void _0RL_cd_0e2b00c21b9f97c5_e1000000::marshalReturnedValues(cdrStream& _n)
2068
{
2069
  _n.marshalBoolean(result);
2070
2071
}
2072
2073
void _0RL_cd_0e2b00c21b9f97c5_e1000000::unmarshalReturnedValues(cdrStream& _n)
2074
{
2075
  result = _n.unmarshalBoolean();
2076
2077
}
2078
2079
const char* const _0RL_cd_0e2b00c21b9f97c5_e1000000::_user_exns[] = {
2080
  gepetto::Error::_PD_repoId
2081
};
2082
2083
void _0RL_cd_0e2b00c21b9f97c5_e1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2084
{
2085
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2086
    gepetto::Error _ex;
2087
    _ex <<= s;
2088
    if (iop_client) iop_client->RequestCompleted();
2089
    throw _ex;
2090
  }
2091
2092
2093
  else {
2094
    if (iop_client) iop_client->RequestCompleted(1);
2095
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2096
                  (::CORBA::CompletionStatus)s.completion());
2097
  }
2098
}
2099
2100
// Local call call-back function.
2101
static void
2102
_0RL_lcfn_0e2b00c21b9f97c5_f1000000(omniCallDescriptor* cd, omniServant* svnt)
2103
{
2104
  _0RL_cd_0e2b00c21b9f97c5_e1000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_e1000000*)cd;
2105
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2106
#ifdef HAS_Cplusplus_catch_exception_by_base
2107
  tcd->result = impl->addSphere(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2108
#else
2109
  if (!cd->is_upcall())
2110
    tcd->result = impl->addSphere(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2111
  else {
2112
    try {
2113
      tcd->result = impl->addSphere(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2114
    }
2115
    catch(gepetto::Error& ex) {
2116
      throw omniORB::StubUserException(ex._NP_duplicate());
2117
    }
2118
2119
2120
  }
2121
#endif
2122
2123
2124
}
2125
2126
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addSphere(const char* sphereName, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor)
2127
{
2128
  _0RL_cd_0e2b00c21b9f97c5_e1000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f1000000, "addSphere", 10);
2129
  _call_desc.arg_0 = sphereName;
2130
  _call_desc.arg_1 = radius;
2131
  _call_desc.arg_2 = &RGBAcolor[0];
2132
2133
  _invoke(_call_desc);
2134
  return _call_desc.result;
2135
2136
2137
}
2138
2139
2140
//
2141
// Code for gepetto::corbaserver::GraphicalInterface::addLight
2142
2143
// Proxy call descriptor class. Mangled signature:
2144
//  _cboolean_i_cstring_i_cstring_i_cfloat_i_a4_cfloat_e_cgepetto_mError
2145
class _0RL_cd_0e2b00c21b9f97c5_02000000
2146
  : public omniCallDescriptor
2147
{
2148
public:
2149
  inline _0RL_cd_0e2b00c21b9f97c5_02000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2150
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2151
  {
2152
2153
  }
2154
2155
  void marshalArguments(cdrStream&);
2156
  void unmarshalArguments(cdrStream&);
2157
2158
  void unmarshalReturnedValues(cdrStream&);
2159
  void marshalReturnedValues(cdrStream&);
2160
2161
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2162
  static const char* const _user_exns[];
2163
2164
  ::CORBA::String_var arg_0_;
2165
  const char* arg_0;
2166
  ::CORBA::String_var arg_1_;
2167
  const char* arg_1;
2168
  ::CORBA::Float arg_2;
2169
  gepetto::corbaserver::Color arg_3_;
2170
  const gepetto::corbaserver::Color_slice* arg_3;
2171
  ::CORBA::Boolean result;
2172
};
2173
2174
void _0RL_cd_0e2b00c21b9f97c5_02000000::marshalArguments(cdrStream& _n)
2175
{
2176
  _n.marshalString(arg_0,0);
2177
  _n.marshalString(arg_1,0);
2178
  arg_2 >>= _n;
2179
  if (! _n.marshal_byte_swap()) {
2180
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_3),16,omni::ALIGN_4);
2181
  }
2182
  else
2183
  {
2184
    _n.declareArrayLength(omni::ALIGN_4, 16);
2185
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
2186
      arg_3[_0i0] >>= _n;
2187
    }
2188
  }
2189
2190
}
2191
2192
void _0RL_cd_0e2b00c21b9f97c5_02000000::unmarshalArguments(cdrStream& _n)
2193
{
2194
  arg_0_ = _n.unmarshalString(0);
2195
  arg_0 = arg_0_.in();
2196
  arg_1_ = _n.unmarshalString(0);
2197
  arg_1 = arg_1_.in();
2198
  (::CORBA::Float&)arg_2 <<= _n;
2199
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_3_), 4);
2200
  arg_3 = &arg_3_[0];
2201
2202
}
2203
2204
void _0RL_cd_0e2b00c21b9f97c5_02000000::marshalReturnedValues(cdrStream& _n)
2205
{
2206
  _n.marshalBoolean(result);
2207
2208
}
2209
2210
void _0RL_cd_0e2b00c21b9f97c5_02000000::unmarshalReturnedValues(cdrStream& _n)
2211
{
2212
  result = _n.unmarshalBoolean();
2213
2214
}
2215
2216
const char* const _0RL_cd_0e2b00c21b9f97c5_02000000::_user_exns[] = {
2217
  gepetto::Error::_PD_repoId
2218
};
2219
2220
void _0RL_cd_0e2b00c21b9f97c5_02000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2221
{
2222
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2223
    gepetto::Error _ex;
2224
    _ex <<= s;
2225
    if (iop_client) iop_client->RequestCompleted();
2226
    throw _ex;
2227
  }
2228
2229
2230
  else {
2231
    if (iop_client) iop_client->RequestCompleted(1);
2232
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2233
                  (::CORBA::CompletionStatus)s.completion());
2234
  }
2235
}
2236
2237
// Local call call-back function.
2238
static void
2239
_0RL_lcfn_0e2b00c21b9f97c5_12000000(omniCallDescriptor* cd, omniServant* svnt)
2240
{
2241
  _0RL_cd_0e2b00c21b9f97c5_02000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_02000000*)cd;
2242
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2243
#ifdef HAS_Cplusplus_catch_exception_by_base
2244
  tcd->result = impl->addLight(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2245
#else
2246
  if (!cd->is_upcall())
2247
    tcd->result = impl->addLight(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2248
  else {
2249
    try {
2250
      tcd->result = impl->addLight(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2251
    }
2252
    catch(gepetto::Error& ex) {
2253
      throw omniORB::StubUserException(ex._NP_duplicate());
2254
    }
2255
2256
2257
  }
2258
#endif
2259
2260
2261
}
2262
2263
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addLight(const char* lightName, const char* wid, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor)
2264
{
2265
  _0RL_cd_0e2b00c21b9f97c5_02000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_12000000, "addLight", 9);
2266
  _call_desc.arg_0 = lightName;
2267
  _call_desc.arg_1 = wid;
2268
  _call_desc.arg_2 = radius;
2269
  _call_desc.arg_3 = &RGBAcolor[0];
2270
2271
  _invoke(_call_desc);
2272
  return _call_desc.result;
2273
2274
2275
}
2276
2277
2278
//
2279
// Code for gepetto::corbaserver::GraphicalInterface::addLine
2280
2281
// Proxy call descriptor class. Mangled signature:
2282
//  _cboolean_i_cstring_i_a3_cfloat_i_a3_cfloat_i_a4_cfloat_e_cgepetto_mError
2283
class _0RL_cd_0e2b00c21b9f97c5_22000000
2284
  : public omniCallDescriptor
2285
{
2286
public:
2287
  inline _0RL_cd_0e2b00c21b9f97c5_22000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2288
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2289
  {
2290
2291
  }
2292
2293
  void marshalArguments(cdrStream&);
2294
  void unmarshalArguments(cdrStream&);
2295
2296
  void unmarshalReturnedValues(cdrStream&);
2297
  void marshalReturnedValues(cdrStream&);
2298
2299
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2300
  static const char* const _user_exns[];
2301
2302
  ::CORBA::String_var arg_0_;
2303
  const char* arg_0;
2304
  gepetto::corbaserver::Position arg_1_;
2305
  const gepetto::corbaserver::Position_slice* arg_1;
2306
  gepetto::corbaserver::Position arg_2_;
2307
  const gepetto::corbaserver::Position_slice* arg_2;
2308
  gepetto::corbaserver::Color arg_3_;
2309
  const gepetto::corbaserver::Color_slice* arg_3;
2310
  ::CORBA::Boolean result;
2311
};
2312
2313
void _0RL_cd_0e2b00c21b9f97c5_22000000::marshalArguments(cdrStream& _n)
2314
{
2315
  _n.marshalString(arg_0,0);
2316
  if (! _n.marshal_byte_swap()) {
2317
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
2318
  }
2319
  else
2320
  {
2321
    _n.declareArrayLength(omni::ALIGN_4, 12);
2322
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
2323
      arg_1[_0i0] >>= _n;
2324
    }
2325
  }
2326
  if (! _n.marshal_byte_swap()) {
2327
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
2328
  }
2329
  else
2330
  {
2331
    _n.declareArrayLength(omni::ALIGN_4, 12);
2332
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
2333
      arg_2[_0i0] >>= _n;
2334
    }
2335
  }
2336
  if (! _n.marshal_byte_swap()) {
2337
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_3),16,omni::ALIGN_4);
2338
  }
2339
  else
2340
  {
2341
    _n.declareArrayLength(omni::ALIGN_4, 16);
2342
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
2343
      arg_3[_0i0] >>= _n;
2344
    }
2345
  }
2346
2347
}
2348
2349
void _0RL_cd_0e2b00c21b9f97c5_22000000::unmarshalArguments(cdrStream& _n)
2350
{
2351
  arg_0_ = _n.unmarshalString(0);
2352
  arg_0 = arg_0_.in();
2353
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
2354
  arg_1 = &arg_1_[0];
2355
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
2356
  arg_2 = &arg_2_[0];
2357
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_3_), 4);
2358
  arg_3 = &arg_3_[0];
2359
2360
}
2361
2362
void _0RL_cd_0e2b00c21b9f97c5_22000000::marshalReturnedValues(cdrStream& _n)
2363
{
2364
  _n.marshalBoolean(result);
2365
2366
}
2367
2368
void _0RL_cd_0e2b00c21b9f97c5_22000000::unmarshalReturnedValues(cdrStream& _n)
2369
{
2370
  result = _n.unmarshalBoolean();
2371
2372
}
2373
2374
const char* const _0RL_cd_0e2b00c21b9f97c5_22000000::_user_exns[] = {
2375
  gepetto::Error::_PD_repoId
2376
};
2377
2378
void _0RL_cd_0e2b00c21b9f97c5_22000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2379
{
2380
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2381
    gepetto::Error _ex;
2382
    _ex <<= s;
2383
    if (iop_client) iop_client->RequestCompleted();
2384
    throw _ex;
2385
  }
2386
2387
2388
  else {
2389
    if (iop_client) iop_client->RequestCompleted(1);
2390
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2391
                  (::CORBA::CompletionStatus)s.completion());
2392
  }
2393
}
2394
2395
// Local call call-back function.
2396
static void
2397
_0RL_lcfn_0e2b00c21b9f97c5_32000000(omniCallDescriptor* cd, omniServant* svnt)
2398
{
2399
  _0RL_cd_0e2b00c21b9f97c5_22000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_22000000*)cd;
2400
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2401
#ifdef HAS_Cplusplus_catch_exception_by_base
2402
  tcd->result = impl->addLine(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2403
#else
2404
  if (!cd->is_upcall())
2405
    tcd->result = impl->addLine(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2406
  else {
2407
    try {
2408
      tcd->result = impl->addLine(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
2409
    }
2410
    catch(gepetto::Error& ex) {
2411
      throw omniORB::StubUserException(ex._NP_duplicate());
2412
    }
2413
2414
2415
  }
2416
#endif
2417
2418
2419
}
2420
2421
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addLine(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Color RGBAcolor)
2422
{
2423
  _0RL_cd_0e2b00c21b9f97c5_22000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_32000000, "addLine", 8);
2424
  _call_desc.arg_0 = lineName;
2425
  _call_desc.arg_1 = &pos1[0];
2426
  _call_desc.arg_2 = &pos2[0];
2427
  _call_desc.arg_3 = &RGBAcolor[0];
2428
2429
  _invoke(_call_desc);
2430
  return _call_desc.result;
2431
2432
2433
}
2434
2435
2436
//
2437
// Code for gepetto::corbaserver::GraphicalInterface::setLineStartPoint
2438
2439
// Proxy call descriptor class. Mangled signature:
2440
//  _cboolean_i_cstring_i_a3_cfloat_e_cgepetto_mError
2441
class _0RL_cd_0e2b00c21b9f97c5_42000000
2442
  : public omniCallDescriptor
2443
{
2444
public:
2445
  inline _0RL_cd_0e2b00c21b9f97c5_42000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2446
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2447
  {
2448
2449
  }
2450
2451
  void marshalArguments(cdrStream&);
2452
  void unmarshalArguments(cdrStream&);
2453
2454
  void unmarshalReturnedValues(cdrStream&);
2455
  void marshalReturnedValues(cdrStream&);
2456
2457
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2458
  static const char* const _user_exns[];
2459
2460
  ::CORBA::String_var arg_0_;
2461
  const char* arg_0;
2462
  gepetto::corbaserver::Position arg_1_;
2463
  const gepetto::corbaserver::Position_slice* arg_1;
2464
  ::CORBA::Boolean result;
2465
};
2466
2467
void _0RL_cd_0e2b00c21b9f97c5_42000000::marshalArguments(cdrStream& _n)
2468
{
2469
  _n.marshalString(arg_0,0);
2470
  if (! _n.marshal_byte_swap()) {
2471
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
2472
  }
2473
  else
2474
  {
2475
    _n.declareArrayLength(omni::ALIGN_4, 12);
2476
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
2477
      arg_1[_0i0] >>= _n;
2478
    }
2479
  }
2480
2481
}
2482
2483
void _0RL_cd_0e2b00c21b9f97c5_42000000::unmarshalArguments(cdrStream& _n)
2484
{
2485
  arg_0_ = _n.unmarshalString(0);
2486
  arg_0 = arg_0_.in();
2487
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
2488
  arg_1 = &arg_1_[0];
2489
2490
}
2491
2492
void _0RL_cd_0e2b00c21b9f97c5_42000000::marshalReturnedValues(cdrStream& _n)
2493
{
2494
  _n.marshalBoolean(result);
2495
2496
}
2497
2498
void _0RL_cd_0e2b00c21b9f97c5_42000000::unmarshalReturnedValues(cdrStream& _n)
2499
{
2500
  result = _n.unmarshalBoolean();
2501
2502
}
2503
2504
const char* const _0RL_cd_0e2b00c21b9f97c5_42000000::_user_exns[] = {
2505
  gepetto::Error::_PD_repoId
2506
};
2507
2508
void _0RL_cd_0e2b00c21b9f97c5_42000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2509
{
2510
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2511
    gepetto::Error _ex;
2512
    _ex <<= s;
2513
    if (iop_client) iop_client->RequestCompleted();
2514
    throw _ex;
2515
  }
2516
2517
2518
  else {
2519
    if (iop_client) iop_client->RequestCompleted(1);
2520
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2521
                  (::CORBA::CompletionStatus)s.completion());
2522
  }
2523
}
2524
2525
// Local call call-back function.
2526
static void
2527
_0RL_lcfn_0e2b00c21b9f97c5_52000000(omniCallDescriptor* cd, omniServant* svnt)
2528
{
2529
  _0RL_cd_0e2b00c21b9f97c5_42000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_42000000*)cd;
2530
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2531
#ifdef HAS_Cplusplus_catch_exception_by_base
2532
  tcd->result = impl->setLineStartPoint(tcd->arg_0, tcd->arg_1);
2533
#else
2534
  if (!cd->is_upcall())
2535
    tcd->result = impl->setLineStartPoint(tcd->arg_0, tcd->arg_1);
2536
  else {
2537
    try {
2538
      tcd->result = impl->setLineStartPoint(tcd->arg_0, tcd->arg_1);
2539
    }
2540
    catch(gepetto::Error& ex) {
2541
      throw omniORB::StubUserException(ex._NP_duplicate());
2542
    }
2543
2544
2545
  }
2546
#endif
2547
2548
2549
}
2550
2551
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setLineStartPoint(const char* lineName, const ::gepetto::corbaserver::Position pos1)
2552
{
2553
  _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_52000000, "setLineStartPoint", 18);
2554
  _call_desc.arg_0 = lineName;
2555
  _call_desc.arg_1 = &pos1[0];
2556
2557
  _invoke(_call_desc);
2558
  return _call_desc.result;
2559
2560
2561
}
2562
2563
2564
//
2565
// Code for gepetto::corbaserver::GraphicalInterface::setLineEndPoint
2566
2567
// Local call call-back function.
2568
static void
2569
_0RL_lcfn_0e2b00c21b9f97c5_62000000(omniCallDescriptor* cd, omniServant* svnt)
2570
{
2571
  _0RL_cd_0e2b00c21b9f97c5_42000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_42000000*)cd;
2572
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2573
#ifdef HAS_Cplusplus_catch_exception_by_base
2574
  tcd->result = impl->setLineEndPoint(tcd->arg_0, tcd->arg_1);
2575
#else
2576
  if (!cd->is_upcall())
2577
    tcd->result = impl->setLineEndPoint(tcd->arg_0, tcd->arg_1);
2578
  else {
2579
    try {
2580
      tcd->result = impl->setLineEndPoint(tcd->arg_0, tcd->arg_1);
2581
    }
2582
    catch(gepetto::Error& ex) {
2583
      throw omniORB::StubUserException(ex._NP_duplicate());
2584
    }
2585
2586
2587
  }
2588
#endif
2589
2590
2591
}
2592
2593
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setLineEndPoint(const char* lineName, const ::gepetto::corbaserver::Position pos2)
2594
{
2595
  _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_62000000, "setLineEndPoint", 16);
2596
  _call_desc.arg_0 = lineName;
2597
  _call_desc.arg_1 = &pos2[0];
2598
2599
  _invoke(_call_desc);
2600
  return _call_desc.result;
2601
2602
2603
}
2604
2605
2606
//
2607
// Code for gepetto::corbaserver::GraphicalInterface::setLineExtremalPoints
2608
2609
// Proxy call descriptor class. Mangled signature:
2610
//  _cboolean_i_cstring_i_a3_cfloat_i_a3_cfloat_e_cgepetto_mError
2611
class _0RL_cd_0e2b00c21b9f97c5_72000000
2612
  : public omniCallDescriptor
2613
{
2614
public:
2615
  inline _0RL_cd_0e2b00c21b9f97c5_72000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2616
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2617
  {
2618
2619
  }
2620
2621
  void marshalArguments(cdrStream&);
2622
  void unmarshalArguments(cdrStream&);
2623
2624
  void unmarshalReturnedValues(cdrStream&);
2625
  void marshalReturnedValues(cdrStream&);
2626
2627
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2628
  static const char* const _user_exns[];
2629
2630
  ::CORBA::String_var arg_0_;
2631
  const char* arg_0;
2632
  gepetto::corbaserver::Position arg_1_;
2633
  const gepetto::corbaserver::Position_slice* arg_1;
2634
  gepetto::corbaserver::Position arg_2_;
2635
  const gepetto::corbaserver::Position_slice* arg_2;
2636
  ::CORBA::Boolean result;
2637
};
2638
2639
void _0RL_cd_0e2b00c21b9f97c5_72000000::marshalArguments(cdrStream& _n)
2640
{
2641
  _n.marshalString(arg_0,0);
2642
  if (! _n.marshal_byte_swap()) {
2643
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
2644
  }
2645
  else
2646
  {
2647
    _n.declareArrayLength(omni::ALIGN_4, 12);
2648
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
2649
      arg_1[_0i0] >>= _n;
2650
    }
2651
  }
2652
  if (! _n.marshal_byte_swap()) {
2653
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
2654
  }
2655
  else
2656
  {
2657
    _n.declareArrayLength(omni::ALIGN_4, 12);
2658
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
2659
      arg_2[_0i0] >>= _n;
2660
    }
2661
  }
2662
2663
}
2664
2665
void _0RL_cd_0e2b00c21b9f97c5_72000000::unmarshalArguments(cdrStream& _n)
2666
{
2667
  arg_0_ = _n.unmarshalString(0);
2668
  arg_0 = arg_0_.in();
2669
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
2670
  arg_1 = &arg_1_[0];
2671
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
2672
  arg_2 = &arg_2_[0];
2673
2674
}
2675
2676
void _0RL_cd_0e2b00c21b9f97c5_72000000::marshalReturnedValues(cdrStream& _n)
2677
{
2678
  _n.marshalBoolean(result);
2679
2680
}
2681
2682
void _0RL_cd_0e2b00c21b9f97c5_72000000::unmarshalReturnedValues(cdrStream& _n)
2683
{
2684
  result = _n.unmarshalBoolean();
2685
2686
}
2687
2688
const char* const _0RL_cd_0e2b00c21b9f97c5_72000000::_user_exns[] = {
2689
  gepetto::Error::_PD_repoId
2690
};
2691
2692
void _0RL_cd_0e2b00c21b9f97c5_72000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2693
{
2694
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2695
    gepetto::Error _ex;
2696
    _ex <<= s;
2697
    if (iop_client) iop_client->RequestCompleted();
2698
    throw _ex;
2699
  }
2700
2701
2702
  else {
2703
    if (iop_client) iop_client->RequestCompleted(1);
2704
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2705
                  (::CORBA::CompletionStatus)s.completion());
2706
  }
2707
}
2708
2709
// Local call call-back function.
2710
static void
2711
_0RL_lcfn_0e2b00c21b9f97c5_82000000(omniCallDescriptor* cd, omniServant* svnt)
2712
{
2713
  _0RL_cd_0e2b00c21b9f97c5_72000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_72000000*)cd;
2714
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2715
#ifdef HAS_Cplusplus_catch_exception_by_base
2716
  tcd->result = impl->setLineExtremalPoints(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2717
#else
2718
  if (!cd->is_upcall())
2719
    tcd->result = impl->setLineExtremalPoints(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2720
  else {
2721
    try {
2722
      tcd->result = impl->setLineExtremalPoints(tcd->arg_0, tcd->arg_1, tcd->arg_2);
2723
    }
2724
    catch(gepetto::Error& ex) {
2725
      throw omniORB::StubUserException(ex._NP_duplicate());
2726
    }
2727
2728
2729
  }
2730
#endif
2731
2732
2733
}
2734
2735
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setLineExtremalPoints(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2)
2736
{
2737
  _0RL_cd_0e2b00c21b9f97c5_72000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_82000000, "setLineExtremalPoints", 22);
2738
  _call_desc.arg_0 = lineName;
2739
  _call_desc.arg_1 = &pos1[0];
2740
  _call_desc.arg_2 = &pos2[0];
2741
2742
  _invoke(_call_desc);
2743
  return _call_desc.result;
2744
2745
2746
}
2747
2748
2749
//
2750
// Code for gepetto::corbaserver::GraphicalInterface::addCurve
2751
2752
// Proxy call descriptor class. Mangled signature:
2753
//  _cboolean_i_cstring_i_cgepetto_mcorbaserver_mPositionSeq_i_a4_cfloat_e_cgepetto_mError
2754
class _0RL_cd_0e2b00c21b9f97c5_92000000
2755
  : public omniCallDescriptor
2756
{
2757
public:
2758
  inline _0RL_cd_0e2b00c21b9f97c5_92000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2759
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2760
  {
2761
2762
  }
2763
2764
  void marshalArguments(cdrStream&);
2765
  void unmarshalArguments(cdrStream&);
2766
2767
  void unmarshalReturnedValues(cdrStream&);
2768
  void marshalReturnedValues(cdrStream&);
2769
2770
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2771
  static const char* const _user_exns[];
2772
2773
  ::CORBA::String_var arg_0_;
2774
  const char* arg_0;
2775
  gepetto::corbaserver::PositionSeq_var arg_1_;
2776
  const gepetto::corbaserver::PositionSeq* arg_1;
2777
  gepetto::corbaserver::Color arg_2_;
2778
  const gepetto::corbaserver::Color_slice* arg_2;
2779
  ::CORBA::Boolean result;
2780
};
2781
2782
void _0RL_cd_0e2b00c21b9f97c5_92000000::marshalArguments(cdrStream& _n)
2783
{
2784
  _n.marshalString(arg_0,0);
2785
  (const gepetto::corbaserver::PositionSeq&) *arg_1 >>= _n;
2786
  if (! _n.marshal_byte_swap()) {
2787
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),16,omni::ALIGN_4);
2788
  }
2789
  else
2790
  {
2791
    _n.declareArrayLength(omni::ALIGN_4, 16);
2792
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
2793
      arg_2[_0i0] >>= _n;
2794
    }
2795
  }
2796
2797
}
2798
2799
void _0RL_cd_0e2b00c21b9f97c5_92000000::unmarshalArguments(cdrStream& _n)
2800
{
2801
  arg_0_ = _n.unmarshalString(0);
2802
  arg_0 = arg_0_.in();
2803
  arg_1_ = new gepetto::corbaserver::PositionSeq;
2804
  (gepetto::corbaserver::PositionSeq&)arg_1_ <<= _n;
2805
  arg_1 = &arg_1_.in();
2806
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 4);
2807
  arg_2 = &arg_2_[0];
2808
2809
}
2810
2811
void _0RL_cd_0e2b00c21b9f97c5_92000000::marshalReturnedValues(cdrStream& _n)
2812
{
2813
  _n.marshalBoolean(result);
2814
2815
}
2816
2817
void _0RL_cd_0e2b00c21b9f97c5_92000000::unmarshalReturnedValues(cdrStream& _n)
2818
{
2819
  result = _n.unmarshalBoolean();
2820
2821
}
2822
2823
const char* const _0RL_cd_0e2b00c21b9f97c5_92000000::_user_exns[] = {
2824
  gepetto::Error::_PD_repoId
2825
};
2826
2827
void _0RL_cd_0e2b00c21b9f97c5_92000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2828
{
2829
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2830
    gepetto::Error _ex;
2831
    _ex <<= s;
2832
    if (iop_client) iop_client->RequestCompleted();
2833
    throw _ex;
2834
  }
2835
2836
2837
  else {
2838
    if (iop_client) iop_client->RequestCompleted(1);
2839
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2840
                  (::CORBA::CompletionStatus)s.completion());
2841
  }
2842
}
2843
2844
// Local call call-back function.
2845
static void
2846
_0RL_lcfn_0e2b00c21b9f97c5_a2000000(omniCallDescriptor* cd, omniServant* svnt)
2847
{
2848
  _0RL_cd_0e2b00c21b9f97c5_92000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_92000000*)cd;
2849
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2850
#ifdef HAS_Cplusplus_catch_exception_by_base
2851
  tcd->result = impl->addCurve(tcd->arg_0, *tcd->arg_1, tcd->arg_2);
2852
#else
2853
  if (!cd->is_upcall())
2854
    tcd->result = impl->addCurve(tcd->arg_0, *tcd->arg_1, tcd->arg_2);
2855
  else {
2856
    try {
2857
      tcd->result = impl->addCurve(tcd->arg_0, *tcd->arg_1, tcd->arg_2);
2858
    }
2859
    catch(gepetto::Error& ex) {
2860
      throw omniORB::StubUserException(ex._NP_duplicate());
2861
    }
2862
2863
2864
  }
2865
#endif
2866
2867
2868
}
2869
2870
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addCurve(const char* name, const ::gepetto::corbaserver::PositionSeq& pos, const ::gepetto::corbaserver::Color RGBAcolor)
2871
{
2872
  _0RL_cd_0e2b00c21b9f97c5_92000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a2000000, "addCurve", 9);
2873
  _call_desc.arg_0 = name;
2874
  _call_desc.arg_1 = &(::gepetto::corbaserver::PositionSeq&) pos;
2875
  _call_desc.arg_2 = &RGBAcolor[0];
2876
2877
  _invoke(_call_desc);
2878
  return _call_desc.result;
2879
2880
2881
}
2882
2883
2884
//
2885
// Code for gepetto::corbaserver::GraphicalInterface::setCurvePoints
2886
2887
// Proxy call descriptor class. Mangled signature:
2888
//  _cboolean_i_cstring_i_cgepetto_mcorbaserver_mPositionSeq_e_cgepetto_mError
2889
class _0RL_cd_0e2b00c21b9f97c5_b2000000
2890
  : public omniCallDescriptor
2891
{
2892
public:
2893
  inline _0RL_cd_0e2b00c21b9f97c5_b2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
2894
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
2895
  {
2896
2897
  }
2898
2899
  void marshalArguments(cdrStream&);
2900
  void unmarshalArguments(cdrStream&);
2901
2902
  void unmarshalReturnedValues(cdrStream&);
2903
  void marshalReturnedValues(cdrStream&);
2904
2905
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
2906
  static const char* const _user_exns[];
2907
2908
  ::CORBA::String_var arg_0_;
2909
  const char* arg_0;
2910
  gepetto::corbaserver::PositionSeq_var arg_1_;
2911
  const gepetto::corbaserver::PositionSeq* arg_1;
2912
  ::CORBA::Boolean result;
2913
};
2914
2915
void _0RL_cd_0e2b00c21b9f97c5_b2000000::marshalArguments(cdrStream& _n)
2916
{
2917
  _n.marshalString(arg_0,0);
2918
  (const gepetto::corbaserver::PositionSeq&) *arg_1 >>= _n;
2919
2920
}
2921
2922
void _0RL_cd_0e2b00c21b9f97c5_b2000000::unmarshalArguments(cdrStream& _n)
2923
{
2924
  arg_0_ = _n.unmarshalString(0);
2925
  arg_0 = arg_0_.in();
2926
  arg_1_ = new gepetto::corbaserver::PositionSeq;
2927
  (gepetto::corbaserver::PositionSeq&)arg_1_ <<= _n;
2928
  arg_1 = &arg_1_.in();
2929
2930
}
2931
2932
void _0RL_cd_0e2b00c21b9f97c5_b2000000::marshalReturnedValues(cdrStream& _n)
2933
{
2934
  _n.marshalBoolean(result);
2935
2936
}
2937
2938
void _0RL_cd_0e2b00c21b9f97c5_b2000000::unmarshalReturnedValues(cdrStream& _n)
2939
{
2940
  result = _n.unmarshalBoolean();
2941
2942
}
2943
2944
const char* const _0RL_cd_0e2b00c21b9f97c5_b2000000::_user_exns[] = {
2945
  gepetto::Error::_PD_repoId
2946
};
2947
2948
void _0RL_cd_0e2b00c21b9f97c5_b2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
2949
{
2950
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
2951
    gepetto::Error _ex;
2952
    _ex <<= s;
2953
    if (iop_client) iop_client->RequestCompleted();
2954
    throw _ex;
2955
  }
2956
2957
2958
  else {
2959
    if (iop_client) iop_client->RequestCompleted(1);
2960
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
2961
                  (::CORBA::CompletionStatus)s.completion());
2962
  }
2963
}
2964
2965
// Local call call-back function.
2966
static void
2967
_0RL_lcfn_0e2b00c21b9f97c5_c2000000(omniCallDescriptor* cd, omniServant* svnt)
2968
{
2969
  _0RL_cd_0e2b00c21b9f97c5_b2000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b2000000*)cd;
2970
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
2971
#ifdef HAS_Cplusplus_catch_exception_by_base
2972
  tcd->result = impl->setCurvePoints(tcd->arg_0, *tcd->arg_1);
2973
#else
2974
  if (!cd->is_upcall())
2975
    tcd->result = impl->setCurvePoints(tcd->arg_0, *tcd->arg_1);
2976
  else {
2977
    try {
2978
      tcd->result = impl->setCurvePoints(tcd->arg_0, *tcd->arg_1);
2979
    }
2980
    catch(gepetto::Error& ex) {
2981
      throw omniORB::StubUserException(ex._NP_duplicate());
2982
    }
2983
2984
2985
  }
2986
#endif
2987
2988
2989
}
2990
2991
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCurvePoints(const char* name, const ::gepetto::corbaserver::PositionSeq& pos)
2992
{
2993
  _0RL_cd_0e2b00c21b9f97c5_b2000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c2000000, "setCurvePoints", 15);
2994
  _call_desc.arg_0 = name;
2995
  _call_desc.arg_1 = &(::gepetto::corbaserver::PositionSeq&) pos;
2996
2997
  _invoke(_call_desc);
2998
  return _call_desc.result;
2999
3000
3001
}
3002
3003
3004
//
3005
// Code for gepetto::corbaserver::GraphicalInterface::setCurveColors
3006
3007
// Proxy call descriptor class. Mangled signature:
3008
//  _cboolean_i_cstring_i_cgepetto_mcorbaserver_mColorSeq_e_cgepetto_mError
3009
class _0RL_cd_0e2b00c21b9f97c5_d2000000
3010
  : public omniCallDescriptor
3011
{
3012
public:
3013
  inline _0RL_cd_0e2b00c21b9f97c5_d2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3014
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3015
  {
3016
3017
  }
3018
3019
  void marshalArguments(cdrStream&);
3020
  void unmarshalArguments(cdrStream&);
3021
3022
  void unmarshalReturnedValues(cdrStream&);
3023
  void marshalReturnedValues(cdrStream&);
3024
3025
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3026
  static const char* const _user_exns[];
3027
3028
  ::CORBA::String_var arg_0_;
3029
  const char* arg_0;
3030
  gepetto::corbaserver::ColorSeq_var arg_1_;
3031
  const gepetto::corbaserver::ColorSeq* arg_1;
3032
  ::CORBA::Boolean result;
3033
};
3034
3035
void _0RL_cd_0e2b00c21b9f97c5_d2000000::marshalArguments(cdrStream& _n)
3036
{
3037
  _n.marshalString(arg_0,0);
3038
  (const gepetto::corbaserver::ColorSeq&) *arg_1 >>= _n;
3039
3040
}
3041
3042
void _0RL_cd_0e2b00c21b9f97c5_d2000000::unmarshalArguments(cdrStream& _n)
3043
{
3044
  arg_0_ = _n.unmarshalString(0);
3045
  arg_0 = arg_0_.in();
3046
  arg_1_ = new gepetto::corbaserver::ColorSeq;
3047
  (gepetto::corbaserver::ColorSeq&)arg_1_ <<= _n;
3048
  arg_1 = &arg_1_.in();
3049
3050
}
3051
3052
void _0RL_cd_0e2b00c21b9f97c5_d2000000::marshalReturnedValues(cdrStream& _n)
3053
{
3054
  _n.marshalBoolean(result);
3055
3056
}
3057
3058
void _0RL_cd_0e2b00c21b9f97c5_d2000000::unmarshalReturnedValues(cdrStream& _n)
3059
{
3060
  result = _n.unmarshalBoolean();
3061
3062
}
3063
3064
const char* const _0RL_cd_0e2b00c21b9f97c5_d2000000::_user_exns[] = {
3065
  gepetto::Error::_PD_repoId
3066
};
3067
3068
void _0RL_cd_0e2b00c21b9f97c5_d2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3069
{
3070
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3071
    gepetto::Error _ex;
3072
    _ex <<= s;
3073
    if (iop_client) iop_client->RequestCompleted();
3074
    throw _ex;
3075
  }
3076
3077
3078
  else {
3079
    if (iop_client) iop_client->RequestCompleted(1);
3080
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3081
                  (::CORBA::CompletionStatus)s.completion());
3082
  }
3083
}
3084
3085
// Local call call-back function.
3086
static void
3087
_0RL_lcfn_0e2b00c21b9f97c5_e2000000(omniCallDescriptor* cd, omniServant* svnt)
3088
{
3089
  _0RL_cd_0e2b00c21b9f97c5_d2000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d2000000*)cd;
3090
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3091
#ifdef HAS_Cplusplus_catch_exception_by_base
3092
  tcd->result = impl->setCurveColors(tcd->arg_0, *tcd->arg_1);
3093
#else
3094
  if (!cd->is_upcall())
3095
    tcd->result = impl->setCurveColors(tcd->arg_0, *tcd->arg_1);
3096
  else {
3097
    try {
3098
      tcd->result = impl->setCurveColors(tcd->arg_0, *tcd->arg_1);
3099
    }
3100
    catch(gepetto::Error& ex) {
3101
      throw omniORB::StubUserException(ex._NP_duplicate());
3102
    }
3103
3104
3105
  }
3106
#endif
3107
3108
3109
}
3110
3111
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCurveColors(const char* name, const ::gepetto::corbaserver::ColorSeq& pos)
3112
{
3113
  _0RL_cd_0e2b00c21b9f97c5_d2000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e2000000, "setCurveColors", 15);
3114
  _call_desc.arg_0 = name;
3115
  _call_desc.arg_1 = &(::gepetto::corbaserver::ColorSeq&) pos;
3116
3117
  _invoke(_call_desc);
3118
  return _call_desc.result;
3119
3120
3121
}
3122
3123
3124
//
3125
// Code for gepetto::corbaserver::GraphicalInterface::setCurveMode
3126
3127
// Local call call-back function.
3128
static void
3129
_0RL_lcfn_0e2b00c21b9f97c5_f2000000(omniCallDescriptor* cd, omniServant* svnt)
3130
{
3131
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
3132
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3133
#ifdef HAS_Cplusplus_catch_exception_by_base
3134
  tcd->result = impl->setCurveMode(tcd->arg_0, tcd->arg_1);
3135
#else
3136
  if (!cd->is_upcall())
3137
    tcd->result = impl->setCurveMode(tcd->arg_0, tcd->arg_1);
3138
  else {
3139
    try {
3140
      tcd->result = impl->setCurveMode(tcd->arg_0, tcd->arg_1);
3141
    }
3142
    catch(gepetto::Error& ex) {
3143
      throw omniORB::StubUserException(ex._NP_duplicate());
3144
    }
3145
3146
3147
  }
3148
#endif
3149
3150
3151
}
3152
3153
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCurveMode(const char* name, const char* mode)
3154
{
3155
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f2000000, "setCurveMode", 13);
3156
  _call_desc.arg_0 = name;
3157
  _call_desc.arg_1 = mode;
3158
3159
  _invoke(_call_desc);
3160
  return _call_desc.result;
3161
3162
3163
}
3164
3165
3166
//
3167
// Code for gepetto::corbaserver::GraphicalInterface::setCurvePointsSubset
3168
3169
// Proxy call descriptor class. Mangled signature:
3170
//  _cboolean_i_cstring_i_clong_i_clong_e_cgepetto_mError
3171
class _0RL_cd_0e2b00c21b9f97c5_03000000
3172
  : public omniCallDescriptor
3173
{
3174
public:
3175
  inline _0RL_cd_0e2b00c21b9f97c5_03000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3176
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3177
  {
3178
3179
  }
3180
3181
  void marshalArguments(cdrStream&);
3182
  void unmarshalArguments(cdrStream&);
3183
3184
  void unmarshalReturnedValues(cdrStream&);
3185
  void marshalReturnedValues(cdrStream&);
3186
3187
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3188
  static const char* const _user_exns[];
3189
3190
  ::CORBA::String_var arg_0_;
3191
  const char* arg_0;
3192
  ::CORBA::Long arg_1;
3193
  ::CORBA::Long arg_2;
3194
  ::CORBA::Boolean result;
3195
};
3196
3197
void _0RL_cd_0e2b00c21b9f97c5_03000000::marshalArguments(cdrStream& _n)
3198
{
3199
  _n.marshalString(arg_0,0);
3200
  arg_1 >>= _n;
3201
  arg_2 >>= _n;
3202
3203
}
3204
3205
void _0RL_cd_0e2b00c21b9f97c5_03000000::unmarshalArguments(cdrStream& _n)
3206
{
3207
  arg_0_ = _n.unmarshalString(0);
3208
  arg_0 = arg_0_.in();
3209
  (::CORBA::Long&)arg_1 <<= _n;
3210
  (::CORBA::Long&)arg_2 <<= _n;
3211
3212
}
3213
3214
void _0RL_cd_0e2b00c21b9f97c5_03000000::marshalReturnedValues(cdrStream& _n)
3215
{
3216
  _n.marshalBoolean(result);
3217
3218
}
3219
3220
void _0RL_cd_0e2b00c21b9f97c5_03000000::unmarshalReturnedValues(cdrStream& _n)
3221
{
3222
  result = _n.unmarshalBoolean();
3223
3224
}
3225
3226
const char* const _0RL_cd_0e2b00c21b9f97c5_03000000::_user_exns[] = {
3227
  gepetto::Error::_PD_repoId
3228
};
3229
3230
void _0RL_cd_0e2b00c21b9f97c5_03000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3231
{
3232
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3233
    gepetto::Error _ex;
3234
    _ex <<= s;
3235
    if (iop_client) iop_client->RequestCompleted();
3236
    throw _ex;
3237
  }
3238
3239
3240
  else {
3241
    if (iop_client) iop_client->RequestCompleted(1);
3242
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3243
                  (::CORBA::CompletionStatus)s.completion());
3244
  }
3245
}
3246
3247
// Local call call-back function.
3248
static void
3249
_0RL_lcfn_0e2b00c21b9f97c5_13000000(omniCallDescriptor* cd, omniServant* svnt)
3250
{
3251
  _0RL_cd_0e2b00c21b9f97c5_03000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_03000000*)cd;
3252
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3253
#ifdef HAS_Cplusplus_catch_exception_by_base
3254
  tcd->result = impl->setCurvePointsSubset(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3255
#else
3256
  if (!cd->is_upcall())
3257
    tcd->result = impl->setCurvePointsSubset(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3258
  else {
3259
    try {
3260
      tcd->result = impl->setCurvePointsSubset(tcd->arg_0, tcd->arg_1, tcd->arg_2);
3261
    }
3262
    catch(gepetto::Error& ex) {
3263
      throw omniORB::StubUserException(ex._NP_duplicate());
3264
    }
3265
3266
3267
  }
3268
#endif
3269
3270
3271
}
3272
3273
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCurvePointsSubset(const char* curveName, ::CORBA::Long first, ::CORBA::Long count)
3274
{
3275
  _0RL_cd_0e2b00c21b9f97c5_03000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_13000000, "setCurvePointsSubset", 21);
3276
  _call_desc.arg_0 = curveName;
3277
  _call_desc.arg_1 = first;
3278
  _call_desc.arg_2 = count;
3279
3280
  _invoke(_call_desc);
3281
  return _call_desc.result;
3282
3283
3284
}
3285
3286
3287
//
3288
// Code for gepetto::corbaserver::GraphicalInterface::setCurveLineWidth
3289
3290
// Local call call-back function.
3291
static void
3292
_0RL_lcfn_0e2b00c21b9f97c5_23000000(omniCallDescriptor* cd, omniServant* svnt)
3293
{
3294
  _0RL_cd_0e2b00c21b9f97c5_61000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_61000000*)cd;
3295
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3296
#ifdef HAS_Cplusplus_catch_exception_by_base
3297
  tcd->result = impl->setCurveLineWidth(tcd->arg_0, tcd->arg_1);
3298
#else
3299
  if (!cd->is_upcall())
3300
    tcd->result = impl->setCurveLineWidth(tcd->arg_0, tcd->arg_1);
3301
  else {
3302
    try {
3303
      tcd->result = impl->setCurveLineWidth(tcd->arg_0, tcd->arg_1);
3304
    }
3305
    catch(gepetto::Error& ex) {
3306
      throw omniORB::StubUserException(ex._NP_duplicate());
3307
    }
3308
3309
3310
  }
3311
#endif
3312
3313
3314
}
3315
3316
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCurveLineWidth(const char* curveName, ::CORBA::Float width)
3317
{
3318
  _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_23000000, "setCurveLineWidth", 18);
3319
  _call_desc.arg_0 = curveName;
3320
  _call_desc.arg_1 = width;
3321
3322
  _invoke(_call_desc);
3323
  return _call_desc.result;
3324
3325
3326
}
3327
3328
3329
//
3330
// Code for gepetto::corbaserver::GraphicalInterface::addSquareFace
3331
3332
// Proxy call descriptor class. Mangled signature:
3333
//  _cboolean_i_cstring_i_a3_cfloat_i_a3_cfloat_i_a3_cfloat_i_a3_cfloat_i_a4_cfloat_e_cgepetto_mError
3334
class _0RL_cd_0e2b00c21b9f97c5_33000000
3335
  : public omniCallDescriptor
3336
{
3337
public:
3338
  inline _0RL_cd_0e2b00c21b9f97c5_33000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3339
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3340
  {
3341
3342
  }
3343
3344
  void marshalArguments(cdrStream&);
3345
  void unmarshalArguments(cdrStream&);
3346
3347
  void unmarshalReturnedValues(cdrStream&);
3348
  void marshalReturnedValues(cdrStream&);
3349
3350
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3351
  static const char* const _user_exns[];
3352
3353
  ::CORBA::String_var arg_0_;
3354
  const char* arg_0;
3355
  gepetto::corbaserver::Position arg_1_;
3356
  const gepetto::corbaserver::Position_slice* arg_1;
3357
  gepetto::corbaserver::Position arg_2_;
3358
  const gepetto::corbaserver::Position_slice* arg_2;
3359
  gepetto::corbaserver::Position arg_3_;
3360
  const gepetto::corbaserver::Position_slice* arg_3;
3361
  gepetto::corbaserver::Position arg_4_;
3362
  const gepetto::corbaserver::Position_slice* arg_4;
3363
  gepetto::corbaserver::Color arg_5_;
3364
  const gepetto::corbaserver::Color_slice* arg_5;
3365
  ::CORBA::Boolean result;
3366
};
3367
3368
void _0RL_cd_0e2b00c21b9f97c5_33000000::marshalArguments(cdrStream& _n)
3369
{
3370
  _n.marshalString(arg_0,0);
3371
  if (! _n.marshal_byte_swap()) {
3372
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
3373
  }
3374
  else
3375
  {
3376
    _n.declareArrayLength(omni::ALIGN_4, 12);
3377
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3378
      arg_1[_0i0] >>= _n;
3379
    }
3380
  }
3381
  if (! _n.marshal_byte_swap()) {
3382
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
3383
  }
3384
  else
3385
  {
3386
    _n.declareArrayLength(omni::ALIGN_4, 12);
3387
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3388
      arg_2[_0i0] >>= _n;
3389
    }
3390
  }
3391
  if (! _n.marshal_byte_swap()) {
3392
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_3),12,omni::ALIGN_4);
3393
  }
3394
  else
3395
  {
3396
    _n.declareArrayLength(omni::ALIGN_4, 12);
3397
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3398
      arg_3[_0i0] >>= _n;
3399
    }
3400
  }
3401
  if (! _n.marshal_byte_swap()) {
3402
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_4),12,omni::ALIGN_4);
3403
  }
3404
  else
3405
  {
3406
    _n.declareArrayLength(omni::ALIGN_4, 12);
3407
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3408
      arg_4[_0i0] >>= _n;
3409
    }
3410
  }
3411
  if (! _n.marshal_byte_swap()) {
3412
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_5),16,omni::ALIGN_4);
3413
  }
3414
  else
3415
  {
3416
    _n.declareArrayLength(omni::ALIGN_4, 16);
3417
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
3418
      arg_5[_0i0] >>= _n;
3419
    }
3420
  }
3421
3422
}
3423
3424
void _0RL_cd_0e2b00c21b9f97c5_33000000::unmarshalArguments(cdrStream& _n)
3425
{
3426
  arg_0_ = _n.unmarshalString(0);
3427
  arg_0 = arg_0_.in();
3428
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
3429
  arg_1 = &arg_1_[0];
3430
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
3431
  arg_2 = &arg_2_[0];
3432
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_3_), 3);
3433
  arg_3 = &arg_3_[0];
3434
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_4_), 3);
3435
  arg_4 = &arg_4_[0];
3436
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_5_), 4);
3437
  arg_5 = &arg_5_[0];
3438
3439
}
3440
3441
void _0RL_cd_0e2b00c21b9f97c5_33000000::marshalReturnedValues(cdrStream& _n)
3442
{
3443
  _n.marshalBoolean(result);
3444
3445
}
3446
3447
void _0RL_cd_0e2b00c21b9f97c5_33000000::unmarshalReturnedValues(cdrStream& _n)
3448
{
3449
  result = _n.unmarshalBoolean();
3450
3451
}
3452
3453
const char* const _0RL_cd_0e2b00c21b9f97c5_33000000::_user_exns[] = {
3454
  gepetto::Error::_PD_repoId
3455
};
3456
3457
void _0RL_cd_0e2b00c21b9f97c5_33000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3458
{
3459
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3460
    gepetto::Error _ex;
3461
    _ex <<= s;
3462
    if (iop_client) iop_client->RequestCompleted();
3463
    throw _ex;
3464
  }
3465
3466
3467
  else {
3468
    if (iop_client) iop_client->RequestCompleted(1);
3469
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3470
                  (::CORBA::CompletionStatus)s.completion());
3471
  }
3472
}
3473
3474
// Local call call-back function.
3475
static void
3476
_0RL_lcfn_0e2b00c21b9f97c5_43000000(omniCallDescriptor* cd, omniServant* svnt)
3477
{
3478
  _0RL_cd_0e2b00c21b9f97c5_33000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_33000000*)cd;
3479
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3480
#ifdef HAS_Cplusplus_catch_exception_by_base
3481
  tcd->result = impl->addSquareFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4, tcd->arg_5);
3482
#else
3483
  if (!cd->is_upcall())
3484
    tcd->result = impl->addSquareFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4, tcd->arg_5);
3485
  else {
3486
    try {
3487
      tcd->result = impl->addSquareFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4, tcd->arg_5);
3488
    }
3489
    catch(gepetto::Error& ex) {
3490
      throw omniORB::StubUserException(ex._NP_duplicate());
3491
    }
3492
3493
3494
  }
3495
#endif
3496
3497
3498
}
3499
3500
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addSquareFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Position pos4, const ::gepetto::corbaserver::Color RGBAcolor)
3501
{
3502
  _0RL_cd_0e2b00c21b9f97c5_33000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_43000000, "addSquareFace", 14);
3503
  _call_desc.arg_0 = faceName;
3504
  _call_desc.arg_1 = &pos1[0];
3505
  _call_desc.arg_2 = &pos2[0];
3506
  _call_desc.arg_3 = &pos3[0];
3507
  _call_desc.arg_4 = &pos4[0];
3508
  _call_desc.arg_5 = &RGBAcolor[0];
3509
3510
  _invoke(_call_desc);
3511
  return _call_desc.result;
3512
3513
3514
}
3515
3516
3517
//
3518
// Code for gepetto::corbaserver::GraphicalInterface::setTexture
3519
3520
// Local call call-back function.
3521
static void
3522
_0RL_lcfn_0e2b00c21b9f97c5_53000000(omniCallDescriptor* cd, omniServant* svnt)
3523
{
3524
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
3525
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3526
#ifdef HAS_Cplusplus_catch_exception_by_base
3527
  tcd->result = impl->setTexture(tcd->arg_0, tcd->arg_1);
3528
#else
3529
  if (!cd->is_upcall())
3530
    tcd->result = impl->setTexture(tcd->arg_0, tcd->arg_1);
3531
  else {
3532
    try {
3533
      tcd->result = impl->setTexture(tcd->arg_0, tcd->arg_1);
3534
    }
3535
    catch(gepetto::Error& ex) {
3536
      throw omniORB::StubUserException(ex._NP_duplicate());
3537
    }
3538
3539
3540
  }
3541
#endif
3542
3543
3544
}
3545
3546
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setTexture(const char* nodeName, const char* filename)
3547
{
3548
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_53000000, "setTexture", 11);
3549
  _call_desc.arg_0 = nodeName;
3550
  _call_desc.arg_1 = filename;
3551
3552
  _invoke(_call_desc);
3553
  return _call_desc.result;
3554
3555
3556
}
3557
3558
3559
//
3560
// Code for gepetto::corbaserver::GraphicalInterface::addTriangleFace
3561
3562
// Proxy call descriptor class. Mangled signature:
3563
//  _cboolean_i_cstring_i_a3_cfloat_i_a3_cfloat_i_a3_cfloat_i_a4_cfloat_e_cgepetto_mError
3564
class _0RL_cd_0e2b00c21b9f97c5_63000000
3565
  : public omniCallDescriptor
3566
{
3567
public:
3568
  inline _0RL_cd_0e2b00c21b9f97c5_63000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3569
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3570
  {
3571
3572
  }
3573
3574
  void marshalArguments(cdrStream&);
3575
  void unmarshalArguments(cdrStream&);
3576
3577
  void unmarshalReturnedValues(cdrStream&);
3578
  void marshalReturnedValues(cdrStream&);
3579
3580
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3581
  static const char* const _user_exns[];
3582
3583
  ::CORBA::String_var arg_0_;
3584
  const char* arg_0;
3585
  gepetto::corbaserver::Position arg_1_;
3586
  const gepetto::corbaserver::Position_slice* arg_1;
3587
  gepetto::corbaserver::Position arg_2_;
3588
  const gepetto::corbaserver::Position_slice* arg_2;
3589
  gepetto::corbaserver::Position arg_3_;
3590
  const gepetto::corbaserver::Position_slice* arg_3;
3591
  gepetto::corbaserver::Color arg_4_;
3592
  const gepetto::corbaserver::Color_slice* arg_4;
3593
  ::CORBA::Boolean result;
3594
};
3595
3596
void _0RL_cd_0e2b00c21b9f97c5_63000000::marshalArguments(cdrStream& _n)
3597
{
3598
  _n.marshalString(arg_0,0);
3599
  if (! _n.marshal_byte_swap()) {
3600
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),12,omni::ALIGN_4);
3601
  }
3602
  else
3603
  {
3604
    _n.declareArrayLength(omni::ALIGN_4, 12);
3605
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3606
      arg_1[_0i0] >>= _n;
3607
    }
3608
  }
3609
  if (! _n.marshal_byte_swap()) {
3610
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
3611
  }
3612
  else
3613
  {
3614
    _n.declareArrayLength(omni::ALIGN_4, 12);
3615
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3616
      arg_2[_0i0] >>= _n;
3617
    }
3618
  }
3619
  if (! _n.marshal_byte_swap()) {
3620
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_3),12,omni::ALIGN_4);
3621
  }
3622
  else
3623
  {
3624
    _n.declareArrayLength(omni::ALIGN_4, 12);
3625
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
3626
      arg_3[_0i0] >>= _n;
3627
    }
3628
  }
3629
  if (! _n.marshal_byte_swap()) {
3630
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_4),16,omni::ALIGN_4);
3631
  }
3632
  else
3633
  {
3634
    _n.declareArrayLength(omni::ALIGN_4, 16);
3635
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
3636
      arg_4[_0i0] >>= _n;
3637
    }
3638
  }
3639
3640
}
3641
3642
void _0RL_cd_0e2b00c21b9f97c5_63000000::unmarshalArguments(cdrStream& _n)
3643
{
3644
  arg_0_ = _n.unmarshalString(0);
3645
  arg_0 = arg_0_.in();
3646
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 3);
3647
  arg_1 = &arg_1_[0];
3648
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
3649
  arg_2 = &arg_2_[0];
3650
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_3_), 3);
3651
  arg_3 = &arg_3_[0];
3652
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_4_), 4);
3653
  arg_4 = &arg_4_[0];
3654
3655
}
3656
3657
void _0RL_cd_0e2b00c21b9f97c5_63000000::marshalReturnedValues(cdrStream& _n)
3658
{
3659
  _n.marshalBoolean(result);
3660
3661
}
3662
3663
void _0RL_cd_0e2b00c21b9f97c5_63000000::unmarshalReturnedValues(cdrStream& _n)
3664
{
3665
  result = _n.unmarshalBoolean();
3666
3667
}
3668
3669
const char* const _0RL_cd_0e2b00c21b9f97c5_63000000::_user_exns[] = {
3670
  gepetto::Error::_PD_repoId
3671
};
3672
3673
void _0RL_cd_0e2b00c21b9f97c5_63000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3674
{
3675
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3676
    gepetto::Error _ex;
3677
    _ex <<= s;
3678
    if (iop_client) iop_client->RequestCompleted();
3679
    throw _ex;
3680
  }
3681
3682
3683
  else {
3684
    if (iop_client) iop_client->RequestCompleted(1);
3685
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3686
                  (::CORBA::CompletionStatus)s.completion());
3687
  }
3688
}
3689
3690
// Local call call-back function.
3691
static void
3692
_0RL_lcfn_0e2b00c21b9f97c5_73000000(omniCallDescriptor* cd, omniServant* svnt)
3693
{
3694
  _0RL_cd_0e2b00c21b9f97c5_63000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_63000000*)cd;
3695
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3696
#ifdef HAS_Cplusplus_catch_exception_by_base
3697
  tcd->result = impl->addTriangleFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3698
#else
3699
  if (!cd->is_upcall())
3700
    tcd->result = impl->addTriangleFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3701
  else {
3702
    try {
3703
      tcd->result = impl->addTriangleFace(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3704
    }
3705
    catch(gepetto::Error& ex) {
3706
      throw omniORB::StubUserException(ex._NP_duplicate());
3707
    }
3708
3709
3710
  }
3711
#endif
3712
3713
3714
}
3715
3716
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addTriangleFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Color RGBAcolor)
3717
{
3718
  _0RL_cd_0e2b00c21b9f97c5_63000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_73000000, "addTriangleFace", 16);
3719
  _call_desc.arg_0 = faceName;
3720
  _call_desc.arg_1 = &pos1[0];
3721
  _call_desc.arg_2 = &pos2[0];
3722
  _call_desc.arg_3 = &pos3[0];
3723
  _call_desc.arg_4 = &RGBAcolor[0];
3724
3725
  _invoke(_call_desc);
3726
  return _call_desc.result;
3727
3728
3729
}
3730
3731
3732
//
3733
// Code for gepetto::corbaserver::GraphicalInterface::addXYZaxis
3734
3735
// Proxy call descriptor class. Mangled signature:
3736
//  _cboolean_i_cstring_i_a4_cfloat_i_cfloat_i_cfloat_e_cgepetto_mError
3737
class _0RL_cd_0e2b00c21b9f97c5_83000000
3738
  : public omniCallDescriptor
3739
{
3740
public:
3741
  inline _0RL_cd_0e2b00c21b9f97c5_83000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3742
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3743
  {
3744
3745
  }
3746
3747
  void marshalArguments(cdrStream&);
3748
  void unmarshalArguments(cdrStream&);
3749
3750
  void unmarshalReturnedValues(cdrStream&);
3751
  void marshalReturnedValues(cdrStream&);
3752
3753
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3754
  static const char* const _user_exns[];
3755
3756
  ::CORBA::String_var arg_0_;
3757
  const char* arg_0;
3758
  gepetto::corbaserver::Color arg_1_;
3759
  const gepetto::corbaserver::Color_slice* arg_1;
3760
  ::CORBA::Float arg_2;
3761
  ::CORBA::Float arg_3;
3762
  ::CORBA::Boolean result;
3763
};
3764
3765
void _0RL_cd_0e2b00c21b9f97c5_83000000::marshalArguments(cdrStream& _n)
3766
{
3767
  _n.marshalString(arg_0,0);
3768
  if (! _n.marshal_byte_swap()) {
3769
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),16,omni::ALIGN_4);
3770
  }
3771
  else
3772
  {
3773
    _n.declareArrayLength(omni::ALIGN_4, 16);
3774
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
3775
      arg_1[_0i0] >>= _n;
3776
    }
3777
  }
3778
  arg_2 >>= _n;
3779
  arg_3 >>= _n;
3780
3781
}
3782
3783
void _0RL_cd_0e2b00c21b9f97c5_83000000::unmarshalArguments(cdrStream& _n)
3784
{
3785
  arg_0_ = _n.unmarshalString(0);
3786
  arg_0 = arg_0_.in();
3787
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 4);
3788
  arg_1 = &arg_1_[0];
3789
  (::CORBA::Float&)arg_2 <<= _n;
3790
  (::CORBA::Float&)arg_3 <<= _n;
3791
3792
}
3793
3794
void _0RL_cd_0e2b00c21b9f97c5_83000000::marshalReturnedValues(cdrStream& _n)
3795
{
3796
  _n.marshalBoolean(result);
3797
3798
}
3799
3800
void _0RL_cd_0e2b00c21b9f97c5_83000000::unmarshalReturnedValues(cdrStream& _n)
3801
{
3802
  result = _n.unmarshalBoolean();
3803
3804
}
3805
3806
const char* const _0RL_cd_0e2b00c21b9f97c5_83000000::_user_exns[] = {
3807
  gepetto::Error::_PD_repoId
3808
};
3809
3810
void _0RL_cd_0e2b00c21b9f97c5_83000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3811
{
3812
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3813
    gepetto::Error _ex;
3814
    _ex <<= s;
3815
    if (iop_client) iop_client->RequestCompleted();
3816
    throw _ex;
3817
  }
3818
3819
3820
  else {
3821
    if (iop_client) iop_client->RequestCompleted(1);
3822
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3823
                  (::CORBA::CompletionStatus)s.completion());
3824
  }
3825
}
3826
3827
// Local call call-back function.
3828
static void
3829
_0RL_lcfn_0e2b00c21b9f97c5_93000000(omniCallDescriptor* cd, omniServant* svnt)
3830
{
3831
  _0RL_cd_0e2b00c21b9f97c5_83000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_83000000*)cd;
3832
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3833
#ifdef HAS_Cplusplus_catch_exception_by_base
3834
  tcd->result = impl->addXYZaxis(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
3835
#else
3836
  if (!cd->is_upcall())
3837
    tcd->result = impl->addXYZaxis(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
3838
  else {
3839
    try {
3840
      tcd->result = impl->addXYZaxis(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);
3841
    }
3842
    catch(gepetto::Error& ex) {
3843
      throw omniORB::StubUserException(ex._NP_duplicate());
3844
    }
3845
3846
3847
  }
3848
#endif
3849
3850
3851
}
3852
3853
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addXYZaxis(const char* nodeName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float sizeAxis)
3854
{
3855
  _0RL_cd_0e2b00c21b9f97c5_83000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_93000000, "addXYZaxis", 11);
3856
  _call_desc.arg_0 = nodeName;
3857
  _call_desc.arg_1 = &RGBAcolor[0];
3858
  _call_desc.arg_2 = radius;
3859
  _call_desc.arg_3 = sizeAxis;
3860
3861
  _invoke(_call_desc);
3862
  return _call_desc.result;
3863
3864
3865
}
3866
3867
3868
//
3869
// Code for gepetto::corbaserver::GraphicalInterface::createRoadmap
3870
3871
// Proxy call descriptor class. Mangled signature:
3872
//  _cboolean_i_cstring_i_a4_cfloat_i_cfloat_i_cfloat_i_a4_cfloat_e_cgepetto_mError
3873
class _0RL_cd_0e2b00c21b9f97c5_a3000000
3874
  : public omniCallDescriptor
3875
{
3876
public:
3877
  inline _0RL_cd_0e2b00c21b9f97c5_a3000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
3878
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
3879
  {
3880
3881
  }
3882
3883
  void marshalArguments(cdrStream&);
3884
  void unmarshalArguments(cdrStream&);
3885
3886
  void unmarshalReturnedValues(cdrStream&);
3887
  void marshalReturnedValues(cdrStream&);
3888
3889
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
3890
  static const char* const _user_exns[];
3891
3892
  ::CORBA::String_var arg_0_;
3893
  const char* arg_0;
3894
  gepetto::corbaserver::Color arg_1_;
3895
  const gepetto::corbaserver::Color_slice* arg_1;
3896
  ::CORBA::Float arg_2;
3897
  ::CORBA::Float arg_3;
3898
  gepetto::corbaserver::Color arg_4_;
3899
  const gepetto::corbaserver::Color_slice* arg_4;
3900
  ::CORBA::Boolean result;
3901
};
3902
3903
void _0RL_cd_0e2b00c21b9f97c5_a3000000::marshalArguments(cdrStream& _n)
3904
{
3905
  _n.marshalString(arg_0,0);
3906
  if (! _n.marshal_byte_swap()) {
3907
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),16,omni::ALIGN_4);
3908
  }
3909
  else
3910
  {
3911
    _n.declareArrayLength(omni::ALIGN_4, 16);
3912
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
3913
      arg_1[_0i0] >>= _n;
3914
    }
3915
  }
3916
  arg_2 >>= _n;
3917
  arg_3 >>= _n;
3918
  if (! _n.marshal_byte_swap()) {
3919
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_4),16,omni::ALIGN_4);
3920
  }
3921
  else
3922
  {
3923
    _n.declareArrayLength(omni::ALIGN_4, 16);
3924
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
3925
      arg_4[_0i0] >>= _n;
3926
    }
3927
  }
3928
3929
}
3930
3931
void _0RL_cd_0e2b00c21b9f97c5_a3000000::unmarshalArguments(cdrStream& _n)
3932
{
3933
  arg_0_ = _n.unmarshalString(0);
3934
  arg_0 = arg_0_.in();
3935
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 4);
3936
  arg_1 = &arg_1_[0];
3937
  (::CORBA::Float&)arg_2 <<= _n;
3938
  (::CORBA::Float&)arg_3 <<= _n;
3939
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_4_), 4);
3940
  arg_4 = &arg_4_[0];
3941
3942
}
3943
3944
void _0RL_cd_0e2b00c21b9f97c5_a3000000::marshalReturnedValues(cdrStream& _n)
3945
{
3946
  _n.marshalBoolean(result);
3947
3948
}
3949
3950
void _0RL_cd_0e2b00c21b9f97c5_a3000000::unmarshalReturnedValues(cdrStream& _n)
3951
{
3952
  result = _n.unmarshalBoolean();
3953
3954
}
3955
3956
const char* const _0RL_cd_0e2b00c21b9f97c5_a3000000::_user_exns[] = {
3957
  gepetto::Error::_PD_repoId
3958
};
3959
3960
void _0RL_cd_0e2b00c21b9f97c5_a3000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
3961
{
3962
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
3963
    gepetto::Error _ex;
3964
    _ex <<= s;
3965
    if (iop_client) iop_client->RequestCompleted();
3966
    throw _ex;
3967
  }
3968
3969
3970
  else {
3971
    if (iop_client) iop_client->RequestCompleted(1);
3972
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
3973
                  (::CORBA::CompletionStatus)s.completion());
3974
  }
3975
}
3976
3977
// Local call call-back function.
3978
static void
3979
_0RL_lcfn_0e2b00c21b9f97c5_b3000000(omniCallDescriptor* cd, omniServant* svnt)
3980
{
3981
  _0RL_cd_0e2b00c21b9f97c5_a3000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_a3000000*)cd;
3982
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
3983
#ifdef HAS_Cplusplus_catch_exception_by_base
3984
  tcd->result = impl->createRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3985
#else
3986
  if (!cd->is_upcall())
3987
    tcd->result = impl->createRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3988
  else {
3989
    try {
3990
      tcd->result = impl->createRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);
3991
    }
3992
    catch(gepetto::Error& ex) {
3993
      throw omniORB::StubUserException(ex._NP_duplicate());
3994
    }
3995
3996
3997
  }
3998
#endif
3999
4000
4001
}
4002
4003
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::createRoadmap(const char* nameCorba, const ::gepetto::corbaserver::Color RGBAcolorNode, ::CORBA::Float radius, ::CORBA::Float sizeAxis, const ::gepetto::corbaserver::Color RGBAcolorEdge)
4004
{
4005
  _0RL_cd_0e2b00c21b9f97c5_a3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b3000000, "createRoadmap", 14);
4006
  _call_desc.arg_0 = nameCorba;
4007
  _call_desc.arg_1 = &RGBAcolorNode[0];
4008
  _call_desc.arg_2 = radius;
4009
  _call_desc.arg_3 = sizeAxis;
4010
  _call_desc.arg_4 = &RGBAcolorEdge[0];
4011
4012
  _invoke(_call_desc);
4013
  return _call_desc.result;
4014
4015
4016
}
4017
4018
4019
//
4020
// Code for gepetto::corbaserver::GraphicalInterface::addEdgeToRoadmap
4021
4022
// Local call call-back function.
4023
static void
4024
_0RL_lcfn_0e2b00c21b9f97c5_c3000000(omniCallDescriptor* cd, omniServant* svnt)
4025
{
4026
  _0RL_cd_0e2b00c21b9f97c5_72000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_72000000*)cd;
4027
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4028
#ifdef HAS_Cplusplus_catch_exception_by_base
4029
  tcd->result = impl->addEdgeToRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4030
#else
4031
  if (!cd->is_upcall())
4032
    tcd->result = impl->addEdgeToRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4033
  else {
4034
    try {
4035
      tcd->result = impl->addEdgeToRoadmap(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4036
    }
4037
    catch(gepetto::Error& ex) {
4038
      throw omniORB::StubUserException(ex._NP_duplicate());
4039
    }
4040
4041
4042
  }
4043
#endif
4044
4045
4046
}
4047
4048
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addEdgeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Position posFrom, const ::gepetto::corbaserver::Position posTo)
4049
{
4050
  _0RL_cd_0e2b00c21b9f97c5_72000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c3000000, "addEdgeToRoadmap", 17);
4051
  _call_desc.arg_0 = nameRoadmap;
4052
  _call_desc.arg_1 = &posFrom[0];
4053
  _call_desc.arg_2 = &posTo[0];
4054
4055
  _invoke(_call_desc);
4056
  return _call_desc.result;
4057
4058
4059
}
4060
4061
4062
//
4063
// Code for gepetto::corbaserver::GraphicalInterface::addNodeToRoadmap
4064
4065
// Proxy call descriptor class. Mangled signature:
4066
//  _cboolean_i_cstring_i_a7_cfloat_e_cgepetto_mError
4067
class _0RL_cd_0e2b00c21b9f97c5_d3000000
4068
  : public omniCallDescriptor
4069
{
4070
public:
4071
  inline _0RL_cd_0e2b00c21b9f97c5_d3000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4072
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4073
  {
4074
4075
  }
4076
4077
  void marshalArguments(cdrStream&);
4078
  void unmarshalArguments(cdrStream&);
4079
4080
  void unmarshalReturnedValues(cdrStream&);
4081
  void marshalReturnedValues(cdrStream&);
4082
4083
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4084
  static const char* const _user_exns[];
4085
4086
  ::CORBA::String_var arg_0_;
4087
  const char* arg_0;
4088
  gepetto::corbaserver::Transform arg_1_;
4089
  const gepetto::corbaserver::Transform_slice* arg_1;
4090
  ::CORBA::Boolean result;
4091
};
4092
4093
void _0RL_cd_0e2b00c21b9f97c5_d3000000::marshalArguments(cdrStream& _n)
4094
{
4095
  _n.marshalString(arg_0,0);
4096
  if (! _n.marshal_byte_swap()) {
4097
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),28,omni::ALIGN_4);
4098
  }
4099
  else
4100
  {
4101
    _n.declareArrayLength(omni::ALIGN_4, 28);
4102
    for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){
4103
      arg_1[_0i0] >>= _n;
4104
    }
4105
  }
4106
4107
}
4108
4109
void _0RL_cd_0e2b00c21b9f97c5_d3000000::unmarshalArguments(cdrStream& _n)
4110
{
4111
  arg_0_ = _n.unmarshalString(0);
4112
  arg_0 = arg_0_.in();
4113
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 7);
4114
  arg_1 = &arg_1_[0];
4115
4116
}
4117
4118
void _0RL_cd_0e2b00c21b9f97c5_d3000000::marshalReturnedValues(cdrStream& _n)
4119
{
4120
  _n.marshalBoolean(result);
4121
4122
}
4123
4124
void _0RL_cd_0e2b00c21b9f97c5_d3000000::unmarshalReturnedValues(cdrStream& _n)
4125
{
4126
  result = _n.unmarshalBoolean();
4127
4128
}
4129
4130
const char* const _0RL_cd_0e2b00c21b9f97c5_d3000000::_user_exns[] = {
4131
  gepetto::Error::_PD_repoId
4132
};
4133
4134
void _0RL_cd_0e2b00c21b9f97c5_d3000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4135
{
4136
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
4137
    gepetto::Error _ex;
4138
    _ex <<= s;
4139
    if (iop_client) iop_client->RequestCompleted();
4140
    throw _ex;
4141
  }
4142
4143
4144
  else {
4145
    if (iop_client) iop_client->RequestCompleted(1);
4146
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4147
                  (::CORBA::CompletionStatus)s.completion());
4148
  }
4149
}
4150
4151
// Local call call-back function.
4152
static void
4153
_0RL_lcfn_0e2b00c21b9f97c5_e3000000(omniCallDescriptor* cd, omniServant* svnt)
4154
{
4155
  _0RL_cd_0e2b00c21b9f97c5_d3000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d3000000*)cd;
4156
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4157
#ifdef HAS_Cplusplus_catch_exception_by_base
4158
  tcd->result = impl->addNodeToRoadmap(tcd->arg_0, tcd->arg_1);
4159
#else
4160
  if (!cd->is_upcall())
4161
    tcd->result = impl->addNodeToRoadmap(tcd->arg_0, tcd->arg_1);
4162
  else {
4163
    try {
4164
      tcd->result = impl->addNodeToRoadmap(tcd->arg_0, tcd->arg_1);
4165
    }
4166
    catch(gepetto::Error& ex) {
4167
      throw omniORB::StubUserException(ex._NP_duplicate());
4168
    }
4169
4170
4171
  }
4172
#endif
4173
4174
4175
}
4176
4177
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addNodeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Transform configuration)
4178
{
4179
  _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e3000000, "addNodeToRoadmap", 17);
4180
  _call_desc.arg_0 = nameRoadmap;
4181
  _call_desc.arg_1 = &configuration[0];
4182
4183
  _invoke(_call_desc);
4184
  return _call_desc.result;
4185
4186
4187
}
4188
4189
4190
//
4191
// Code for gepetto::corbaserver::GraphicalInterface::addURDF
4192
4193
// Local call call-back function.
4194
static void
4195
_0RL_lcfn_0e2b00c21b9f97c5_f3000000(omniCallDescriptor* cd, omniServant* svnt)
4196
{
4197
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
4198
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4199
#ifdef HAS_Cplusplus_catch_exception_by_base
4200
  tcd->result = impl->addURDF(tcd->arg_0, tcd->arg_1);
4201
#else
4202
  if (!cd->is_upcall())
4203
    tcd->result = impl->addURDF(tcd->arg_0, tcd->arg_1);
4204
  else {
4205
    try {
4206
      tcd->result = impl->addURDF(tcd->arg_0, tcd->arg_1);
4207
    }
4208
    catch(gepetto::Error& ex) {
4209
      throw omniORB::StubUserException(ex._NP_duplicate());
4210
    }
4211
4212
4213
  }
4214
#endif
4215
4216
4217
}
4218
4219
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addURDF(const char* robotName, const char* urdfFilePath)
4220
{
4221
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f3000000, "addURDF", 8);
4222
  _call_desc.arg_0 = robotName;
4223
  _call_desc.arg_1 = urdfFilePath;
4224
4225
  _invoke(_call_desc);
4226
  return _call_desc.result;
4227
4228
4229
}
4230
4231
4232
//
4233
// Code for gepetto::corbaserver::GraphicalInterface::addUrdfCollision
4234
4235
// Local call call-back function.
4236
static void
4237
_0RL_lcfn_0e2b00c21b9f97c5_04000000(omniCallDescriptor* cd, omniServant* svnt)
4238
{
4239
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
4240
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4241
#ifdef HAS_Cplusplus_catch_exception_by_base
4242
  tcd->result = impl->addUrdfCollision(tcd->arg_0, tcd->arg_1);
4243
#else
4244
  if (!cd->is_upcall())
4245
    tcd->result = impl->addUrdfCollision(tcd->arg_0, tcd->arg_1);
4246
  else {
4247
    try {
4248
      tcd->result = impl->addUrdfCollision(tcd->arg_0, tcd->arg_1);
4249
    }
4250
    catch(gepetto::Error& ex) {
4251
      throw omniORB::StubUserException(ex._NP_duplicate());
4252
    }
4253
4254
4255
  }
4256
#endif
4257
4258
4259
}
4260
4261
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addUrdfCollision(const char* robotName, const char* urdfFilePath)
4262
{
4263
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_04000000, "addUrdfCollision", 17);
4264
  _call_desc.arg_0 = robotName;
4265
  _call_desc.arg_1 = urdfFilePath;
4266
4267
  _invoke(_call_desc);
4268
  return _call_desc.result;
4269
4270
4271
}
4272
4273
4274
//
4275
// Code for gepetto::corbaserver::GraphicalInterface::addUrdfObjects
4276
4277
// Proxy call descriptor class. Mangled signature:
4278
//  void_i_cstring_i_cstring_i_cboolean_e_cgepetto_mError
4279
class _0RL_cd_0e2b00c21b9f97c5_14000000
4280
  : public omniCallDescriptor
4281
{
4282
public:
4283
  inline _0RL_cd_0e2b00c21b9f97c5_14000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4284
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4285
  {
4286
4287
  }
4288
4289
  void marshalArguments(cdrStream&);
4290
  void unmarshalArguments(cdrStream&);
4291
4292
4293
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4294
  static const char* const _user_exns[];
4295
4296
  ::CORBA::String_var arg_0_;
4297
  const char* arg_0;
4298
  ::CORBA::String_var arg_1_;
4299
  const char* arg_1;
4300
  ::CORBA::Boolean arg_2;
4301
};
4302
4303
void _0RL_cd_0e2b00c21b9f97c5_14000000::marshalArguments(cdrStream& _n)
4304
{
4305
  _n.marshalString(arg_0,0);
4306
  _n.marshalString(arg_1,0);
4307
  _n.marshalBoolean(arg_2);
4308
4309
}
4310
4311
void _0RL_cd_0e2b00c21b9f97c5_14000000::unmarshalArguments(cdrStream& _n)
4312
{
4313
  arg_0_ = _n.unmarshalString(0);
4314
  arg_0 = arg_0_.in();
4315
  arg_1_ = _n.unmarshalString(0);
4316
  arg_1 = arg_1_.in();
4317
  arg_2 = _n.unmarshalBoolean();
4318
4319
}
4320
4321
const char* const _0RL_cd_0e2b00c21b9f97c5_14000000::_user_exns[] = {
4322
  gepetto::Error::_PD_repoId
4323
};
4324
4325
void _0RL_cd_0e2b00c21b9f97c5_14000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4326
{
4327
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
4328
    gepetto::Error _ex;
4329
    _ex <<= s;
4330
    if (iop_client) iop_client->RequestCompleted();
4331
    throw _ex;
4332
  }
4333
4334
4335
  else {
4336
    if (iop_client) iop_client->RequestCompleted(1);
4337
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4338
                  (::CORBA::CompletionStatus)s.completion());
4339
  }
4340
}
4341
4342
// Local call call-back function.
4343
static void
4344
_0RL_lcfn_0e2b00c21b9f97c5_24000000(omniCallDescriptor* cd, omniServant* svnt)
4345
{
4346
  _0RL_cd_0e2b00c21b9f97c5_14000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_14000000*)cd;
4347
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4348
#ifdef HAS_Cplusplus_catch_exception_by_base
4349
  impl->addUrdfObjects(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4350
#else
4351
  if (!cd->is_upcall())
4352
    impl->addUrdfObjects(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4353
  else {
4354
    try {
4355
      impl->addUrdfObjects(tcd->arg_0, tcd->arg_1, tcd->arg_2);
4356
    }
4357
    catch(gepetto::Error& ex) {
4358
      throw omniORB::StubUserException(ex._NP_duplicate());
4359
    }
4360
4361
4362
  }
4363
#endif
4364
4365
4366
}
4367
4368
void gepetto::corbaserver::_objref_GraphicalInterface::addUrdfObjects(const char* nodeName, const char* urdfFilePath, ::CORBA::Boolean visual)
4369
{
4370
  _0RL_cd_0e2b00c21b9f97c5_14000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_24000000, "addUrdfObjects", 15);
4371
  _call_desc.arg_0 = nodeName;
4372
  _call_desc.arg_1 = urdfFilePath;
4373
  _call_desc.arg_2 = visual;
4374
4375
  _invoke(_call_desc);
4376
4377
4378
4379
}
4380
4381
4382
//
4383
// Code for gepetto::corbaserver::GraphicalInterface::createGroup
4384
4385
// Local call call-back function.
4386
static void
4387
_0RL_lcfn_0e2b00c21b9f97c5_34000000(omniCallDescriptor* cd, omniServant* svnt)
4388
{
4389
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
4390
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4391
#ifdef HAS_Cplusplus_catch_exception_by_base
4392
  tcd->result = impl->createGroup(tcd->arg_0);
4393
#else
4394
  if (!cd->is_upcall())
4395
    tcd->result = impl->createGroup(tcd->arg_0);
4396
  else {
4397
    try {
4398
      tcd->result = impl->createGroup(tcd->arg_0);
4399
    }
4400
    catch(gepetto::Error& ex) {
4401
      throw omniORB::StubUserException(ex._NP_duplicate());
4402
    }
4403
4404
4405
  }
4406
#endif
4407
4408
4409
}
4410
4411
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::createGroup(const char* groupName)
4412
{
4413
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_34000000, "createGroup", 12);
4414
  _call_desc.arg_0 = groupName;
4415
4416
  _invoke(_call_desc);
4417
  return _call_desc.result;
4418
4419
4420
}
4421
4422
4423
//
4424
// Code for gepetto::corbaserver::GraphicalInterface::nodeExists
4425
4426
// Local call call-back function.
4427
static void
4428
_0RL_lcfn_0e2b00c21b9f97c5_44000000(omniCallDescriptor* cd, omniServant* svnt)
4429
{
4430
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
4431
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4432
#ifdef HAS_Cplusplus_catch_exception_by_base
4433
  tcd->result = impl->nodeExists(tcd->arg_0);
4434
#else
4435
  if (!cd->is_upcall())
4436
    tcd->result = impl->nodeExists(tcd->arg_0);
4437
  else {
4438
    try {
4439
      tcd->result = impl->nodeExists(tcd->arg_0);
4440
    }
4441
    catch(gepetto::Error& ex) {
4442
      throw omniORB::StubUserException(ex._NP_duplicate());
4443
    }
4444
4445
4446
  }
4447
#endif
4448
4449
4450
}
4451
4452
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::nodeExists(const char* nodeName)
4453
{
4454
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_44000000, "nodeExists", 11);
4455
  _call_desc.arg_0 = nodeName;
4456
4457
  _invoke(_call_desc);
4458
  return _call_desc.result;
4459
4460
4461
}
4462
4463
4464
//
4465
// Code for gepetto::corbaserver::GraphicalInterface::deleteNode
4466
4467
// Proxy call descriptor class. Mangled signature:
4468
//  _cboolean_i_cstring_i_cboolean_e_cgepetto_mError
4469
class _0RL_cd_0e2b00c21b9f97c5_54000000
4470
  : public omniCallDescriptor
4471
{
4472
public:
4473
  inline _0RL_cd_0e2b00c21b9f97c5_54000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4474
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4475
  {
4476
4477
  }
4478
4479
  void marshalArguments(cdrStream&);
4480
  void unmarshalArguments(cdrStream&);
4481
4482
  void unmarshalReturnedValues(cdrStream&);
4483
  void marshalReturnedValues(cdrStream&);
4484
4485
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4486
  static const char* const _user_exns[];
4487
4488
  ::CORBA::String_var arg_0_;
4489
  const char* arg_0;
4490
  ::CORBA::Boolean arg_1;
4491
  ::CORBA::Boolean result;
4492
};
4493
4494
void _0RL_cd_0e2b00c21b9f97c5_54000000::marshalArguments(cdrStream& _n)
4495
{
4496
  _n.marshalString(arg_0,0);
4497
  _n.marshalBoolean(arg_1);
4498
4499
}
4500
4501
void _0RL_cd_0e2b00c21b9f97c5_54000000::unmarshalArguments(cdrStream& _n)
4502
{
4503
  arg_0_ = _n.unmarshalString(0);
4504
  arg_0 = arg_0_.in();
4505
  arg_1 = _n.unmarshalBoolean();
4506
4507
}
4508
4509
void _0RL_cd_0e2b00c21b9f97c5_54000000::marshalReturnedValues(cdrStream& _n)
4510
{
4511
  _n.marshalBoolean(result);
4512
4513
}
4514
4515
void _0RL_cd_0e2b00c21b9f97c5_54000000::unmarshalReturnedValues(cdrStream& _n)
4516
{
4517
  result = _n.unmarshalBoolean();
4518
4519
}
4520
4521
const char* const _0RL_cd_0e2b00c21b9f97c5_54000000::_user_exns[] = {
4522
  gepetto::Error::_PD_repoId
4523
};
4524
4525
void _0RL_cd_0e2b00c21b9f97c5_54000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4526
{
4527
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
4528
    gepetto::Error _ex;
4529
    _ex <<= s;
4530
    if (iop_client) iop_client->RequestCompleted();
4531
    throw _ex;
4532
  }
4533
4534
4535
  else {
4536
    if (iop_client) iop_client->RequestCompleted(1);
4537
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4538
                  (::CORBA::CompletionStatus)s.completion());
4539
  }
4540
}
4541
4542
// Local call call-back function.
4543
static void
4544
_0RL_lcfn_0e2b00c21b9f97c5_64000000(omniCallDescriptor* cd, omniServant* svnt)
4545
{
4546
  _0RL_cd_0e2b00c21b9f97c5_54000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_54000000*)cd;
4547
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4548
#ifdef HAS_Cplusplus_catch_exception_by_base
4549
  tcd->result = impl->deleteNode(tcd->arg_0, tcd->arg_1);
4550
#else
4551
  if (!cd->is_upcall())
4552
    tcd->result = impl->deleteNode(tcd->arg_0, tcd->arg_1);
4553
  else {
4554
    try {
4555
      tcd->result = impl->deleteNode(tcd->arg_0, tcd->arg_1);
4556
    }
4557
    catch(gepetto::Error& ex) {
4558
      throw omniORB::StubUserException(ex._NP_duplicate());
4559
    }
4560
4561
4562
  }
4563
#endif
4564
4565
4566
}
4567
4568
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::deleteNode(const char* nodeName, ::CORBA::Boolean all)
4569
{
4570
  _0RL_cd_0e2b00c21b9f97c5_54000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_64000000, "deleteNode", 11);
4571
  _call_desc.arg_0 = nodeName;
4572
  _call_desc.arg_1 = all;
4573
4574
  _invoke(_call_desc);
4575
  return _call_desc.result;
4576
4577
4578
}
4579
4580
4581
//
4582
// Code for gepetto::corbaserver::GraphicalInterface::getNodeList
4583
4584
// Proxy call descriptor class. Mangled signature:
4585
//  _cgepetto_mcorbaserver_mNames__t_e_cgepetto_mError
4586
class _0RL_cd_0e2b00c21b9f97c5_74000000
4587
  : public omniCallDescriptor
4588
{
4589
public:
4590
  inline _0RL_cd_0e2b00c21b9f97c5_74000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4591
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4592
  {
4593
4594
  }
4595
4596
4597
  void unmarshalReturnedValues(cdrStream&);
4598
  void marshalReturnedValues(cdrStream&);
4599
4600
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4601
  static const char* const _user_exns[];
4602
4603
  gepetto::corbaserver::Names_t_var result;
4604
};
4605
4606
void _0RL_cd_0e2b00c21b9f97c5_74000000::marshalReturnedValues(cdrStream& _n)
4607
{
4608
  (const gepetto::corbaserver::Names_t&) result >>= _n;
4609
4610
}
4611
4612
void _0RL_cd_0e2b00c21b9f97c5_74000000::unmarshalReturnedValues(cdrStream& _n)
4613
{
4614
  result = new gepetto::corbaserver::Names_t;
4615
  (gepetto::corbaserver::Names_t&)result <<= _n;
4616
4617
}
4618
4619
const char* const _0RL_cd_0e2b00c21b9f97c5_74000000::_user_exns[] = {
4620
  gepetto::Error::_PD_repoId
4621
};
4622
4623
void _0RL_cd_0e2b00c21b9f97c5_74000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4624
{
4625
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
4626
    gepetto::Error _ex;
4627
    _ex <<= s;
4628
    if (iop_client) iop_client->RequestCompleted();
4629
    throw _ex;
4630
  }
4631
4632
4633
  else {
4634
    if (iop_client) iop_client->RequestCompleted(1);
4635
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4636
                  (::CORBA::CompletionStatus)s.completion());
4637
  }
4638
}
4639
4640
// Local call call-back function.
4641
static void
4642
_0RL_lcfn_0e2b00c21b9f97c5_84000000(omniCallDescriptor* cd, omniServant* svnt)
4643
{
4644
  _0RL_cd_0e2b00c21b9f97c5_74000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_74000000*)cd;
4645
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4646
#ifdef HAS_Cplusplus_catch_exception_by_base
4647
  tcd->result = impl->getNodeList();
4648
#else
4649
  if (!cd->is_upcall())
4650
    tcd->result = impl->getNodeList();
4651
  else {
4652
    try {
4653
      tcd->result = impl->getNodeList();
4654
    }
4655
    catch(gepetto::Error& ex) {
4656
      throw omniORB::StubUserException(ex._NP_duplicate());
4657
    }
4658
4659
4660
  }
4661
#endif
4662
4663
4664
}
4665
4666
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getNodeList()
4667
{
4668
  _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_84000000, "getNodeList", 12);
4669
4670
4671
  _invoke(_call_desc);
4672
  return _call_desc.result._retn();
4673
4674
4675
}
4676
4677
4678
//
4679
// Code for gepetto::corbaserver::GraphicalInterface::getGroupNodeList
4680
4681
// Proxy call descriptor class. Mangled signature:
4682
//  _cgepetto_mcorbaserver_mNames__t_i_cstring_e_cgepetto_mError
4683
class _0RL_cd_0e2b00c21b9f97c5_94000000
4684
  : public omniCallDescriptor
4685
{
4686
public:
4687
  inline _0RL_cd_0e2b00c21b9f97c5_94000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
4688
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
4689
  {
4690
4691
  }
4692
4693
  void marshalArguments(cdrStream&);
4694
  void unmarshalArguments(cdrStream&);
4695
4696
  void unmarshalReturnedValues(cdrStream&);
4697
  void marshalReturnedValues(cdrStream&);
4698
4699
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
4700
  static const char* const _user_exns[];
4701
4702
  ::CORBA::String_var arg_0_;
4703
  const char* arg_0;
4704
  gepetto::corbaserver::Names_t_var result;
4705
};
4706
4707
void _0RL_cd_0e2b00c21b9f97c5_94000000::marshalArguments(cdrStream& _n)
4708
{
4709
  _n.marshalString(arg_0,0);
4710
4711
}
4712
4713
void _0RL_cd_0e2b00c21b9f97c5_94000000::unmarshalArguments(cdrStream& _n)
4714
{
4715
  arg_0_ = _n.unmarshalString(0);
4716
  arg_0 = arg_0_.in();
4717
4718
}
4719
4720
void _0RL_cd_0e2b00c21b9f97c5_94000000::marshalReturnedValues(cdrStream& _n)
4721
{
4722
  (const gepetto::corbaserver::Names_t&) result >>= _n;
4723
4724
}
4725
4726
void _0RL_cd_0e2b00c21b9f97c5_94000000::unmarshalReturnedValues(cdrStream& _n)
4727
{
4728
  result = new gepetto::corbaserver::Names_t;
4729
  (gepetto::corbaserver::Names_t&)result <<= _n;
4730
4731
}
4732
4733
const char* const _0RL_cd_0e2b00c21b9f97c5_94000000::_user_exns[] = {
4734
  gepetto::Error::_PD_repoId
4735
};
4736
4737
void _0RL_cd_0e2b00c21b9f97c5_94000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
4738
{
4739
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
4740
    gepetto::Error _ex;
4741
    _ex <<= s;
4742
    if (iop_client) iop_client->RequestCompleted();
4743
    throw _ex;
4744
  }
4745
4746
4747
  else {
4748
    if (iop_client) iop_client->RequestCompleted(1);
4749
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
4750
                  (::CORBA::CompletionStatus)s.completion());
4751
  }
4752
}
4753
4754
// Local call call-back function.
4755
static void
4756
_0RL_lcfn_0e2b00c21b9f97c5_a4000000(omniCallDescriptor* cd, omniServant* svnt)
4757
{
4758
  _0RL_cd_0e2b00c21b9f97c5_94000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_94000000*)cd;
4759
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4760
#ifdef HAS_Cplusplus_catch_exception_by_base
4761
  tcd->result = impl->getGroupNodeList(tcd->arg_0);
4762
#else
4763
  if (!cd->is_upcall())
4764
    tcd->result = impl->getGroupNodeList(tcd->arg_0);
4765
  else {
4766
    try {
4767
      tcd->result = impl->getGroupNodeList(tcd->arg_0);
4768
    }
4769
    catch(gepetto::Error& ex) {
4770
      throw omniORB::StubUserException(ex._NP_duplicate());
4771
    }
4772
4773
4774
  }
4775
#endif
4776
4777
4778
}
4779
4780
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getGroupNodeList(const char* group)
4781
{
4782
  _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a4000000, "getGroupNodeList", 17);
4783
  _call_desc.arg_0 = group;
4784
4785
  _invoke(_call_desc);
4786
  return _call_desc.result._retn();
4787
4788
4789
}
4790
4791
4792
//
4793
// Code for gepetto::corbaserver::GraphicalInterface::getSceneList
4794
4795
// Local call call-back function.
4796
static void
4797
_0RL_lcfn_0e2b00c21b9f97c5_b4000000(omniCallDescriptor* cd, omniServant* svnt)
4798
{
4799
  _0RL_cd_0e2b00c21b9f97c5_74000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_74000000*)cd;
4800
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4801
#ifdef HAS_Cplusplus_catch_exception_by_base
4802
  tcd->result = impl->getSceneList();
4803
#else
4804
  if (!cd->is_upcall())
4805
    tcd->result = impl->getSceneList();
4806
  else {
4807
    try {
4808
      tcd->result = impl->getSceneList();
4809
    }
4810
    catch(gepetto::Error& ex) {
4811
      throw omniORB::StubUserException(ex._NP_duplicate());
4812
    }
4813
4814
4815
  }
4816
#endif
4817
4818
4819
}
4820
4821
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getSceneList()
4822
{
4823
  _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b4000000, "getSceneList", 13);
4824
4825
4826
  _invoke(_call_desc);
4827
  return _call_desc.result._retn();
4828
4829
4830
}
4831
4832
4833
//
4834
// Code for gepetto::corbaserver::GraphicalInterface::getWindowList
4835
4836
// Local call call-back function.
4837
static void
4838
_0RL_lcfn_0e2b00c21b9f97c5_c4000000(omniCallDescriptor* cd, omniServant* svnt)
4839
{
4840
  _0RL_cd_0e2b00c21b9f97c5_74000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_74000000*)cd;
4841
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4842
#ifdef HAS_Cplusplus_catch_exception_by_base
4843
  tcd->result = impl->getWindowList();
4844
#else
4845
  if (!cd->is_upcall())
4846
    tcd->result = impl->getWindowList();
4847
  else {
4848
    try {
4849
      tcd->result = impl->getWindowList();
4850
    }
4851
    catch(gepetto::Error& ex) {
4852
      throw omniORB::StubUserException(ex._NP_duplicate());
4853
    }
4854
4855
4856
  }
4857
#endif
4858
4859
4860
}
4861
4862
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getWindowList()
4863
{
4864
  _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c4000000, "getWindowList", 14);
4865
4866
4867
  _invoke(_call_desc);
4868
  return _call_desc.result._retn();
4869
4870
4871
}
4872
4873
4874
//
4875
// Code for gepetto::corbaserver::GraphicalInterface::addToGroup
4876
4877
// Local call call-back function.
4878
static void
4879
_0RL_lcfn_0e2b00c21b9f97c5_d4000000(omniCallDescriptor* cd, omniServant* svnt)
4880
{
4881
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
4882
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4883
#ifdef HAS_Cplusplus_catch_exception_by_base
4884
  tcd->result = impl->addToGroup(tcd->arg_0, tcd->arg_1);
4885
#else
4886
  if (!cd->is_upcall())
4887
    tcd->result = impl->addToGroup(tcd->arg_0, tcd->arg_1);
4888
  else {
4889
    try {
4890
      tcd->result = impl->addToGroup(tcd->arg_0, tcd->arg_1);
4891
    }
4892
    catch(gepetto::Error& ex) {
4893
      throw omniORB::StubUserException(ex._NP_duplicate());
4894
    }
4895
4896
4897
  }
4898
#endif
4899
4900
4901
}
4902
4903
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addToGroup(const char* nodeName, const char* groupName)
4904
{
4905
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d4000000, "addToGroup", 11);
4906
  _call_desc.arg_0 = nodeName;
4907
  _call_desc.arg_1 = groupName;
4908
4909
  _invoke(_call_desc);
4910
  return _call_desc.result;
4911
4912
4913
}
4914
4915
4916
//
4917
// Code for gepetto::corbaserver::GraphicalInterface::removeFromGroup
4918
4919
// Local call call-back function.
4920
static void
4921
_0RL_lcfn_0e2b00c21b9f97c5_e4000000(omniCallDescriptor* cd, omniServant* svnt)
4922
{
4923
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
4924
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4925
#ifdef HAS_Cplusplus_catch_exception_by_base
4926
  tcd->result = impl->removeFromGroup(tcd->arg_0, tcd->arg_1);
4927
#else
4928
  if (!cd->is_upcall())
4929
    tcd->result = impl->removeFromGroup(tcd->arg_0, tcd->arg_1);
4930
  else {
4931
    try {
4932
      tcd->result = impl->removeFromGroup(tcd->arg_0, tcd->arg_1);
4933
    }
4934
    catch(gepetto::Error& ex) {
4935
      throw omniORB::StubUserException(ex._NP_duplicate());
4936
    }
4937
4938
4939
  }
4940
#endif
4941
4942
4943
}
4944
4945
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::removeFromGroup(const char* nodeName, const char* groupName)
4946
{
4947
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e4000000, "removeFromGroup", 16);
4948
  _call_desc.arg_0 = nodeName;
4949
  _call_desc.arg_1 = groupName;
4950
4951
  _invoke(_call_desc);
4952
  return _call_desc.result;
4953
4954
4955
}
4956
4957
4958
//
4959
// Code for gepetto::corbaserver::GraphicalInterface::removeObjectFromCache
4960
4961
// Local call call-back function.
4962
static void
4963
_0RL_lcfn_0e2b00c21b9f97c5_f4000000(omniCallDescriptor* cd, omniServant* svnt)
4964
{
4965
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
4966
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
4967
#ifdef HAS_Cplusplus_catch_exception_by_base
4968
  tcd->result = impl->removeObjectFromCache(tcd->arg_0);
4969
#else
4970
  if (!cd->is_upcall())
4971
    tcd->result = impl->removeObjectFromCache(tcd->arg_0);
4972
  else {
4973
    try {
4974
      tcd->result = impl->removeObjectFromCache(tcd->arg_0);
4975
    }
4976
    catch(gepetto::Error& ex) {
4977
      throw omniORB::StubUserException(ex._NP_duplicate());
4978
    }
4979
4980
4981
  }
4982
#endif
4983
4984
4985
}
4986
4987
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::removeObjectFromCache(const char* nodeName)
4988
{
4989
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f4000000, "removeObjectFromCache", 22);
4990
  _call_desc.arg_0 = nodeName;
4991
4992
  _invoke(_call_desc);
4993
  return _call_desc.result;
4994
4995
4996
}
4997
4998
4999
//
5000
// Code for gepetto::corbaserver::GraphicalInterface::applyConfiguration
5001
5002
// Local call call-back function.
5003
static void
5004
_0RL_lcfn_0e2b00c21b9f97c5_05000000(omniCallDescriptor* cd, omniServant* svnt)
5005
{
5006
  _0RL_cd_0e2b00c21b9f97c5_d3000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d3000000*)cd;
5007
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5008
#ifdef HAS_Cplusplus_catch_exception_by_base
5009
  tcd->result = impl->applyConfiguration(tcd->arg_0, tcd->arg_1);
5010
#else
5011
  if (!cd->is_upcall())
5012
    tcd->result = impl->applyConfiguration(tcd->arg_0, tcd->arg_1);
5013
  else {
5014
    try {
5015
      tcd->result = impl->applyConfiguration(tcd->arg_0, tcd->arg_1);
5016
    }
5017
    catch(gepetto::Error& ex) {
5018
      throw omniORB::StubUserException(ex._NP_duplicate());
5019
    }
5020
5021
5022
  }
5023
#endif
5024
5025
5026
}
5027
5028
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::applyConfiguration(const char* nodeName, const ::gepetto::corbaserver::Transform configuration)
5029
{
5030
  _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_05000000, "applyConfiguration", 19);
5031
  _call_desc.arg_0 = nodeName;
5032
  _call_desc.arg_1 = &configuration[0];
5033
5034
  _invoke(_call_desc);
5035
  return _call_desc.result;
5036
5037
5038
}
5039
5040
5041
//
5042
// Code for gepetto::corbaserver::GraphicalInterface::applyConfigurations
5043
5044
// Proxy call descriptor class. Mangled signature:
5045
//  _cboolean_i_cgepetto_mcorbaserver_mNames__t_i_cgepetto_mcorbaserver_mTransformSeq_e_cgepetto_mError
5046
class _0RL_cd_0e2b00c21b9f97c5_15000000
5047
  : public omniCallDescriptor
5048
{
5049
public:
5050
  inline _0RL_cd_0e2b00c21b9f97c5_15000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5051
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5052
  {
5053
5054
  }
5055
5056
  void marshalArguments(cdrStream&);
5057
  void unmarshalArguments(cdrStream&);
5058
5059
  void unmarshalReturnedValues(cdrStream&);
5060
  void marshalReturnedValues(cdrStream&);
5061
5062
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5063
  static const char* const _user_exns[];
5064
5065
  gepetto::corbaserver::Names_t_var arg_0_;
5066
  const gepetto::corbaserver::Names_t* arg_0;
5067
  gepetto::corbaserver::TransformSeq_var arg_1_;
5068
  const gepetto::corbaserver::TransformSeq* arg_1;
5069
  ::CORBA::Boolean result;
5070
};
5071
5072
void _0RL_cd_0e2b00c21b9f97c5_15000000::marshalArguments(cdrStream& _n)
5073
{
5074
  (const gepetto::corbaserver::Names_t&) *arg_0 >>= _n;
5075
  (const gepetto::corbaserver::TransformSeq&) *arg_1 >>= _n;
5076
5077
}
5078
5079
void _0RL_cd_0e2b00c21b9f97c5_15000000::unmarshalArguments(cdrStream& _n)
5080
{
5081
  arg_0_ = new gepetto::corbaserver::Names_t;
5082
  (gepetto::corbaserver::Names_t&)arg_0_ <<= _n;
5083
  arg_0 = &arg_0_.in();
5084
  arg_1_ = new gepetto::corbaserver::TransformSeq;
5085
  (gepetto::corbaserver::TransformSeq&)arg_1_ <<= _n;
5086
  arg_1 = &arg_1_.in();
5087
5088
}
5089
5090
void _0RL_cd_0e2b00c21b9f97c5_15000000::marshalReturnedValues(cdrStream& _n)
5091
{
5092
  _n.marshalBoolean(result);
5093
5094
}
5095
5096
void _0RL_cd_0e2b00c21b9f97c5_15000000::unmarshalReturnedValues(cdrStream& _n)
5097
{
5098
  result = _n.unmarshalBoolean();
5099
5100
}
5101
5102
const char* const _0RL_cd_0e2b00c21b9f97c5_15000000::_user_exns[] = {
5103
  gepetto::Error::_PD_repoId
5104
};
5105
5106
void _0RL_cd_0e2b00c21b9f97c5_15000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5107
{
5108
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5109
    gepetto::Error _ex;
5110
    _ex <<= s;
5111
    if (iop_client) iop_client->RequestCompleted();
5112
    throw _ex;
5113
  }
5114
5115
5116
  else {
5117
    if (iop_client) iop_client->RequestCompleted(1);
5118
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5119
                  (::CORBA::CompletionStatus)s.completion());
5120
  }
5121
}
5122
5123
// Local call call-back function.
5124
static void
5125
_0RL_lcfn_0e2b00c21b9f97c5_25000000(omniCallDescriptor* cd, omniServant* svnt)
5126
{
5127
  _0RL_cd_0e2b00c21b9f97c5_15000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_15000000*)cd;
5128
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5129
#ifdef HAS_Cplusplus_catch_exception_by_base
5130
  tcd->result = impl->applyConfigurations(*tcd->arg_0, *tcd->arg_1);
5131
#else
5132
  if (!cd->is_upcall())
5133
    tcd->result = impl->applyConfigurations(*tcd->arg_0, *tcd->arg_1);
5134
  else {
5135
    try {
5136
      tcd->result = impl->applyConfigurations(*tcd->arg_0, *tcd->arg_1);
5137
    }
5138
    catch(gepetto::Error& ex) {
5139
      throw omniORB::StubUserException(ex._NP_duplicate());
5140
    }
5141
5142
5143
  }
5144
#endif
5145
5146
5147
}
5148
5149
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::applyConfigurations(const ::gepetto::corbaserver::Names_t& nodeName, const ::gepetto::corbaserver::TransformSeq& configuration)
5150
{
5151
  _0RL_cd_0e2b00c21b9f97c5_15000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_25000000, "applyConfigurations", 20);
5152
  _call_desc.arg_0 = &(::gepetto::corbaserver::Names_t&) nodeName;
5153
  _call_desc.arg_1 = &(::gepetto::corbaserver::TransformSeq&) configuration;
5154
5155
  _invoke(_call_desc);
5156
  return _call_desc.result;
5157
5158
5159
}
5160
5161
5162
//
5163
// Code for gepetto::corbaserver::GraphicalInterface::refresh
5164
5165
// Proxy call descriptor class. Mangled signature:
5166
//  void_e_cgepetto_mError
5167
class _0RL_cd_0e2b00c21b9f97c5_35000000
5168
  : public omniCallDescriptor
5169
{
5170
public:
5171
  inline _0RL_cd_0e2b00c21b9f97c5_35000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5172
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5173
  {
5174
5175
  }
5176
5177
5178
5179
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5180
  static const char* const _user_exns[];
5181
5182
5183
};
5184
5185
const char* const _0RL_cd_0e2b00c21b9f97c5_35000000::_user_exns[] = {
5186
  gepetto::Error::_PD_repoId
5187
};
5188
5189
void _0RL_cd_0e2b00c21b9f97c5_35000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5190
{
5191
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5192
    gepetto::Error _ex;
5193
    _ex <<= s;
5194
    if (iop_client) iop_client->RequestCompleted();
5195
    throw _ex;
5196
  }
5197
5198
5199
  else {
5200
    if (iop_client) iop_client->RequestCompleted(1);
5201
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5202
                  (::CORBA::CompletionStatus)s.completion());
5203
  }
5204
}
5205
5206
// Local call call-back function.
5207
static void
5208
_0RL_lcfn_0e2b00c21b9f97c5_45000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
5209
{
5210
5211
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5212
#ifdef HAS_Cplusplus_catch_exception_by_base
5213
  impl->refresh();
5214
#else
5215
  if (!cd->is_upcall())
5216
    impl->refresh();
5217
  else {
5218
    try {
5219
      impl->refresh();
5220
    }
5221
    catch(gepetto::Error& ex) {
5222
      throw omniORB::StubUserException(ex._NP_duplicate());
5223
    }
5224
5225
5226
  }
5227
#endif
5228
5229
5230
}
5231
5232
void gepetto::corbaserver::_objref_GraphicalInterface::refresh()
5233
{
5234
  _0RL_cd_0e2b00c21b9f97c5_35000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_45000000, "refresh", 8);
5235
5236
5237
  _invoke(_call_desc);
5238
5239
5240
5241
}
5242
5243
5244
//
5245
// Code for gepetto::corbaserver::GraphicalInterface::setRefreshIsSynchronous
5246
5247
// Proxy call descriptor class. Mangled signature:
5248
//  void_i_cboolean_e_cgepetto_mError
5249
class _0RL_cd_0e2b00c21b9f97c5_55000000
5250
  : public omniCallDescriptor
5251
{
5252
public:
5253
  inline _0RL_cd_0e2b00c21b9f97c5_55000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5254
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5255
  {
5256
5257
  }
5258
5259
  void marshalArguments(cdrStream&);
5260
  void unmarshalArguments(cdrStream&);
5261
5262
5263
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5264
  static const char* const _user_exns[];
5265
5266
  ::CORBA::Boolean arg_0;
5267
};
5268
5269
void _0RL_cd_0e2b00c21b9f97c5_55000000::marshalArguments(cdrStream& _n)
5270
{
5271
  _n.marshalBoolean(arg_0);
5272
5273
}
5274
5275
void _0RL_cd_0e2b00c21b9f97c5_55000000::unmarshalArguments(cdrStream& _n)
5276
{
5277
  arg_0 = _n.unmarshalBoolean();
5278
5279
}
5280
5281
const char* const _0RL_cd_0e2b00c21b9f97c5_55000000::_user_exns[] = {
5282
  gepetto::Error::_PD_repoId
5283
};
5284
5285
void _0RL_cd_0e2b00c21b9f97c5_55000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5286
{
5287
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5288
    gepetto::Error _ex;
5289
    _ex <<= s;
5290
    if (iop_client) iop_client->RequestCompleted();
5291
    throw _ex;
5292
  }
5293
5294
5295
  else {
5296
    if (iop_client) iop_client->RequestCompleted(1);
5297
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5298
                  (::CORBA::CompletionStatus)s.completion());
5299
  }
5300
}
5301
5302
// Local call call-back function.
5303
static void
5304
_0RL_lcfn_0e2b00c21b9f97c5_65000000(omniCallDescriptor* cd, omniServant* svnt)
5305
{
5306
  _0RL_cd_0e2b00c21b9f97c5_55000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_55000000*)cd;
5307
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5308
#ifdef HAS_Cplusplus_catch_exception_by_base
5309
  impl->setRefreshIsSynchronous(tcd->arg_0);
5310
#else
5311
  if (!cd->is_upcall())
5312
    impl->setRefreshIsSynchronous(tcd->arg_0);
5313
  else {
5314
    try {
5315
      impl->setRefreshIsSynchronous(tcd->arg_0);
5316
    }
5317
    catch(gepetto::Error& ex) {
5318
      throw omniORB::StubUserException(ex._NP_duplicate());
5319
    }
5320
5321
5322
  }
5323
#endif
5324
5325
5326
}
5327
5328
void gepetto::corbaserver::_objref_GraphicalInterface::setRefreshIsSynchronous(::CORBA::Boolean synchonous)
5329
{
5330
  _0RL_cd_0e2b00c21b9f97c5_55000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_65000000, "setRefreshIsSynchronous", 24);
5331
  _call_desc.arg_0 = synchonous;
5332
5333
  _invoke(_call_desc);
5334
5335
5336
5337
}
5338
5339
5340
//
5341
// Code for gepetto::corbaserver::GraphicalInterface::getNodeGlobalTransform
5342
5343
// Proxy call descriptor class. Mangled signature:
5344
//  _a7_cfloat_i_cstring_e_cgepetto_mError
5345
class _0RL_cd_0e2b00c21b9f97c5_75000000
5346
  : public omniCallDescriptor
5347
{
5348
public:
5349
  inline _0RL_cd_0e2b00c21b9f97c5_75000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5350
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5351
  {
5352
5353
  }
5354
5355
  void marshalArguments(cdrStream&);
5356
  void unmarshalArguments(cdrStream&);
5357
5358
  void unmarshalReturnedValues(cdrStream&);
5359
  void marshalReturnedValues(cdrStream&);
5360
5361
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5362
  static const char* const _user_exns[];
5363
5364
  ::CORBA::String_var arg_0_;
5365
  const char* arg_0;
5366
  gepetto::corbaserver::Transform_var result;
5367
};
5368
5369
void _0RL_cd_0e2b00c21b9f97c5_75000000::marshalArguments(cdrStream& _n)
5370
{
5371
  _n.marshalString(arg_0,0);
5372
5373
}
5374
5375
void _0RL_cd_0e2b00c21b9f97c5_75000000::unmarshalArguments(cdrStream& _n)
5376
{
5377
  arg_0_ = _n.unmarshalString(0);
5378
  arg_0 = arg_0_.in();
5379
5380
}
5381
5382
void _0RL_cd_0e2b00c21b9f97c5_75000000::marshalReturnedValues(cdrStream& _n)
5383
{
5384
  if (! _n.marshal_byte_swap()) {
5385
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)result),28,omni::ALIGN_4);
5386
  }
5387
  else
5388
  {
5389
    _n.declareArrayLength(omni::ALIGN_4, 28);
5390
    for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){
5391
      result[_0i0] >>= _n;
5392
    }
5393
  }
5394
5395
}
5396
5397
void _0RL_cd_0e2b00c21b9f97c5_75000000::unmarshalReturnedValues(cdrStream& _n)
5398
{
5399
  result = gepetto::corbaserver::Transform_alloc();
5400
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)result), 7);
5401
5402
}
5403
5404
const char* const _0RL_cd_0e2b00c21b9f97c5_75000000::_user_exns[] = {
5405
  gepetto::Error::_PD_repoId
5406
};
5407
5408
void _0RL_cd_0e2b00c21b9f97c5_75000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5409
{
5410
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5411
    gepetto::Error _ex;
5412
    _ex <<= s;
5413
    if (iop_client) iop_client->RequestCompleted();
5414
    throw _ex;
5415
  }
5416
5417
5418
  else {
5419
    if (iop_client) iop_client->RequestCompleted(1);
5420
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5421
                  (::CORBA::CompletionStatus)s.completion());
5422
  }
5423
}
5424
5425
// Local call call-back function.
5426
static void
5427
_0RL_lcfn_0e2b00c21b9f97c5_85000000(omniCallDescriptor* cd, omniServant* svnt)
5428
{
5429
  _0RL_cd_0e2b00c21b9f97c5_75000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_75000000*)cd;
5430
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5431
#ifdef HAS_Cplusplus_catch_exception_by_base
5432
  tcd->result = impl->getNodeGlobalTransform(tcd->arg_0);
5433
#else
5434
  if (!cd->is_upcall())
5435
    tcd->result = impl->getNodeGlobalTransform(tcd->arg_0);
5436
  else {
5437
    try {
5438
      tcd->result = impl->getNodeGlobalTransform(tcd->arg_0);
5439
    }
5440
    catch(gepetto::Error& ex) {
5441
      throw omniORB::StubUserException(ex._NP_duplicate());
5442
    }
5443
5444
5445
  }
5446
#endif
5447
5448
5449
}
5450
5451
gepetto::corbaserver::Transform_slice* gepetto::corbaserver::_objref_GraphicalInterface::getNodeGlobalTransform(const char* nodeName)
5452
{
5453
  _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_85000000, "getNodeGlobalTransform", 23);
5454
  _call_desc.arg_0 = nodeName;
5455
5456
  _invoke(_call_desc);
5457
  return _call_desc.result._retn();
5458
5459
5460
}
5461
5462
5463
//
5464
// Code for gepetto::corbaserver::GraphicalInterface::addLandmark
5465
5466
// Local call call-back function.
5467
static void
5468
_0RL_lcfn_0e2b00c21b9f97c5_95000000(omniCallDescriptor* cd, omniServant* svnt)
5469
{
5470
  _0RL_cd_0e2b00c21b9f97c5_61000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_61000000*)cd;
5471
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5472
#ifdef HAS_Cplusplus_catch_exception_by_base
5473
  tcd->result = impl->addLandmark(tcd->arg_0, tcd->arg_1);
5474
#else
5475
  if (!cd->is_upcall())
5476
    tcd->result = impl->addLandmark(tcd->arg_0, tcd->arg_1);
5477
  else {
5478
    try {
5479
      tcd->result = impl->addLandmark(tcd->arg_0, tcd->arg_1);
5480
    }
5481
    catch(gepetto::Error& ex) {
5482
      throw omniORB::StubUserException(ex._NP_duplicate());
5483
    }
5484
5485
5486
  }
5487
#endif
5488
5489
5490
}
5491
5492
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::addLandmark(const char* nodeName, ::CORBA::Float size)
5493
{
5494
  _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_95000000, "addLandmark", 12);
5495
  _call_desc.arg_0 = nodeName;
5496
  _call_desc.arg_1 = size;
5497
5498
  _invoke(_call_desc);
5499
  return _call_desc.result;
5500
5501
5502
}
5503
5504
5505
//
5506
// Code for gepetto::corbaserver::GraphicalInterface::deleteLandmark
5507
5508
// Local call call-back function.
5509
static void
5510
_0RL_lcfn_0e2b00c21b9f97c5_a5000000(omniCallDescriptor* cd, omniServant* svnt)
5511
{
5512
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
5513
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5514
#ifdef HAS_Cplusplus_catch_exception_by_base
5515
  tcd->result = impl->deleteLandmark(tcd->arg_0);
5516
#else
5517
  if (!cd->is_upcall())
5518
    tcd->result = impl->deleteLandmark(tcd->arg_0);
5519
  else {
5520
    try {
5521
      tcd->result = impl->deleteLandmark(tcd->arg_0);
5522
    }
5523
    catch(gepetto::Error& ex) {
5524
      throw omniORB::StubUserException(ex._NP_duplicate());
5525
    }
5526
5527
5528
  }
5529
#endif
5530
5531
5532
}
5533
5534
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::deleteLandmark(const char* nodeName)
5535
{
5536
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a5000000, "deleteLandmark", 15);
5537
  _call_desc.arg_0 = nodeName;
5538
5539
  _invoke(_call_desc);
5540
  return _call_desc.result;
5541
5542
5543
}
5544
5545
5546
//
5547
// Code for gepetto::corbaserver::GraphicalInterface::getStaticTransform
5548
5549
// Local call call-back function.
5550
static void
5551
_0RL_lcfn_0e2b00c21b9f97c5_b5000000(omniCallDescriptor* cd, omniServant* svnt)
5552
{
5553
  _0RL_cd_0e2b00c21b9f97c5_75000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_75000000*)cd;
5554
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5555
#ifdef HAS_Cplusplus_catch_exception_by_base
5556
  tcd->result = impl->getStaticTransform(tcd->arg_0);
5557
#else
5558
  if (!cd->is_upcall())
5559
    tcd->result = impl->getStaticTransform(tcd->arg_0);
5560
  else {
5561
    try {
5562
      tcd->result = impl->getStaticTransform(tcd->arg_0);
5563
    }
5564
    catch(gepetto::Error& ex) {
5565
      throw omniORB::StubUserException(ex._NP_duplicate());
5566
    }
5567
5568
5569
  }
5570
#endif
5571
5572
5573
}
5574
5575
gepetto::corbaserver::Transform_slice* gepetto::corbaserver::_objref_GraphicalInterface::getStaticTransform(const char* nodeName)
5576
{
5577
  _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b5000000, "getStaticTransform", 19);
5578
  _call_desc.arg_0 = nodeName;
5579
5580
  _invoke(_call_desc);
5581
  return _call_desc.result._retn();
5582
5583
5584
}
5585
5586
5587
//
5588
// Code for gepetto::corbaserver::GraphicalInterface::setStaticTransform
5589
5590
// Local call call-back function.
5591
static void
5592
_0RL_lcfn_0e2b00c21b9f97c5_c5000000(omniCallDescriptor* cd, omniServant* svnt)
5593
{
5594
  _0RL_cd_0e2b00c21b9f97c5_d3000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d3000000*)cd;
5595
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5596
#ifdef HAS_Cplusplus_catch_exception_by_base
5597
  tcd->result = impl->setStaticTransform(tcd->arg_0, tcd->arg_1);
5598
#else
5599
  if (!cd->is_upcall())
5600
    tcd->result = impl->setStaticTransform(tcd->arg_0, tcd->arg_1);
5601
  else {
5602
    try {
5603
      tcd->result = impl->setStaticTransform(tcd->arg_0, tcd->arg_1);
5604
    }
5605
    catch(gepetto::Error& ex) {
5606
      throw omniORB::StubUserException(ex._NP_duplicate());
5607
    }
5608
5609
5610
  }
5611
#endif
5612
5613
5614
}
5615
5616
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setStaticTransform(const char* nodeName, const ::gepetto::corbaserver::Transform configuration)
5617
{
5618
  _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c5000000, "setStaticTransform", 19);
5619
  _call_desc.arg_0 = nodeName;
5620
  _call_desc.arg_1 = &configuration[0];
5621
5622
  _invoke(_call_desc);
5623
  return _call_desc.result;
5624
5625
5626
}
5627
5628
5629
//
5630
// Code for gepetto::corbaserver::GraphicalInterface::setVisibility
5631
5632
// Local call call-back function.
5633
static void
5634
_0RL_lcfn_0e2b00c21b9f97c5_d5000000(omniCallDescriptor* cd, omniServant* svnt)
5635
{
5636
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
5637
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5638
#ifdef HAS_Cplusplus_catch_exception_by_base
5639
  tcd->result = impl->setVisibility(tcd->arg_0, tcd->arg_1);
5640
#else
5641
  if (!cd->is_upcall())
5642
    tcd->result = impl->setVisibility(tcd->arg_0, tcd->arg_1);
5643
  else {
5644
    try {
5645
      tcd->result = impl->setVisibility(tcd->arg_0, tcd->arg_1);
5646
    }
5647
    catch(gepetto::Error& ex) {
5648
      throw omniORB::StubUserException(ex._NP_duplicate());
5649
    }
5650
5651
5652
  }
5653
#endif
5654
5655
5656
}
5657
5658
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setVisibility(const char* nodeName, const char* visibilityMode)
5659
{
5660
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d5000000, "setVisibility", 14);
5661
  _call_desc.arg_0 = nodeName;
5662
  _call_desc.arg_1 = visibilityMode;
5663
5664
  _invoke(_call_desc);
5665
  return _call_desc.result;
5666
5667
5668
}
5669
5670
5671
//
5672
// Code for gepetto::corbaserver::GraphicalInterface::setScale
5673
5674
// Local call call-back function.
5675
static void
5676
_0RL_lcfn_0e2b00c21b9f97c5_e5000000(omniCallDescriptor* cd, omniServant* svnt)
5677
{
5678
  _0RL_cd_0e2b00c21b9f97c5_42000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_42000000*)cd;
5679
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5680
#ifdef HAS_Cplusplus_catch_exception_by_base
5681
  tcd->result = impl->setScale(tcd->arg_0, tcd->arg_1);
5682
#else
5683
  if (!cd->is_upcall())
5684
    tcd->result = impl->setScale(tcd->arg_0, tcd->arg_1);
5685
  else {
5686
    try {
5687
      tcd->result = impl->setScale(tcd->arg_0, tcd->arg_1);
5688
    }
5689
    catch(gepetto::Error& ex) {
5690
      throw omniORB::StubUserException(ex._NP_duplicate());
5691
    }
5692
5693
5694
  }
5695
#endif
5696
5697
5698
}
5699
5700
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setScale(const char* nodeName, const ::gepetto::corbaserver::Position scale)
5701
{
5702
  _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e5000000, "setScale", 9);
5703
  _call_desc.arg_0 = nodeName;
5704
  _call_desc.arg_1 = &scale[0];
5705
5706
  _invoke(_call_desc);
5707
  return _call_desc.result;
5708
5709
5710
}
5711
5712
5713
//
5714
// Code for gepetto::corbaserver::GraphicalInterface::setColor
5715
5716
// Proxy call descriptor class. Mangled signature:
5717
//  _cboolean_i_cstring_i_a4_cfloat_e_cgepetto_mError
5718
class _0RL_cd_0e2b00c21b9f97c5_f5000000
5719
  : public omniCallDescriptor
5720
{
5721
public:
5722
  inline _0RL_cd_0e2b00c21b9f97c5_f5000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5723
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5724
  {
5725
5726
  }
5727
5728
  void marshalArguments(cdrStream&);
5729
  void unmarshalArguments(cdrStream&);
5730
5731
  void unmarshalReturnedValues(cdrStream&);
5732
  void marshalReturnedValues(cdrStream&);
5733
5734
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5735
  static const char* const _user_exns[];
5736
5737
  ::CORBA::String_var arg_0_;
5738
  const char* arg_0;
5739
  gepetto::corbaserver::Color arg_1_;
5740
  const gepetto::corbaserver::Color_slice* arg_1;
5741
  ::CORBA::Boolean result;
5742
};
5743
5744
void _0RL_cd_0e2b00c21b9f97c5_f5000000::marshalArguments(cdrStream& _n)
5745
{
5746
  _n.marshalString(arg_0,0);
5747
  if (! _n.marshal_byte_swap()) {
5748
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_1),16,omni::ALIGN_4);
5749
  }
5750
  else
5751
  {
5752
    _n.declareArrayLength(omni::ALIGN_4, 16);
5753
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
5754
      arg_1[_0i0] >>= _n;
5755
    }
5756
  }
5757
5758
}
5759
5760
void _0RL_cd_0e2b00c21b9f97c5_f5000000::unmarshalArguments(cdrStream& _n)
5761
{
5762
  arg_0_ = _n.unmarshalString(0);
5763
  arg_0 = arg_0_.in();
5764
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_1_), 4);
5765
  arg_1 = &arg_1_[0];
5766
5767
}
5768
5769
void _0RL_cd_0e2b00c21b9f97c5_f5000000::marshalReturnedValues(cdrStream& _n)
5770
{
5771
  _n.marshalBoolean(result);
5772
5773
}
5774
5775
void _0RL_cd_0e2b00c21b9f97c5_f5000000::unmarshalReturnedValues(cdrStream& _n)
5776
{
5777
  result = _n.unmarshalBoolean();
5778
5779
}
5780
5781
const char* const _0RL_cd_0e2b00c21b9f97c5_f5000000::_user_exns[] = {
5782
  gepetto::Error::_PD_repoId
5783
};
5784
5785
void _0RL_cd_0e2b00c21b9f97c5_f5000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5786
{
5787
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5788
    gepetto::Error _ex;
5789
    _ex <<= s;
5790
    if (iop_client) iop_client->RequestCompleted();
5791
    throw _ex;
5792
  }
5793
5794
5795
  else {
5796
    if (iop_client) iop_client->RequestCompleted(1);
5797
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5798
                  (::CORBA::CompletionStatus)s.completion());
5799
  }
5800
}
5801
5802
// Local call call-back function.
5803
static void
5804
_0RL_lcfn_0e2b00c21b9f97c5_06000000(omniCallDescriptor* cd, omniServant* svnt)
5805
{
5806
  _0RL_cd_0e2b00c21b9f97c5_f5000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_f5000000*)cd;
5807
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5808
#ifdef HAS_Cplusplus_catch_exception_by_base
5809
  tcd->result = impl->setColor(tcd->arg_0, tcd->arg_1);
5810
#else
5811
  if (!cd->is_upcall())
5812
    tcd->result = impl->setColor(tcd->arg_0, tcd->arg_1);
5813
  else {
5814
    try {
5815
      tcd->result = impl->setColor(tcd->arg_0, tcd->arg_1);
5816
    }
5817
    catch(gepetto::Error& ex) {
5818
      throw omniORB::StubUserException(ex._NP_duplicate());
5819
    }
5820
5821
5822
  }
5823
#endif
5824
5825
5826
}
5827
5828
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setColor(const char* nodeName, const ::gepetto::corbaserver::Color scale)
5829
{
5830
  _0RL_cd_0e2b00c21b9f97c5_f5000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_06000000, "setColor", 9);
5831
  _call_desc.arg_0 = nodeName;
5832
  _call_desc.arg_1 = &scale[0];
5833
5834
  _invoke(_call_desc);
5835
  return _call_desc.result;
5836
5837
5838
}
5839
5840
5841
//
5842
// Code for gepetto::corbaserver::GraphicalInterface::setWireFrameMode
5843
5844
// Local call call-back function.
5845
static void
5846
_0RL_lcfn_0e2b00c21b9f97c5_16000000(omniCallDescriptor* cd, omniServant* svnt)
5847
{
5848
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
5849
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5850
#ifdef HAS_Cplusplus_catch_exception_by_base
5851
  tcd->result = impl->setWireFrameMode(tcd->arg_0, tcd->arg_1);
5852
#else
5853
  if (!cd->is_upcall())
5854
    tcd->result = impl->setWireFrameMode(tcd->arg_0, tcd->arg_1);
5855
  else {
5856
    try {
5857
      tcd->result = impl->setWireFrameMode(tcd->arg_0, tcd->arg_1);
5858
    }
5859
    catch(gepetto::Error& ex) {
5860
      throw omniORB::StubUserException(ex._NP_duplicate());
5861
    }
5862
5863
5864
  }
5865
#endif
5866
5867
5868
}
5869
5870
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setWireFrameMode(const char* nodeName, const char* wireFrameMode)
5871
{
5872
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_16000000, "setWireFrameMode", 17);
5873
  _call_desc.arg_0 = nodeName;
5874
  _call_desc.arg_1 = wireFrameMode;
5875
5876
  _invoke(_call_desc);
5877
  return _call_desc.result;
5878
5879
5880
}
5881
5882
5883
//
5884
// Code for gepetto::corbaserver::GraphicalInterface::setLightingMode
5885
5886
// Local call call-back function.
5887
static void
5888
_0RL_lcfn_0e2b00c21b9f97c5_26000000(omniCallDescriptor* cd, omniServant* svnt)
5889
{
5890
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
5891
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
5892
#ifdef HAS_Cplusplus_catch_exception_by_base
5893
  tcd->result = impl->setLightingMode(tcd->arg_0, tcd->arg_1);
5894
#else
5895
  if (!cd->is_upcall())
5896
    tcd->result = impl->setLightingMode(tcd->arg_0, tcd->arg_1);
5897
  else {
5898
    try {
5899
      tcd->result = impl->setLightingMode(tcd->arg_0, tcd->arg_1);
5900
    }
5901
    catch(gepetto::Error& ex) {
5902
      throw omniORB::StubUserException(ex._NP_duplicate());
5903
    }
5904
5905
5906
  }
5907
#endif
5908
5909
5910
}
5911
5912
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setLightingMode(const char* nodeName, const char* lightingMode)
5913
{
5914
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_26000000, "setLightingMode", 16);
5915
  _call_desc.arg_0 = nodeName;
5916
  _call_desc.arg_1 = lightingMode;
5917
5918
  _invoke(_call_desc);
5919
  return _call_desc.result;
5920
5921
5922
}
5923
5924
5925
//
5926
// Code for gepetto::corbaserver::GraphicalInterface::setHighlight
5927
5928
// Proxy call descriptor class. Mangled signature:
5929
//  _cboolean_i_cstring_i_clong_e_cgepetto_mError
5930
class _0RL_cd_0e2b00c21b9f97c5_36000000
5931
  : public omniCallDescriptor
5932
{
5933
public:
5934
  inline _0RL_cd_0e2b00c21b9f97c5_36000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
5935
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
5936
  {
5937
5938
  }
5939
5940
  void marshalArguments(cdrStream&);
5941
  void unmarshalArguments(cdrStream&);
5942
5943
  void unmarshalReturnedValues(cdrStream&);
5944
  void marshalReturnedValues(cdrStream&);
5945
5946
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
5947
  static const char* const _user_exns[];
5948
5949
  ::CORBA::String_var arg_0_;
5950
  const char* arg_0;
5951
  ::CORBA::Long arg_1;
5952
  ::CORBA::Boolean result;
5953
};
5954
5955
void _0RL_cd_0e2b00c21b9f97c5_36000000::marshalArguments(cdrStream& _n)
5956
{
5957
  _n.marshalString(arg_0,0);
5958
  arg_1 >>= _n;
5959
5960
}
5961
5962
void _0RL_cd_0e2b00c21b9f97c5_36000000::unmarshalArguments(cdrStream& _n)
5963
{
5964
  arg_0_ = _n.unmarshalString(0);
5965
  arg_0 = arg_0_.in();
5966
  (::CORBA::Long&)arg_1 <<= _n;
5967
5968
}
5969
5970
void _0RL_cd_0e2b00c21b9f97c5_36000000::marshalReturnedValues(cdrStream& _n)
5971
{
5972
  _n.marshalBoolean(result);
5973
5974
}
5975
5976
void _0RL_cd_0e2b00c21b9f97c5_36000000::unmarshalReturnedValues(cdrStream& _n)
5977
{
5978
  result = _n.unmarshalBoolean();
5979
5980
}
5981
5982
const char* const _0RL_cd_0e2b00c21b9f97c5_36000000::_user_exns[] = {
5983
  gepetto::Error::_PD_repoId
5984
};
5985
5986
void _0RL_cd_0e2b00c21b9f97c5_36000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
5987
{
5988
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
5989
    gepetto::Error _ex;
5990
    _ex <<= s;
5991
    if (iop_client) iop_client->RequestCompleted();
5992
    throw _ex;
5993
  }
5994
5995
5996
  else {
5997
    if (iop_client) iop_client->RequestCompleted(1);
5998
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
5999
                  (::CORBA::CompletionStatus)s.completion());
6000
  }
6001
}
6002
6003
// Local call call-back function.
6004
static void
6005
_0RL_lcfn_0e2b00c21b9f97c5_46000000(omniCallDescriptor* cd, omniServant* svnt)
6006
{
6007
  _0RL_cd_0e2b00c21b9f97c5_36000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_36000000*)cd;
6008
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6009
#ifdef HAS_Cplusplus_catch_exception_by_base
6010
  tcd->result = impl->setHighlight(tcd->arg_0, tcd->arg_1);
6011
#else
6012
  if (!cd->is_upcall())
6013
    tcd->result = impl->setHighlight(tcd->arg_0, tcd->arg_1);
6014
  else {
6015
    try {
6016
      tcd->result = impl->setHighlight(tcd->arg_0, tcd->arg_1);
6017
    }
6018
    catch(gepetto::Error& ex) {
6019
      throw omniORB::StubUserException(ex._NP_duplicate());
6020
    }
6021
6022
6023
  }
6024
#endif
6025
6026
6027
}
6028
6029
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setHighlight(const char* nodeName, ::CORBA::Long state)
6030
{
6031
  _0RL_cd_0e2b00c21b9f97c5_36000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_46000000, "setHighlight", 13);
6032
  _call_desc.arg_0 = nodeName;
6033
  _call_desc.arg_1 = state;
6034
6035
  _invoke(_call_desc);
6036
  return _call_desc.result;
6037
6038
6039
}
6040
6041
6042
//
6043
// Code for gepetto::corbaserver::GraphicalInterface::getPropertyNames
6044
6045
// Local call call-back function.
6046
static void
6047
_0RL_lcfn_0e2b00c21b9f97c5_56000000(omniCallDescriptor* cd, omniServant* svnt)
6048
{
6049
  _0RL_cd_0e2b00c21b9f97c5_94000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_94000000*)cd;
6050
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6051
#ifdef HAS_Cplusplus_catch_exception_by_base
6052
  tcd->result = impl->getPropertyNames(tcd->arg_0);
6053
#else
6054
  if (!cd->is_upcall())
6055
    tcd->result = impl->getPropertyNames(tcd->arg_0);
6056
  else {
6057
    try {
6058
      tcd->result = impl->getPropertyNames(tcd->arg_0);
6059
    }
6060
    catch(gepetto::Error& ex) {
6061
      throw omniORB::StubUserException(ex._NP_duplicate());
6062
    }
6063
6064
6065
  }
6066
#endif
6067
6068
6069
}
6070
6071
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getPropertyNames(const char* nodeName)
6072
{
6073
  _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_56000000, "getPropertyNames", 17);
6074
  _call_desc.arg_0 = nodeName;
6075
6076
  _invoke(_call_desc);
6077
  return _call_desc.result._retn();
6078
6079
6080
}
6081
6082
6083
//
6084
// Code for gepetto::corbaserver::GraphicalInterface::getPropertyTypes
6085
6086
// Local call call-back function.
6087
static void
6088
_0RL_lcfn_0e2b00c21b9f97c5_66000000(omniCallDescriptor* cd, omniServant* svnt)
6089
{
6090
  _0RL_cd_0e2b00c21b9f97c5_94000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_94000000*)cd;
6091
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6092
#ifdef HAS_Cplusplus_catch_exception_by_base
6093
  tcd->result = impl->getPropertyTypes(tcd->arg_0);
6094
#else
6095
  if (!cd->is_upcall())
6096
    tcd->result = impl->getPropertyTypes(tcd->arg_0);
6097
  else {
6098
    try {
6099
      tcd->result = impl->getPropertyTypes(tcd->arg_0);
6100
    }
6101
    catch(gepetto::Error& ex) {
6102
      throw omniORB::StubUserException(ex._NP_duplicate());
6103
    }
6104
6105
6106
  }
6107
#endif
6108
6109
6110
}
6111
6112
gepetto::corbaserver::Names_t* gepetto::corbaserver::_objref_GraphicalInterface::getPropertyTypes(const char* nodeName)
6113
{
6114
  _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_66000000, "getPropertyTypes", 17);
6115
  _call_desc.arg_0 = nodeName;
6116
6117
  _invoke(_call_desc);
6118
  return _call_desc.result._retn();
6119
6120
6121
}
6122
6123
6124
//
6125
// Code for gepetto::corbaserver::GraphicalInterface::setStringProperty
6126
6127
// Proxy call descriptor class. Mangled signature:
6128
//  void_i_cstring_i_cstring_i_cstring_e_cgepetto_mError
6129
class _0RL_cd_0e2b00c21b9f97c5_76000000
6130
  : public omniCallDescriptor
6131
{
6132
public:
6133
  inline _0RL_cd_0e2b00c21b9f97c5_76000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6134
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6135
  {
6136
6137
  }
6138
6139
  void marshalArguments(cdrStream&);
6140
  void unmarshalArguments(cdrStream&);
6141
6142
6143
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6144
  static const char* const _user_exns[];
6145
6146
  ::CORBA::String_var arg_0_;
6147
  const char* arg_0;
6148
  ::CORBA::String_var arg_1_;
6149
  const char* arg_1;
6150
  ::CORBA::String_var arg_2_;
6151
  const char* arg_2;
6152
};
6153
6154
void _0RL_cd_0e2b00c21b9f97c5_76000000::marshalArguments(cdrStream& _n)
6155
{
6156
  _n.marshalString(arg_0,0);
6157
  _n.marshalString(arg_1,0);
6158
  _n.marshalString(arg_2,0);
6159
6160
}
6161
6162
void _0RL_cd_0e2b00c21b9f97c5_76000000::unmarshalArguments(cdrStream& _n)
6163
{
6164
  arg_0_ = _n.unmarshalString(0);
6165
  arg_0 = arg_0_.in();
6166
  arg_1_ = _n.unmarshalString(0);
6167
  arg_1 = arg_1_.in();
6168
  arg_2_ = _n.unmarshalString(0);
6169
  arg_2 = arg_2_.in();
6170
6171
}
6172
6173
const char* const _0RL_cd_0e2b00c21b9f97c5_76000000::_user_exns[] = {
6174
  gepetto::Error::_PD_repoId
6175
};
6176
6177
void _0RL_cd_0e2b00c21b9f97c5_76000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6178
{
6179
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6180
    gepetto::Error _ex;
6181
    _ex <<= s;
6182
    if (iop_client) iop_client->RequestCompleted();
6183
    throw _ex;
6184
  }
6185
6186
6187
  else {
6188
    if (iop_client) iop_client->RequestCompleted(1);
6189
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6190
                  (::CORBA::CompletionStatus)s.completion());
6191
  }
6192
}
6193
6194
// Local call call-back function.
6195
static void
6196
_0RL_lcfn_0e2b00c21b9f97c5_86000000(omniCallDescriptor* cd, omniServant* svnt)
6197
{
6198
  _0RL_cd_0e2b00c21b9f97c5_76000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_76000000*)cd;
6199
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6200
#ifdef HAS_Cplusplus_catch_exception_by_base
6201
  impl->setStringProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6202
#else
6203
  if (!cd->is_upcall())
6204
    impl->setStringProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6205
  else {
6206
    try {
6207
      impl->setStringProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6208
    }
6209
    catch(gepetto::Error& ex) {
6210
      throw omniORB::StubUserException(ex._NP_duplicate());
6211
    }
6212
6213
6214
  }
6215
#endif
6216
6217
6218
}
6219
6220
void gepetto::corbaserver::_objref_GraphicalInterface::setStringProperty(const char* nodeName, const char* propName, const char* value)
6221
{
6222
  _0RL_cd_0e2b00c21b9f97c5_76000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_86000000, "setStringProperty", 18);
6223
  _call_desc.arg_0 = nodeName;
6224
  _call_desc.arg_1 = propName;
6225
  _call_desc.arg_2 = value;
6226
6227
  _invoke(_call_desc);
6228
6229
6230
6231
}
6232
6233
6234
//
6235
// Code for gepetto::corbaserver::GraphicalInterface::getStringProperty
6236
6237
// Proxy call descriptor class. Mangled signature:
6238
//  _cstring_i_cstring_i_cstring_e_cgepetto_mError
6239
class _0RL_cd_0e2b00c21b9f97c5_96000000
6240
  : public omniCallDescriptor
6241
{
6242
public:
6243
  inline _0RL_cd_0e2b00c21b9f97c5_96000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6244
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6245
  {
6246
6247
  }
6248
6249
  void marshalArguments(cdrStream&);
6250
  void unmarshalArguments(cdrStream&);
6251
6252
  void unmarshalReturnedValues(cdrStream&);
6253
  void marshalReturnedValues(cdrStream&);
6254
6255
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6256
  static const char* const _user_exns[];
6257
6258
  ::CORBA::String_var arg_0_;
6259
  const char* arg_0;
6260
  ::CORBA::String_var arg_1_;
6261
  const char* arg_1;
6262
  ::CORBA::String_var result;
6263
};
6264
6265
void _0RL_cd_0e2b00c21b9f97c5_96000000::marshalArguments(cdrStream& _n)
6266
{
6267
  _n.marshalString(arg_0,0);
6268
  _n.marshalString(arg_1,0);
6269
6270
}
6271
6272
void _0RL_cd_0e2b00c21b9f97c5_96000000::unmarshalArguments(cdrStream& _n)
6273
{
6274
  arg_0_ = _n.unmarshalString(0);
6275
  arg_0 = arg_0_.in();
6276
  arg_1_ = _n.unmarshalString(0);
6277
  arg_1 = arg_1_.in();
6278
6279
}
6280
6281
void _0RL_cd_0e2b00c21b9f97c5_96000000::marshalReturnedValues(cdrStream& _n)
6282
{
6283
  _n.marshalString(result,0);
6284
6285
}
6286
6287
void _0RL_cd_0e2b00c21b9f97c5_96000000::unmarshalReturnedValues(cdrStream& _n)
6288
{
6289
  result = _n.unmarshalString(0);
6290
6291
}
6292
6293
const char* const _0RL_cd_0e2b00c21b9f97c5_96000000::_user_exns[] = {
6294
  gepetto::Error::_PD_repoId
6295
};
6296
6297
void _0RL_cd_0e2b00c21b9f97c5_96000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6298
{
6299
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6300
    gepetto::Error _ex;
6301
    _ex <<= s;
6302
    if (iop_client) iop_client->RequestCompleted();
6303
    throw _ex;
6304
  }
6305
6306
6307
  else {
6308
    if (iop_client) iop_client->RequestCompleted(1);
6309
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6310
                  (::CORBA::CompletionStatus)s.completion());
6311
  }
6312
}
6313
6314
// Local call call-back function.
6315
static void
6316
_0RL_lcfn_0e2b00c21b9f97c5_a6000000(omniCallDescriptor* cd, omniServant* svnt)
6317
{
6318
  _0RL_cd_0e2b00c21b9f97c5_96000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_96000000*)cd;
6319
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6320
#ifdef HAS_Cplusplus_catch_exception_by_base
6321
  tcd->result = impl->getStringProperty(tcd->arg_0, tcd->arg_1);
6322
#else
6323
  if (!cd->is_upcall())
6324
    tcd->result = impl->getStringProperty(tcd->arg_0, tcd->arg_1);
6325
  else {
6326
    try {
6327
      tcd->result = impl->getStringProperty(tcd->arg_0, tcd->arg_1);
6328
    }
6329
    catch(gepetto::Error& ex) {
6330
      throw omniORB::StubUserException(ex._NP_duplicate());
6331
    }
6332
6333
6334
  }
6335
#endif
6336
6337
6338
}
6339
6340
char* gepetto::corbaserver::_objref_GraphicalInterface::getStringProperty(const char* nodeName, const char* propName)
6341
{
6342
  _0RL_cd_0e2b00c21b9f97c5_96000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a6000000, "getStringProperty", 18);
6343
  _call_desc.arg_0 = nodeName;
6344
  _call_desc.arg_1 = propName;
6345
6346
  _invoke(_call_desc);
6347
  return _call_desc.result._retn();
6348
6349
6350
}
6351
6352
6353
//
6354
// Code for gepetto::corbaserver::GraphicalInterface::setColorProperty
6355
6356
// Proxy call descriptor class. Mangled signature:
6357
//  void_i_cstring_i_cstring_i_a4_cfloat_e_cgepetto_mError
6358
class _0RL_cd_0e2b00c21b9f97c5_b6000000
6359
  : public omniCallDescriptor
6360
{
6361
public:
6362
  inline _0RL_cd_0e2b00c21b9f97c5_b6000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6363
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6364
  {
6365
6366
  }
6367
6368
  void marshalArguments(cdrStream&);
6369
  void unmarshalArguments(cdrStream&);
6370
6371
6372
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6373
  static const char* const _user_exns[];
6374
6375
  ::CORBA::String_var arg_0_;
6376
  const char* arg_0;
6377
  ::CORBA::String_var arg_1_;
6378
  const char* arg_1;
6379
  gepetto::corbaserver::Color arg_2_;
6380
  const gepetto::corbaserver::Color_slice* arg_2;
6381
};
6382
6383
void _0RL_cd_0e2b00c21b9f97c5_b6000000::marshalArguments(cdrStream& _n)
6384
{
6385
  _n.marshalString(arg_0,0);
6386
  _n.marshalString(arg_1,0);
6387
  if (! _n.marshal_byte_swap()) {
6388
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),16,omni::ALIGN_4);
6389
  }
6390
  else
6391
  {
6392
    _n.declareArrayLength(omni::ALIGN_4, 16);
6393
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
6394
      arg_2[_0i0] >>= _n;
6395
    }
6396
  }
6397
6398
}
6399
6400
void _0RL_cd_0e2b00c21b9f97c5_b6000000::unmarshalArguments(cdrStream& _n)
6401
{
6402
  arg_0_ = _n.unmarshalString(0);
6403
  arg_0 = arg_0_.in();
6404
  arg_1_ = _n.unmarshalString(0);
6405
  arg_1 = arg_1_.in();
6406
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 4);
6407
  arg_2 = &arg_2_[0];
6408
6409
}
6410
6411
const char* const _0RL_cd_0e2b00c21b9f97c5_b6000000::_user_exns[] = {
6412
  gepetto::Error::_PD_repoId
6413
};
6414
6415
void _0RL_cd_0e2b00c21b9f97c5_b6000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6416
{
6417
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6418
    gepetto::Error _ex;
6419
    _ex <<= s;
6420
    if (iop_client) iop_client->RequestCompleted();
6421
    throw _ex;
6422
  }
6423
6424
6425
  else {
6426
    if (iop_client) iop_client->RequestCompleted(1);
6427
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6428
                  (::CORBA::CompletionStatus)s.completion());
6429
  }
6430
}
6431
6432
// Local call call-back function.
6433
static void
6434
_0RL_lcfn_0e2b00c21b9f97c5_c6000000(omniCallDescriptor* cd, omniServant* svnt)
6435
{
6436
  _0RL_cd_0e2b00c21b9f97c5_b6000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b6000000*)cd;
6437
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6438
#ifdef HAS_Cplusplus_catch_exception_by_base
6439
  impl->setColorProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6440
#else
6441
  if (!cd->is_upcall())
6442
    impl->setColorProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6443
  else {
6444
    try {
6445
      impl->setColorProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6446
    }
6447
    catch(gepetto::Error& ex) {
6448
      throw omniORB::StubUserException(ex._NP_duplicate());
6449
    }
6450
6451
6452
  }
6453
#endif
6454
6455
6456
}
6457
6458
void gepetto::corbaserver::_objref_GraphicalInterface::setColorProperty(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Color value)
6459
{
6460
  _0RL_cd_0e2b00c21b9f97c5_b6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c6000000, "setColorProperty", 17);
6461
  _call_desc.arg_0 = nodeName;
6462
  _call_desc.arg_1 = propName;
6463
  _call_desc.arg_2 = &value[0];
6464
6465
  _invoke(_call_desc);
6466
6467
6468
6469
}
6470
6471
6472
//
6473
// Code for gepetto::corbaserver::GraphicalInterface::getColorProperty
6474
6475
// Proxy call descriptor class. Mangled signature:
6476
//  _a4_cfloat_i_cstring_i_cstring_e_cgepetto_mError
6477
class _0RL_cd_0e2b00c21b9f97c5_d6000000
6478
  : public omniCallDescriptor
6479
{
6480
public:
6481
  inline _0RL_cd_0e2b00c21b9f97c5_d6000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6482
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6483
  {
6484
6485
  }
6486
6487
  void marshalArguments(cdrStream&);
6488
  void unmarshalArguments(cdrStream&);
6489
6490
  void unmarshalReturnedValues(cdrStream&);
6491
  void marshalReturnedValues(cdrStream&);
6492
6493
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6494
  static const char* const _user_exns[];
6495
6496
  ::CORBA::String_var arg_0_;
6497
  const char* arg_0;
6498
  ::CORBA::String_var arg_1_;
6499
  const char* arg_1;
6500
  gepetto::corbaserver::Color_var result;
6501
};
6502
6503
void _0RL_cd_0e2b00c21b9f97c5_d6000000::marshalArguments(cdrStream& _n)
6504
{
6505
  _n.marshalString(arg_0,0);
6506
  _n.marshalString(arg_1,0);
6507
6508
}
6509
6510
void _0RL_cd_0e2b00c21b9f97c5_d6000000::unmarshalArguments(cdrStream& _n)
6511
{
6512
  arg_0_ = _n.unmarshalString(0);
6513
  arg_0 = arg_0_.in();
6514
  arg_1_ = _n.unmarshalString(0);
6515
  arg_1 = arg_1_.in();
6516
6517
}
6518
6519
void _0RL_cd_0e2b00c21b9f97c5_d6000000::marshalReturnedValues(cdrStream& _n)
6520
{
6521
  if (! _n.marshal_byte_swap()) {
6522
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)result),16,omni::ALIGN_4);
6523
  }
6524
  else
6525
  {
6526
    _n.declareArrayLength(omni::ALIGN_4, 16);
6527
    for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){
6528
      result[_0i0] >>= _n;
6529
    }
6530
  }
6531
6532
}
6533
6534
void _0RL_cd_0e2b00c21b9f97c5_d6000000::unmarshalReturnedValues(cdrStream& _n)
6535
{
6536
  result = gepetto::corbaserver::Color_alloc();
6537
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)result), 4);
6538
6539
}
6540
6541
const char* const _0RL_cd_0e2b00c21b9f97c5_d6000000::_user_exns[] = {
6542
  gepetto::Error::_PD_repoId
6543
};
6544
6545
void _0RL_cd_0e2b00c21b9f97c5_d6000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6546
{
6547
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6548
    gepetto::Error _ex;
6549
    _ex <<= s;
6550
    if (iop_client) iop_client->RequestCompleted();
6551
    throw _ex;
6552
  }
6553
6554
6555
  else {
6556
    if (iop_client) iop_client->RequestCompleted(1);
6557
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6558
                  (::CORBA::CompletionStatus)s.completion());
6559
  }
6560
}
6561
6562
// Local call call-back function.
6563
static void
6564
_0RL_lcfn_0e2b00c21b9f97c5_e6000000(omniCallDescriptor* cd, omniServant* svnt)
6565
{
6566
  _0RL_cd_0e2b00c21b9f97c5_d6000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d6000000*)cd;
6567
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6568
#ifdef HAS_Cplusplus_catch_exception_by_base
6569
  tcd->result = impl->getColorProperty(tcd->arg_0, tcd->arg_1);
6570
#else
6571
  if (!cd->is_upcall())
6572
    tcd->result = impl->getColorProperty(tcd->arg_0, tcd->arg_1);
6573
  else {
6574
    try {
6575
      tcd->result = impl->getColorProperty(tcd->arg_0, tcd->arg_1);
6576
    }
6577
    catch(gepetto::Error& ex) {
6578
      throw omniORB::StubUserException(ex._NP_duplicate());
6579
    }
6580
6581
6582
  }
6583
#endif
6584
6585
6586
}
6587
6588
gepetto::corbaserver::Color_slice* gepetto::corbaserver::_objref_GraphicalInterface::getColorProperty(const char* nodeName, const char* propName)
6589
{
6590
  _0RL_cd_0e2b00c21b9f97c5_d6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e6000000, "getColorProperty", 17);
6591
  _call_desc.arg_0 = nodeName;
6592
  _call_desc.arg_1 = propName;
6593
6594
  _invoke(_call_desc);
6595
  return _call_desc.result._retn();
6596
6597
6598
}
6599
6600
6601
//
6602
// Code for gepetto::corbaserver::GraphicalInterface::setVector3Property
6603
6604
// Proxy call descriptor class. Mangled signature:
6605
//  void_i_cstring_i_cstring_i_a3_cfloat_e_cgepetto_mError
6606
class _0RL_cd_0e2b00c21b9f97c5_f6000000
6607
  : public omniCallDescriptor
6608
{
6609
public:
6610
  inline _0RL_cd_0e2b00c21b9f97c5_f6000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6611
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6612
  {
6613
6614
  }
6615
6616
  void marshalArguments(cdrStream&);
6617
  void unmarshalArguments(cdrStream&);
6618
6619
6620
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6621
  static const char* const _user_exns[];
6622
6623
  ::CORBA::String_var arg_0_;
6624
  const char* arg_0;
6625
  ::CORBA::String_var arg_1_;
6626
  const char* arg_1;
6627
  gepetto::corbaserver::Position arg_2_;
6628
  const gepetto::corbaserver::Position_slice* arg_2;
6629
};
6630
6631
void _0RL_cd_0e2b00c21b9f97c5_f6000000::marshalArguments(cdrStream& _n)
6632
{
6633
  _n.marshalString(arg_0,0);
6634
  _n.marshalString(arg_1,0);
6635
  if (! _n.marshal_byte_swap()) {
6636
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),12,omni::ALIGN_4);
6637
  }
6638
  else
6639
  {
6640
    _n.declareArrayLength(omni::ALIGN_4, 12);
6641
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
6642
      arg_2[_0i0] >>= _n;
6643
    }
6644
  }
6645
6646
}
6647
6648
void _0RL_cd_0e2b00c21b9f97c5_f6000000::unmarshalArguments(cdrStream& _n)
6649
{
6650
  arg_0_ = _n.unmarshalString(0);
6651
  arg_0 = arg_0_.in();
6652
  arg_1_ = _n.unmarshalString(0);
6653
  arg_1 = arg_1_.in();
6654
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 3);
6655
  arg_2 = &arg_2_[0];
6656
6657
}
6658
6659
const char* const _0RL_cd_0e2b00c21b9f97c5_f6000000::_user_exns[] = {
6660
  gepetto::Error::_PD_repoId
6661
};
6662
6663
void _0RL_cd_0e2b00c21b9f97c5_f6000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6664
{
6665
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6666
    gepetto::Error _ex;
6667
    _ex <<= s;
6668
    if (iop_client) iop_client->RequestCompleted();
6669
    throw _ex;
6670
  }
6671
6672
6673
  else {
6674
    if (iop_client) iop_client->RequestCompleted(1);
6675
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6676
                  (::CORBA::CompletionStatus)s.completion());
6677
  }
6678
}
6679
6680
// Local call call-back function.
6681
static void
6682
_0RL_lcfn_0e2b00c21b9f97c5_07000000(omniCallDescriptor* cd, omniServant* svnt)
6683
{
6684
  _0RL_cd_0e2b00c21b9f97c5_f6000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_f6000000*)cd;
6685
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6686
#ifdef HAS_Cplusplus_catch_exception_by_base
6687
  impl->setVector3Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6688
#else
6689
  if (!cd->is_upcall())
6690
    impl->setVector3Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6691
  else {
6692
    try {
6693
      impl->setVector3Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6694
    }
6695
    catch(gepetto::Error& ex) {
6696
      throw omniORB::StubUserException(ex._NP_duplicate());
6697
    }
6698
6699
6700
  }
6701
#endif
6702
6703
6704
}
6705
6706
void gepetto::corbaserver::_objref_GraphicalInterface::setVector3Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Position value)
6707
{
6708
  _0RL_cd_0e2b00c21b9f97c5_f6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_07000000, "setVector3Property", 19);
6709
  _call_desc.arg_0 = nodeName;
6710
  _call_desc.arg_1 = propName;
6711
  _call_desc.arg_2 = &value[0];
6712
6713
  _invoke(_call_desc);
6714
6715
6716
6717
}
6718
6719
6720
//
6721
// Code for gepetto::corbaserver::GraphicalInterface::getVector3Property
6722
6723
// Proxy call descriptor class. Mangled signature:
6724
//  _a3_cfloat_i_cstring_i_cstring_e_cgepetto_mError
6725
class _0RL_cd_0e2b00c21b9f97c5_17000000
6726
  : public omniCallDescriptor
6727
{
6728
public:
6729
  inline _0RL_cd_0e2b00c21b9f97c5_17000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6730
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6731
  {
6732
6733
  }
6734
6735
  void marshalArguments(cdrStream&);
6736
  void unmarshalArguments(cdrStream&);
6737
6738
  void unmarshalReturnedValues(cdrStream&);
6739
  void marshalReturnedValues(cdrStream&);
6740
6741
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6742
  static const char* const _user_exns[];
6743
6744
  ::CORBA::String_var arg_0_;
6745
  const char* arg_0;
6746
  ::CORBA::String_var arg_1_;
6747
  const char* arg_1;
6748
  gepetto::corbaserver::Position_var result;
6749
};
6750
6751
void _0RL_cd_0e2b00c21b9f97c5_17000000::marshalArguments(cdrStream& _n)
6752
{
6753
  _n.marshalString(arg_0,0);
6754
  _n.marshalString(arg_1,0);
6755
6756
}
6757
6758
void _0RL_cd_0e2b00c21b9f97c5_17000000::unmarshalArguments(cdrStream& _n)
6759
{
6760
  arg_0_ = _n.unmarshalString(0);
6761
  arg_0 = arg_0_.in();
6762
  arg_1_ = _n.unmarshalString(0);
6763
  arg_1 = arg_1_.in();
6764
6765
}
6766
6767
void _0RL_cd_0e2b00c21b9f97c5_17000000::marshalReturnedValues(cdrStream& _n)
6768
{
6769
  if (! _n.marshal_byte_swap()) {
6770
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)result),12,omni::ALIGN_4);
6771
  }
6772
  else
6773
  {
6774
    _n.declareArrayLength(omni::ALIGN_4, 12);
6775
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
6776
      result[_0i0] >>= _n;
6777
    }
6778
  }
6779
6780
}
6781
6782
void _0RL_cd_0e2b00c21b9f97c5_17000000::unmarshalReturnedValues(cdrStream& _n)
6783
{
6784
  result = gepetto::corbaserver::Position_alloc();
6785
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)result), 3);
6786
6787
}
6788
6789
const char* const _0RL_cd_0e2b00c21b9f97c5_17000000::_user_exns[] = {
6790
  gepetto::Error::_PD_repoId
6791
};
6792
6793
void _0RL_cd_0e2b00c21b9f97c5_17000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6794
{
6795
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6796
    gepetto::Error _ex;
6797
    _ex <<= s;
6798
    if (iop_client) iop_client->RequestCompleted();
6799
    throw _ex;
6800
  }
6801
6802
6803
  else {
6804
    if (iop_client) iop_client->RequestCompleted(1);
6805
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6806
                  (::CORBA::CompletionStatus)s.completion());
6807
  }
6808
}
6809
6810
// Local call call-back function.
6811
static void
6812
_0RL_lcfn_0e2b00c21b9f97c5_27000000(omniCallDescriptor* cd, omniServant* svnt)
6813
{
6814
  _0RL_cd_0e2b00c21b9f97c5_17000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_17000000*)cd;
6815
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6816
#ifdef HAS_Cplusplus_catch_exception_by_base
6817
  tcd->result = impl->getVector3Property(tcd->arg_0, tcd->arg_1);
6818
#else
6819
  if (!cd->is_upcall())
6820
    tcd->result = impl->getVector3Property(tcd->arg_0, tcd->arg_1);
6821
  else {
6822
    try {
6823
      tcd->result = impl->getVector3Property(tcd->arg_0, tcd->arg_1);
6824
    }
6825
    catch(gepetto::Error& ex) {
6826
      throw omniORB::StubUserException(ex._NP_duplicate());
6827
    }
6828
6829
6830
  }
6831
#endif
6832
6833
6834
}
6835
6836
gepetto::corbaserver::Position_slice* gepetto::corbaserver::_objref_GraphicalInterface::getVector3Property(const char* nodeName, const char* propName)
6837
{
6838
  _0RL_cd_0e2b00c21b9f97c5_17000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_27000000, "getVector3Property", 19);
6839
  _call_desc.arg_0 = nodeName;
6840
  _call_desc.arg_1 = propName;
6841
6842
  _invoke(_call_desc);
6843
  return _call_desc.result._retn();
6844
6845
6846
}
6847
6848
6849
//
6850
// Code for gepetto::corbaserver::GraphicalInterface::setVector2Property
6851
6852
// Proxy call descriptor class. Mangled signature:
6853
//  void_i_cstring_i_cstring_i_a2_cfloat_e_cgepetto_mError
6854
class _0RL_cd_0e2b00c21b9f97c5_37000000
6855
  : public omniCallDescriptor
6856
{
6857
public:
6858
  inline _0RL_cd_0e2b00c21b9f97c5_37000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
6859
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
6860
  {
6861
6862
  }
6863
6864
  void marshalArguments(cdrStream&);
6865
  void unmarshalArguments(cdrStream&);
6866
6867
6868
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
6869
  static const char* const _user_exns[];
6870
6871
  ::CORBA::String_var arg_0_;
6872
  const char* arg_0;
6873
  ::CORBA::String_var arg_1_;
6874
  const char* arg_1;
6875
  gepetto::corbaserver::Vector2 arg_2_;
6876
  const gepetto::corbaserver::Vector2_slice* arg_2;
6877
};
6878
6879
void _0RL_cd_0e2b00c21b9f97c5_37000000::marshalArguments(cdrStream& _n)
6880
{
6881
  _n.marshalString(arg_0,0);
6882
  _n.marshalString(arg_1,0);
6883
  if (! _n.marshal_byte_swap()) {
6884
    _n.put_octet_array((_CORBA_Octet*)((::CORBA::Float*)arg_2),8,omni::ALIGN_4);
6885
  }
6886
  else
6887
  {
6888
    _n.declareArrayLength(omni::ALIGN_4, 8);
6889
    for (_CORBA_ULong _0i0 = 0; _0i0 < 2; _0i0++){
6890
      arg_2[_0i0] >>= _n;
6891
    }
6892
  }
6893
6894
}
6895
6896
void _0RL_cd_0e2b00c21b9f97c5_37000000::unmarshalArguments(cdrStream& _n)
6897
{
6898
  arg_0_ = _n.unmarshalString(0);
6899
  arg_0 = arg_0_.in();
6900
  arg_1_ = _n.unmarshalString(0);
6901
  arg_1 = arg_1_.in();
6902
  _n.unmarshalArrayFloat((_CORBA_Float*)((::CORBA::Float*)arg_2_), 2);
6903
  arg_2 = &arg_2_[0];
6904
6905
}
6906
6907
const char* const _0RL_cd_0e2b00c21b9f97c5_37000000::_user_exns[] = {
6908
  gepetto::Error::_PD_repoId
6909
};
6910
6911
void _0RL_cd_0e2b00c21b9f97c5_37000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
6912
{
6913
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
6914
    gepetto::Error _ex;
6915
    _ex <<= s;
6916
    if (iop_client) iop_client->RequestCompleted();
6917
    throw _ex;
6918
  }
6919
6920
6921
  else {
6922
    if (iop_client) iop_client->RequestCompleted(1);
6923
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
6924
                  (::CORBA::CompletionStatus)s.completion());
6925
  }
6926
}
6927
6928
// Local call call-back function.
6929
static void
6930
_0RL_lcfn_0e2b00c21b9f97c5_47000000(omniCallDescriptor* cd, omniServant* svnt)
6931
{
6932
  _0RL_cd_0e2b00c21b9f97c5_37000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_37000000*)cd;
6933
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6934
#ifdef HAS_Cplusplus_catch_exception_by_base
6935
  impl->setVector2Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6936
#else
6937
  if (!cd->is_upcall())
6938
    impl->setVector2Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6939
  else {
6940
    try {
6941
      impl->setVector2Property(tcd->arg_0, tcd->arg_1, tcd->arg_2);
6942
    }
6943
    catch(gepetto::Error& ex) {
6944
      throw omniORB::StubUserException(ex._NP_duplicate());
6945
    }
6946
6947
6948
  }
6949
#endif
6950
6951
6952
}
6953
6954
void gepetto::corbaserver::_objref_GraphicalInterface::setVector2Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Vector2 value)
6955
{
6956
  _0RL_cd_0e2b00c21b9f97c5_37000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_47000000, "setVector2Property", 19);
6957
  _call_desc.arg_0 = nodeName;
6958
  _call_desc.arg_1 = propName;
6959
  _call_desc.arg_2 = &value[0];
6960
6961
  _invoke(_call_desc);
6962
6963
6964
6965
}
6966
6967
6968
//
6969
// Code for gepetto::corbaserver::GraphicalInterface::getVector2Property
6970
6971
// Local call call-back function.
6972
static void
6973
_0RL_lcfn_0e2b00c21b9f97c5_57000000(omniCallDescriptor* cd, omniServant* svnt)
6974
{
6975
  _0RL_cd_0e2b00c21b9f97c5_17000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_17000000*)cd;
6976
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
6977
#ifdef HAS_Cplusplus_catch_exception_by_base
6978
  tcd->result = impl->getVector2Property(tcd->arg_0, tcd->arg_1);
6979
#else
6980
  if (!cd->is_upcall())
6981
    tcd->result = impl->getVector2Property(tcd->arg_0, tcd->arg_1);
6982
  else {
6983
    try {
6984
      tcd->result = impl->getVector2Property(tcd->arg_0, tcd->arg_1);
6985
    }
6986
    catch(gepetto::Error& ex) {
6987
      throw omniORB::StubUserException(ex._NP_duplicate());
6988
    }
6989
6990
6991
  }
6992
#endif
6993
6994
6995
}
6996
6997
gepetto::corbaserver::Position_slice* gepetto::corbaserver::_objref_GraphicalInterface::getVector2Property(const char* nodeName, const char* propName)
6998
{
6999
  _0RL_cd_0e2b00c21b9f97c5_17000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_57000000, "getVector2Property", 19);
7000
  _call_desc.arg_0 = nodeName;
7001
  _call_desc.arg_1 = propName;
7002
7003
  _invoke(_call_desc);
7004
  return _call_desc.result._retn();
7005
7006
7007
}
7008
7009
7010
//
7011
// Code for gepetto::corbaserver::GraphicalInterface::setFloatProperty
7012
7013
// Proxy call descriptor class. Mangled signature:
7014
//  void_i_cstring_i_cstring_i_cfloat_e_cgepetto_mError
7015
class _0RL_cd_0e2b00c21b9f97c5_67000000
7016
  : public omniCallDescriptor
7017
{
7018
public:
7019
  inline _0RL_cd_0e2b00c21b9f97c5_67000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7020
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7021
  {
7022
7023
  }
7024
7025
  void marshalArguments(cdrStream&);
7026
  void unmarshalArguments(cdrStream&);
7027
7028
7029
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7030
  static const char* const _user_exns[];
7031
7032
  ::CORBA::String_var arg_0_;
7033
  const char* arg_0;
7034
  ::CORBA::String_var arg_1_;
7035
  const char* arg_1;
7036
  ::CORBA::Float arg_2;
7037
};
7038
7039
void _0RL_cd_0e2b00c21b9f97c5_67000000::marshalArguments(cdrStream& _n)
7040
{
7041
  _n.marshalString(arg_0,0);
7042
  _n.marshalString(arg_1,0);
7043
  arg_2 >>= _n;
7044
7045
}
7046
7047
void _0RL_cd_0e2b00c21b9f97c5_67000000::unmarshalArguments(cdrStream& _n)
7048
{
7049
  arg_0_ = _n.unmarshalString(0);
7050
  arg_0 = arg_0_.in();
7051
  arg_1_ = _n.unmarshalString(0);
7052
  arg_1 = arg_1_.in();
7053
  (::CORBA::Float&)arg_2 <<= _n;
7054
7055
}
7056
7057
const char* const _0RL_cd_0e2b00c21b9f97c5_67000000::_user_exns[] = {
7058
  gepetto::Error::_PD_repoId
7059
};
7060
7061
void _0RL_cd_0e2b00c21b9f97c5_67000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7062
{
7063
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7064
    gepetto::Error _ex;
7065
    _ex <<= s;
7066
    if (iop_client) iop_client->RequestCompleted();
7067
    throw _ex;
7068
  }
7069
7070
7071
  else {
7072
    if (iop_client) iop_client->RequestCompleted(1);
7073
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7074
                  (::CORBA::CompletionStatus)s.completion());
7075
  }
7076
}
7077
7078
// Local call call-back function.
7079
static void
7080
_0RL_lcfn_0e2b00c21b9f97c5_77000000(omniCallDescriptor* cd, omniServant* svnt)
7081
{
7082
  _0RL_cd_0e2b00c21b9f97c5_67000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_67000000*)cd;
7083
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7084
#ifdef HAS_Cplusplus_catch_exception_by_base
7085
  impl->setFloatProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7086
#else
7087
  if (!cd->is_upcall())
7088
    impl->setFloatProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7089
  else {
7090
    try {
7091
      impl->setFloatProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7092
    }
7093
    catch(gepetto::Error& ex) {
7094
      throw omniORB::StubUserException(ex._NP_duplicate());
7095
    }
7096
7097
7098
  }
7099
#endif
7100
7101
7102
}
7103
7104
void gepetto::corbaserver::_objref_GraphicalInterface::setFloatProperty(const char* nodeName, const char* propName, ::CORBA::Float value)
7105
{
7106
  _0RL_cd_0e2b00c21b9f97c5_67000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_77000000, "setFloatProperty", 17);
7107
  _call_desc.arg_0 = nodeName;
7108
  _call_desc.arg_1 = propName;
7109
  _call_desc.arg_2 = value;
7110
7111
  _invoke(_call_desc);
7112
7113
7114
7115
}
7116
7117
7118
//
7119
// Code for gepetto::corbaserver::GraphicalInterface::getFloatProperty
7120
7121
// Proxy call descriptor class. Mangled signature:
7122
//  _cfloat_i_cstring_i_cstring_e_cgepetto_mError
7123
class _0RL_cd_0e2b00c21b9f97c5_87000000
7124
  : public omniCallDescriptor
7125
{
7126
public:
7127
  inline _0RL_cd_0e2b00c21b9f97c5_87000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7128
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7129
  {
7130
7131
  }
7132
7133
  void marshalArguments(cdrStream&);
7134
  void unmarshalArguments(cdrStream&);
7135
7136
  void unmarshalReturnedValues(cdrStream&);
7137
  void marshalReturnedValues(cdrStream&);
7138
7139
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7140
  static const char* const _user_exns[];
7141
7142
  ::CORBA::String_var arg_0_;
7143
  const char* arg_0;
7144
  ::CORBA::String_var arg_1_;
7145
  const char* arg_1;
7146
  ::CORBA::Float result;
7147
};
7148
7149
void _0RL_cd_0e2b00c21b9f97c5_87000000::marshalArguments(cdrStream& _n)
7150
{
7151
  _n.marshalString(arg_0,0);
7152
  _n.marshalString(arg_1,0);
7153
7154
}
7155
7156
void _0RL_cd_0e2b00c21b9f97c5_87000000::unmarshalArguments(cdrStream& _n)
7157
{
7158
  arg_0_ = _n.unmarshalString(0);
7159
  arg_0 = arg_0_.in();
7160
  arg_1_ = _n.unmarshalString(0);
7161
  arg_1 = arg_1_.in();
7162
7163
}
7164
7165
void _0RL_cd_0e2b00c21b9f97c5_87000000::marshalReturnedValues(cdrStream& _n)
7166
{
7167
  result >>= _n;
7168
7169
}
7170
7171
void _0RL_cd_0e2b00c21b9f97c5_87000000::unmarshalReturnedValues(cdrStream& _n)
7172
{
7173
  (::CORBA::Float&)result <<= _n;
7174
7175
}
7176
7177
const char* const _0RL_cd_0e2b00c21b9f97c5_87000000::_user_exns[] = {
7178
  gepetto::Error::_PD_repoId
7179
};
7180
7181
void _0RL_cd_0e2b00c21b9f97c5_87000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7182
{
7183
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7184
    gepetto::Error _ex;
7185
    _ex <<= s;
7186
    if (iop_client) iop_client->RequestCompleted();
7187
    throw _ex;
7188
  }
7189
7190
7191
  else {
7192
    if (iop_client) iop_client->RequestCompleted(1);
7193
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7194
                  (::CORBA::CompletionStatus)s.completion());
7195
  }
7196
}
7197
7198
// Local call call-back function.
7199
static void
7200
_0RL_lcfn_0e2b00c21b9f97c5_97000000(omniCallDescriptor* cd, omniServant* svnt)
7201
{
7202
  _0RL_cd_0e2b00c21b9f97c5_87000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_87000000*)cd;
7203
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7204
#ifdef HAS_Cplusplus_catch_exception_by_base
7205
  tcd->result = impl->getFloatProperty(tcd->arg_0, tcd->arg_1);
7206
#else
7207
  if (!cd->is_upcall())
7208
    tcd->result = impl->getFloatProperty(tcd->arg_0, tcd->arg_1);
7209
  else {
7210
    try {
7211
      tcd->result = impl->getFloatProperty(tcd->arg_0, tcd->arg_1);
7212
    }
7213
    catch(gepetto::Error& ex) {
7214
      throw omniORB::StubUserException(ex._NP_duplicate());
7215
    }
7216
7217
7218
  }
7219
#endif
7220
7221
7222
}
7223
7224
::CORBA::Float gepetto::corbaserver::_objref_GraphicalInterface::getFloatProperty(const char* nodeName, const char* propName)
7225
{
7226
  _0RL_cd_0e2b00c21b9f97c5_87000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_97000000, "getFloatProperty", 17);
7227
  _call_desc.arg_0 = nodeName;
7228
  _call_desc.arg_1 = propName;
7229
7230
  _invoke(_call_desc);
7231
  return _call_desc.result;
7232
7233
7234
}
7235
7236
7237
//
7238
// Code for gepetto::corbaserver::GraphicalInterface::setBoolProperty
7239
7240
// Local call call-back function.
7241
static void
7242
_0RL_lcfn_0e2b00c21b9f97c5_a7000000(omniCallDescriptor* cd, omniServant* svnt)
7243
{
7244
  _0RL_cd_0e2b00c21b9f97c5_14000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_14000000*)cd;
7245
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7246
#ifdef HAS_Cplusplus_catch_exception_by_base
7247
  impl->setBoolProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7248
#else
7249
  if (!cd->is_upcall())
7250
    impl->setBoolProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7251
  else {
7252
    try {
7253
      impl->setBoolProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7254
    }
7255
    catch(gepetto::Error& ex) {
7256
      throw omniORB::StubUserException(ex._NP_duplicate());
7257
    }
7258
7259
7260
  }
7261
#endif
7262
7263
7264
}
7265
7266
void gepetto::corbaserver::_objref_GraphicalInterface::setBoolProperty(const char* nodeName, const char* propName, ::CORBA::Boolean value)
7267
{
7268
  _0RL_cd_0e2b00c21b9f97c5_14000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a7000000, "setBoolProperty", 16);
7269
  _call_desc.arg_0 = nodeName;
7270
  _call_desc.arg_1 = propName;
7271
  _call_desc.arg_2 = value;
7272
7273
  _invoke(_call_desc);
7274
7275
7276
7277
}
7278
7279
7280
//
7281
// Code for gepetto::corbaserver::GraphicalInterface::getBoolProperty
7282
7283
// Local call call-back function.
7284
static void
7285
_0RL_lcfn_0e2b00c21b9f97c5_b7000000(omniCallDescriptor* cd, omniServant* svnt)
7286
{
7287
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
7288
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7289
#ifdef HAS_Cplusplus_catch_exception_by_base
7290
  tcd->result = impl->getBoolProperty(tcd->arg_0, tcd->arg_1);
7291
#else
7292
  if (!cd->is_upcall())
7293
    tcd->result = impl->getBoolProperty(tcd->arg_0, tcd->arg_1);
7294
  else {
7295
    try {
7296
      tcd->result = impl->getBoolProperty(tcd->arg_0, tcd->arg_1);
7297
    }
7298
    catch(gepetto::Error& ex) {
7299
      throw omniORB::StubUserException(ex._NP_duplicate());
7300
    }
7301
7302
7303
  }
7304
#endif
7305
7306
7307
}
7308
7309
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::getBoolProperty(const char* nodeName, const char* propName)
7310
{
7311
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b7000000, "getBoolProperty", 16);
7312
  _call_desc.arg_0 = nodeName;
7313
  _call_desc.arg_1 = propName;
7314
7315
  _invoke(_call_desc);
7316
  return _call_desc.result;
7317
7318
7319
}
7320
7321
7322
//
7323
// Code for gepetto::corbaserver::GraphicalInterface::setIntProperty
7324
7325
// Proxy call descriptor class. Mangled signature:
7326
//  void_i_cstring_i_cstring_i_clong_e_cgepetto_mError
7327
class _0RL_cd_0e2b00c21b9f97c5_c7000000
7328
  : public omniCallDescriptor
7329
{
7330
public:
7331
  inline _0RL_cd_0e2b00c21b9f97c5_c7000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7332
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7333
  {
7334
7335
  }
7336
7337
  void marshalArguments(cdrStream&);
7338
  void unmarshalArguments(cdrStream&);
7339
7340
7341
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7342
  static const char* const _user_exns[];
7343
7344
  ::CORBA::String_var arg_0_;
7345
  const char* arg_0;
7346
  ::CORBA::String_var arg_1_;
7347
  const char* arg_1;
7348
  ::CORBA::Long arg_2;
7349
};
7350
7351
void _0RL_cd_0e2b00c21b9f97c5_c7000000::marshalArguments(cdrStream& _n)
7352
{
7353
  _n.marshalString(arg_0,0);
7354
  _n.marshalString(arg_1,0);
7355
  arg_2 >>= _n;
7356
7357
}
7358
7359
void _0RL_cd_0e2b00c21b9f97c5_c7000000::unmarshalArguments(cdrStream& _n)
7360
{
7361
  arg_0_ = _n.unmarshalString(0);
7362
  arg_0 = arg_0_.in();
7363
  arg_1_ = _n.unmarshalString(0);
7364
  arg_1 = arg_1_.in();
7365
  (::CORBA::Long&)arg_2 <<= _n;
7366
7367
}
7368
7369
const char* const _0RL_cd_0e2b00c21b9f97c5_c7000000::_user_exns[] = {
7370
  gepetto::Error::_PD_repoId
7371
};
7372
7373
void _0RL_cd_0e2b00c21b9f97c5_c7000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7374
{
7375
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7376
    gepetto::Error _ex;
7377
    _ex <<= s;
7378
    if (iop_client) iop_client->RequestCompleted();
7379
    throw _ex;
7380
  }
7381
7382
7383
  else {
7384
    if (iop_client) iop_client->RequestCompleted(1);
7385
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7386
                  (::CORBA::CompletionStatus)s.completion());
7387
  }
7388
}
7389
7390
// Local call call-back function.
7391
static void
7392
_0RL_lcfn_0e2b00c21b9f97c5_d7000000(omniCallDescriptor* cd, omniServant* svnt)
7393
{
7394
  _0RL_cd_0e2b00c21b9f97c5_c7000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_c7000000*)cd;
7395
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7396
#ifdef HAS_Cplusplus_catch_exception_by_base
7397
  impl->setIntProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7398
#else
7399
  if (!cd->is_upcall())
7400
    impl->setIntProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7401
  else {
7402
    try {
7403
      impl->setIntProperty(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7404
    }
7405
    catch(gepetto::Error& ex) {
7406
      throw omniORB::StubUserException(ex._NP_duplicate());
7407
    }
7408
7409
7410
  }
7411
#endif
7412
7413
7414
}
7415
7416
void gepetto::corbaserver::_objref_GraphicalInterface::setIntProperty(const char* nodeName, const char* propName, ::CORBA::Long value)
7417
{
7418
  _0RL_cd_0e2b00c21b9f97c5_c7000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d7000000, "setIntProperty", 15);
7419
  _call_desc.arg_0 = nodeName;
7420
  _call_desc.arg_1 = propName;
7421
  _call_desc.arg_2 = value;
7422
7423
  _invoke(_call_desc);
7424
7425
7426
7427
}
7428
7429
7430
//
7431
// Code for gepetto::corbaserver::GraphicalInterface::getIntProperty
7432
7433
// Proxy call descriptor class. Mangled signature:
7434
//  _clong_i_cstring_i_cstring_e_cgepetto_mError
7435
class _0RL_cd_0e2b00c21b9f97c5_e7000000
7436
  : public omniCallDescriptor
7437
{
7438
public:
7439
  inline _0RL_cd_0e2b00c21b9f97c5_e7000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7440
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7441
  {
7442
7443
  }
7444
7445
  void marshalArguments(cdrStream&);
7446
  void unmarshalArguments(cdrStream&);
7447
7448
  void unmarshalReturnedValues(cdrStream&);
7449
  void marshalReturnedValues(cdrStream&);
7450
7451
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7452
  static const char* const _user_exns[];
7453
7454
  ::CORBA::String_var arg_0_;
7455
  const char* arg_0;
7456
  ::CORBA::String_var arg_1_;
7457
  const char* arg_1;
7458
  ::CORBA::Long result;
7459
};
7460
7461
void _0RL_cd_0e2b00c21b9f97c5_e7000000::marshalArguments(cdrStream& _n)
7462
{
7463
  _n.marshalString(arg_0,0);
7464
  _n.marshalString(arg_1,0);
7465
7466
}
7467
7468
void _0RL_cd_0e2b00c21b9f97c5_e7000000::unmarshalArguments(cdrStream& _n)
7469
{
7470
  arg_0_ = _n.unmarshalString(0);
7471
  arg_0 = arg_0_.in();
7472
  arg_1_ = _n.unmarshalString(0);
7473
  arg_1 = arg_1_.in();
7474
7475
}
7476
7477
void _0RL_cd_0e2b00c21b9f97c5_e7000000::marshalReturnedValues(cdrStream& _n)
7478
{
7479
  result >>= _n;
7480
7481
}
7482
7483
void _0RL_cd_0e2b00c21b9f97c5_e7000000::unmarshalReturnedValues(cdrStream& _n)
7484
{
7485
  (::CORBA::Long&)result <<= _n;
7486
7487
}
7488
7489
const char* const _0RL_cd_0e2b00c21b9f97c5_e7000000::_user_exns[] = {
7490
  gepetto::Error::_PD_repoId
7491
};
7492
7493
void _0RL_cd_0e2b00c21b9f97c5_e7000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7494
{
7495
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7496
    gepetto::Error _ex;
7497
    _ex <<= s;
7498
    if (iop_client) iop_client->RequestCompleted();
7499
    throw _ex;
7500
  }
7501
7502
7503
  else {
7504
    if (iop_client) iop_client->RequestCompleted(1);
7505
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7506
                  (::CORBA::CompletionStatus)s.completion());
7507
  }
7508
}
7509
7510
// Local call call-back function.
7511
static void
7512
_0RL_lcfn_0e2b00c21b9f97c5_f7000000(omniCallDescriptor* cd, omniServant* svnt)
7513
{
7514
  _0RL_cd_0e2b00c21b9f97c5_e7000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_e7000000*)cd;
7515
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7516
#ifdef HAS_Cplusplus_catch_exception_by_base
7517
  tcd->result = impl->getIntProperty(tcd->arg_0, tcd->arg_1);
7518
#else
7519
  if (!cd->is_upcall())
7520
    tcd->result = impl->getIntProperty(tcd->arg_0, tcd->arg_1);
7521
  else {
7522
    try {
7523
      tcd->result = impl->getIntProperty(tcd->arg_0, tcd->arg_1);
7524
    }
7525
    catch(gepetto::Error& ex) {
7526
      throw omniORB::StubUserException(ex._NP_duplicate());
7527
    }
7528
7529
7530
  }
7531
#endif
7532
7533
7534
}
7535
7536
::CORBA::Long gepetto::corbaserver::_objref_GraphicalInterface::getIntProperty(const char* nodeName, const char* propName)
7537
{
7538
  _0RL_cd_0e2b00c21b9f97c5_e7000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f7000000, "getIntProperty", 15);
7539
  _call_desc.arg_0 = nodeName;
7540
  _call_desc.arg_1 = propName;
7541
7542
  _invoke(_call_desc);
7543
  return _call_desc.result;
7544
7545
7546
}
7547
7548
7549
//
7550
// Code for gepetto::corbaserver::GraphicalInterface::callVoidProperty
7551
7552
// Proxy call descriptor class. Mangled signature:
7553
//  void_i_cstring_i_cstring_e_cgepetto_mError
7554
class _0RL_cd_0e2b00c21b9f97c5_08000000
7555
  : public omniCallDescriptor
7556
{
7557
public:
7558
  inline _0RL_cd_0e2b00c21b9f97c5_08000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7559
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7560
  {
7561
7562
  }
7563
7564
  void marshalArguments(cdrStream&);
7565
  void unmarshalArguments(cdrStream&);
7566
7567
7568
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7569
  static const char* const _user_exns[];
7570
7571
  ::CORBA::String_var arg_0_;
7572
  const char* arg_0;
7573
  ::CORBA::String_var arg_1_;
7574
  const char* arg_1;
7575
};
7576
7577
void _0RL_cd_0e2b00c21b9f97c5_08000000::marshalArguments(cdrStream& _n)
7578
{
7579
  _n.marshalString(arg_0,0);
7580
  _n.marshalString(arg_1,0);
7581
7582
}
7583
7584
void _0RL_cd_0e2b00c21b9f97c5_08000000::unmarshalArguments(cdrStream& _n)
7585
{
7586
  arg_0_ = _n.unmarshalString(0);
7587
  arg_0 = arg_0_.in();
7588
  arg_1_ = _n.unmarshalString(0);
7589
  arg_1 = arg_1_.in();
7590
7591
}
7592
7593
const char* const _0RL_cd_0e2b00c21b9f97c5_08000000::_user_exns[] = {
7594
  gepetto::Error::_PD_repoId
7595
};
7596
7597
void _0RL_cd_0e2b00c21b9f97c5_08000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7598
{
7599
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7600
    gepetto::Error _ex;
7601
    _ex <<= s;
7602
    if (iop_client) iop_client->RequestCompleted();
7603
    throw _ex;
7604
  }
7605
7606
7607
  else {
7608
    if (iop_client) iop_client->RequestCompleted(1);
7609
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7610
                  (::CORBA::CompletionStatus)s.completion());
7611
  }
7612
}
7613
7614
// Local call call-back function.
7615
static void
7616
_0RL_lcfn_0e2b00c21b9f97c5_18000000(omniCallDescriptor* cd, omniServant* svnt)
7617
{
7618
  _0RL_cd_0e2b00c21b9f97c5_08000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_08000000*)cd;
7619
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7620
#ifdef HAS_Cplusplus_catch_exception_by_base
7621
  impl->callVoidProperty(tcd->arg_0, tcd->arg_1);
7622
#else
7623
  if (!cd->is_upcall())
7624
    impl->callVoidProperty(tcd->arg_0, tcd->arg_1);
7625
  else {
7626
    try {
7627
      impl->callVoidProperty(tcd->arg_0, tcd->arg_1);
7628
    }
7629
    catch(gepetto::Error& ex) {
7630
      throw omniORB::StubUserException(ex._NP_duplicate());
7631
    }
7632
7633
7634
  }
7635
#endif
7636
7637
7638
}
7639
7640
void gepetto::corbaserver::_objref_GraphicalInterface::callVoidProperty(const char* nodeName, const char* propName)
7641
{
7642
  _0RL_cd_0e2b00c21b9f97c5_08000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_18000000, "callVoidProperty", 17);
7643
  _call_desc.arg_0 = nodeName;
7644
  _call_desc.arg_1 = propName;
7645
7646
  _invoke(_call_desc);
7647
7648
7649
7650
}
7651
7652
7653
//
7654
// Code for gepetto::corbaserver::GraphicalInterface::captureFrame
7655
7656
// Local call call-back function.
7657
static void
7658
_0RL_lcfn_0e2b00c21b9f97c5_28000000(omniCallDescriptor* cd, omniServant* svnt)
7659
{
7660
  _0RL_cd_0e2b00c21b9f97c5_08000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_08000000*)cd;
7661
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7662
#ifdef HAS_Cplusplus_catch_exception_by_base
7663
  impl->captureFrame(tcd->arg_0, tcd->arg_1);
7664
#else
7665
  if (!cd->is_upcall())
7666
    impl->captureFrame(tcd->arg_0, tcd->arg_1);
7667
  else {
7668
    try {
7669
      impl->captureFrame(tcd->arg_0, tcd->arg_1);
7670
    }
7671
    catch(gepetto::Error& ex) {
7672
      throw omniORB::StubUserException(ex._NP_duplicate());
7673
    }
7674
7675
7676
  }
7677
#endif
7678
7679
7680
}
7681
7682
void gepetto::corbaserver::_objref_GraphicalInterface::captureFrame(const char* wid, const char* imageFilename)
7683
{
7684
  _0RL_cd_0e2b00c21b9f97c5_08000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_28000000, "captureFrame", 13);
7685
  _call_desc.arg_0 = wid;
7686
  _call_desc.arg_1 = imageFilename;
7687
7688
  _invoke(_call_desc);
7689
7690
7691
7692
}
7693
7694
7695
//
7696
// Code for gepetto::corbaserver::GraphicalInterface::startCapture
7697
7698
// Proxy call descriptor class. Mangled signature:
7699
//  _cboolean_i_cstring_i_cstring_i_cstring_e_cgepetto_mError
7700
class _0RL_cd_0e2b00c21b9f97c5_38000000
7701
  : public omniCallDescriptor
7702
{
7703
public:
7704
  inline _0RL_cd_0e2b00c21b9f97c5_38000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7705
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7706
  {
7707
7708
  }
7709
7710
  void marshalArguments(cdrStream&);
7711
  void unmarshalArguments(cdrStream&);
7712
7713
  void unmarshalReturnedValues(cdrStream&);
7714
  void marshalReturnedValues(cdrStream&);
7715
7716
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7717
  static const char* const _user_exns[];
7718
7719
  ::CORBA::String_var arg_0_;
7720
  const char* arg_0;
7721
  ::CORBA::String_var arg_1_;
7722
  const char* arg_1;
7723
  ::CORBA::String_var arg_2_;
7724
  const char* arg_2;
7725
  ::CORBA::Boolean result;
7726
};
7727
7728
void _0RL_cd_0e2b00c21b9f97c5_38000000::marshalArguments(cdrStream& _n)
7729
{
7730
  _n.marshalString(arg_0,0);
7731
  _n.marshalString(arg_1,0);
7732
  _n.marshalString(arg_2,0);
7733
7734
}
7735
7736
void _0RL_cd_0e2b00c21b9f97c5_38000000::unmarshalArguments(cdrStream& _n)
7737
{
7738
  arg_0_ = _n.unmarshalString(0);
7739
  arg_0 = arg_0_.in();
7740
  arg_1_ = _n.unmarshalString(0);
7741
  arg_1 = arg_1_.in();
7742
  arg_2_ = _n.unmarshalString(0);
7743
  arg_2 = arg_2_.in();
7744
7745
}
7746
7747
void _0RL_cd_0e2b00c21b9f97c5_38000000::marshalReturnedValues(cdrStream& _n)
7748
{
7749
  _n.marshalBoolean(result);
7750
7751
}
7752
7753
void _0RL_cd_0e2b00c21b9f97c5_38000000::unmarshalReturnedValues(cdrStream& _n)
7754
{
7755
  result = _n.unmarshalBoolean();
7756
7757
}
7758
7759
const char* const _0RL_cd_0e2b00c21b9f97c5_38000000::_user_exns[] = {
7760
  gepetto::Error::_PD_repoId
7761
};
7762
7763
void _0RL_cd_0e2b00c21b9f97c5_38000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7764
{
7765
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7766
    gepetto::Error _ex;
7767
    _ex <<= s;
7768
    if (iop_client) iop_client->RequestCompleted();
7769
    throw _ex;
7770
  }
7771
7772
7773
  else {
7774
    if (iop_client) iop_client->RequestCompleted(1);
7775
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7776
                  (::CORBA::CompletionStatus)s.completion());
7777
  }
7778
}
7779
7780
// Local call call-back function.
7781
static void
7782
_0RL_lcfn_0e2b00c21b9f97c5_48000000(omniCallDescriptor* cd, omniServant* svnt)
7783
{
7784
  _0RL_cd_0e2b00c21b9f97c5_38000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_38000000*)cd;
7785
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7786
#ifdef HAS_Cplusplus_catch_exception_by_base
7787
  tcd->result = impl->startCapture(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7788
#else
7789
  if (!cd->is_upcall())
7790
    tcd->result = impl->startCapture(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7791
  else {
7792
    try {
7793
      tcd->result = impl->startCapture(tcd->arg_0, tcd->arg_1, tcd->arg_2);
7794
    }
7795
    catch(gepetto::Error& ex) {
7796
      throw omniORB::StubUserException(ex._NP_duplicate());
7797
    }
7798
7799
7800
  }
7801
#endif
7802
7803
7804
}
7805
7806
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::startCapture(const char* wid, const char* filename, const char* extension)
7807
{
7808
  _0RL_cd_0e2b00c21b9f97c5_38000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_48000000, "startCapture", 13);
7809
  _call_desc.arg_0 = wid;
7810
  _call_desc.arg_1 = filename;
7811
  _call_desc.arg_2 = extension;
7812
7813
  _invoke(_call_desc);
7814
  return _call_desc.result;
7815
7816
7817
}
7818
7819
7820
//
7821
// Code for gepetto::corbaserver::GraphicalInterface::stopCapture
7822
7823
// Local call call-back function.
7824
static void
7825
_0RL_lcfn_0e2b00c21b9f97c5_58000000(omniCallDescriptor* cd, omniServant* svnt)
7826
{
7827
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
7828
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7829
#ifdef HAS_Cplusplus_catch_exception_by_base
7830
  tcd->result = impl->stopCapture(tcd->arg_0);
7831
#else
7832
  if (!cd->is_upcall())
7833
    tcd->result = impl->stopCapture(tcd->arg_0);
7834
  else {
7835
    try {
7836
      tcd->result = impl->stopCapture(tcd->arg_0);
7837
    }
7838
    catch(gepetto::Error& ex) {
7839
      throw omniORB::StubUserException(ex._NP_duplicate());
7840
    }
7841
7842
7843
  }
7844
#endif
7845
7846
7847
}
7848
7849
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::stopCapture(const char* wid)
7850
{
7851
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_58000000, "stopCapture", 12);
7852
  _call_desc.arg_0 = wid;
7853
7854
  _invoke(_call_desc);
7855
  return _call_desc.result;
7856
7857
7858
}
7859
7860
7861
//
7862
// Code for gepetto::corbaserver::GraphicalInterface::setCaptureTransform
7863
7864
// Proxy call descriptor class. Mangled signature:
7865
//  _cboolean_i_cstring_i_cgepetto_mcorbaserver_mNames__t_e_cgepetto_mError
7866
class _0RL_cd_0e2b00c21b9f97c5_68000000
7867
  : public omniCallDescriptor
7868
{
7869
public:
7870
  inline _0RL_cd_0e2b00c21b9f97c5_68000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
7871
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
7872
  {
7873
7874
  }
7875
7876
  void marshalArguments(cdrStream&);
7877
  void unmarshalArguments(cdrStream&);
7878
7879
  void unmarshalReturnedValues(cdrStream&);
7880
  void marshalReturnedValues(cdrStream&);
7881
7882
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
7883
  static const char* const _user_exns[];
7884
7885
  ::CORBA::String_var arg_0_;
7886
  const char* arg_0;
7887
  gepetto::corbaserver::Names_t_var arg_1_;
7888
  const gepetto::corbaserver::Names_t* arg_1;
7889
  ::CORBA::Boolean result;
7890
};
7891
7892
void _0RL_cd_0e2b00c21b9f97c5_68000000::marshalArguments(cdrStream& _n)
7893
{
7894
  _n.marshalString(arg_0,0);
7895
  (const gepetto::corbaserver::Names_t&) *arg_1 >>= _n;
7896
7897
}
7898
7899
void _0RL_cd_0e2b00c21b9f97c5_68000000::unmarshalArguments(cdrStream& _n)
7900
{
7901
  arg_0_ = _n.unmarshalString(0);
7902
  arg_0 = arg_0_.in();
7903
  arg_1_ = new gepetto::corbaserver::Names_t;
7904
  (gepetto::corbaserver::Names_t&)arg_1_ <<= _n;
7905
  arg_1 = &arg_1_.in();
7906
7907
}
7908
7909
void _0RL_cd_0e2b00c21b9f97c5_68000000::marshalReturnedValues(cdrStream& _n)
7910
{
7911
  _n.marshalBoolean(result);
7912
7913
}
7914
7915
void _0RL_cd_0e2b00c21b9f97c5_68000000::unmarshalReturnedValues(cdrStream& _n)
7916
{
7917
  result = _n.unmarshalBoolean();
7918
7919
}
7920
7921
const char* const _0RL_cd_0e2b00c21b9f97c5_68000000::_user_exns[] = {
7922
  gepetto::Error::_PD_repoId
7923
};
7924
7925
void _0RL_cd_0e2b00c21b9f97c5_68000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
7926
{
7927
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
7928
    gepetto::Error _ex;
7929
    _ex <<= s;
7930
    if (iop_client) iop_client->RequestCompleted();
7931
    throw _ex;
7932
  }
7933
7934
7935
  else {
7936
    if (iop_client) iop_client->RequestCompleted(1);
7937
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
7938
                  (::CORBA::CompletionStatus)s.completion());
7939
  }
7940
}
7941
7942
// Local call call-back function.
7943
static void
7944
_0RL_lcfn_0e2b00c21b9f97c5_78000000(omniCallDescriptor* cd, omniServant* svnt)
7945
{
7946
  _0RL_cd_0e2b00c21b9f97c5_68000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_68000000*)cd;
7947
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7948
#ifdef HAS_Cplusplus_catch_exception_by_base
7949
  tcd->result = impl->setCaptureTransform(tcd->arg_0, *tcd->arg_1);
7950
#else
7951
  if (!cd->is_upcall())
7952
    tcd->result = impl->setCaptureTransform(tcd->arg_0, *tcd->arg_1);
7953
  else {
7954
    try {
7955
      tcd->result = impl->setCaptureTransform(tcd->arg_0, *tcd->arg_1);
7956
    }
7957
    catch(gepetto::Error& ex) {
7958
      throw omniORB::StubUserException(ex._NP_duplicate());
7959
    }
7960
7961
7962
  }
7963
#endif
7964
7965
7966
}
7967
7968
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCaptureTransform(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames)
7969
{
7970
  _0RL_cd_0e2b00c21b9f97c5_68000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_78000000, "setCaptureTransform", 20);
7971
  _call_desc.arg_0 = filename;
7972
  _call_desc.arg_1 = &(::gepetto::corbaserver::Names_t&) nodeNames;
7973
7974
  _invoke(_call_desc);
7975
  return _call_desc.result;
7976
7977
7978
}
7979
7980
7981
//
7982
// Code for gepetto::corbaserver::GraphicalInterface::captureTransformOnRefresh
7983
7984
// Local call call-back function.
7985
static void
7986
_0RL_lcfn_0e2b00c21b9f97c5_88000000(omniCallDescriptor* cd, omniServant* svnt)
7987
{
7988
  _0RL_cd_0e2b00c21b9f97c5_55000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_55000000*)cd;
7989
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
7990
#ifdef HAS_Cplusplus_catch_exception_by_base
7991
  impl->captureTransformOnRefresh(tcd->arg_0);
7992
#else
7993
  if (!cd->is_upcall())
7994
    impl->captureTransformOnRefresh(tcd->arg_0);
7995
  else {
7996
    try {
7997
      impl->captureTransformOnRefresh(tcd->arg_0);
7998
    }
7999
    catch(gepetto::Error& ex) {
8000
      throw omniORB::StubUserException(ex._NP_duplicate());
8001
    }
8002
8003
8004
  }
8005
#endif
8006
8007
8008
}
8009
8010
void gepetto::corbaserver::_objref_GraphicalInterface::captureTransformOnRefresh(::CORBA::Boolean autoCapture)
8011
{
8012
  _0RL_cd_0e2b00c21b9f97c5_55000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_88000000, "captureTransformOnRefresh", 26);
8013
  _call_desc.arg_0 = autoCapture;
8014
8015
  _invoke(_call_desc);
8016
8017
8018
8019
}
8020
8021
8022
//
8023
// Code for gepetto::corbaserver::GraphicalInterface::captureTransform
8024
8025
// Local call call-back function.
8026
static void
8027
_0RL_lcfn_0e2b00c21b9f97c5_98000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt)
8028
{
8029
8030
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8031
#ifdef HAS_Cplusplus_catch_exception_by_base
8032
  impl->captureTransform();
8033
#else
8034
  if (!cd->is_upcall())
8035
    impl->captureTransform();
8036
  else {
8037
    try {
8038
      impl->captureTransform();
8039
    }
8040
    catch(gepetto::Error& ex) {
8041
      throw omniORB::StubUserException(ex._NP_duplicate());
8042
    }
8043
8044
8045
  }
8046
#endif
8047
8048
8049
}
8050
8051
void gepetto::corbaserver::_objref_GraphicalInterface::captureTransform()
8052
{
8053
  _0RL_cd_0e2b00c21b9f97c5_35000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_98000000, "captureTransform", 17);
8054
8055
8056
  _invoke(_call_desc);
8057
8058
8059
8060
}
8061
8062
8063
//
8064
// Code for gepetto::corbaserver::GraphicalInterface::writeBlenderScript
8065
8066
// Local call call-back function.
8067
static void
8068
_0RL_lcfn_0e2b00c21b9f97c5_a8000000(omniCallDescriptor* cd, omniServant* svnt)
8069
{
8070
  _0RL_cd_0e2b00c21b9f97c5_68000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_68000000*)cd;
8071
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8072
#ifdef HAS_Cplusplus_catch_exception_by_base
8073
  tcd->result = impl->writeBlenderScript(tcd->arg_0, *tcd->arg_1);
8074
#else
8075
  if (!cd->is_upcall())
8076
    tcd->result = impl->writeBlenderScript(tcd->arg_0, *tcd->arg_1);
8077
  else {
8078
    try {
8079
      tcd->result = impl->writeBlenderScript(tcd->arg_0, *tcd->arg_1);
8080
    }
8081
    catch(gepetto::Error& ex) {
8082
      throw omniORB::StubUserException(ex._NP_duplicate());
8083
    }
8084
8085
8086
  }
8087
#endif
8088
8089
8090
}
8091
8092
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::writeBlenderScript(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames)
8093
{
8094
  _0RL_cd_0e2b00c21b9f97c5_68000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a8000000, "writeBlenderScript", 19);
8095
  _call_desc.arg_0 = filename;
8096
  _call_desc.arg_1 = &(::gepetto::corbaserver::Names_t&) nodeNames;
8097
8098
  _invoke(_call_desc);
8099
  return _call_desc.result;
8100
8101
8102
}
8103
8104
8105
//
8106
// Code for gepetto::corbaserver::GraphicalInterface::writeNodeFile
8107
8108
// Local call call-back function.
8109
static void
8110
_0RL_lcfn_0e2b00c21b9f97c5_b8000000(omniCallDescriptor* cd, omniServant* svnt)
8111
{
8112
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
8113
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8114
#ifdef HAS_Cplusplus_catch_exception_by_base
8115
  tcd->result = impl->writeNodeFile(tcd->arg_0, tcd->arg_1);
8116
#else
8117
  if (!cd->is_upcall())
8118
    tcd->result = impl->writeNodeFile(tcd->arg_0, tcd->arg_1);
8119
  else {
8120
    try {
8121
      tcd->result = impl->writeNodeFile(tcd->arg_0, tcd->arg_1);
8122
    }
8123
    catch(gepetto::Error& ex) {
8124
      throw omniORB::StubUserException(ex._NP_duplicate());
8125
    }
8126
8127
8128
  }
8129
#endif
8130
8131
8132
}
8133
8134
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::writeNodeFile(const char* nodeName, const char* filename)
8135
{
8136
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b8000000, "writeNodeFile", 14);
8137
  _call_desc.arg_0 = nodeName;
8138
  _call_desc.arg_1 = filename;
8139
8140
  _invoke(_call_desc);
8141
  return _call_desc.result;
8142
8143
8144
}
8145
8146
8147
//
8148
// Code for gepetto::corbaserver::GraphicalInterface::writeWindowFile
8149
8150
// Local call call-back function.
8151
static void
8152
_0RL_lcfn_0e2b00c21b9f97c5_c8000000(omniCallDescriptor* cd, omniServant* svnt)
8153
{
8154
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
8155
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8156
#ifdef HAS_Cplusplus_catch_exception_by_base
8157
  tcd->result = impl->writeWindowFile(tcd->arg_0, tcd->arg_1);
8158
#else
8159
  if (!cd->is_upcall())
8160
    tcd->result = impl->writeWindowFile(tcd->arg_0, tcd->arg_1);
8161
  else {
8162
    try {
8163
      tcd->result = impl->writeWindowFile(tcd->arg_0, tcd->arg_1);
8164
    }
8165
    catch(gepetto::Error& ex) {
8166
      throw omniORB::StubUserException(ex._NP_duplicate());
8167
    }
8168
8169
8170
  }
8171
#endif
8172
8173
8174
}
8175
8176
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::writeWindowFile(const char* wid, const char* filename)
8177
{
8178
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c8000000, "writeWindowFile", 16);
8179
  _call_desc.arg_0 = wid;
8180
  _call_desc.arg_1 = filename;
8181
8182
  _invoke(_call_desc);
8183
  return _call_desc.result;
8184
8185
8186
}
8187
8188
8189
//
8190
// Code for gepetto::corbaserver::GraphicalInterface::attachCameraToNode
8191
8192
// Local call call-back function.
8193
static void
8194
_0RL_lcfn_0e2b00c21b9f97c5_d8000000(omniCallDescriptor* cd, omniServant* svnt)
8195
{
8196
  _0RL_cd_0e2b00c21b9f97c5_b0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_b0000000*)cd;
8197
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8198
#ifdef HAS_Cplusplus_catch_exception_by_base
8199
  tcd->result = impl->attachCameraToNode(tcd->arg_0, tcd->arg_1);
8200
#else
8201
  if (!cd->is_upcall())
8202
    tcd->result = impl->attachCameraToNode(tcd->arg_0, tcd->arg_1);
8203
  else {
8204
    try {
8205
      tcd->result = impl->attachCameraToNode(tcd->arg_0, tcd->arg_1);
8206
    }
8207
    catch(gepetto::Error& ex) {
8208
      throw omniORB::StubUserException(ex._NP_duplicate());
8209
    }
8210
8211
8212
  }
8213
#endif
8214
8215
8216
}
8217
8218
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::attachCameraToNode(const char* nodeName, const char* wid)
8219
{
8220
  _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d8000000, "attachCameraToNode", 19);
8221
  _call_desc.arg_0 = nodeName;
8222
  _call_desc.arg_1 = wid;
8223
8224
  _invoke(_call_desc);
8225
  return _call_desc.result;
8226
8227
8228
}
8229
8230
8231
//
8232
// Code for gepetto::corbaserver::GraphicalInterface::detachCamera
8233
8234
// Local call call-back function.
8235
static void
8236
_0RL_lcfn_0e2b00c21b9f97c5_e8000000(omniCallDescriptor* cd, omniServant* svnt)
8237
{
8238
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
8239
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8240
#ifdef HAS_Cplusplus_catch_exception_by_base
8241
  tcd->result = impl->detachCamera(tcd->arg_0);
8242
#else
8243
  if (!cd->is_upcall())
8244
    tcd->result = impl->detachCamera(tcd->arg_0);
8245
  else {
8246
    try {
8247
      tcd->result = impl->detachCamera(tcd->arg_0);
8248
    }
8249
    catch(gepetto::Error& ex) {
8250
      throw omniORB::StubUserException(ex._NP_duplicate());
8251
    }
8252
8253
8254
  }
8255
#endif
8256
8257
8258
}
8259
8260
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::detachCamera(const char* wid)
8261
{
8262
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e8000000, "detachCamera", 13);
8263
  _call_desc.arg_0 = wid;
8264
8265
  _invoke(_call_desc);
8266
  return _call_desc.result;
8267
8268
8269
}
8270
8271
8272
//
8273
// Code for gepetto::corbaserver::GraphicalInterface::getCameraTransform
8274
8275
// Local call call-back function.
8276
static void
8277
_0RL_lcfn_0e2b00c21b9f97c5_f8000000(omniCallDescriptor* cd, omniServant* svnt)
8278
{
8279
  _0RL_cd_0e2b00c21b9f97c5_75000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_75000000*)cd;
8280
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8281
#ifdef HAS_Cplusplus_catch_exception_by_base
8282
  tcd->result = impl->getCameraTransform(tcd->arg_0);
8283
#else
8284
  if (!cd->is_upcall())
8285
    tcd->result = impl->getCameraTransform(tcd->arg_0);
8286
  else {
8287
    try {
8288
      tcd->result = impl->getCameraTransform(tcd->arg_0);
8289
    }
8290
    catch(gepetto::Error& ex) {
8291
      throw omniORB::StubUserException(ex._NP_duplicate());
8292
    }
8293
8294
8295
  }
8296
#endif
8297
8298
8299
}
8300
8301
gepetto::corbaserver::Transform_slice* gepetto::corbaserver::_objref_GraphicalInterface::getCameraTransform(const char* wid)
8302
{
8303
  _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f8000000, "getCameraTransform", 19);
8304
  _call_desc.arg_0 = wid;
8305
8306
  _invoke(_call_desc);
8307
  return _call_desc.result._retn();
8308
8309
8310
}
8311
8312
8313
//
8314
// Code for gepetto::corbaserver::GraphicalInterface::setCameraTransform
8315
8316
// Local call call-back function.
8317
static void
8318
_0RL_lcfn_0e2b00c21b9f97c5_09000000(omniCallDescriptor* cd, omniServant* svnt)
8319
{
8320
  _0RL_cd_0e2b00c21b9f97c5_d3000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d3000000*)cd;
8321
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8322
#ifdef HAS_Cplusplus_catch_exception_by_base
8323
  tcd->result = impl->setCameraTransform(tcd->arg_0, tcd->arg_1);
8324
#else
8325
  if (!cd->is_upcall())
8326
    tcd->result = impl->setCameraTransform(tcd->arg_0, tcd->arg_1);
8327
  else {
8328
    try {
8329
      tcd->result = impl->setCameraTransform(tcd->arg_0, tcd->arg_1);
8330
    }
8331
    catch(gepetto::Error& ex) {
8332
      throw omniORB::StubUserException(ex._NP_duplicate());
8333
    }
8334
8335
8336
  }
8337
#endif
8338
8339
8340
}
8341
8342
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCameraTransform(const char* wid, const ::gepetto::corbaserver::Transform configuration)
8343
{
8344
  _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_09000000, "setCameraTransform", 19);
8345
  _call_desc.arg_0 = wid;
8346
  _call_desc.arg_1 = &configuration[0];
8347
8348
  _invoke(_call_desc);
8349
  return _call_desc.result;
8350
8351
8352
}
8353
8354
8355
//
8356
// Code for gepetto::corbaserver::GraphicalInterface::setCameraToBestFit
8357
8358
// Local call call-back function.
8359
static void
8360
_0RL_lcfn_0e2b00c21b9f97c5_19000000(omniCallDescriptor* cd, omniServant* svnt)
8361
{
8362
  _0RL_cd_0e2b00c21b9f97c5_d0000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_d0000000*)cd;
8363
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8364
#ifdef HAS_Cplusplus_catch_exception_by_base
8365
  tcd->result = impl->setCameraToBestFit(tcd->arg_0);
8366
#else
8367
  if (!cd->is_upcall())
8368
    tcd->result = impl->setCameraToBestFit(tcd->arg_0);
8369
  else {
8370
    try {
8371
      tcd->result = impl->setCameraToBestFit(tcd->arg_0);
8372
    }
8373
    catch(gepetto::Error& ex) {
8374
      throw omniORB::StubUserException(ex._NP_duplicate());
8375
    }
8376
8377
8378
  }
8379
#endif
8380
8381
8382
}
8383
8384
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::setCameraToBestFit(const char* wid)
8385
{
8386
  _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_19000000, "setCameraToBestFit", 19);
8387
  _call_desc.arg_0 = wid;
8388
8389
  _invoke(_call_desc);
8390
  return _call_desc.result;
8391
8392
8393
}
8394
8395
8396
//
8397
// Code for gepetto::corbaserver::GraphicalInterface::registerNodeCallback
8398
8399
// Proxy call descriptor class. Mangled signature:
8400
//  _cboolean_i_cgepetto_mcorbaserver_mNodeCallback_e_cgepetto_mError
8401
class _0RL_cd_0e2b00c21b9f97c5_29000000
8402
  : public omniCallDescriptor
8403
{
8404
public:
8405
  inline _0RL_cd_0e2b00c21b9f97c5_29000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0)
8406
    : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall)
8407
  {
8408
8409
  }
8410
8411
  void marshalArguments(cdrStream&);
8412
  void unmarshalArguments(cdrStream&);
8413
8414
  void unmarshalReturnedValues(cdrStream&);
8415
  void marshalReturnedValues(cdrStream&);
8416
8417
  void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*);
8418
  static const char* const _user_exns[];
8419
8420
  gepetto::corbaserver::NodeCallback_var arg_0_;
8421
  gepetto::corbaserver::NodeCallback_ptr arg_0;
8422
  ::CORBA::Boolean result;
8423
};
8424
8425
void _0RL_cd_0e2b00c21b9f97c5_29000000::marshalArguments(cdrStream& _n)
8426
{
8427
  gepetto::corbaserver::NodeCallback::_marshalObjRef(arg_0,_n);
8428
8429
}
8430
8431
void _0RL_cd_0e2b00c21b9f97c5_29000000::unmarshalArguments(cdrStream& _n)
8432
{
8433
  arg_0_ = gepetto::corbaserver::NodeCallback::_unmarshalObjRef(_n);
8434
  arg_0 = arg_0_.in();
8435
8436
}
8437
8438
void _0RL_cd_0e2b00c21b9f97c5_29000000::marshalReturnedValues(cdrStream& _n)
8439
{
8440
  _n.marshalBoolean(result);
8441
8442
}
8443
8444
void _0RL_cd_0e2b00c21b9f97c5_29000000::unmarshalReturnedValues(cdrStream& _n)
8445
{
8446
  result = _n.unmarshalBoolean();
8447
8448
}
8449
8450
const char* const _0RL_cd_0e2b00c21b9f97c5_29000000::_user_exns[] = {
8451
  gepetto::Error::_PD_repoId
8452
};
8453
8454
void _0RL_cd_0e2b00c21b9f97c5_29000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId)
8455
{
8456
  if (omni::strMatch(repoId, gepetto::Error::_PD_repoId)) {
8457
    gepetto::Error _ex;
8458
    _ex <<= s;
8459
    if (iop_client) iop_client->RequestCompleted();
8460
    throw _ex;
8461
  }
8462
8463
8464
  else {
8465
    if (iop_client) iop_client->RequestCompleted(1);
8466
    OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException,
8467
                  (::CORBA::CompletionStatus)s.completion());
8468
  }
8469
}
8470
8471
// Local call call-back function.
8472
static void
8473
_0RL_lcfn_0e2b00c21b9f97c5_39000000(omniCallDescriptor* cd, omniServant* svnt)
8474
{
8475
  _0RL_cd_0e2b00c21b9f97c5_29000000* tcd = (_0RL_cd_0e2b00c21b9f97c5_29000000*)cd;
8476
  gepetto::corbaserver::_impl_GraphicalInterface* impl = (gepetto::corbaserver::_impl_GraphicalInterface*) svnt->_ptrToInterface(gepetto::corbaserver::GraphicalInterface::_PD_repoId);
8477
#ifdef HAS_Cplusplus_catch_exception_by_base
8478
  tcd->result = impl->registerNodeCallback(tcd->arg_0);
8479
#else
8480
  if (!cd->is_upcall())
8481
    tcd->result = impl->registerNodeCallback(tcd->arg_0);
8482
  else {
8483
    try {
8484
      tcd->result = impl->registerNodeCallback(tcd->arg_0);
8485
    }
8486
    catch(gepetto::Error& ex) {
8487
      throw omniORB::StubUserException(ex._NP_duplicate());
8488
    }
8489
8490
8491
  }
8492
#endif
8493
8494
8495
}
8496
8497
::CORBA::Boolean gepetto::corbaserver::_objref_GraphicalInterface::registerNodeCallback(::gepetto::corbaserver::NodeCallback_ptr cb)
8498
{
8499
  _0RL_cd_0e2b00c21b9f97c5_29000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_39000000, "registerNodeCallback", 21);
8500
  _call_desc.arg_0 = cb;
8501
8502
  _invoke(_call_desc);
8503
  return _call_desc.result;
8504
8505
8506
}
8507
8508
gepetto::corbaserver::_pof_GraphicalInterface::~_pof_GraphicalInterface() {}
8509
8510
8511
omniObjRef*
8512
gepetto::corbaserver::_pof_GraphicalInterface::newObjRef(omniIOR* ior, omniIdentity* id)
8513
{
8514
  return new ::gepetto::corbaserver::_objref_GraphicalInterface(ior, id);
8515
}
8516
8517
8518
::CORBA::Boolean
8519
gepetto::corbaserver::_pof_GraphicalInterface::is_a(const char* id) const
8520
{
8521
  if (omni::ptrStrMatch(id, ::gepetto::corbaserver::GraphicalInterface::_PD_repoId))
8522
    return 1;
8523
8524
  return 0;
8525
}
8526
8527
const gepetto::corbaserver::_pof_GraphicalInterface _the_pof_gepetto_mcorbaserver_mGraphicalInterface;
8528
8529
gepetto::corbaserver::_impl_GraphicalInterface::~_impl_GraphicalInterface() {}
8530
8531
8532
::CORBA::Boolean
8533
gepetto::corbaserver::_impl_GraphicalInterface::_dispatch(omniCallHandle& _handle)
8534
{
8535
  const char* op = _handle.operation_name();
8536
8537
  if (omni::strMatch(op, "createWindow")) {
8538
8539
    _0RL_cd_0e2b00c21b9f97c5_20000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_30000000, "createWindow", 13, 1);
8540
8541
    _handle.upcall(this,_call_desc);
8542
    return 1;
8543
  }
8544
8545
  if (omni::strMatch(op, "getWindowID")) {
8546
8547
    _0RL_cd_0e2b00c21b9f97c5_20000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_40000000, "getWindowID", 12, 1);
8548
8549
    _handle.upcall(this,_call_desc);
8550
    return 1;
8551
  }
8552
8553
  if (omni::strMatch(op, "setBackgroundColor1")) {
8554
8555
    _0RL_cd_0e2b00c21b9f97c5_50000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_60000000, "setBackgroundColor1", 20, 1);
8556
8557
    _handle.upcall(this,_call_desc);
8558
    return 1;
8559
  }
8560
8561
  if (omni::strMatch(op, "setBackgroundColor2")) {
8562
8563
    _0RL_cd_0e2b00c21b9f97c5_50000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_70000000, "setBackgroundColor2", 20, 1);
8564
8565
    _handle.upcall(this,_call_desc);
8566
    return 1;
8567
  }
8568
8569
  if (omni::strMatch(op, "createScene")) {
8570
8571
    _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_90000000, "createScene", 12, 1);
8572
8573
    _handle.upcall(this,_call_desc);
8574
    return 1;
8575
  }
8576
8577
  if (omni::strMatch(op, "createSceneWithFloor")) {
8578
8579
    _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a0000000, "createSceneWithFloor", 21, 1);
8580
8581
    _handle.upcall(this,_call_desc);
8582
    return 1;
8583
  }
8584
8585
  if (omni::strMatch(op, "addSceneToWindow")) {
8586
8587
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c0000000, "addSceneToWindow", 17, 1);
8588
8589
    _handle.upcall(this,_call_desc);
8590
    return 1;
8591
  }
8592
8593
  if (omni::strMatch(op, "addFloor")) {
8594
8595
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e0000000, "addFloor", 9, 1);
8596
8597
    _handle.upcall(this,_call_desc);
8598
    return 1;
8599
  }
8600
8601
  if (omni::strMatch(op, "addBox")) {
8602
8603
    _0RL_cd_0e2b00c21b9f97c5_f0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_01000000, "addBox", 7, 1);
8604
8605
    _handle.upcall(this,_call_desc);
8606
    return 1;
8607
  }
8608
8609
  if (omni::strMatch(op, "addCapsule")) {
8610
8611
    _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_21000000, "addCapsule", 11, 1);
8612
8613
    _handle.upcall(this,_call_desc);
8614
    return 1;
8615
  }
8616
8617
  if (omni::strMatch(op, "addArrow")) {
8618
8619
    _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_31000000, "addArrow", 9, 1);
8620
8621
    _handle.upcall(this,_call_desc);
8622
    return 1;
8623
  }
8624
8625
  if (omni::strMatch(op, "addRod")) {
8626
8627
    _0RL_cd_0e2b00c21b9f97c5_41000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_51000000, "addRod", 7, 1);
8628
8629
    _handle.upcall(this,_call_desc);
8630
    return 1;
8631
  }
8632
8633
  if (omni::strMatch(op, "resizeCapsule")) {
8634
8635
    _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_71000000, "resizeCapsule", 14, 1);
8636
8637
    _handle.upcall(this,_call_desc);
8638
    return 1;
8639
  }
8640
8641
  if (omni::strMatch(op, "resizeArrow")) {
8642
8643
    _0RL_cd_0e2b00c21b9f97c5_81000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_91000000, "resizeArrow", 12, 1);
8644
8645
    _handle.upcall(this,_call_desc);
8646
    return 1;
8647
  }
8648
8649
  if (omni::strMatch(op, "addMesh")) {
8650
8651
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a1000000, "addMesh", 8, 1);
8652
8653
    _handle.upcall(this,_call_desc);
8654
    return 1;
8655
  }
8656
8657
  if (omni::strMatch(op, "removeLightSources")) {
8658
8659
    _0RL_cd_0e2b00c21b9f97c5_80000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b1000000, "removeLightSources", 19, 1);
8660
8661
    _handle.upcall(this,_call_desc);
8662
    return 1;
8663
  }
8664
8665
  if (omni::strMatch(op, "addCone")) {
8666
8667
    _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c1000000, "addCone", 8, 1);
8668
8669
    _handle.upcall(this,_call_desc);
8670
    return 1;
8671
  }
8672
8673
  if (omni::strMatch(op, "addCylinder")) {
8674
8675
    _0RL_cd_0e2b00c21b9f97c5_11000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d1000000, "addCylinder", 12, 1);
8676
8677
    _handle.upcall(this,_call_desc);
8678
    return 1;
8679
  }
8680
8681
  if (omni::strMatch(op, "addSphere")) {
8682
8683
    _0RL_cd_0e2b00c21b9f97c5_e1000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f1000000, "addSphere", 10, 1);
8684
8685
    _handle.upcall(this,_call_desc);
8686
    return 1;
8687
  }
8688
8689
  if (omni::strMatch(op, "addLight")) {
8690
8691
    _0RL_cd_0e2b00c21b9f97c5_02000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_12000000, "addLight", 9, 1);
8692
8693
    _handle.upcall(this,_call_desc);
8694
    return 1;
8695
  }
8696
8697
  if (omni::strMatch(op, "addLine")) {
8698
8699
    _0RL_cd_0e2b00c21b9f97c5_22000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_32000000, "addLine", 8, 1);
8700
8701
    _handle.upcall(this,_call_desc);
8702
    return 1;
8703
  }
8704
8705
  if (omni::strMatch(op, "setLineStartPoint")) {
8706
8707
    _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_52000000, "setLineStartPoint", 18, 1);
8708
8709
    _handle.upcall(this,_call_desc);
8710
    return 1;
8711
  }
8712
8713
  if (omni::strMatch(op, "setLineEndPoint")) {
8714
8715
    _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_62000000, "setLineEndPoint", 16, 1);
8716
8717
    _handle.upcall(this,_call_desc);
8718
    return 1;
8719
  }
8720
8721
  if (omni::strMatch(op, "setLineExtremalPoints")) {
8722
8723
    _0RL_cd_0e2b00c21b9f97c5_72000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_82000000, "setLineExtremalPoints", 22, 1);
8724
8725
    _handle.upcall(this,_call_desc);
8726
    return 1;
8727
  }
8728
8729
  if (omni::strMatch(op, "addCurve")) {
8730
8731
    _0RL_cd_0e2b00c21b9f97c5_92000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a2000000, "addCurve", 9, 1);
8732
8733
    _handle.upcall(this,_call_desc);
8734
    return 1;
8735
  }
8736
8737
  if (omni::strMatch(op, "setCurvePoints")) {
8738
8739
    _0RL_cd_0e2b00c21b9f97c5_b2000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c2000000, "setCurvePoints", 15, 1);
8740
8741
    _handle.upcall(this,_call_desc);
8742
    return 1;
8743
  }
8744
8745
  if (omni::strMatch(op, "setCurveColors")) {
8746
8747
    _0RL_cd_0e2b00c21b9f97c5_d2000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e2000000, "setCurveColors", 15, 1);
8748
8749
    _handle.upcall(this,_call_desc);
8750
    return 1;
8751
  }
8752
8753
  if (omni::strMatch(op, "setCurveMode")) {
8754
8755
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f2000000, "setCurveMode", 13, 1);
8756
8757
    _handle.upcall(this,_call_desc);
8758
    return 1;
8759
  }
8760
8761
  if (omni::strMatch(op, "setCurvePointsSubset")) {
8762
8763
    _0RL_cd_0e2b00c21b9f97c5_03000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_13000000, "setCurvePointsSubset", 21, 1);
8764
8765
    _handle.upcall(this,_call_desc);
8766
    return 1;
8767
  }
8768
8769
  if (omni::strMatch(op, "setCurveLineWidth")) {
8770
8771
    _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_23000000, "setCurveLineWidth", 18, 1);
8772
8773
    _handle.upcall(this,_call_desc);
8774
    return 1;
8775
  }
8776
8777
  if (omni::strMatch(op, "addSquareFace")) {
8778
8779
    _0RL_cd_0e2b00c21b9f97c5_33000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_43000000, "addSquareFace", 14, 1);
8780
8781
    _handle.upcall(this,_call_desc);
8782
    return 1;
8783
  }
8784
8785
  if (omni::strMatch(op, "setTexture")) {
8786
8787
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_53000000, "setTexture", 11, 1);
8788
8789
    _handle.upcall(this,_call_desc);
8790
    return 1;
8791
  }
8792
8793
  if (omni::strMatch(op, "addTriangleFace")) {
8794
8795
    _0RL_cd_0e2b00c21b9f97c5_63000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_73000000, "addTriangleFace", 16, 1);
8796
8797
    _handle.upcall(this,_call_desc);
8798
    return 1;
8799
  }
8800
8801
  if (omni::strMatch(op, "addXYZaxis")) {
8802
8803
    _0RL_cd_0e2b00c21b9f97c5_83000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_93000000, "addXYZaxis", 11, 1);
8804
8805
    _handle.upcall(this,_call_desc);
8806
    return 1;
8807
  }
8808
8809
  if (omni::strMatch(op, "createRoadmap")) {
8810
8811
    _0RL_cd_0e2b00c21b9f97c5_a3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b3000000, "createRoadmap", 14, 1);
8812
8813
    _handle.upcall(this,_call_desc);
8814
    return 1;
8815
  }
8816
8817
  if (omni::strMatch(op, "addEdgeToRoadmap")) {
8818
8819
    _0RL_cd_0e2b00c21b9f97c5_72000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c3000000, "addEdgeToRoadmap", 17, 1);
8820
8821
    _handle.upcall(this,_call_desc);
8822
    return 1;
8823
  }
8824
8825
  if (omni::strMatch(op, "addNodeToRoadmap")) {
8826
8827
    _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e3000000, "addNodeToRoadmap", 17, 1);
8828
8829
    _handle.upcall(this,_call_desc);
8830
    return 1;
8831
  }
8832
8833
  if (omni::strMatch(op, "addURDF")) {
8834
8835
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f3000000, "addURDF", 8, 1);
8836
8837
    _handle.upcall(this,_call_desc);
8838
    return 1;
8839
  }
8840
8841
  if (omni::strMatch(op, "addUrdfCollision")) {
8842
8843
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_04000000, "addUrdfCollision", 17, 1);
8844
8845
    _handle.upcall(this,_call_desc);
8846
    return 1;
8847
  }
8848
8849
  if (omni::strMatch(op, "addUrdfObjects")) {
8850
8851
    _0RL_cd_0e2b00c21b9f97c5_14000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_24000000, "addUrdfObjects", 15, 1);
8852
8853
    _handle.upcall(this,_call_desc);
8854
    return 1;
8855
  }
8856
8857
  if (omni::strMatch(op, "createGroup")) {
8858
8859
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_34000000, "createGroup", 12, 1);
8860
8861
    _handle.upcall(this,_call_desc);
8862
    return 1;
8863
  }
8864
8865
  if (omni::strMatch(op, "nodeExists")) {
8866
8867
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_44000000, "nodeExists", 11, 1);
8868
8869
    _handle.upcall(this,_call_desc);
8870
    return 1;
8871
  }
8872
8873
  if (omni::strMatch(op, "deleteNode")) {
8874
8875
    _0RL_cd_0e2b00c21b9f97c5_54000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_64000000, "deleteNode", 11, 1);
8876
8877
    _handle.upcall(this,_call_desc);
8878
    return 1;
8879
  }
8880
8881
  if (omni::strMatch(op, "getNodeList")) {
8882
8883
    _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_84000000, "getNodeList", 12, 1);
8884
8885
    _handle.upcall(this,_call_desc);
8886
    return 1;
8887
  }
8888
8889
  if (omni::strMatch(op, "getGroupNodeList")) {
8890
8891
    _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a4000000, "getGroupNodeList", 17, 1);
8892
8893
    _handle.upcall(this,_call_desc);
8894
    return 1;
8895
  }
8896
8897
  if (omni::strMatch(op, "getSceneList")) {
8898
8899
    _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b4000000, "getSceneList", 13, 1);
8900
8901
    _handle.upcall(this,_call_desc);
8902
    return 1;
8903
  }
8904
8905
  if (omni::strMatch(op, "getWindowList")) {
8906
8907
    _0RL_cd_0e2b00c21b9f97c5_74000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c4000000, "getWindowList", 14, 1);
8908
8909
    _handle.upcall(this,_call_desc);
8910
    return 1;
8911
  }
8912
8913
  if (omni::strMatch(op, "addToGroup")) {
8914
8915
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d4000000, "addToGroup", 11, 1);
8916
8917
    _handle.upcall(this,_call_desc);
8918
    return 1;
8919
  }
8920
8921
  if (omni::strMatch(op, "removeFromGroup")) {
8922
8923
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e4000000, "removeFromGroup", 16, 1);
8924
8925
    _handle.upcall(this,_call_desc);
8926
    return 1;
8927
  }
8928
8929
  if (omni::strMatch(op, "removeObjectFromCache")) {
8930
8931
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f4000000, "removeObjectFromCache", 22, 1);
8932
8933
    _handle.upcall(this,_call_desc);
8934
    return 1;
8935
  }
8936
8937
  if (omni::strMatch(op, "applyConfiguration")) {
8938
8939
    _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_05000000, "applyConfiguration", 19, 1);
8940
8941
    _handle.upcall(this,_call_desc);
8942
    return 1;
8943
  }
8944
8945
  if (omni::strMatch(op, "applyConfigurations")) {
8946
8947
    _0RL_cd_0e2b00c21b9f97c5_15000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_25000000, "applyConfigurations", 20, 1);
8948
8949
    _handle.upcall(this,_call_desc);
8950
    return 1;
8951
  }
8952
8953
  if (omni::strMatch(op, "refresh")) {
8954
8955
    _0RL_cd_0e2b00c21b9f97c5_35000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_45000000, "refresh", 8, 1);
8956
8957
    _handle.upcall(this,_call_desc);
8958
    return 1;
8959
  }
8960
8961
  if (omni::strMatch(op, "setRefreshIsSynchronous")) {
8962
8963
    _0RL_cd_0e2b00c21b9f97c5_55000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_65000000, "setRefreshIsSynchronous", 24, 1);
8964
8965
    _handle.upcall(this,_call_desc);
8966
    return 1;
8967
  }
8968
8969
  if (omni::strMatch(op, "getNodeGlobalTransform")) {
8970
8971
    _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_85000000, "getNodeGlobalTransform", 23, 1);
8972
8973
    _handle.upcall(this,_call_desc);
8974
    return 1;
8975
  }
8976
8977
  if (omni::strMatch(op, "addLandmark")) {
8978
8979
    _0RL_cd_0e2b00c21b9f97c5_61000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_95000000, "addLandmark", 12, 1);
8980
8981
    _handle.upcall(this,_call_desc);
8982
    return 1;
8983
  }
8984
8985
  if (omni::strMatch(op, "deleteLandmark")) {
8986
8987
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a5000000, "deleteLandmark", 15, 1);
8988
8989
    _handle.upcall(this,_call_desc);
8990
    return 1;
8991
  }
8992
8993
  if (omni::strMatch(op, "getStaticTransform")) {
8994
8995
    _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b5000000, "getStaticTransform", 19, 1);
8996
8997
    _handle.upcall(this,_call_desc);
8998
    return 1;
8999
  }
9000
9001
  if (omni::strMatch(op, "setStaticTransform")) {
9002
9003
    _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c5000000, "setStaticTransform", 19, 1);
9004
9005
    _handle.upcall(this,_call_desc);
9006
    return 1;
9007
  }
9008
9009
  if (omni::strMatch(op, "setVisibility")) {
9010
9011
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d5000000, "setVisibility", 14, 1);
9012
9013
    _handle.upcall(this,_call_desc);
9014
    return 1;
9015
  }
9016
9017
  if (omni::strMatch(op, "setScale")) {
9018
9019
    _0RL_cd_0e2b00c21b9f97c5_42000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e5000000, "setScale", 9, 1);
9020
9021
    _handle.upcall(this,_call_desc);
9022
    return 1;
9023
  }
9024
9025
  if (omni::strMatch(op, "setColor")) {
9026
9027
    _0RL_cd_0e2b00c21b9f97c5_f5000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_06000000, "setColor", 9, 1);
9028
9029
    _handle.upcall(this,_call_desc);
9030
    return 1;
9031
  }
9032
9033
  if (omni::strMatch(op, "setWireFrameMode")) {
9034
9035
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_16000000, "setWireFrameMode", 17, 1);
9036
9037
    _handle.upcall(this,_call_desc);
9038
    return 1;
9039
  }
9040
9041
  if (omni::strMatch(op, "setLightingMode")) {
9042
9043
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_26000000, "setLightingMode", 16, 1);
9044
9045
    _handle.upcall(this,_call_desc);
9046
    return 1;
9047
  }
9048
9049
  if (omni::strMatch(op, "setHighlight")) {
9050
9051
    _0RL_cd_0e2b00c21b9f97c5_36000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_46000000, "setHighlight", 13, 1);
9052
9053
    _handle.upcall(this,_call_desc);
9054
    return 1;
9055
  }
9056
9057
  if (omni::strMatch(op, "getPropertyNames")) {
9058
9059
    _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_56000000, "getPropertyNames", 17, 1);
9060
9061
    _handle.upcall(this,_call_desc);
9062
    return 1;
9063
  }
9064
9065
  if (omni::strMatch(op, "getPropertyTypes")) {
9066
9067
    _0RL_cd_0e2b00c21b9f97c5_94000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_66000000, "getPropertyTypes", 17, 1);
9068
9069
    _handle.upcall(this,_call_desc);
9070
    return 1;
9071
  }
9072
9073
  if (omni::strMatch(op, "setStringProperty")) {
9074
9075
    _0RL_cd_0e2b00c21b9f97c5_76000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_86000000, "setStringProperty", 18, 1);
9076
9077
    _handle.upcall(this,_call_desc);
9078
    return 1;
9079
  }
9080
9081
  if (omni::strMatch(op, "getStringProperty")) {
9082
9083
    _0RL_cd_0e2b00c21b9f97c5_96000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a6000000, "getStringProperty", 18, 1);
9084
9085
    _handle.upcall(this,_call_desc);
9086
    return 1;
9087
  }
9088
9089
  if (omni::strMatch(op, "setColorProperty")) {
9090
9091
    _0RL_cd_0e2b00c21b9f97c5_b6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c6000000, "setColorProperty", 17, 1);
9092
9093
    _handle.upcall(this,_call_desc);
9094
    return 1;
9095
  }
9096
9097
  if (omni::strMatch(op, "getColorProperty")) {
9098
9099
    _0RL_cd_0e2b00c21b9f97c5_d6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e6000000, "getColorProperty", 17, 1);
9100
9101
    _handle.upcall(this,_call_desc);
9102
    return 1;
9103
  }
9104
9105
  if (omni::strMatch(op, "setVector3Property")) {
9106
9107
    _0RL_cd_0e2b00c21b9f97c5_f6000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_07000000, "setVector3Property", 19, 1);
9108
9109
    _handle.upcall(this,_call_desc);
9110
    return 1;
9111
  }
9112
9113
  if (omni::strMatch(op, "getVector3Property")) {
9114
9115
    _0RL_cd_0e2b00c21b9f97c5_17000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_27000000, "getVector3Property", 19, 1);
9116
9117
    _handle.upcall(this,_call_desc);
9118
    return 1;
9119
  }
9120
9121
  if (omni::strMatch(op, "setVector2Property")) {
9122
9123
    _0RL_cd_0e2b00c21b9f97c5_37000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_47000000, "setVector2Property", 19, 1);
9124
9125
    _handle.upcall(this,_call_desc);
9126
    return 1;
9127
  }
9128
9129
  if (omni::strMatch(op, "getVector2Property")) {
9130
9131
    _0RL_cd_0e2b00c21b9f97c5_17000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_57000000, "getVector2Property", 19, 1);
9132
9133
    _handle.upcall(this,_call_desc);
9134
    return 1;
9135
  }
9136
9137
  if (omni::strMatch(op, "setFloatProperty")) {
9138
9139
    _0RL_cd_0e2b00c21b9f97c5_67000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_77000000, "setFloatProperty", 17, 1);
9140
9141
    _handle.upcall(this,_call_desc);
9142
    return 1;
9143
  }
9144
9145
  if (omni::strMatch(op, "getFloatProperty")) {
9146
9147
    _0RL_cd_0e2b00c21b9f97c5_87000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_97000000, "getFloatProperty", 17, 1);
9148
9149
    _handle.upcall(this,_call_desc);
9150
    return 1;
9151
  }
9152
9153
  if (omni::strMatch(op, "setBoolProperty")) {
9154
9155
    _0RL_cd_0e2b00c21b9f97c5_14000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a7000000, "setBoolProperty", 16, 1);
9156
9157
    _handle.upcall(this,_call_desc);
9158
    return 1;
9159
  }
9160
9161
  if (omni::strMatch(op, "getBoolProperty")) {
9162
9163
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b7000000, "getBoolProperty", 16, 1);
9164
9165
    _handle.upcall(this,_call_desc);
9166
    return 1;
9167
  }
9168
9169
  if (omni::strMatch(op, "setIntProperty")) {
9170
9171
    _0RL_cd_0e2b00c21b9f97c5_c7000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d7000000, "setIntProperty", 15, 1);
9172
9173
    _handle.upcall(this,_call_desc);
9174
    return 1;
9175
  }
9176
9177
  if (omni::strMatch(op, "getIntProperty")) {
9178
9179
    _0RL_cd_0e2b00c21b9f97c5_e7000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f7000000, "getIntProperty", 15, 1);
9180
9181
    _handle.upcall(this,_call_desc);
9182
    return 1;
9183
  }
9184
9185
  if (omni::strMatch(op, "callVoidProperty")) {
9186
9187
    _0RL_cd_0e2b00c21b9f97c5_08000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_18000000, "callVoidProperty", 17, 1);
9188
9189
    _handle.upcall(this,_call_desc);
9190
    return 1;
9191
  }
9192
9193
  if (omni::strMatch(op, "captureFrame")) {
9194
9195
    _0RL_cd_0e2b00c21b9f97c5_08000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_28000000, "captureFrame", 13, 1);
9196
9197
    _handle.upcall(this,_call_desc);
9198
    return 1;
9199
  }
9200
9201
  if (omni::strMatch(op, "startCapture")) {
9202
9203
    _0RL_cd_0e2b00c21b9f97c5_38000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_48000000, "startCapture", 13, 1);
9204
9205
    _handle.upcall(this,_call_desc);
9206
    return 1;
9207
  }
9208
9209
  if (omni::strMatch(op, "stopCapture")) {
9210
9211
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_58000000, "stopCapture", 12, 1);
9212
9213
    _handle.upcall(this,_call_desc);
9214
    return 1;
9215
  }
9216
9217
  if (omni::strMatch(op, "setCaptureTransform")) {
9218
9219
    _0RL_cd_0e2b00c21b9f97c5_68000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_78000000, "setCaptureTransform", 20, 1);
9220
9221
    _handle.upcall(this,_call_desc);
9222
    return 1;
9223
  }
9224
9225
  if (omni::strMatch(op, "captureTransformOnRefresh")) {
9226
9227
    _0RL_cd_0e2b00c21b9f97c5_55000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_88000000, "captureTransformOnRefresh", 26, 1);
9228
9229
    _handle.upcall(this,_call_desc);
9230
    return 1;
9231
  }
9232
9233
  if (omni::strMatch(op, "captureTransform")) {
9234
9235
    _0RL_cd_0e2b00c21b9f97c5_35000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_98000000, "captureTransform", 17, 1);
9236
9237
    _handle.upcall(this,_call_desc);
9238
    return 1;
9239
  }
9240
9241
  if (omni::strMatch(op, "writeBlenderScript")) {
9242
9243
    _0RL_cd_0e2b00c21b9f97c5_68000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_a8000000, "writeBlenderScript", 19, 1);
9244
9245
    _handle.upcall(this,_call_desc);
9246
    return 1;
9247
  }
9248
9249
  if (omni::strMatch(op, "writeNodeFile")) {
9250
9251
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_b8000000, "writeNodeFile", 14, 1);
9252
9253
    _handle.upcall(this,_call_desc);
9254
    return 1;
9255
  }
9256
9257
  if (omni::strMatch(op, "writeWindowFile")) {
9258
9259
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_c8000000, "writeWindowFile", 16, 1);
9260
9261
    _handle.upcall(this,_call_desc);
9262
    return 1;
9263
  }
9264
9265
  if (omni::strMatch(op, "attachCameraToNode")) {
9266
9267
    _0RL_cd_0e2b00c21b9f97c5_b0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_d8000000, "attachCameraToNode", 19, 1);
9268
9269
    _handle.upcall(this,_call_desc);
9270
    return 1;
9271
  }
9272
9273
  if (omni::strMatch(op, "detachCamera")) {
9274
9275
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_e8000000, "detachCamera", 13, 1);
9276
9277
    _handle.upcall(this,_call_desc);
9278
    return 1;
9279
  }
9280
9281
  if (omni::strMatch(op, "getCameraTransform")) {
9282
9283
    _0RL_cd_0e2b00c21b9f97c5_75000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_f8000000, "getCameraTransform", 19, 1);
9284
9285
    _handle.upcall(this,_call_desc);
9286
    return 1;
9287
  }
9288
9289
  if (omni::strMatch(op, "setCameraTransform")) {
9290
9291
    _0RL_cd_0e2b00c21b9f97c5_d3000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_09000000, "setCameraTransform", 19, 1);
9292
9293
    _handle.upcall(this,_call_desc);
9294
    return 1;
9295
  }
9296
9297
  if (omni::strMatch(op, "setCameraToBestFit")) {
9298
9299
    _0RL_cd_0e2b00c21b9f97c5_d0000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_19000000, "setCameraToBestFit", 19, 1);
9300
9301
    _handle.upcall(this,_call_desc);
9302
    return 1;
9303
  }
9304
9305
  if (omni::strMatch(op, "registerNodeCallback")) {
9306
9307
    _0RL_cd_0e2b00c21b9f97c5_29000000 _call_desc(_0RL_lcfn_0e2b00c21b9f97c5_39000000, "registerNodeCallback", 21, 1);
9308
9309
    _handle.upcall(this,_call_desc);
9310
    return 1;
9311
  }
9312
9313
9314
  return 0;
9315
}
9316
9317
void*
9318
gepetto::corbaserver::_impl_GraphicalInterface::_ptrToInterface(const char* id)
9319
{
9320
  if (id == ::gepetto::corbaserver::GraphicalInterface::_PD_repoId)
9321
    return (::gepetto::corbaserver::_impl_GraphicalInterface*) this;
9322
9323
  if (id == ::CORBA::Object::_PD_repoId)
9324
    return (void*) 1;
9325
9326
  if (omni::strMatch(id, ::gepetto::corbaserver::GraphicalInterface::_PD_repoId))
9327
    return (::gepetto::corbaserver::_impl_GraphicalInterface*) this;
9328
9329
  if (omni::strMatch(id, ::CORBA::Object::_PD_repoId))
9330
    return (void*) 1;
9331
  return 0;
9332
}
9333
9334
const char*
9335
gepetto::corbaserver::_impl_GraphicalInterface::_mostDerivedRepoId()
9336
{
9337
  return ::gepetto::corbaserver::GraphicalInterface::_PD_repoId;
9338
}
9339
9340
POA_gepetto::corbaserver::NodeCallback::~NodeCallback() {}
9341
9342
POA_gepetto::corbaserver::GraphicalInterface::~GraphicalInterface() {}
9343