00001 // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit. 00002 00003 #include "CMapSK.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 CMap_ptr CMap_Helper::_nil() { 00018 return ::CMap::_nil(); 00019 } 00020 00021 ::CORBA::Boolean CMap_Helper::is_nil(::CMap_ptr p) { 00022 return ::CORBA::is_nil(p); 00023 00024 } 00025 00026 void CMap_Helper::release(::CMap_ptr p) { 00027 ::CORBA::release(p); 00028 } 00029 00030 void CMap_Helper::marshalObjRef(::CMap_ptr obj, cdrStream& s) { 00031 ::CMap::_marshalObjRef(obj, s); 00032 } 00033 00034 CMap_ptr CMap_Helper::unmarshalObjRef(cdrStream& s) { 00035 return ::CMap::_unmarshalObjRef(s); 00036 } 00037 00038 void CMap_Helper::duplicate(::CMap_ptr obj) { 00039 if( obj && !obj->_NP_is_nil() ) omni::duplicateObjRef(obj); 00040 } 00041 00042 CMap_ptr 00043 CMap::_duplicate(::CMap_ptr obj) 00044 { 00045 if( obj && !obj->_NP_is_nil() ) omni::duplicateObjRef(obj); 00046 return obj; 00047 } 00048 00049 CMap_ptr 00050 CMap::_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 CMap_ptr 00059 CMap::_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 CMap_ptr 00067 CMap::_nil() 00068 { 00069 #ifdef OMNI_UNLOADABLE_STUBS 00070 static _objref_CMap _the_nil_obj; 00071 return &_the_nil_obj; 00072 #else 00073 static _objref_CMap* _the_nil_ptr = 0; 00074 if( !_the_nil_ptr ) { 00075 omni::nilRefLock().lock(); 00076 if( !_the_nil_ptr ) { 00077 _the_nil_ptr = new _objref_CMap; 00078 registerNilCorbaObject(_the_nil_ptr); 00079 } 00080 omni::nilRefLock().unlock(); 00081 } 00082 return _the_nil_ptr; 00083 #endif 00084 } 00085 00086 const char* CMap::_PD_repoId = "IDL:CMap:1.0"; 00087 00088 00089 _objref_CMap::~_objref_CMap() { 00090 00091 } 00092 00093 00094 _objref_CMap::_objref_CMap(omniIOR* ior, omniIdentity* id) : 00095 omniObjRef(::CMap::_PD_repoId, ior, id, 1) 00096 00097 00098 { 00099 _PR_setobj(this); 00100 } 00101 00102 void* 00103 _objref_CMap::_ptrToObjRef(const char* id) 00104 { 00105 if( id == ::CMap::_PD_repoId ) 00106 return (::CMap_ptr) this; 00107 00108 if( id == ::CORBA::Object::_PD_repoId ) 00109 return (::CORBA::Object_ptr) this; 00110 00111 if( omni::strMatch(id, ::CMap::_PD_repoId) ) 00112 return (::CMap_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 // _cImageOrb_i_cImageOrb_i_cshort_i_cfloat_i_cfloat 00122 class _0RL_cd_12c42ade728de8dd_00000000 00123 : public omniCallDescriptor 00124 { 00125 public: 00126 inline _0RL_cd_12c42ade728de8dd_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 void marshalArguments(cdrStream&); 00133 void unmarshalArguments(cdrStream&); 00134 00135 void unmarshalReturnedValues(cdrStream&); 00136 void marshalReturnedValues(cdrStream&); 00137 00138 00139 ImageOrb_var arg_0_; 00140 const ImageOrb* arg_0; 00141 ::CORBA::Short arg_1; 00142 ::CORBA::Float arg_2; 00143 ::CORBA::Float arg_3; 00144 ImageOrb_var result; 00145 }; 00146 00147 void _0RL_cd_12c42ade728de8dd_00000000::marshalArguments(cdrStream& _n) 00148 { 00149 (const ImageOrb&) *arg_0 >>= _n; 00150 arg_1 >>= _n; 00151 arg_2 >>= _n; 00152 arg_3 >>= _n; 00153 00154 } 00155 00156 void _0RL_cd_12c42ade728de8dd_00000000::unmarshalArguments(cdrStream& _n) 00157 { 00158 arg_0_ = new ImageOrb; 00159 (ImageOrb&)arg_0_ <<= _n; 00160 arg_0 = &arg_0_.in(); 00161 (::CORBA::Short&)arg_1 <<= _n; 00162 (::CORBA::Float&)arg_2 <<= _n; 00163 (::CORBA::Float&)arg_3 <<= _n; 00164 00165 } 00166 00167 void _0RL_cd_12c42ade728de8dd_00000000::marshalReturnedValues(cdrStream& _n) 00168 { 00169 (const ImageOrb&) result >>= _n; 00170 00171 } 00172 00173 void _0RL_cd_12c42ade728de8dd_00000000::unmarshalReturnedValues(cdrStream& _n) 00174 { 00175 result = new ImageOrb; 00176 (ImageOrb&)result <<= _n; 00177 00178 } 00179 00180 // Local call call-back function. 00181 static void 00182 _0RL_lcfn_12c42ade728de8dd_10000000(omniCallDescriptor* cd, omniServant* svnt) 00183 { 00184 _0RL_cd_12c42ade728de8dd_00000000* tcd = (_0RL_cd_12c42ade728de8dd_00000000*)cd; 00185 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00186 tcd->result = impl->computeCMAP(*tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); 00187 00188 00189 } 00190 00191 ImageOrb* _objref_CMap::computeCMAP(const ImageOrb& img, ::CORBA::Short ptyp, ::CORBA::Float ori, ::CORBA::Float coeff) 00192 { 00193 _0RL_cd_12c42ade728de8dd_00000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_10000000, "computeCMAP", 12); 00194 _call_desc.arg_0 = &(ImageOrb&) img; 00195 _call_desc.arg_1 = ptyp; 00196 _call_desc.arg_2 = ori; 00197 _call_desc.arg_3 = coeff; 00198 00199 _invoke(_call_desc); 00200 return _call_desc.result._retn(); 00201 00202 00203 } 00204 // Proxy call descriptor class. Mangled signature: 00205 // _cImageOrb_i_cImageOrb_i_cImageOrb_i_cshort_i_cfloat_i_cfloat 00206 class _0RL_cd_12c42ade728de8dd_20000000 00207 : public omniCallDescriptor 00208 { 00209 public: 00210 inline _0RL_cd_12c42ade728de8dd_20000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00211 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00212 { 00213 00214 } 00215 00216 void marshalArguments(cdrStream&); 00217 void unmarshalArguments(cdrStream&); 00218 00219 void unmarshalReturnedValues(cdrStream&); 00220 void marshalReturnedValues(cdrStream&); 00221 00222 00223 ImageOrb_var arg_0_; 00224 const ImageOrb* arg_0; 00225 ImageOrb_var arg_1_; 00226 const ImageOrb* arg_1; 00227 ::CORBA::Short arg_2; 00228 ::CORBA::Float arg_3; 00229 ::CORBA::Float arg_4; 00230 ImageOrb_var result; 00231 }; 00232 00233 void _0RL_cd_12c42ade728de8dd_20000000::marshalArguments(cdrStream& _n) 00234 { 00235 (const ImageOrb&) *arg_0 >>= _n; 00236 (const ImageOrb&) *arg_1 >>= _n; 00237 arg_2 >>= _n; 00238 arg_3 >>= _n; 00239 arg_4 >>= _n; 00240 00241 } 00242 00243 void _0RL_cd_12c42ade728de8dd_20000000::unmarshalArguments(cdrStream& _n) 00244 { 00245 arg_0_ = new ImageOrb; 00246 (ImageOrb&)arg_0_ <<= _n; 00247 arg_0 = &arg_0_.in(); 00248 arg_1_ = new ImageOrb; 00249 (ImageOrb&)arg_1_ <<= _n; 00250 arg_1 = &arg_1_.in(); 00251 (::CORBA::Short&)arg_2 <<= _n; 00252 (::CORBA::Float&)arg_3 <<= _n; 00253 (::CORBA::Float&)arg_4 <<= _n; 00254 00255 } 00256 00257 void _0RL_cd_12c42ade728de8dd_20000000::marshalReturnedValues(cdrStream& _n) 00258 { 00259 (const ImageOrb&) result >>= _n; 00260 00261 } 00262 00263 void _0RL_cd_12c42ade728de8dd_20000000::unmarshalReturnedValues(cdrStream& _n) 00264 { 00265 result = new ImageOrb; 00266 (ImageOrb&)result <<= _n; 00267 00268 } 00269 00270 // Local call call-back function. 00271 static void 00272 _0RL_lcfn_12c42ade728de8dd_30000000(omniCallDescriptor* cd, omniServant* svnt) 00273 { 00274 _0RL_cd_12c42ade728de8dd_20000000* tcd = (_0RL_cd_12c42ade728de8dd_20000000*)cd; 00275 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00276 tcd->result = impl->computeCMAP2(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4); 00277 00278 00279 } 00280 00281 ImageOrb* _objref_CMap::computeCMAP2(const ImageOrb& img1, const ImageOrb& img2, ::CORBA::Short ptyp, ::CORBA::Float ori, ::CORBA::Float coeff) 00282 { 00283 _0RL_cd_12c42ade728de8dd_20000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_30000000, "computeCMAP2", 13); 00284 _call_desc.arg_0 = &(ImageOrb&) img1; 00285 _call_desc.arg_1 = &(ImageOrb&) img2; 00286 _call_desc.arg_2 = ptyp; 00287 _call_desc.arg_3 = ori; 00288 _call_desc.arg_4 = coeff; 00289 00290 _invoke(_call_desc); 00291 return _call_desc.result._retn(); 00292 00293 00294 } 00295 // Local call call-back function. 00296 static void 00297 _0RL_lcfn_12c42ade728de8dd_40000000(omniCallDescriptor* cd, omniServant* svnt) 00298 { 00299 _0RL_cd_12c42ade728de8dd_00000000* tcd = (_0RL_cd_12c42ade728de8dd_00000000*)cd; 00300 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00301 tcd->result = impl->computeFlickerCMAP(*tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); 00302 00303 00304 } 00305 00306 ImageOrb* _objref_CMap::computeFlickerCMAP(const ImageOrb& img, ::CORBA::Short ptyp, ::CORBA::Float ori, ::CORBA::Float coeff) 00307 { 00308 _0RL_cd_12c42ade728de8dd_00000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_40000000, "computeFlickerCMAP", 19); 00309 _call_desc.arg_0 = &(ImageOrb&) img; 00310 _call_desc.arg_1 = ptyp; 00311 _call_desc.arg_2 = ori; 00312 _call_desc.arg_3 = coeff; 00313 00314 _invoke(_call_desc); 00315 return _call_desc.result._retn(); 00316 00317 00318 } 00319 // Proxy call descriptor class. Mangled signature: 00320 // _cImageOrb_i_cImageOrb_i_cshort_i_cfloat_i_cfloat_i_cCMap_mBiasSeq 00321 class _0RL_cd_12c42ade728de8dd_50000000 00322 : public omniCallDescriptor 00323 { 00324 public: 00325 inline _0RL_cd_12c42ade728de8dd_50000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00326 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00327 { 00328 00329 } 00330 00331 void marshalArguments(cdrStream&); 00332 void unmarshalArguments(cdrStream&); 00333 00334 void unmarshalReturnedValues(cdrStream&); 00335 void marshalReturnedValues(cdrStream&); 00336 00337 00338 ImageOrb_var arg_0_; 00339 const ImageOrb* arg_0; 00340 ::CORBA::Short arg_1; 00341 ::CORBA::Float arg_2; 00342 ::CORBA::Float arg_3; 00343 CMap::BiasSeq_var arg_4_; 00344 const CMap::BiasSeq* arg_4; 00345 ImageOrb_var result; 00346 }; 00347 00348 void _0RL_cd_12c42ade728de8dd_50000000::marshalArguments(cdrStream& _n) 00349 { 00350 (const ImageOrb&) *arg_0 >>= _n; 00351 arg_1 >>= _n; 00352 arg_2 >>= _n; 00353 arg_3 >>= _n; 00354 (const CMap::BiasSeq&) *arg_4 >>= _n; 00355 00356 } 00357 00358 void _0RL_cd_12c42ade728de8dd_50000000::unmarshalArguments(cdrStream& _n) 00359 { 00360 arg_0_ = new ImageOrb; 00361 (ImageOrb&)arg_0_ <<= _n; 00362 arg_0 = &arg_0_.in(); 00363 (::CORBA::Short&)arg_1 <<= _n; 00364 (::CORBA::Float&)arg_2 <<= _n; 00365 (::CORBA::Float&)arg_3 <<= _n; 00366 arg_4_ = new CMap::BiasSeq; 00367 (CMap::BiasSeq&)arg_4_ <<= _n; 00368 arg_4 = &arg_4_.in(); 00369 00370 } 00371 00372 void _0RL_cd_12c42ade728de8dd_50000000::marshalReturnedValues(cdrStream& _n) 00373 { 00374 (const ImageOrb&) result >>= _n; 00375 00376 } 00377 00378 void _0RL_cd_12c42ade728de8dd_50000000::unmarshalReturnedValues(cdrStream& _n) 00379 { 00380 result = new ImageOrb; 00381 (ImageOrb&)result <<= _n; 00382 00383 } 00384 00385 // Local call call-back function. 00386 static void 00387 _0RL_lcfn_12c42ade728de8dd_60000000(omniCallDescriptor* cd, omniServant* svnt) 00388 { 00389 _0RL_cd_12c42ade728de8dd_50000000* tcd = (_0RL_cd_12c42ade728de8dd_50000000*)cd; 00390 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00391 tcd->result = impl->computeBiasCMAP(*tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, *tcd->arg_4); 00392 00393 00394 } 00395 00396 ImageOrb* _objref_CMap::computeBiasCMAP(const ImageOrb& img, ::CORBA::Short ptyp, ::CORBA::Float ori, ::CORBA::Float coeff, const CMap::BiasSeq& bias) 00397 { 00398 _0RL_cd_12c42ade728de8dd_50000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_60000000, "computeBiasCMAP", 16); 00399 _call_desc.arg_0 = &(ImageOrb&) img; 00400 _call_desc.arg_1 = ptyp; 00401 _call_desc.arg_2 = ori; 00402 _call_desc.arg_3 = coeff; 00403 _call_desc.arg_4 = &(CMap::BiasSeq&) bias; 00404 00405 _invoke(_call_desc); 00406 return _call_desc.result._retn(); 00407 00408 00409 } 00410 // Proxy call descriptor class. Mangled signature: 00411 // _cCMap_mBiasSeq_i_cImageOrb_i_cshort_i_cfloat_i_cfloat_i_cPoint2DOrb 00412 class _0RL_cd_12c42ade728de8dd_70000000 00413 : public omniCallDescriptor 00414 { 00415 public: 00416 inline _0RL_cd_12c42ade728de8dd_70000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00417 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00418 { 00419 00420 } 00421 00422 void marshalArguments(cdrStream&); 00423 void unmarshalArguments(cdrStream&); 00424 00425 void unmarshalReturnedValues(cdrStream&); 00426 void marshalReturnedValues(cdrStream&); 00427 00428 00429 ImageOrb_var arg_0_; 00430 const ImageOrb* arg_0; 00431 ::CORBA::Short arg_1; 00432 ::CORBA::Float arg_2; 00433 ::CORBA::Float arg_3; 00434 Point2DOrb arg_4_; 00435 const Point2DOrb* arg_4; 00436 CMap::BiasSeq_var result; 00437 }; 00438 00439 void _0RL_cd_12c42ade728de8dd_70000000::marshalArguments(cdrStream& _n) 00440 { 00441 (const ImageOrb&) *arg_0 >>= _n; 00442 arg_1 >>= _n; 00443 arg_2 >>= _n; 00444 arg_3 >>= _n; 00445 (const Point2DOrb&) *arg_4 >>= _n; 00446 00447 } 00448 00449 void _0RL_cd_12c42ade728de8dd_70000000::unmarshalArguments(cdrStream& _n) 00450 { 00451 arg_0_ = new ImageOrb; 00452 (ImageOrb&)arg_0_ <<= _n; 00453 arg_0 = &arg_0_.in(); 00454 (::CORBA::Short&)arg_1 <<= _n; 00455 (::CORBA::Float&)arg_2 <<= _n; 00456 (::CORBA::Float&)arg_3 <<= _n; 00457 (Point2DOrb&)arg_4_ <<= _n; 00458 arg_4 = &arg_4_; 00459 00460 } 00461 00462 void _0RL_cd_12c42ade728de8dd_70000000::marshalReturnedValues(cdrStream& _n) 00463 { 00464 (const CMap::BiasSeq&) result >>= _n; 00465 00466 } 00467 00468 void _0RL_cd_12c42ade728de8dd_70000000::unmarshalReturnedValues(cdrStream& _n) 00469 { 00470 result = new CMap::BiasSeq; 00471 (CMap::BiasSeq&)result <<= _n; 00472 00473 } 00474 00475 // Local call call-back function. 00476 static void 00477 _0RL_lcfn_12c42ade728de8dd_80000000(omniCallDescriptor* cd, omniServant* svnt) 00478 { 00479 _0RL_cd_12c42ade728de8dd_70000000* tcd = (_0RL_cd_12c42ade728de8dd_70000000*)cd; 00480 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00481 tcd->result = impl->getBiasCMAP(*tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, *tcd->arg_4); 00482 00483 00484 } 00485 00486 CMap::BiasSeq* _objref_CMap::getBiasCMAP(const ImageOrb& img, ::CORBA::Short ptyp, ::CORBA::Float ori, ::CORBA::Float coeff, const Point2DOrb& loc) 00487 { 00488 _0RL_cd_12c42ade728de8dd_70000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_80000000, "getBiasCMAP", 12); 00489 _call_desc.arg_0 = &(ImageOrb&) img; 00490 _call_desc.arg_1 = ptyp; 00491 _call_desc.arg_2 = ori; 00492 _call_desc.arg_3 = coeff; 00493 _call_desc.arg_4 = &(Point2DOrb&) loc; 00494 00495 _invoke(_call_desc); 00496 return _call_desc.result._retn(); 00497 00498 00499 } 00500 // Proxy call descriptor class. Mangled signature: 00501 // void_i_cshort 00502 class _0RL_cd_12c42ade728de8dd_90000000 00503 : public omniCallDescriptor 00504 { 00505 public: 00506 inline _0RL_cd_12c42ade728de8dd_90000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00507 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00508 { 00509 00510 } 00511 00512 void marshalArguments(cdrStream&); 00513 void unmarshalArguments(cdrStream&); 00514 00515 00516 00517 ::CORBA::Short arg_0; 00518 }; 00519 00520 void _0RL_cd_12c42ade728de8dd_90000000::marshalArguments(cdrStream& _n) 00521 { 00522 arg_0 >>= _n; 00523 00524 } 00525 00526 void _0RL_cd_12c42ade728de8dd_90000000::unmarshalArguments(cdrStream& _n) 00527 { 00528 (::CORBA::Short&)arg_0 <<= _n; 00529 00530 } 00531 00532 // Local call call-back function. 00533 static void 00534 _0RL_lcfn_12c42ade728de8dd_a0000000(omniCallDescriptor* cd, omniServant* svnt) 00535 { 00536 _0RL_cd_12c42ade728de8dd_90000000* tcd = (_0RL_cd_12c42ade728de8dd_90000000*)cd; 00537 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00538 impl->setSaliencyMapLevel(tcd->arg_0); 00539 00540 00541 } 00542 00543 void _objref_CMap::setSaliencyMapLevel(::CORBA::Short sml) 00544 { 00545 _0RL_cd_12c42ade728de8dd_90000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_a0000000, "setSaliencyMapLevel", 20); 00546 _call_desc.arg_0 = sml; 00547 00548 _invoke(_call_desc); 00549 00550 00551 00552 } 00553 // Proxy call descriptor class. Mangled signature: 00554 // void 00555 class _0RL_cd_12c42ade728de8dd_b0000000 00556 : public omniCallDescriptor 00557 { 00558 public: 00559 inline _0RL_cd_12c42ade728de8dd_b0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0): 00560 omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall) 00561 { 00562 00563 } 00564 00565 00566 00567 00568 00569 }; 00570 00571 // Local call call-back function. 00572 static void 00573 _0RL_lcfn_12c42ade728de8dd_c0000000(omniCallDescriptor*, omniServant* svnt) 00574 { 00575 00576 _impl_CMap* impl = (_impl_CMap*) svnt->_ptrToInterface(CMap::_PD_repoId); 00577 impl->shutdown(); 00578 00579 00580 } 00581 00582 void _objref_CMap::shutdown() 00583 { 00584 _0RL_cd_12c42ade728de8dd_b0000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_c0000000, "shutdown", 9); 00585 00586 00587 _invoke(_call_desc); 00588 00589 00590 00591 } 00592 _pof_CMap::~_pof_CMap() {} 00593 00594 00595 omniObjRef* 00596 _pof_CMap::newObjRef(omniIOR* ior, omniIdentity* id) 00597 { 00598 return new ::_objref_CMap(ior, id); 00599 } 00600 00601 00602 ::CORBA::Boolean 00603 _pof_CMap::is_a(const char* id) const 00604 { 00605 if( omni::ptrStrMatch(id, ::CMap::_PD_repoId) ) 00606 return 1; 00607 00608 return 0; 00609 } 00610 00611 const _pof_CMap _the_pof_CMap; 00612 00613 _impl_CMap::~_impl_CMap() {} 00614 00615 00616 ::CORBA::Boolean 00617 _impl_CMap::_dispatch(omniCallHandle& _handle) 00618 { 00619 const char* op = _handle.operation_name(); 00620 00621 if( omni::strMatch(op, "computeCMAP") ) { 00622 00623 _0RL_cd_12c42ade728de8dd_00000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_10000000, "computeCMAP", 12, 1); 00624 00625 _handle.upcall(this,_call_desc); 00626 return 1; 00627 } 00628 00629 if( omni::strMatch(op, "computeCMAP2") ) { 00630 00631 _0RL_cd_12c42ade728de8dd_20000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_30000000, "computeCMAP2", 13, 1); 00632 00633 _handle.upcall(this,_call_desc); 00634 return 1; 00635 } 00636 00637 if( omni::strMatch(op, "computeFlickerCMAP") ) { 00638 00639 _0RL_cd_12c42ade728de8dd_00000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_40000000, "computeFlickerCMAP", 19, 1); 00640 00641 _handle.upcall(this,_call_desc); 00642 return 1; 00643 } 00644 00645 if( omni::strMatch(op, "computeBiasCMAP") ) { 00646 00647 _0RL_cd_12c42ade728de8dd_50000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_60000000, "computeBiasCMAP", 16, 1); 00648 00649 _handle.upcall(this,_call_desc); 00650 return 1; 00651 } 00652 00653 if( omni::strMatch(op, "getBiasCMAP") ) { 00654 00655 _0RL_cd_12c42ade728de8dd_70000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_80000000, "getBiasCMAP", 12, 1); 00656 00657 _handle.upcall(this,_call_desc); 00658 return 1; 00659 } 00660 00661 if( omni::strMatch(op, "setSaliencyMapLevel") ) { 00662 00663 _0RL_cd_12c42ade728de8dd_90000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_a0000000, "setSaliencyMapLevel", 20, 1); 00664 00665 _handle.upcall(this,_call_desc); 00666 return 1; 00667 } 00668 00669 if( omni::strMatch(op, "shutdown") ) { 00670 00671 _0RL_cd_12c42ade728de8dd_b0000000 _call_desc(_0RL_lcfn_12c42ade728de8dd_c0000000, "shutdown", 9, 1); 00672 00673 _handle.upcall(this,_call_desc); 00674 return 1; 00675 } 00676 00677 00678 return 0; 00679 } 00680 00681 void* 00682 _impl_CMap::_ptrToInterface(const char* id) 00683 { 00684 if( id == ::CMap::_PD_repoId ) 00685 return (::_impl_CMap*) this; 00686 00687 if( id == ::CORBA::Object::_PD_repoId ) 00688 return (void*) 1; 00689 00690 if( omni::strMatch(id, ::CMap::_PD_repoId) ) 00691 return (::_impl_CMap*) this; 00692 00693 if( omni::strMatch(id, ::CORBA::Object::_PD_repoId) ) 00694 return (void*) 1; 00695 return 0; 00696 } 00697 00698 const char* 00699 _impl_CMap::_mostDerivedRepoId() 00700 { 00701 return ::CMap::_PD_repoId; 00702 } 00703 00704 POA_CMap::~POA_CMap() {} 00705