00001 // ********************************************************************** 00002 // 00003 // Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. 00004 // 00005 // This copy of Ice is licensed to you under the terms described in the 00006 // ICE_LICENSE file included in this distribution. 00007 // 00008 // ********************************************************************** 00009 00010 // Ice version 3.3.1 00011 // Generated from file `ChipInfoIce.ice' 00012 00013 #include <ChipInfoIce.ice.H> 00014 #include <Ice/LocalException.h> 00015 #include <Ice/ObjectFactory.h> 00016 #include <Ice/BasicStream.h> 00017 #include <IceUtil/Iterator.h> 00018 #include <IceUtil/ScopedArray.h> 00019 00020 #ifndef ICE_IGNORE_VERSION 00021 # if ICE_INT_VERSION / 100 != 303 00022 # error Ice version mismatch! 00023 # endif 00024 # if ICE_INT_VERSION % 100 > 50 00025 # error Beta header file detected 00026 # endif 00027 # if ICE_INT_VERSION % 100 < 1 00028 # error Ice patch level mismatch! 00029 # endif 00030 #endif 00031 00032 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__update_name = "update"; 00033 00034 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__getSmap_name = "getSmap"; 00035 00036 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__getBelief_name = "getBelief"; 00037 00038 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__getBelief2_name = "getBelief2"; 00039 00040 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__getHist_name = "getHist"; 00041 00042 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__registerChips_name = "registerChips"; 00043 00044 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__startServer_name = "startServer"; 00045 00046 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce__getAvgChipsSec_name = "getAvgChipsSec"; 00047 00048 static const ::std::string __ChipInfoIceMod__ChipInfoServerFactoryIce__createServer_name = "createServer"; 00049 00050 ::Ice::Object* IceInternal::upCast(::ChipInfoIceMod::ChipInfoServerIce* p) { return p; } 00051 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::ChipInfoIceMod::ChipInfoServerIce* p) { return p; } 00052 00053 ::Ice::Object* IceInternal::upCast(::ChipInfoIceMod::ChipInfoServerFactoryIce* p) { return p; } 00054 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce* p) { return p; } 00055 00056 void 00057 ChipInfoIceMod::__read(::IceInternal::BasicStream* __is, ::ChipInfoIceMod::ChipInfoServerIcePrx& v) 00058 { 00059 ::Ice::ObjectPrx proxy; 00060 __is->read(proxy); 00061 if(!proxy) 00062 { 00063 v = 0; 00064 } 00065 else 00066 { 00067 v = new ::IceProxy::ChipInfoIceMod::ChipInfoServerIce; 00068 v->__copyFrom(proxy); 00069 } 00070 } 00071 00072 void 00073 ChipInfoIceMod::__read(::IceInternal::BasicStream* __is, ::ChipInfoIceMod::ChipInfoServerFactoryIcePrx& v) 00074 { 00075 ::Ice::ObjectPrx proxy; 00076 __is->read(proxy); 00077 if(!proxy) 00078 { 00079 v = 0; 00080 } 00081 else 00082 { 00083 v = new ::IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce; 00084 v->__copyFrom(proxy); 00085 } 00086 } 00087 00088 bool 00089 ChipInfoIceMod::AMI_ChipInfoServerIce_update::__invoke(const ::ChipInfoIceMod::ChipInfoServerIcePrx& __prx, const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Context* __ctx) 00090 { 00091 __acquireCallback(__prx); 00092 try 00093 { 00094 __prx->__checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__update_name); 00095 __prepare(__prx, __ChipInfoIceMod__ChipInfoServerIce__update_name, ::Ice::Normal, __ctx); 00096 image.__write(__os); 00097 __os->write(chipID); 00098 __os->endWriteEncaps(); 00099 return __send(); 00100 } 00101 catch(const ::Ice::LocalException& __ex) 00102 { 00103 __releaseCallback(__ex); 00104 return false; 00105 } 00106 } 00107 00108 void 00109 ChipInfoIceMod::AMI_ChipInfoServerIce_update::__response(bool __ok) 00110 { 00111 ::Ice::Double __ret; 00112 try 00113 { 00114 if(!__ok) 00115 { 00116 try 00117 { 00118 __throwUserException(); 00119 } 00120 catch(const ::Ice::UserException& __ex) 00121 { 00122 throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); 00123 } 00124 return; 00125 } 00126 __is->startReadEncaps(); 00127 __is->read(__ret); 00128 __is->endReadEncaps(); 00129 } 00130 catch(const ::Ice::LocalException& __ex) 00131 { 00132 __finished(__ex); 00133 return; 00134 } 00135 ice_response(__ret); 00136 __releaseCallback(); 00137 } 00138 00139 ::Ice::Double 00140 IceProxy::ChipInfoIceMod::ChipInfoServerIce::update(const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Context* __ctx) 00141 { 00142 int __cnt = 0; 00143 while(true) 00144 { 00145 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00146 try 00147 { 00148 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00149 IceUtil::DummyBCC dummy; 00150 #endif 00151 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__update_name); 00152 __delBase = __getDelegate(false); 00153 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00154 return __del->update(image, chipID, __ctx); 00155 } 00156 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00157 { 00158 __handleExceptionWrapper(__delBase, __ex, 0); 00159 } 00160 catch(const ::Ice::LocalException& __ex) 00161 { 00162 __handleException(__delBase, __ex, 0, __cnt); 00163 } 00164 } 00165 } 00166 00167 bool 00168 IceProxy::ChipInfoIceMod::ChipInfoServerIce::update_async(const ::ChipInfoIceMod::AMI_ChipInfoServerIce_updatePtr& __cb, const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID) 00169 { 00170 return __cb->__invoke(this, image, chipID, 0); 00171 } 00172 00173 bool 00174 IceProxy::ChipInfoIceMod::ChipInfoServerIce::update_async(const ::ChipInfoIceMod::AMI_ChipInfoServerIce_updatePtr& __cb, const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Context& __ctx) 00175 { 00176 return __cb->__invoke(this, image, chipID, &__ctx); 00177 } 00178 00179 ::ImageIceMod::ImageIce 00180 IceProxy::ChipInfoIceMod::ChipInfoServerIce::getSmap(::Ice::Int chipID, const ::Ice::Context* __ctx) 00181 { 00182 int __cnt = 0; 00183 while(true) 00184 { 00185 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00186 try 00187 { 00188 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00189 IceUtil::DummyBCC dummy; 00190 #endif 00191 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__getSmap_name); 00192 __delBase = __getDelegate(false); 00193 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00194 return __del->getSmap(chipID, __ctx); 00195 } 00196 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00197 { 00198 __handleExceptionWrapper(__delBase, __ex, 0); 00199 } 00200 catch(const ::Ice::LocalException& __ex) 00201 { 00202 __handleException(__delBase, __ex, 0, __cnt); 00203 } 00204 } 00205 } 00206 00207 ::ChipInfoIceMod::DoubleSeq 00208 IceProxy::ChipInfoIceMod::ChipInfoServerIce::getBelief(::Ice::Int chipID, const ::Ice::Context* __ctx) 00209 { 00210 int __cnt = 0; 00211 while(true) 00212 { 00213 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00214 try 00215 { 00216 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00217 IceUtil::DummyBCC dummy; 00218 #endif 00219 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__getBelief_name); 00220 __delBase = __getDelegate(false); 00221 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00222 return __del->getBelief(chipID, __ctx); 00223 } 00224 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00225 { 00226 __handleExceptionWrapper(__delBase, __ex, 0); 00227 } 00228 catch(const ::Ice::LocalException& __ex) 00229 { 00230 __handleException(__delBase, __ex, 0, __cnt); 00231 } 00232 } 00233 } 00234 00235 ::ChipInfoIceMod::DoubleSeq 00236 IceProxy::ChipInfoIceMod::ChipInfoServerIce::getBelief2(::Ice::Int chipID, const ::Ice::Context* __ctx) 00237 { 00238 int __cnt = 0; 00239 while(true) 00240 { 00241 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00242 try 00243 { 00244 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00245 IceUtil::DummyBCC dummy; 00246 #endif 00247 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__getBelief2_name); 00248 __delBase = __getDelegate(false); 00249 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00250 return __del->getBelief2(chipID, __ctx); 00251 } 00252 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00253 { 00254 __handleExceptionWrapper(__delBase, __ex, 0); 00255 } 00256 catch(const ::Ice::LocalException& __ex) 00257 { 00258 __handleException(__delBase, __ex, 0, __cnt); 00259 } 00260 } 00261 } 00262 00263 ::ChipInfoIceMod::DoubleSeq 00264 IceProxy::ChipInfoIceMod::ChipInfoServerIce::getHist(::Ice::Int chipID, const ::Ice::Context* __ctx) 00265 { 00266 int __cnt = 0; 00267 while(true) 00268 { 00269 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00270 try 00271 { 00272 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00273 IceUtil::DummyBCC dummy; 00274 #endif 00275 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__getHist_name); 00276 __delBase = __getDelegate(false); 00277 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00278 return __del->getHist(chipID, __ctx); 00279 } 00280 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00281 { 00282 __handleExceptionWrapper(__delBase, __ex, 0); 00283 } 00284 catch(const ::Ice::LocalException& __ex) 00285 { 00286 __handleException(__delBase, __ex, 0, __cnt); 00287 } 00288 } 00289 } 00290 00291 void 00292 IceProxy::ChipInfoIceMod::ChipInfoServerIce::registerChips(const ::ChipInfoIceMod::IntSeq& chipIDList, const ::Ice::Context* __ctx) 00293 { 00294 int __cnt = 0; 00295 while(true) 00296 { 00297 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00298 try 00299 { 00300 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00301 IceUtil::DummyBCC dummy; 00302 #endif 00303 __delBase = __getDelegate(false); 00304 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00305 __del->registerChips(chipIDList, __ctx); 00306 return; 00307 } 00308 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00309 { 00310 __handleExceptionWrapper(__delBase, __ex, 0); 00311 } 00312 catch(const ::Ice::LocalException& __ex) 00313 { 00314 __handleException(__delBase, __ex, 0, __cnt); 00315 } 00316 } 00317 } 00318 00319 void 00320 IceProxy::ChipInfoIceMod::ChipInfoServerIce::startServer(const ::Ice::Context* __ctx) 00321 { 00322 int __cnt = 0; 00323 while(true) 00324 { 00325 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00326 try 00327 { 00328 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00329 IceUtil::DummyBCC dummy; 00330 #endif 00331 __delBase = __getDelegate(false); 00332 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00333 __del->startServer(__ctx); 00334 return; 00335 } 00336 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00337 { 00338 __handleExceptionWrapper(__delBase, __ex, 0); 00339 } 00340 catch(const ::Ice::LocalException& __ex) 00341 { 00342 __handleException(__delBase, __ex, 0, __cnt); 00343 } 00344 } 00345 } 00346 00347 ::Ice::Float 00348 IceProxy::ChipInfoIceMod::ChipInfoServerIce::getAvgChipsSec(const ::Ice::Context* __ctx) 00349 { 00350 int __cnt = 0; 00351 while(true) 00352 { 00353 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00354 try 00355 { 00356 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00357 IceUtil::DummyBCC dummy; 00358 #endif 00359 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerIce__getAvgChipsSec_name); 00360 __delBase = __getDelegate(false); 00361 ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerIce*>(__delBase.get()); 00362 return __del->getAvgChipsSec(__ctx); 00363 } 00364 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00365 { 00366 __handleExceptionWrapper(__delBase, __ex, 0); 00367 } 00368 catch(const ::Ice::LocalException& __ex) 00369 { 00370 __handleException(__delBase, __ex, 0, __cnt); 00371 } 00372 } 00373 } 00374 00375 const ::std::string& 00376 IceProxy::ChipInfoIceMod::ChipInfoServerIce::ice_staticId() 00377 { 00378 return ::ChipInfoIceMod::ChipInfoServerIce::ice_staticId(); 00379 } 00380 00381 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00382 IceProxy::ChipInfoIceMod::ChipInfoServerIce::__createDelegateM() 00383 { 00384 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ChipInfoIceMod::ChipInfoServerIce); 00385 } 00386 00387 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00388 IceProxy::ChipInfoIceMod::ChipInfoServerIce::__createDelegateD() 00389 { 00390 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ChipInfoIceMod::ChipInfoServerIce); 00391 } 00392 00393 ::IceProxy::Ice::Object* 00394 IceProxy::ChipInfoIceMod::ChipInfoServerIce::__newInstance() const 00395 { 00396 return new ChipInfoServerIce; 00397 } 00398 00399 ::ChipInfoIceMod::ChipInfoServerIcePrx 00400 IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce::createServer(const ::Ice::Context* __ctx) 00401 { 00402 int __cnt = 0; 00403 while(true) 00404 { 00405 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00406 try 00407 { 00408 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00409 IceUtil::DummyBCC dummy; 00410 #endif 00411 __checkTwowayOnly(__ChipInfoIceMod__ChipInfoServerFactoryIce__createServer_name); 00412 __delBase = __getDelegate(false); 00413 ::IceDelegate::ChipInfoIceMod::ChipInfoServerFactoryIce* __del = dynamic_cast< ::IceDelegate::ChipInfoIceMod::ChipInfoServerFactoryIce*>(__delBase.get()); 00414 return __del->createServer(__ctx); 00415 } 00416 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00417 { 00418 __handleExceptionWrapper(__delBase, __ex, 0); 00419 } 00420 catch(const ::Ice::LocalException& __ex) 00421 { 00422 __handleException(__delBase, __ex, 0, __cnt); 00423 } 00424 } 00425 } 00426 00427 const ::std::string& 00428 IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce::ice_staticId() 00429 { 00430 return ::ChipInfoIceMod::ChipInfoServerFactoryIce::ice_staticId(); 00431 } 00432 00433 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00434 IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce::__createDelegateM() 00435 { 00436 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ChipInfoIceMod::ChipInfoServerFactoryIce); 00437 } 00438 00439 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00440 IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce::__createDelegateD() 00441 { 00442 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ChipInfoIceMod::ChipInfoServerFactoryIce); 00443 } 00444 00445 ::IceProxy::Ice::Object* 00446 IceProxy::ChipInfoIceMod::ChipInfoServerFactoryIce::__newInstance() const 00447 { 00448 return new ChipInfoServerFactoryIce; 00449 } 00450 00451 ::Ice::Double 00452 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::update(const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Context* __context) 00453 { 00454 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__update_name, ::Ice::Normal, __context); 00455 try 00456 { 00457 ::IceInternal::BasicStream* __os = __og.os(); 00458 image.__write(__os); 00459 __os->write(chipID); 00460 } 00461 catch(const ::Ice::LocalException& __ex) 00462 { 00463 __og.abort(__ex); 00464 } 00465 bool __ok = __og.invoke(); 00466 ::Ice::Double __ret; 00467 try 00468 { 00469 if(!__ok) 00470 { 00471 try 00472 { 00473 __og.throwUserException(); 00474 } 00475 catch(const ::Ice::UserException& __ex) 00476 { 00477 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00478 throw __uue; 00479 } 00480 } 00481 ::IceInternal::BasicStream* __is = __og.is(); 00482 __is->startReadEncaps(); 00483 __is->read(__ret); 00484 __is->endReadEncaps(); 00485 return __ret; 00486 } 00487 catch(const ::Ice::LocalException& __ex) 00488 { 00489 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00490 } 00491 } 00492 00493 ::ImageIceMod::ImageIce 00494 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::getSmap(::Ice::Int chipID, const ::Ice::Context* __context) 00495 { 00496 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__getSmap_name, ::Ice::Normal, __context); 00497 try 00498 { 00499 ::IceInternal::BasicStream* __os = __og.os(); 00500 __os->write(chipID); 00501 } 00502 catch(const ::Ice::LocalException& __ex) 00503 { 00504 __og.abort(__ex); 00505 } 00506 bool __ok = __og.invoke(); 00507 ::ImageIceMod::ImageIce __ret; 00508 try 00509 { 00510 if(!__ok) 00511 { 00512 try 00513 { 00514 __og.throwUserException(); 00515 } 00516 catch(const ::Ice::UserException& __ex) 00517 { 00518 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00519 throw __uue; 00520 } 00521 } 00522 ::IceInternal::BasicStream* __is = __og.is(); 00523 __is->startReadEncaps(); 00524 __ret.__read(__is); 00525 __is->endReadEncaps(); 00526 return __ret; 00527 } 00528 catch(const ::Ice::LocalException& __ex) 00529 { 00530 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00531 } 00532 } 00533 00534 ::ChipInfoIceMod::DoubleSeq 00535 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::getBelief(::Ice::Int chipID, const ::Ice::Context* __context) 00536 { 00537 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__getBelief_name, ::Ice::Normal, __context); 00538 try 00539 { 00540 ::IceInternal::BasicStream* __os = __og.os(); 00541 __os->write(chipID); 00542 } 00543 catch(const ::Ice::LocalException& __ex) 00544 { 00545 __og.abort(__ex); 00546 } 00547 bool __ok = __og.invoke(); 00548 ::ChipInfoIceMod::DoubleSeq __ret; 00549 try 00550 { 00551 if(!__ok) 00552 { 00553 try 00554 { 00555 __og.throwUserException(); 00556 } 00557 catch(const ::Ice::UserException& __ex) 00558 { 00559 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00560 throw __uue; 00561 } 00562 } 00563 ::IceInternal::BasicStream* __is = __og.is(); 00564 __is->startReadEncaps(); 00565 __is->read(__ret); 00566 __is->endReadEncaps(); 00567 return __ret; 00568 } 00569 catch(const ::Ice::LocalException& __ex) 00570 { 00571 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00572 } 00573 } 00574 00575 ::ChipInfoIceMod::DoubleSeq 00576 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::getBelief2(::Ice::Int chipID, const ::Ice::Context* __context) 00577 { 00578 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__getBelief2_name, ::Ice::Normal, __context); 00579 try 00580 { 00581 ::IceInternal::BasicStream* __os = __og.os(); 00582 __os->write(chipID); 00583 } 00584 catch(const ::Ice::LocalException& __ex) 00585 { 00586 __og.abort(__ex); 00587 } 00588 bool __ok = __og.invoke(); 00589 ::ChipInfoIceMod::DoubleSeq __ret; 00590 try 00591 { 00592 if(!__ok) 00593 { 00594 try 00595 { 00596 __og.throwUserException(); 00597 } 00598 catch(const ::Ice::UserException& __ex) 00599 { 00600 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00601 throw __uue; 00602 } 00603 } 00604 ::IceInternal::BasicStream* __is = __og.is(); 00605 __is->startReadEncaps(); 00606 __is->read(__ret); 00607 __is->endReadEncaps(); 00608 return __ret; 00609 } 00610 catch(const ::Ice::LocalException& __ex) 00611 { 00612 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00613 } 00614 } 00615 00616 ::ChipInfoIceMod::DoubleSeq 00617 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::getHist(::Ice::Int chipID, const ::Ice::Context* __context) 00618 { 00619 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__getHist_name, ::Ice::Normal, __context); 00620 try 00621 { 00622 ::IceInternal::BasicStream* __os = __og.os(); 00623 __os->write(chipID); 00624 } 00625 catch(const ::Ice::LocalException& __ex) 00626 { 00627 __og.abort(__ex); 00628 } 00629 bool __ok = __og.invoke(); 00630 ::ChipInfoIceMod::DoubleSeq __ret; 00631 try 00632 { 00633 if(!__ok) 00634 { 00635 try 00636 { 00637 __og.throwUserException(); 00638 } 00639 catch(const ::Ice::UserException& __ex) 00640 { 00641 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00642 throw __uue; 00643 } 00644 } 00645 ::IceInternal::BasicStream* __is = __og.is(); 00646 __is->startReadEncaps(); 00647 __is->read(__ret); 00648 __is->endReadEncaps(); 00649 return __ret; 00650 } 00651 catch(const ::Ice::LocalException& __ex) 00652 { 00653 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00654 } 00655 } 00656 00657 void 00658 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::registerChips(const ::ChipInfoIceMod::IntSeq& chipIDList, const ::Ice::Context* __context) 00659 { 00660 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__registerChips_name, ::Ice::Normal, __context); 00661 try 00662 { 00663 ::IceInternal::BasicStream* __os = __og.os(); 00664 if(chipIDList.size() == 0) 00665 { 00666 __os->writeSize(0); 00667 } 00668 else 00669 { 00670 __os->write(&chipIDList[0], &chipIDList[0] + chipIDList.size()); 00671 } 00672 } 00673 catch(const ::Ice::LocalException& __ex) 00674 { 00675 __og.abort(__ex); 00676 } 00677 bool __ok = __og.invoke(); 00678 if(!__og.is()->b.empty()) 00679 { 00680 try 00681 { 00682 if(!__ok) 00683 { 00684 try 00685 { 00686 __og.throwUserException(); 00687 } 00688 catch(const ::Ice::UserException& __ex) 00689 { 00690 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00691 throw __uue; 00692 } 00693 } 00694 __og.is()->skipEmptyEncaps(); 00695 } 00696 catch(const ::Ice::LocalException& __ex) 00697 { 00698 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00699 } 00700 } 00701 } 00702 00703 void 00704 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::startServer(const ::Ice::Context* __context) 00705 { 00706 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__startServer_name, ::Ice::Normal, __context); 00707 bool __ok = __og.invoke(); 00708 if(!__og.is()->b.empty()) 00709 { 00710 try 00711 { 00712 if(!__ok) 00713 { 00714 try 00715 { 00716 __og.throwUserException(); 00717 } 00718 catch(const ::Ice::UserException& __ex) 00719 { 00720 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00721 throw __uue; 00722 } 00723 } 00724 __og.is()->skipEmptyEncaps(); 00725 } 00726 catch(const ::Ice::LocalException& __ex) 00727 { 00728 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00729 } 00730 } 00731 } 00732 00733 ::Ice::Float 00734 IceDelegateM::ChipInfoIceMod::ChipInfoServerIce::getAvgChipsSec(const ::Ice::Context* __context) 00735 { 00736 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerIce__getAvgChipsSec_name, ::Ice::Normal, __context); 00737 bool __ok = __og.invoke(); 00738 ::Ice::Float __ret; 00739 try 00740 { 00741 if(!__ok) 00742 { 00743 try 00744 { 00745 __og.throwUserException(); 00746 } 00747 catch(const ::Ice::UserException& __ex) 00748 { 00749 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00750 throw __uue; 00751 } 00752 } 00753 ::IceInternal::BasicStream* __is = __og.is(); 00754 __is->startReadEncaps(); 00755 __is->read(__ret); 00756 __is->endReadEncaps(); 00757 return __ret; 00758 } 00759 catch(const ::Ice::LocalException& __ex) 00760 { 00761 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00762 } 00763 } 00764 00765 ::ChipInfoIceMod::ChipInfoServerIcePrx 00766 IceDelegateM::ChipInfoIceMod::ChipInfoServerFactoryIce::createServer(const ::Ice::Context* __context) 00767 { 00768 ::IceInternal::Outgoing __og(__handler.get(), __ChipInfoIceMod__ChipInfoServerFactoryIce__createServer_name, ::Ice::Normal, __context); 00769 bool __ok = __og.invoke(); 00770 ::ChipInfoIceMod::ChipInfoServerIcePrx __ret; 00771 try 00772 { 00773 if(!__ok) 00774 { 00775 try 00776 { 00777 __og.throwUserException(); 00778 } 00779 catch(const ::Ice::UserException& __ex) 00780 { 00781 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 00782 throw __uue; 00783 } 00784 } 00785 ::IceInternal::BasicStream* __is = __og.is(); 00786 __is->startReadEncaps(); 00787 ::ChipInfoIceMod::__read(__is, __ret); 00788 __is->endReadEncaps(); 00789 return __ret; 00790 } 00791 catch(const ::Ice::LocalException& __ex) 00792 { 00793 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 00794 } 00795 } 00796 00797 ::Ice::Double 00798 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::update(const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Context* __context) 00799 { 00800 class _DirectI : public ::IceInternal::Direct 00801 { 00802 public: 00803 00804 _DirectI(::Ice::Double& __result, const ::ImageIceMod::ImageIce& image, ::Ice::Int chipID, const ::Ice::Current& __current) : 00805 ::IceInternal::Direct(__current), 00806 _result(__result), 00807 _m_image(image), 00808 _m_chipID(chipID) 00809 { 00810 } 00811 00812 virtual ::Ice::DispatchStatus 00813 run(::Ice::Object* object) 00814 { 00815 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 00816 if(!servant) 00817 { 00818 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 00819 } 00820 _result = servant->update(_m_image, _m_chipID, _current); 00821 return ::Ice::DispatchOK; 00822 } 00823 00824 private: 00825 00826 ::Ice::Double& _result; 00827 const ::ImageIceMod::ImageIce& _m_image; 00828 ::Ice::Int _m_chipID; 00829 }; 00830 00831 ::Ice::Current __current; 00832 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__update_name, ::Ice::Normal, __context); 00833 ::Ice::Double __result; 00834 try 00835 { 00836 _DirectI __direct(__result, image, chipID, __current); 00837 try 00838 { 00839 __direct.servant()->__collocDispatch(__direct); 00840 } 00841 catch(...) 00842 { 00843 __direct.destroy(); 00844 throw; 00845 } 00846 __direct.destroy(); 00847 } 00848 catch(const ::Ice::SystemException&) 00849 { 00850 throw; 00851 } 00852 catch(const ::IceInternal::LocalExceptionWrapper&) 00853 { 00854 throw; 00855 } 00856 catch(const ::std::exception& __ex) 00857 { 00858 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 00859 } 00860 catch(...) 00861 { 00862 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 00863 } 00864 return __result; 00865 } 00866 00867 ::ImageIceMod::ImageIce 00868 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::getSmap(::Ice::Int chipID, const ::Ice::Context* __context) 00869 { 00870 class _DirectI : public ::IceInternal::Direct 00871 { 00872 public: 00873 00874 _DirectI(::ImageIceMod::ImageIce& __result, ::Ice::Int chipID, const ::Ice::Current& __current) : 00875 ::IceInternal::Direct(__current), 00876 _result(__result), 00877 _m_chipID(chipID) 00878 { 00879 } 00880 00881 virtual ::Ice::DispatchStatus 00882 run(::Ice::Object* object) 00883 { 00884 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 00885 if(!servant) 00886 { 00887 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 00888 } 00889 _result = servant->getSmap(_m_chipID, _current); 00890 return ::Ice::DispatchOK; 00891 } 00892 00893 private: 00894 00895 ::ImageIceMod::ImageIce& _result; 00896 ::Ice::Int _m_chipID; 00897 }; 00898 00899 ::Ice::Current __current; 00900 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__getSmap_name, ::Ice::Normal, __context); 00901 ::ImageIceMod::ImageIce __result; 00902 try 00903 { 00904 _DirectI __direct(__result, chipID, __current); 00905 try 00906 { 00907 __direct.servant()->__collocDispatch(__direct); 00908 } 00909 catch(...) 00910 { 00911 __direct.destroy(); 00912 throw; 00913 } 00914 __direct.destroy(); 00915 } 00916 catch(const ::Ice::SystemException&) 00917 { 00918 throw; 00919 } 00920 catch(const ::IceInternal::LocalExceptionWrapper&) 00921 { 00922 throw; 00923 } 00924 catch(const ::std::exception& __ex) 00925 { 00926 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 00927 } 00928 catch(...) 00929 { 00930 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 00931 } 00932 return __result; 00933 } 00934 00935 ::ChipInfoIceMod::DoubleSeq 00936 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::getBelief(::Ice::Int chipID, const ::Ice::Context* __context) 00937 { 00938 class _DirectI : public ::IceInternal::Direct 00939 { 00940 public: 00941 00942 _DirectI(::ChipInfoIceMod::DoubleSeq& __result, ::Ice::Int chipID, const ::Ice::Current& __current) : 00943 ::IceInternal::Direct(__current), 00944 _result(__result), 00945 _m_chipID(chipID) 00946 { 00947 } 00948 00949 virtual ::Ice::DispatchStatus 00950 run(::Ice::Object* object) 00951 { 00952 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 00953 if(!servant) 00954 { 00955 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 00956 } 00957 _result = servant->getBelief(_m_chipID, _current); 00958 return ::Ice::DispatchOK; 00959 } 00960 00961 private: 00962 00963 ::ChipInfoIceMod::DoubleSeq& _result; 00964 ::Ice::Int _m_chipID; 00965 }; 00966 00967 ::Ice::Current __current; 00968 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__getBelief_name, ::Ice::Normal, __context); 00969 ::ChipInfoIceMod::DoubleSeq __result; 00970 try 00971 { 00972 _DirectI __direct(__result, chipID, __current); 00973 try 00974 { 00975 __direct.servant()->__collocDispatch(__direct); 00976 } 00977 catch(...) 00978 { 00979 __direct.destroy(); 00980 throw; 00981 } 00982 __direct.destroy(); 00983 } 00984 catch(const ::Ice::SystemException&) 00985 { 00986 throw; 00987 } 00988 catch(const ::IceInternal::LocalExceptionWrapper&) 00989 { 00990 throw; 00991 } 00992 catch(const ::std::exception& __ex) 00993 { 00994 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 00995 } 00996 catch(...) 00997 { 00998 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 00999 } 01000 return __result; 01001 } 01002 01003 ::ChipInfoIceMod::DoubleSeq 01004 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::getBelief2(::Ice::Int chipID, const ::Ice::Context* __context) 01005 { 01006 class _DirectI : public ::IceInternal::Direct 01007 { 01008 public: 01009 01010 _DirectI(::ChipInfoIceMod::DoubleSeq& __result, ::Ice::Int chipID, const ::Ice::Current& __current) : 01011 ::IceInternal::Direct(__current), 01012 _result(__result), 01013 _m_chipID(chipID) 01014 { 01015 } 01016 01017 virtual ::Ice::DispatchStatus 01018 run(::Ice::Object* object) 01019 { 01020 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 01021 if(!servant) 01022 { 01023 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01024 } 01025 _result = servant->getBelief2(_m_chipID, _current); 01026 return ::Ice::DispatchOK; 01027 } 01028 01029 private: 01030 01031 ::ChipInfoIceMod::DoubleSeq& _result; 01032 ::Ice::Int _m_chipID; 01033 }; 01034 01035 ::Ice::Current __current; 01036 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__getBelief2_name, ::Ice::Normal, __context); 01037 ::ChipInfoIceMod::DoubleSeq __result; 01038 try 01039 { 01040 _DirectI __direct(__result, chipID, __current); 01041 try 01042 { 01043 __direct.servant()->__collocDispatch(__direct); 01044 } 01045 catch(...) 01046 { 01047 __direct.destroy(); 01048 throw; 01049 } 01050 __direct.destroy(); 01051 } 01052 catch(const ::Ice::SystemException&) 01053 { 01054 throw; 01055 } 01056 catch(const ::IceInternal::LocalExceptionWrapper&) 01057 { 01058 throw; 01059 } 01060 catch(const ::std::exception& __ex) 01061 { 01062 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01063 } 01064 catch(...) 01065 { 01066 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01067 } 01068 return __result; 01069 } 01070 01071 ::ChipInfoIceMod::DoubleSeq 01072 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::getHist(::Ice::Int chipID, const ::Ice::Context* __context) 01073 { 01074 class _DirectI : public ::IceInternal::Direct 01075 { 01076 public: 01077 01078 _DirectI(::ChipInfoIceMod::DoubleSeq& __result, ::Ice::Int chipID, const ::Ice::Current& __current) : 01079 ::IceInternal::Direct(__current), 01080 _result(__result), 01081 _m_chipID(chipID) 01082 { 01083 } 01084 01085 virtual ::Ice::DispatchStatus 01086 run(::Ice::Object* object) 01087 { 01088 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 01089 if(!servant) 01090 { 01091 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01092 } 01093 _result = servant->getHist(_m_chipID, _current); 01094 return ::Ice::DispatchOK; 01095 } 01096 01097 private: 01098 01099 ::ChipInfoIceMod::DoubleSeq& _result; 01100 ::Ice::Int _m_chipID; 01101 }; 01102 01103 ::Ice::Current __current; 01104 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__getHist_name, ::Ice::Normal, __context); 01105 ::ChipInfoIceMod::DoubleSeq __result; 01106 try 01107 { 01108 _DirectI __direct(__result, chipID, __current); 01109 try 01110 { 01111 __direct.servant()->__collocDispatch(__direct); 01112 } 01113 catch(...) 01114 { 01115 __direct.destroy(); 01116 throw; 01117 } 01118 __direct.destroy(); 01119 } 01120 catch(const ::Ice::SystemException&) 01121 { 01122 throw; 01123 } 01124 catch(const ::IceInternal::LocalExceptionWrapper&) 01125 { 01126 throw; 01127 } 01128 catch(const ::std::exception& __ex) 01129 { 01130 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01131 } 01132 catch(...) 01133 { 01134 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01135 } 01136 return __result; 01137 } 01138 01139 void 01140 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::registerChips(const ::ChipInfoIceMod::IntSeq& chipIDList, const ::Ice::Context* __context) 01141 { 01142 class _DirectI : public ::IceInternal::Direct 01143 { 01144 public: 01145 01146 _DirectI(const ::ChipInfoIceMod::IntSeq& chipIDList, const ::Ice::Current& __current) : 01147 ::IceInternal::Direct(__current), 01148 _m_chipIDList(chipIDList) 01149 { 01150 } 01151 01152 virtual ::Ice::DispatchStatus 01153 run(::Ice::Object* object) 01154 { 01155 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 01156 if(!servant) 01157 { 01158 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01159 } 01160 servant->registerChips(_m_chipIDList, _current); 01161 return ::Ice::DispatchOK; 01162 } 01163 01164 private: 01165 01166 const ::ChipInfoIceMod::IntSeq& _m_chipIDList; 01167 }; 01168 01169 ::Ice::Current __current; 01170 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__registerChips_name, ::Ice::Normal, __context); 01171 try 01172 { 01173 _DirectI __direct(chipIDList, __current); 01174 try 01175 { 01176 __direct.servant()->__collocDispatch(__direct); 01177 } 01178 catch(...) 01179 { 01180 __direct.destroy(); 01181 throw; 01182 } 01183 __direct.destroy(); 01184 } 01185 catch(const ::Ice::SystemException&) 01186 { 01187 throw; 01188 } 01189 catch(const ::IceInternal::LocalExceptionWrapper&) 01190 { 01191 throw; 01192 } 01193 catch(const ::std::exception& __ex) 01194 { 01195 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01196 } 01197 catch(...) 01198 { 01199 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01200 } 01201 } 01202 01203 void 01204 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::startServer(const ::Ice::Context* __context) 01205 { 01206 class _DirectI : public ::IceInternal::Direct 01207 { 01208 public: 01209 01210 _DirectI(const ::Ice::Current& __current) : 01211 ::IceInternal::Direct(__current) 01212 { 01213 } 01214 01215 virtual ::Ice::DispatchStatus 01216 run(::Ice::Object* object) 01217 { 01218 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 01219 if(!servant) 01220 { 01221 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01222 } 01223 servant->startServer(_current); 01224 return ::Ice::DispatchOK; 01225 } 01226 01227 private: 01228 01229 }; 01230 01231 ::Ice::Current __current; 01232 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__startServer_name, ::Ice::Normal, __context); 01233 try 01234 { 01235 _DirectI __direct(__current); 01236 try 01237 { 01238 __direct.servant()->__collocDispatch(__direct); 01239 } 01240 catch(...) 01241 { 01242 __direct.destroy(); 01243 throw; 01244 } 01245 __direct.destroy(); 01246 } 01247 catch(const ::Ice::SystemException&) 01248 { 01249 throw; 01250 } 01251 catch(const ::IceInternal::LocalExceptionWrapper&) 01252 { 01253 throw; 01254 } 01255 catch(const ::std::exception& __ex) 01256 { 01257 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01258 } 01259 catch(...) 01260 { 01261 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01262 } 01263 } 01264 01265 ::Ice::Float 01266 IceDelegateD::ChipInfoIceMod::ChipInfoServerIce::getAvgChipsSec(const ::Ice::Context* __context) 01267 { 01268 class _DirectI : public ::IceInternal::Direct 01269 { 01270 public: 01271 01272 _DirectI(::Ice::Float& __result, const ::Ice::Current& __current) : 01273 ::IceInternal::Direct(__current), 01274 _result(__result) 01275 { 01276 } 01277 01278 virtual ::Ice::DispatchStatus 01279 run(::Ice::Object* object) 01280 { 01281 ::ChipInfoIceMod::ChipInfoServerIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerIce*>(object); 01282 if(!servant) 01283 { 01284 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01285 } 01286 _result = servant->getAvgChipsSec(_current); 01287 return ::Ice::DispatchOK; 01288 } 01289 01290 private: 01291 01292 ::Ice::Float& _result; 01293 }; 01294 01295 ::Ice::Current __current; 01296 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerIce__getAvgChipsSec_name, ::Ice::Normal, __context); 01297 ::Ice::Float __result; 01298 try 01299 { 01300 _DirectI __direct(__result, __current); 01301 try 01302 { 01303 __direct.servant()->__collocDispatch(__direct); 01304 } 01305 catch(...) 01306 { 01307 __direct.destroy(); 01308 throw; 01309 } 01310 __direct.destroy(); 01311 } 01312 catch(const ::Ice::SystemException&) 01313 { 01314 throw; 01315 } 01316 catch(const ::IceInternal::LocalExceptionWrapper&) 01317 { 01318 throw; 01319 } 01320 catch(const ::std::exception& __ex) 01321 { 01322 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01323 } 01324 catch(...) 01325 { 01326 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01327 } 01328 return __result; 01329 } 01330 01331 ::ChipInfoIceMod::ChipInfoServerIcePrx 01332 IceDelegateD::ChipInfoIceMod::ChipInfoServerFactoryIce::createServer(const ::Ice::Context* __context) 01333 { 01334 class _DirectI : public ::IceInternal::Direct 01335 { 01336 public: 01337 01338 _DirectI(::ChipInfoIceMod::ChipInfoServerIcePrx& __result, const ::Ice::Current& __current) : 01339 ::IceInternal::Direct(__current), 01340 _result(__result) 01341 { 01342 } 01343 01344 virtual ::Ice::DispatchStatus 01345 run(::Ice::Object* object) 01346 { 01347 ::ChipInfoIceMod::ChipInfoServerFactoryIce* servant = dynamic_cast< ::ChipInfoIceMod::ChipInfoServerFactoryIce*>(object); 01348 if(!servant) 01349 { 01350 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01351 } 01352 _result = servant->createServer(_current); 01353 return ::Ice::DispatchOK; 01354 } 01355 01356 private: 01357 01358 ::ChipInfoIceMod::ChipInfoServerIcePrx& _result; 01359 }; 01360 01361 ::Ice::Current __current; 01362 __initCurrent(__current, __ChipInfoIceMod__ChipInfoServerFactoryIce__createServer_name, ::Ice::Normal, __context); 01363 ::ChipInfoIceMod::ChipInfoServerIcePrx __result; 01364 try 01365 { 01366 _DirectI __direct(__result, __current); 01367 try 01368 { 01369 __direct.servant()->__collocDispatch(__direct); 01370 } 01371 catch(...) 01372 { 01373 __direct.destroy(); 01374 throw; 01375 } 01376 __direct.destroy(); 01377 } 01378 catch(const ::Ice::SystemException&) 01379 { 01380 throw; 01381 } 01382 catch(const ::IceInternal::LocalExceptionWrapper&) 01383 { 01384 throw; 01385 } 01386 catch(const ::std::exception& __ex) 01387 { 01388 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01389 } 01390 catch(...) 01391 { 01392 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01393 } 01394 return __result; 01395 } 01396 01397 ::Ice::ObjectPtr 01398 ChipInfoIceMod::ChipInfoServerIce::ice_clone() const 01399 { 01400 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); 01401 return 0; // to avoid a warning with some compilers 01402 } 01403 01404 static const ::std::string __ChipInfoIceMod__ChipInfoServerIce_ids[2] = 01405 { 01406 "::ChipInfoIceMod::ChipInfoServerIce", 01407 "::Ice::Object" 01408 }; 01409 01410 bool 01411 ChipInfoIceMod::ChipInfoServerIce::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 01412 { 01413 return ::std::binary_search(__ChipInfoIceMod__ChipInfoServerIce_ids, __ChipInfoIceMod__ChipInfoServerIce_ids + 2, _s); 01414 } 01415 01416 ::std::vector< ::std::string> 01417 ChipInfoIceMod::ChipInfoServerIce::ice_ids(const ::Ice::Current&) const 01418 { 01419 return ::std::vector< ::std::string>(&__ChipInfoIceMod__ChipInfoServerIce_ids[0], &__ChipInfoIceMod__ChipInfoServerIce_ids[2]); 01420 } 01421 01422 const ::std::string& 01423 ChipInfoIceMod::ChipInfoServerIce::ice_id(const ::Ice::Current&) const 01424 { 01425 return __ChipInfoIceMod__ChipInfoServerIce_ids[0]; 01426 } 01427 01428 const ::std::string& 01429 ChipInfoIceMod::ChipInfoServerIce::ice_staticId() 01430 { 01431 return __ChipInfoIceMod__ChipInfoServerIce_ids[0]; 01432 } 01433 01434 ::Ice::DispatchStatus 01435 ChipInfoIceMod::ChipInfoServerIce::___update(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01436 { 01437 __checkMode(::Ice::Normal, __current.mode); 01438 ::IceInternal::BasicStream* __is = __inS.is(); 01439 __is->startReadEncaps(); 01440 ::ImageIceMod::ImageIce image; 01441 ::Ice::Int chipID; 01442 image.__read(__is); 01443 __is->read(chipID); 01444 __is->endReadEncaps(); 01445 ::IceInternal::BasicStream* __os = __inS.os(); 01446 ::Ice::Double __ret = update(image, chipID, __current); 01447 __os->write(__ret); 01448 return ::Ice::DispatchOK; 01449 } 01450 01451 ::Ice::DispatchStatus 01452 ChipInfoIceMod::ChipInfoServerIce::___getSmap(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01453 { 01454 __checkMode(::Ice::Normal, __current.mode); 01455 ::IceInternal::BasicStream* __is = __inS.is(); 01456 __is->startReadEncaps(); 01457 ::Ice::Int chipID; 01458 __is->read(chipID); 01459 __is->endReadEncaps(); 01460 ::IceInternal::BasicStream* __os = __inS.os(); 01461 ::ImageIceMod::ImageIce __ret = getSmap(chipID, __current); 01462 __ret.__write(__os); 01463 return ::Ice::DispatchOK; 01464 } 01465 01466 ::Ice::DispatchStatus 01467 ChipInfoIceMod::ChipInfoServerIce::___getBelief(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01468 { 01469 __checkMode(::Ice::Normal, __current.mode); 01470 ::IceInternal::BasicStream* __is = __inS.is(); 01471 __is->startReadEncaps(); 01472 ::Ice::Int chipID; 01473 __is->read(chipID); 01474 __is->endReadEncaps(); 01475 ::IceInternal::BasicStream* __os = __inS.os(); 01476 ::ChipInfoIceMod::DoubleSeq __ret = getBelief(chipID, __current); 01477 if(__ret.size() == 0) 01478 { 01479 __os->writeSize(0); 01480 } 01481 else 01482 { 01483 __os->write(&__ret[0], &__ret[0] + __ret.size()); 01484 } 01485 return ::Ice::DispatchOK; 01486 } 01487 01488 ::Ice::DispatchStatus 01489 ChipInfoIceMod::ChipInfoServerIce::___getBelief2(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01490 { 01491 __checkMode(::Ice::Normal, __current.mode); 01492 ::IceInternal::BasicStream* __is = __inS.is(); 01493 __is->startReadEncaps(); 01494 ::Ice::Int chipID; 01495 __is->read(chipID); 01496 __is->endReadEncaps(); 01497 ::IceInternal::BasicStream* __os = __inS.os(); 01498 ::ChipInfoIceMod::DoubleSeq __ret = getBelief2(chipID, __current); 01499 if(__ret.size() == 0) 01500 { 01501 __os->writeSize(0); 01502 } 01503 else 01504 { 01505 __os->write(&__ret[0], &__ret[0] + __ret.size()); 01506 } 01507 return ::Ice::DispatchOK; 01508 } 01509 01510 ::Ice::DispatchStatus 01511 ChipInfoIceMod::ChipInfoServerIce::___getHist(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01512 { 01513 __checkMode(::Ice::Normal, __current.mode); 01514 ::IceInternal::BasicStream* __is = __inS.is(); 01515 __is->startReadEncaps(); 01516 ::Ice::Int chipID; 01517 __is->read(chipID); 01518 __is->endReadEncaps(); 01519 ::IceInternal::BasicStream* __os = __inS.os(); 01520 ::ChipInfoIceMod::DoubleSeq __ret = getHist(chipID, __current); 01521 if(__ret.size() == 0) 01522 { 01523 __os->writeSize(0); 01524 } 01525 else 01526 { 01527 __os->write(&__ret[0], &__ret[0] + __ret.size()); 01528 } 01529 return ::Ice::DispatchOK; 01530 } 01531 01532 ::Ice::DispatchStatus 01533 ChipInfoIceMod::ChipInfoServerIce::___registerChips(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01534 { 01535 __checkMode(::Ice::Normal, __current.mode); 01536 ::IceInternal::BasicStream* __is = __inS.is(); 01537 __is->startReadEncaps(); 01538 ::ChipInfoIceMod::IntSeq chipIDList; 01539 __is->read(chipIDList); 01540 __is->endReadEncaps(); 01541 registerChips(chipIDList, __current); 01542 return ::Ice::DispatchOK; 01543 } 01544 01545 ::Ice::DispatchStatus 01546 ChipInfoIceMod::ChipInfoServerIce::___startServer(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01547 { 01548 __checkMode(::Ice::Normal, __current.mode); 01549 __inS.is()->skipEmptyEncaps(); 01550 startServer(__current); 01551 return ::Ice::DispatchOK; 01552 } 01553 01554 ::Ice::DispatchStatus 01555 ChipInfoIceMod::ChipInfoServerIce::___getAvgChipsSec(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01556 { 01557 __checkMode(::Ice::Normal, __current.mode); 01558 __inS.is()->skipEmptyEncaps(); 01559 ::IceInternal::BasicStream* __os = __inS.os(); 01560 ::Ice::Float __ret = getAvgChipsSec(__current); 01561 __os->write(__ret); 01562 return ::Ice::DispatchOK; 01563 } 01564 01565 static ::std::string __ChipInfoIceMod__ChipInfoServerIce_all[] = 01566 { 01567 "getAvgChipsSec", 01568 "getBelief", 01569 "getBelief2", 01570 "getHist", 01571 "getSmap", 01572 "ice_id", 01573 "ice_ids", 01574 "ice_isA", 01575 "ice_ping", 01576 "registerChips", 01577 "startServer", 01578 "update" 01579 }; 01580 01581 ::Ice::DispatchStatus 01582 ChipInfoIceMod::ChipInfoServerIce::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) 01583 { 01584 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ChipInfoIceMod__ChipInfoServerIce_all, __ChipInfoIceMod__ChipInfoServerIce_all + 12, current.operation); 01585 if(r.first == r.second) 01586 { 01587 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 01588 } 01589 01590 switch(r.first - __ChipInfoIceMod__ChipInfoServerIce_all) 01591 { 01592 case 0: 01593 { 01594 return ___getAvgChipsSec(in, current); 01595 } 01596 case 1: 01597 { 01598 return ___getBelief(in, current); 01599 } 01600 case 2: 01601 { 01602 return ___getBelief2(in, current); 01603 } 01604 case 3: 01605 { 01606 return ___getHist(in, current); 01607 } 01608 case 4: 01609 { 01610 return ___getSmap(in, current); 01611 } 01612 case 5: 01613 { 01614 return ___ice_id(in, current); 01615 } 01616 case 6: 01617 { 01618 return ___ice_ids(in, current); 01619 } 01620 case 7: 01621 { 01622 return ___ice_isA(in, current); 01623 } 01624 case 8: 01625 { 01626 return ___ice_ping(in, current); 01627 } 01628 case 9: 01629 { 01630 return ___registerChips(in, current); 01631 } 01632 case 10: 01633 { 01634 return ___startServer(in, current); 01635 } 01636 case 11: 01637 { 01638 return ___update(in, current); 01639 } 01640 } 01641 01642 assert(false); 01643 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 01644 } 01645 01646 void 01647 ChipInfoIceMod::ChipInfoServerIce::__write(::IceInternal::BasicStream* __os) const 01648 { 01649 __os->writeTypeId(ice_staticId()); 01650 __os->startWriteSlice(); 01651 __os->endWriteSlice(); 01652 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01653 Object::__write(__os); 01654 #else 01655 ::Ice::Object::__write(__os); 01656 #endif 01657 } 01658 01659 void 01660 ChipInfoIceMod::ChipInfoServerIce::__read(::IceInternal::BasicStream* __is, bool __rid) 01661 { 01662 if(__rid) 01663 { 01664 ::std::string myId; 01665 __is->readTypeId(myId); 01666 } 01667 __is->startReadSlice(); 01668 __is->endReadSlice(); 01669 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01670 Object::__read(__is, true); 01671 #else 01672 ::Ice::Object::__read(__is, true); 01673 #endif 01674 } 01675 01676 void 01677 ChipInfoIceMod::ChipInfoServerIce::__write(const ::Ice::OutputStreamPtr&) const 01678 { 01679 Ice::MarshalException ex(__FILE__, __LINE__); 01680 ex.reason = "type ChipInfoIceMod::ChipInfoServerIce was not generated with stream support"; 01681 throw ex; 01682 } 01683 01684 void 01685 ChipInfoIceMod::ChipInfoServerIce::__read(const ::Ice::InputStreamPtr&, bool) 01686 { 01687 Ice::MarshalException ex(__FILE__, __LINE__); 01688 ex.reason = "type ChipInfoIceMod::ChipInfoServerIce was not generated with stream support"; 01689 throw ex; 01690 } 01691 01692 void 01693 ChipInfoIceMod::__patch__ChipInfoServerIcePtr(void* __addr, ::Ice::ObjectPtr& v) 01694 { 01695 ::ChipInfoIceMod::ChipInfoServerIcePtr* p = static_cast< ::ChipInfoIceMod::ChipInfoServerIcePtr*>(__addr); 01696 assert(p); 01697 *p = ::ChipInfoIceMod::ChipInfoServerIcePtr::dynamicCast(v); 01698 if(v && !*p) 01699 { 01700 IceInternal::Ex::throwUOE(::ChipInfoIceMod::ChipInfoServerIce::ice_staticId(), v->ice_id()); 01701 } 01702 } 01703 01704 bool 01705 ChipInfoIceMod::operator==(const ::ChipInfoIceMod::ChipInfoServerIce& l, const ::ChipInfoIceMod::ChipInfoServerIce& r) 01706 { 01707 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 01708 } 01709 01710 bool 01711 ChipInfoIceMod::operator<(const ::ChipInfoIceMod::ChipInfoServerIce& l, const ::ChipInfoIceMod::ChipInfoServerIce& r) 01712 { 01713 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 01714 } 01715 01716 ::Ice::ObjectPtr 01717 ChipInfoIceMod::ChipInfoServerFactoryIce::ice_clone() const 01718 { 01719 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); 01720 return 0; // to avoid a warning with some compilers 01721 } 01722 01723 static const ::std::string __ChipInfoIceMod__ChipInfoServerFactoryIce_ids[2] = 01724 { 01725 "::ChipInfoIceMod::ChipInfoServerFactoryIce", 01726 "::Ice::Object" 01727 }; 01728 01729 bool 01730 ChipInfoIceMod::ChipInfoServerFactoryIce::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 01731 { 01732 return ::std::binary_search(__ChipInfoIceMod__ChipInfoServerFactoryIce_ids, __ChipInfoIceMod__ChipInfoServerFactoryIce_ids + 2, _s); 01733 } 01734 01735 ::std::vector< ::std::string> 01736 ChipInfoIceMod::ChipInfoServerFactoryIce::ice_ids(const ::Ice::Current&) const 01737 { 01738 return ::std::vector< ::std::string>(&__ChipInfoIceMod__ChipInfoServerFactoryIce_ids[0], &__ChipInfoIceMod__ChipInfoServerFactoryIce_ids[2]); 01739 } 01740 01741 const ::std::string& 01742 ChipInfoIceMod::ChipInfoServerFactoryIce::ice_id(const ::Ice::Current&) const 01743 { 01744 return __ChipInfoIceMod__ChipInfoServerFactoryIce_ids[0]; 01745 } 01746 01747 const ::std::string& 01748 ChipInfoIceMod::ChipInfoServerFactoryIce::ice_staticId() 01749 { 01750 return __ChipInfoIceMod__ChipInfoServerFactoryIce_ids[0]; 01751 } 01752 01753 ::Ice::DispatchStatus 01754 ChipInfoIceMod::ChipInfoServerFactoryIce::___createServer(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01755 { 01756 __checkMode(::Ice::Normal, __current.mode); 01757 __inS.is()->skipEmptyEncaps(); 01758 ::IceInternal::BasicStream* __os = __inS.os(); 01759 ::ChipInfoIceMod::ChipInfoServerIcePrx __ret = createServer(__current); 01760 __os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get()))); 01761 return ::Ice::DispatchOK; 01762 } 01763 01764 static ::std::string __ChipInfoIceMod__ChipInfoServerFactoryIce_all[] = 01765 { 01766 "createServer", 01767 "ice_id", 01768 "ice_ids", 01769 "ice_isA", 01770 "ice_ping" 01771 }; 01772 01773 ::Ice::DispatchStatus 01774 ChipInfoIceMod::ChipInfoServerFactoryIce::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) 01775 { 01776 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ChipInfoIceMod__ChipInfoServerFactoryIce_all, __ChipInfoIceMod__ChipInfoServerFactoryIce_all + 5, current.operation); 01777 if(r.first == r.second) 01778 { 01779 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 01780 } 01781 01782 switch(r.first - __ChipInfoIceMod__ChipInfoServerFactoryIce_all) 01783 { 01784 case 0: 01785 { 01786 return ___createServer(in, current); 01787 } 01788 case 1: 01789 { 01790 return ___ice_id(in, current); 01791 } 01792 case 2: 01793 { 01794 return ___ice_ids(in, current); 01795 } 01796 case 3: 01797 { 01798 return ___ice_isA(in, current); 01799 } 01800 case 4: 01801 { 01802 return ___ice_ping(in, current); 01803 } 01804 } 01805 01806 assert(false); 01807 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 01808 } 01809 01810 void 01811 ChipInfoIceMod::ChipInfoServerFactoryIce::__write(::IceInternal::BasicStream* __os) const 01812 { 01813 __os->writeTypeId(ice_staticId()); 01814 __os->startWriteSlice(); 01815 __os->endWriteSlice(); 01816 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01817 Object::__write(__os); 01818 #else 01819 ::Ice::Object::__write(__os); 01820 #endif 01821 } 01822 01823 void 01824 ChipInfoIceMod::ChipInfoServerFactoryIce::__read(::IceInternal::BasicStream* __is, bool __rid) 01825 { 01826 if(__rid) 01827 { 01828 ::std::string myId; 01829 __is->readTypeId(myId); 01830 } 01831 __is->startReadSlice(); 01832 __is->endReadSlice(); 01833 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01834 Object::__read(__is, true); 01835 #else 01836 ::Ice::Object::__read(__is, true); 01837 #endif 01838 } 01839 01840 void 01841 ChipInfoIceMod::ChipInfoServerFactoryIce::__write(const ::Ice::OutputStreamPtr&) const 01842 { 01843 Ice::MarshalException ex(__FILE__, __LINE__); 01844 ex.reason = "type ChipInfoIceMod::ChipInfoServerFactoryIce was not generated with stream support"; 01845 throw ex; 01846 } 01847 01848 void 01849 ChipInfoIceMod::ChipInfoServerFactoryIce::__read(const ::Ice::InputStreamPtr&, bool) 01850 { 01851 Ice::MarshalException ex(__FILE__, __LINE__); 01852 ex.reason = "type ChipInfoIceMod::ChipInfoServerFactoryIce was not generated with stream support"; 01853 throw ex; 01854 } 01855 01856 void 01857 ChipInfoIceMod::__patch__ChipInfoServerFactoryIcePtr(void* __addr, ::Ice::ObjectPtr& v) 01858 { 01859 ::ChipInfoIceMod::ChipInfoServerFactoryIcePtr* p = static_cast< ::ChipInfoIceMod::ChipInfoServerFactoryIcePtr*>(__addr); 01860 assert(p); 01861 *p = ::ChipInfoIceMod::ChipInfoServerFactoryIcePtr::dynamicCast(v); 01862 if(v && !*p) 01863 { 01864 IceInternal::Ex::throwUOE(::ChipInfoIceMod::ChipInfoServerFactoryIce::ice_staticId(), v->ice_id()); 01865 } 01866 } 01867 01868 bool 01869 ChipInfoIceMod::operator==(const ::ChipInfoIceMod::ChipInfoServerFactoryIce& l, const ::ChipInfoIceMod::ChipInfoServerFactoryIce& r) 01870 { 01871 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 01872 } 01873 01874 bool 01875 ChipInfoIceMod::operator<(const ::ChipInfoIceMod::ChipInfoServerFactoryIce& l, const ::ChipInfoIceMod::ChipInfoServerFactoryIce& r) 01876 { 01877 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 01878 }