00001 // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit. 00002 00003 #include "BotControlServerSK.hh" 00004 #include <omniORB4/IOP_S.h> 00005 #include <omniORB4/IOP_C.h> 00006 #include <omniORB4/callDescriptor.h> 00007 #include <omniORB4/callHandle.h> 00008 #include <omniORB4/objTracker.h> 00009 00010 00011 OMNI_USING_NAMESPACE(omni) 00012 00013 static const char* _0RL_library_version = omniORB_4_1; 00014 00015 00016 00017 BotControlServer_ptr BotControlServer_Helper::_nil() { 00018 return ::BotControlServer::_nil(); 00019 } 00020 00021 ::CORBA::Boolean BotControlServer_Helper::is_nil(::BotControlServer_ptr p) { 00022 return ::CORBA::is_nil(p); 00023 00024 } 00025 00026 void BotControlServer_Helper::release(::BotControlServer_ptr p) { 00027 ::CORBA::release(p); 00028 } 00029 00030 void BotControlServer_Helper::marshalObjRef(::BotControlServer_ptr obj, cdrStream& s) { 00031 ::BotControlServer::_marshalObjRef(obj, s); 00032 } 00033 00034 BotControlServer_ptr BotControlServer_Helper::unmarshalObjRef(cdrStream& s) { 00035 return ::BotControlServer::_unmarshalObjRef(s); 00036 } 00037 00038 void BotControlServer_Helper::duplicate(::BotControlServer_ptr obj) { 00039 if( obj && !obj->_NP_is_nil() ) omni::duplicateObjRef(obj); 00040 } 00041 00042 BotControlServer_ptr 00043 BotControlServer::_duplicate(::BotControlServer_ptr obj) 00044 { 00045 if( obj && !obj->_NP_is_nil() ) omni::duplicateObjRef(obj); 00046 return obj; 00047 } 00048 00049 BotControlServer_ptr 00050 BotControlServer::_narrow(::CORBA::Object_ptr obj) 00051 { 00052 if( !obj || obj->_NP_is_nil() || obj->_NP_is_pseudo() ) return _nil(); 00053 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); 00054 return e ? e : _nil(); 00055 } 00056 00057 00058 BotControlServer_ptr 00059 BotControlServer::_unchecked_narrow(::CORBA::Object_ptr obj) 00060 { 00061 if( !obj || obj->_NP_is_nil() || obj->_NP_is_pseudo() ) return _nil(); 00062 _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); 00063 return e ? e : _nil(); 00064 } 00065 00066 BotControlServer_ptr 00067 BotControlServer::_nil() 00068 { 00069 #ifdef OMNI_UNLOADABLE_STUBS 00070 static _objref_BotControlServer _the_nil_obj; 00071 return &_the_nil_obj; 00072 #else 00073 static _objref_BotControlServer* _the_nil_ptr = 0; 00074 if( !_the_nil_ptr ) { 00075 omni::nilRefLock().lock(); 00076 if( !_the_nil_ptr ) { 00077 _the_nil_ptr = new _objref_BotControlServer; 00078 registerNilCorbaObject(_the_nil_ptr); 00079 } 00080 omni::nilRefLock().unlock(); 00081 } 00082 return _the_nil_ptr; 00083 #endif 00084 } 00085 00086 const char* BotControlServer::_PD_repoId = "IDL:BotControlServer:1.0"; 00087 00088 00089 _objref_BotControlServer::~_objref_BotControlServer() { 00090 00091 } 00092 00093 00094 _objref_BotControlServer::_objref_BotControlServer(omniIOR* ior, omniIdentity* id) : 00095 omniObjRef(::BotControlServer::_PD_repoId, ior, id, 1) 00096 00097 00098 { 00099 _PR_setobj(this); 00100 } 00101 00102 void* 00103 _objref_BotControlServer::_ptrToObjRef(const char* id) 00104 { 00105 if( id == ::BotControlServer::_PD_repoId ) 00106 return (::BotControlServer_ptr) this; 00107 00108 if( id == ::CORBA::Object::_PD_repoId ) 00109 return (::CORBA::Object_ptr) this; 00110 00111 if( omni::strMatch(id, ::BotControlServer::_PD_repoId) ) 00112 return (::BotControlServer_ptr) this; 00113 00114 if( omni::strMatch(id, ::CORBA::Object::_PD_repoId) ) 00115 return (::CORBA::Object_ptr) this; 00116 00117 return 0; 00118 } 00119 00120 // Proxy call descriptor class. Mangled signature: 00121 // void 00122 class _0RL_cd_53325218d1337e1a_00000000 00123 : public omniCallDescriptor 00124 { 00125 public: 00126 inline _0RL_cd_53325218d1337e1a_00000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00127 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00128 { 00129 00130 } 00131 00132 00133 00134 00135 00136 }; 00137 00138 // Local call call-back function. 00139 static void 00140 _0RL_lcfn_53325218d1337e1a_10000000(omniCallDescriptor*, omniServant* svnt) 00141 { 00142 00143 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00144 impl->init(); 00145 00146 00147 } 00148 00149 void _objref_BotControlServer::init() 00150 { 00151 _0RL_cd_53325218d1337e1a_00000000 _call_desc(_0RL_lcfn_53325218d1337e1a_10000000, "init", 5); 00152 00153 00154 _invoke(_call_desc); 00155 00156 00157 00158 } 00159 // Proxy call descriptor class. Mangled signature: 00160 // _cfloat 00161 class _0RL_cd_53325218d1337e1a_20000000 00162 : public omniCallDescriptor 00163 { 00164 public: 00165 inline _0RL_cd_53325218d1337e1a_20000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00166 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00167 { 00168 00169 } 00170 00171 00172 void unmarshalReturnedValues(cdrStream&); 00173 void marshalReturnedValues(cdrStream&); 00174 00175 00176 ::CORBA::Float result; 00177 }; 00178 00179 void _0RL_cd_53325218d1337e1a_20000000::marshalReturnedValues(cdrStream& _n) 00180 { 00181 result >>= _n; 00182 00183 } 00184 00185 void _0RL_cd_53325218d1337e1a_20000000::unmarshalReturnedValues(cdrStream& _n) 00186 { 00187 (::CORBA::Float&)result <<= _n; 00188 00189 } 00190 00191 // Local call call-back function. 00192 static void 00193 _0RL_lcfn_53325218d1337e1a_30000000(omniCallDescriptor* cd, omniServant* svnt) 00194 { 00195 _0RL_cd_53325218d1337e1a_20000000* tcd = (_0RL_cd_53325218d1337e1a_20000000*)cd; 00196 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00197 tcd->result = impl->getSpeed(); 00198 00199 00200 } 00201 00202 ::CORBA::Float _objref_BotControlServer::getSpeed() 00203 { 00204 _0RL_cd_53325218d1337e1a_20000000 _call_desc(_0RL_lcfn_53325218d1337e1a_30000000, "getSpeed", 9); 00205 00206 00207 _invoke(_call_desc); 00208 return _call_desc.result; 00209 00210 00211 } 00212 // Proxy call descriptor class. Mangled signature: 00213 // _cshort_i_cfloat 00214 class _0RL_cd_53325218d1337e1a_40000000 00215 : public omniCallDescriptor 00216 { 00217 public: 00218 inline _0RL_cd_53325218d1337e1a_40000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00219 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00220 { 00221 00222 } 00223 00224 void marshalArguments(cdrStream&); 00225 void unmarshalArguments(cdrStream&); 00226 00227 void unmarshalReturnedValues(cdrStream&); 00228 void marshalReturnedValues(cdrStream&); 00229 00230 00231 ::CORBA::Float arg_0; 00232 ::CORBA::Short result; 00233 }; 00234 00235 void _0RL_cd_53325218d1337e1a_40000000::marshalArguments(cdrStream& _n) 00236 { 00237 arg_0 >>= _n; 00238 00239 } 00240 00241 void _0RL_cd_53325218d1337e1a_40000000::unmarshalArguments(cdrStream& _n) 00242 { 00243 (::CORBA::Float&)arg_0 <<= _n; 00244 00245 } 00246 00247 void _0RL_cd_53325218d1337e1a_40000000::marshalReturnedValues(cdrStream& _n) 00248 { 00249 result >>= _n; 00250 00251 } 00252 00253 void _0RL_cd_53325218d1337e1a_40000000::unmarshalReturnedValues(cdrStream& _n) 00254 { 00255 (::CORBA::Short&)result <<= _n; 00256 00257 } 00258 00259 // Local call call-back function. 00260 static void 00261 _0RL_lcfn_53325218d1337e1a_50000000(omniCallDescriptor* cd, omniServant* svnt) 00262 { 00263 _0RL_cd_53325218d1337e1a_40000000* tcd = (_0RL_cd_53325218d1337e1a_40000000*)cd; 00264 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00265 tcd->result = impl->setSpeed(tcd->arg_0); 00266 00267 00268 } 00269 00270 ::CORBA::Short _objref_BotControlServer::setSpeed(::CORBA::Float speed) 00271 { 00272 _0RL_cd_53325218d1337e1a_40000000 _call_desc(_0RL_lcfn_53325218d1337e1a_50000000, "setSpeed", 9); 00273 _call_desc.arg_0 = speed; 00274 00275 _invoke(_call_desc); 00276 return _call_desc.result; 00277 00278 00279 } 00280 // Local call call-back function. 00281 static void 00282 _0RL_lcfn_53325218d1337e1a_60000000(omniCallDescriptor* cd, omniServant* svnt) 00283 { 00284 _0RL_cd_53325218d1337e1a_20000000* tcd = (_0RL_cd_53325218d1337e1a_20000000*)cd; 00285 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00286 tcd->result = impl->getSteering(); 00287 00288 00289 } 00290 00291 ::CORBA::Float _objref_BotControlServer::getSteering() 00292 { 00293 _0RL_cd_53325218d1337e1a_20000000 _call_desc(_0RL_lcfn_53325218d1337e1a_60000000, "getSteering", 12); 00294 00295 00296 _invoke(_call_desc); 00297 return _call_desc.result; 00298 00299 00300 } 00301 // Local call call-back function. 00302 static void 00303 _0RL_lcfn_53325218d1337e1a_70000000(omniCallDescriptor* cd, omniServant* svnt) 00304 { 00305 _0RL_cd_53325218d1337e1a_40000000* tcd = (_0RL_cd_53325218d1337e1a_40000000*)cd; 00306 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00307 tcd->result = impl->setSteering(tcd->arg_0); 00308 00309 00310 } 00311 00312 ::CORBA::Short _objref_BotControlServer::setSteering(::CORBA::Float steeringPos) 00313 { 00314 _0RL_cd_53325218d1337e1a_40000000 _call_desc(_0RL_lcfn_53325218d1337e1a_70000000, "setSteering", 12); 00315 _call_desc.arg_0 = steeringPos; 00316 00317 _invoke(_call_desc); 00318 return _call_desc.result; 00319 00320 00321 } 00322 // Proxy call descriptor class. Mangled signature: 00323 // _cImageOrb_i_cshort 00324 class _0RL_cd_53325218d1337e1a_80000000 00325 : public omniCallDescriptor 00326 { 00327 public: 00328 inline _0RL_cd_53325218d1337e1a_80000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00329 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00330 { 00331 00332 } 00333 00334 void marshalArguments(cdrStream&); 00335 void unmarshalArguments(cdrStream&); 00336 00337 void unmarshalReturnedValues(cdrStream&); 00338 void marshalReturnedValues(cdrStream&); 00339 00340 00341 ::CORBA::Short arg_0; 00342 ImageOrb_var result; 00343 }; 00344 00345 void _0RL_cd_53325218d1337e1a_80000000::marshalArguments(cdrStream& _n) 00346 { 00347 arg_0 >>= _n; 00348 00349 } 00350 00351 void _0RL_cd_53325218d1337e1a_80000000::unmarshalArguments(cdrStream& _n) 00352 { 00353 (::CORBA::Short&)arg_0 <<= _n; 00354 00355 } 00356 00357 void _0RL_cd_53325218d1337e1a_80000000::marshalReturnedValues(cdrStream& _n) 00358 { 00359 (const ImageOrb&) result >>= _n; 00360 00361 } 00362 00363 void _0RL_cd_53325218d1337e1a_80000000::unmarshalReturnedValues(cdrStream& _n) 00364 { 00365 result = new ImageOrb; 00366 (ImageOrb&)result <<= _n; 00367 00368 } 00369 00370 // Local call call-back function. 00371 static void 00372 _0RL_lcfn_53325218d1337e1a_90000000(omniCallDescriptor* cd, omniServant* svnt) 00373 { 00374 _0RL_cd_53325218d1337e1a_80000000* tcd = (_0RL_cd_53325218d1337e1a_80000000*)cd; 00375 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00376 tcd->result = impl->getImageSensor(tcd->arg_0); 00377 00378 00379 } 00380 00381 ImageOrb* _objref_BotControlServer::getImageSensor(::CORBA::Short i) 00382 { 00383 _0RL_cd_53325218d1337e1a_80000000 _call_desc(_0RL_lcfn_53325218d1337e1a_90000000, "getImageSensor", 15); 00384 _call_desc.arg_0 = i; 00385 00386 _invoke(_call_desc); 00387 return _call_desc.result._retn(); 00388 00389 00390 } 00391 // Proxy call descriptor class. Mangled signature: 00392 // void_o_cshort_o_cshort_i_cshort 00393 class _0RL_cd_53325218d1337e1a_a0000000 00394 : public omniCallDescriptor 00395 { 00396 public: 00397 inline _0RL_cd_53325218d1337e1a_a0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00398 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00399 { 00400 00401 } 00402 00403 void marshalArguments(cdrStream&); 00404 void unmarshalArguments(cdrStream&); 00405 00406 void unmarshalReturnedValues(cdrStream&); 00407 void marshalReturnedValues(cdrStream&); 00408 00409 00410 ::CORBA::Short arg_0; 00411 ::CORBA::Short arg_1; 00412 ::CORBA::Short arg_2; 00413 }; 00414 00415 void _0RL_cd_53325218d1337e1a_a0000000::marshalArguments(cdrStream& _n) 00416 { 00417 arg_2 >>= _n; 00418 00419 } 00420 00421 void _0RL_cd_53325218d1337e1a_a0000000::unmarshalArguments(cdrStream& _n) 00422 { 00423 (::CORBA::Short&)arg_2 <<= _n; 00424 00425 } 00426 00427 void _0RL_cd_53325218d1337e1a_a0000000::marshalReturnedValues(cdrStream& _n) 00428 { 00429 arg_0 >>= _n; 00430 arg_1 >>= _n; 00431 00432 } 00433 00434 void _0RL_cd_53325218d1337e1a_a0000000::unmarshalReturnedValues(cdrStream& _n) 00435 { 00436 (::CORBA::Short&)arg_0 <<= _n; 00437 (::CORBA::Short&)arg_1 <<= _n; 00438 00439 } 00440 00441 // Local call call-back function. 00442 static void 00443 _0RL_lcfn_53325218d1337e1a_b0000000(omniCallDescriptor* cd, omniServant* svnt) 00444 { 00445 _0RL_cd_53325218d1337e1a_a0000000* tcd = (_0RL_cd_53325218d1337e1a_a0000000*)cd; 00446 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00447 impl->getImageSensorDims(tcd->arg_0, tcd->arg_1, tcd->arg_2); 00448 00449 00450 } 00451 00452 void _objref_BotControlServer::getImageSensorDims(::CORBA::Short& w, ::CORBA::Short& h, ::CORBA::Short i) 00453 { 00454 _0RL_cd_53325218d1337e1a_a0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_b0000000, "getImageSensorDims", 19); 00455 _call_desc.arg_2 = i; 00456 00457 _invoke(_call_desc); 00458 w = _call_desc.arg_0; 00459 h = _call_desc.arg_1; 00460 00461 00462 } 00463 // Proxy call descriptor class. Mangled signature: 00464 // void_i_cstring_i_cPoint2DOrb_i_cPoint2DOrb 00465 class _0RL_cd_53325218d1337e1a_c0000000 00466 : public omniCallDescriptor 00467 { 00468 public: 00469 inline _0RL_cd_53325218d1337e1a_c0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00470 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00471 { 00472 00473 } 00474 00475 void marshalArguments(cdrStream&); 00476 void unmarshalArguments(cdrStream&); 00477 00478 00479 00480 ::CORBA::String_var arg_0_; 00481 const char* arg_0; 00482 Point2DOrb arg_1_; 00483 const Point2DOrb* arg_1; 00484 Point2DOrb arg_2_; 00485 const Point2DOrb* arg_2; 00486 }; 00487 00488 void _0RL_cd_53325218d1337e1a_c0000000::marshalArguments(cdrStream& _n) 00489 { 00490 _n.marshalString(arg_0,0); 00491 (const Point2DOrb&) *arg_1 >>= _n; 00492 (const Point2DOrb&) *arg_2 >>= _n; 00493 00494 } 00495 00496 void _0RL_cd_53325218d1337e1a_c0000000::unmarshalArguments(cdrStream& _n) 00497 { 00498 arg_0_ = _n.unmarshalString(0); 00499 arg_0 = arg_0_.in(); 00500 (Point2DOrb&)arg_1_ <<= _n; 00501 arg_1 = &arg_1_; 00502 (Point2DOrb&)arg_2_ <<= _n; 00503 arg_2 = &arg_2_; 00504 00505 } 00506 00507 // Local call call-back function. 00508 static void 00509 _0RL_lcfn_53325218d1337e1a_d0000000(omniCallDescriptor* cd, omniServant* svnt) 00510 { 00511 _0RL_cd_53325218d1337e1a_c0000000* tcd = (_0RL_cd_53325218d1337e1a_c0000000*)cd; 00512 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00513 impl->setInfo(tcd->arg_0, *tcd->arg_1, *tcd->arg_2); 00514 00515 00516 } 00517 00518 void _objref_BotControlServer::setInfo(const char* info, const Point2DOrb& trackLoc, const Point2DOrb& recLoc) 00519 { 00520 _0RL_cd_53325218d1337e1a_c0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_d0000000, "setInfo", 8); 00521 _call_desc.arg_0 = info; 00522 _call_desc.arg_1 = &(Point2DOrb&) trackLoc; 00523 _call_desc.arg_2 = &(Point2DOrb&) recLoc; 00524 00525 _invoke(_call_desc); 00526 00527 00528 00529 } 00530 // Proxy call descriptor class. Mangled signature: 00531 // _cshort_o_cPoint2DOrb 00532 class _0RL_cd_53325218d1337e1a_e0000000 00533 : public omniCallDescriptor 00534 { 00535 public: 00536 inline _0RL_cd_53325218d1337e1a_e0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00537 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00538 { 00539 00540 } 00541 00542 00543 void unmarshalReturnedValues(cdrStream&); 00544 void marshalReturnedValues(cdrStream&); 00545 00546 00547 Point2DOrb arg_0_; 00548 Point2DOrb* arg_0; 00549 ::CORBA::Short result; 00550 }; 00551 00552 void _0RL_cd_53325218d1337e1a_e0000000::marshalReturnedValues(cdrStream& _n) 00553 { 00554 result >>= _n; 00555 (const Point2DOrb&) *arg_0 >>= _n; 00556 00557 } 00558 00559 void _0RL_cd_53325218d1337e1a_e0000000::unmarshalReturnedValues(cdrStream& _n) 00560 { 00561 (::CORBA::Short&)result <<= _n; 00562 (Point2DOrb&)*arg_0 <<= _n; 00563 00564 } 00565 00566 // Local call call-back function. 00567 static void 00568 _0RL_lcfn_53325218d1337e1a_f0000000(omniCallDescriptor* cd, omniServant* svnt) 00569 { 00570 _0RL_cd_53325218d1337e1a_e0000000* tcd = (_0RL_cd_53325218d1337e1a_e0000000*)cd; 00571 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00572 tcd->result = impl->getUserInput(*tcd->arg_0); 00573 00574 00575 } 00576 00577 ::CORBA::Short _objref_BotControlServer::getUserInput(Point2DOrb& loc) 00578 { 00579 _0RL_cd_53325218d1337e1a_e0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_f0000000, "getUserInput", 13); 00580 _call_desc.arg_0 = &(Point2DOrb&) loc; 00581 00582 _invoke(_call_desc); 00583 return _call_desc.result; 00584 00585 00586 } 00587 // Local call call-back function. 00588 static void 00589 _0RL_lcfn_53325218d1337e1a_01000000(omniCallDescriptor*, omniServant* svnt) 00590 { 00591 00592 _impl_BotControlServer* impl = (_impl_BotControlServer*) svnt->_ptrToInterface(BotControlServer::_PD_repoId); 00593 impl->shutdown(); 00594 00595 00596 } 00597 00598 void _objref_BotControlServer::shutdown() 00599 { 00600 _0RL_cd_53325218d1337e1a_00000000 _call_desc(_0RL_lcfn_53325218d1337e1a_01000000, "shutdown", 9); 00601 00602 00603 _invoke(_call_desc); 00604 00605 00606 00607 } 00608 _pof_BotControlServer::~_pof_BotControlServer() {} 00609 00610 00611 omniObjRef* 00612 _pof_BotControlServer::newObjRef(omniIOR* ior, omniIdentity* id) 00613 { 00614 return new ::_objref_BotControlServer(ior, id); 00615 } 00616 00617 00618 ::CORBA::Boolean 00619 _pof_BotControlServer::is_a(const char* id) const 00620 { 00621 if( omni::ptrStrMatch(id, ::BotControlServer::_PD_repoId) ) 00622 return 1; 00623 00624 return 0; 00625 } 00626 00627 const _pof_BotControlServer _the_pof_BotControlServer; 00628 00629 _impl_BotControlServer::~_impl_BotControlServer() {} 00630 00631 00632 ::CORBA::Boolean 00633 _impl_BotControlServer::_dispatch(omniCallHandle& _handle) 00634 { 00635 const char* op = _handle.operation_name(); 00636 00637 if( omni::strMatch(op, "init") ) { 00638 00639 _0RL_cd_53325218d1337e1a_00000000 _call_desc(_0RL_lcfn_53325218d1337e1a_10000000, "init", 5, 1); 00640 00641 _handle.upcall(this,_call_desc); 00642 return 1; 00643 } 00644 00645 if( omni::strMatch(op, "getSpeed") ) { 00646 00647 _0RL_cd_53325218d1337e1a_20000000 _call_desc(_0RL_lcfn_53325218d1337e1a_30000000, "getSpeed", 9, 1); 00648 00649 _handle.upcall(this,_call_desc); 00650 return 1; 00651 } 00652 00653 if( omni::strMatch(op, "setSpeed") ) { 00654 00655 _0RL_cd_53325218d1337e1a_40000000 _call_desc(_0RL_lcfn_53325218d1337e1a_50000000, "setSpeed", 9, 1); 00656 00657 _handle.upcall(this,_call_desc); 00658 return 1; 00659 } 00660 00661 if( omni::strMatch(op, "getSteering") ) { 00662 00663 _0RL_cd_53325218d1337e1a_20000000 _call_desc(_0RL_lcfn_53325218d1337e1a_60000000, "getSteering", 12, 1); 00664 00665 _handle.upcall(this,_call_desc); 00666 return 1; 00667 } 00668 00669 if( omni::strMatch(op, "setSteering") ) { 00670 00671 _0RL_cd_53325218d1337e1a_40000000 _call_desc(_0RL_lcfn_53325218d1337e1a_70000000, "setSteering", 12, 1); 00672 00673 _handle.upcall(this,_call_desc); 00674 return 1; 00675 } 00676 00677 if( omni::strMatch(op, "getImageSensor") ) { 00678 00679 _0RL_cd_53325218d1337e1a_80000000 _call_desc(_0RL_lcfn_53325218d1337e1a_90000000, "getImageSensor", 15, 1); 00680 00681 _handle.upcall(this,_call_desc); 00682 return 1; 00683 } 00684 00685 if( omni::strMatch(op, "getImageSensorDims") ) { 00686 00687 _0RL_cd_53325218d1337e1a_a0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_b0000000, "getImageSensorDims", 19, 1); 00688 00689 _handle.upcall(this,_call_desc); 00690 return 1; 00691 } 00692 00693 if( omni::strMatch(op, "setInfo") ) { 00694 00695 _0RL_cd_53325218d1337e1a_c0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_d0000000, "setInfo", 8, 1); 00696 00697 _handle.upcall(this,_call_desc); 00698 return 1; 00699 } 00700 00701 if( omni::strMatch(op, "getUserInput") ) { 00702 00703 _0RL_cd_53325218d1337e1a_e0000000 _call_desc(_0RL_lcfn_53325218d1337e1a_f0000000, "getUserInput", 13, 1); 00704 _call_desc.arg_0 = &_call_desc.arg_0_; 00705 _handle.upcall(this,_call_desc); 00706 return 1; 00707 } 00708 00709 if( omni::strMatch(op, "shutdown") ) { 00710 00711 _0RL_cd_53325218d1337e1a_00000000 _call_desc(_0RL_lcfn_53325218d1337e1a_01000000, "shutdown", 9, 1); 00712 00713 _handle.upcall(this,_call_desc); 00714 return 1; 00715 } 00716 00717 00718 return 0; 00719 } 00720 00721 void* 00722 _impl_BotControlServer::_ptrToInterface(const char* id) 00723 { 00724 if( id == ::BotControlServer::_PD_repoId ) 00725 return (::_impl_BotControlServer*) this; 00726 00727 if( id == ::CORBA::Object::_PD_repoId ) 00728 return (void*) 1; 00729 00730 if( omni::strMatch(id, ::BotControlServer::_PD_repoId) ) 00731 return (::_impl_BotControlServer*) this; 00732 00733 if( omni::strMatch(id, ::CORBA::Object::_PD_repoId) ) 00734 return (void*) 1; 00735 return 0; 00736 } 00737 00738 const char* 00739 _impl_BotControlServer::_mostDerivedRepoId() 00740 { 00741 return ::BotControlServer::_PD_repoId; 00742 } 00743 00744 POA_BotControlServer::~POA_BotControlServer() {} 00745