00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include <BrainObjects.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 __BrainObjects__Retina__getOutput_name = "getOutput";
00033
00034 ::Ice::Object* IceInternal::upCast(::BrainObjects::Retina* p) { return p; }
00035 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::Retina* p) { return p; }
00036
00037 ::Ice::Object* IceInternal::upCast(::BrainObjects::VisualCortex* p) { return p; }
00038 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::VisualCortex* p) { return p; }
00039
00040 ::Ice::Object* IceInternal::upCast(::BrainObjects::SaliencyMap* p) { return p; }
00041 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::SaliencyMap* p) { return p; }
00042
00043 ::Ice::Object* IceInternal::upCast(::BrainObjects::VisualTracker* p) { return p; }
00044 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::VisualTracker* p) { return p; }
00045
00046 ::Ice::Object* IceInternal::upCast(::BrainObjects::PTZ* p) { return p; }
00047 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::PTZ* p) { return p; }
00048
00049 ::Ice::Object* IceInternal::upCast(::BrainObjects::Segmenter* p) { return p; }
00050 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::Segmenter* p) { return p; }
00051
00052 ::Ice::Object* IceInternal::upCast(::BrainObjects::InferotemporalCortex* p) { return p; }
00053 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::InferotemporalCortex* p) { return p; }
00054
00055 ::Ice::Object* IceInternal::upCast(::BrainObjects::Hippocampus* p) { return p; }
00056 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::Hippocampus* p) { return p; }
00057
00058 ::Ice::Object* IceInternal::upCast(::BrainObjects::PrimaryMotorCortex* p) { return p; }
00059 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::PrimaryMotorCortex* p) { return p; }
00060
00061 ::Ice::Object* IceInternal::upCast(::BrainObjects::PrefrontalCortex* p) { return p; }
00062 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::PrefrontalCortex* p) { return p; }
00063
00064 ::Ice::Object* IceInternal::upCast(::BrainObjects::SimulationViewer* p) { return p; }
00065 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::SimulationViewer* p) { return p; }
00066
00067 ::Ice::Object* IceInternal::upCast(::BrainObjects::HomeInterface* p) { return p; }
00068 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::BrainObjects::HomeInterface* p) { return p; }
00069
00070 void
00071 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::RetinaPrx& v)
00072 {
00073 ::Ice::ObjectPrx proxy;
00074 __is->read(proxy);
00075 if(!proxy)
00076 {
00077 v = 0;
00078 }
00079 else
00080 {
00081 v = new ::IceProxy::BrainObjects::Retina;
00082 v->__copyFrom(proxy);
00083 }
00084 }
00085
00086 void
00087 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::VisualCortexPrx& v)
00088 {
00089 ::Ice::ObjectPrx proxy;
00090 __is->read(proxy);
00091 if(!proxy)
00092 {
00093 v = 0;
00094 }
00095 else
00096 {
00097 v = new ::IceProxy::BrainObjects::VisualCortex;
00098 v->__copyFrom(proxy);
00099 }
00100 }
00101
00102 void
00103 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::SaliencyMapPrx& v)
00104 {
00105 ::Ice::ObjectPrx proxy;
00106 __is->read(proxy);
00107 if(!proxy)
00108 {
00109 v = 0;
00110 }
00111 else
00112 {
00113 v = new ::IceProxy::BrainObjects::SaliencyMap;
00114 v->__copyFrom(proxy);
00115 }
00116 }
00117
00118 void
00119 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::VisualTrackerPrx& v)
00120 {
00121 ::Ice::ObjectPrx proxy;
00122 __is->read(proxy);
00123 if(!proxy)
00124 {
00125 v = 0;
00126 }
00127 else
00128 {
00129 v = new ::IceProxy::BrainObjects::VisualTracker;
00130 v->__copyFrom(proxy);
00131 }
00132 }
00133
00134 void
00135 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::PTZPrx& v)
00136 {
00137 ::Ice::ObjectPrx proxy;
00138 __is->read(proxy);
00139 if(!proxy)
00140 {
00141 v = 0;
00142 }
00143 else
00144 {
00145 v = new ::IceProxy::BrainObjects::PTZ;
00146 v->__copyFrom(proxy);
00147 }
00148 }
00149
00150 void
00151 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::SegmenterPrx& v)
00152 {
00153 ::Ice::ObjectPrx proxy;
00154 __is->read(proxy);
00155 if(!proxy)
00156 {
00157 v = 0;
00158 }
00159 else
00160 {
00161 v = new ::IceProxy::BrainObjects::Segmenter;
00162 v->__copyFrom(proxy);
00163 }
00164 }
00165
00166 void
00167 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::InferotemporalCortexPrx& v)
00168 {
00169 ::Ice::ObjectPrx proxy;
00170 __is->read(proxy);
00171 if(!proxy)
00172 {
00173 v = 0;
00174 }
00175 else
00176 {
00177 v = new ::IceProxy::BrainObjects::InferotemporalCortex;
00178 v->__copyFrom(proxy);
00179 }
00180 }
00181
00182 void
00183 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::HippocampusPrx& v)
00184 {
00185 ::Ice::ObjectPrx proxy;
00186 __is->read(proxy);
00187 if(!proxy)
00188 {
00189 v = 0;
00190 }
00191 else
00192 {
00193 v = new ::IceProxy::BrainObjects::Hippocampus;
00194 v->__copyFrom(proxy);
00195 }
00196 }
00197
00198 void
00199 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::PrimaryMotorCortexPrx& v)
00200 {
00201 ::Ice::ObjectPrx proxy;
00202 __is->read(proxy);
00203 if(!proxy)
00204 {
00205 v = 0;
00206 }
00207 else
00208 {
00209 v = new ::IceProxy::BrainObjects::PrimaryMotorCortex;
00210 v->__copyFrom(proxy);
00211 }
00212 }
00213
00214 void
00215 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::PrefrontalCortexPrx& v)
00216 {
00217 ::Ice::ObjectPrx proxy;
00218 __is->read(proxy);
00219 if(!proxy)
00220 {
00221 v = 0;
00222 }
00223 else
00224 {
00225 v = new ::IceProxy::BrainObjects::PrefrontalCortex;
00226 v->__copyFrom(proxy);
00227 }
00228 }
00229
00230 void
00231 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::SimulationViewerPrx& v)
00232 {
00233 ::Ice::ObjectPrx proxy;
00234 __is->read(proxy);
00235 if(!proxy)
00236 {
00237 v = 0;
00238 }
00239 else
00240 {
00241 v = new ::IceProxy::BrainObjects::SimulationViewer;
00242 v->__copyFrom(proxy);
00243 }
00244 }
00245
00246 void
00247 BrainObjects::__read(::IceInternal::BasicStream* __is, ::BrainObjects::HomeInterfacePrx& v)
00248 {
00249 ::Ice::ObjectPrx proxy;
00250 __is->read(proxy);
00251 if(!proxy)
00252 {
00253 v = 0;
00254 }
00255 else
00256 {
00257 v = new ::IceProxy::BrainObjects::HomeInterface;
00258 v->__copyFrom(proxy);
00259 }
00260 }
00261
00262 ::ImageIceMod::ImageIce
00263 IceProxy::BrainObjects::Retina::getOutput(const ::Ice::Context* __ctx)
00264 {
00265 int __cnt = 0;
00266 while(true)
00267 {
00268 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase;
00269 try
00270 {
00271 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug
00272 IceUtil::DummyBCC dummy;
00273 #endif
00274 __checkTwowayOnly(__BrainObjects__Retina__getOutput_name);
00275 __delBase = __getDelegate(false);
00276 ::IceDelegate::BrainObjects::Retina* __del = dynamic_cast< ::IceDelegate::BrainObjects::Retina*>(__delBase.get());
00277 return __del->getOutput(__ctx);
00278 }
00279 catch(const ::IceInternal::LocalExceptionWrapper& __ex)
00280 {
00281 __handleExceptionWrapper(__delBase, __ex, 0);
00282 }
00283 catch(const ::Ice::LocalException& __ex)
00284 {
00285 __handleException(__delBase, __ex, 0, __cnt);
00286 }
00287 }
00288 }
00289
00290 const ::std::string&
00291 IceProxy::BrainObjects::Retina::ice_staticId()
00292 {
00293 return ::BrainObjects::Retina::ice_staticId();
00294 }
00295
00296 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00297 IceProxy::BrainObjects::Retina::__createDelegateM()
00298 {
00299 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::Retina);
00300 }
00301
00302 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00303 IceProxy::BrainObjects::Retina::__createDelegateD()
00304 {
00305 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::Retina);
00306 }
00307
00308 ::IceProxy::Ice::Object*
00309 IceProxy::BrainObjects::Retina::__newInstance() const
00310 {
00311 return new Retina;
00312 }
00313
00314 const ::std::string&
00315 IceProxy::BrainObjects::VisualCortex::ice_staticId()
00316 {
00317 return ::BrainObjects::VisualCortex::ice_staticId();
00318 }
00319
00320 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00321 IceProxy::BrainObjects::VisualCortex::__createDelegateM()
00322 {
00323 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::VisualCortex);
00324 }
00325
00326 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00327 IceProxy::BrainObjects::VisualCortex::__createDelegateD()
00328 {
00329 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::VisualCortex);
00330 }
00331
00332 ::IceProxy::Ice::Object*
00333 IceProxy::BrainObjects::VisualCortex::__newInstance() const
00334 {
00335 return new VisualCortex;
00336 }
00337
00338 const ::std::string&
00339 IceProxy::BrainObjects::SaliencyMap::ice_staticId()
00340 {
00341 return ::BrainObjects::SaliencyMap::ice_staticId();
00342 }
00343
00344 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00345 IceProxy::BrainObjects::SaliencyMap::__createDelegateM()
00346 {
00347 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::SaliencyMap);
00348 }
00349
00350 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00351 IceProxy::BrainObjects::SaliencyMap::__createDelegateD()
00352 {
00353 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::SaliencyMap);
00354 }
00355
00356 ::IceProxy::Ice::Object*
00357 IceProxy::BrainObjects::SaliencyMap::__newInstance() const
00358 {
00359 return new SaliencyMap;
00360 }
00361
00362 const ::std::string&
00363 IceProxy::BrainObjects::VisualTracker::ice_staticId()
00364 {
00365 return ::BrainObjects::VisualTracker::ice_staticId();
00366 }
00367
00368 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00369 IceProxy::BrainObjects::VisualTracker::__createDelegateM()
00370 {
00371 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::VisualTracker);
00372 }
00373
00374 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00375 IceProxy::BrainObjects::VisualTracker::__createDelegateD()
00376 {
00377 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::VisualTracker);
00378 }
00379
00380 ::IceProxy::Ice::Object*
00381 IceProxy::BrainObjects::VisualTracker::__newInstance() const
00382 {
00383 return new VisualTracker;
00384 }
00385
00386 const ::std::string&
00387 IceProxy::BrainObjects::PTZ::ice_staticId()
00388 {
00389 return ::BrainObjects::PTZ::ice_staticId();
00390 }
00391
00392 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00393 IceProxy::BrainObjects::PTZ::__createDelegateM()
00394 {
00395 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::PTZ);
00396 }
00397
00398 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00399 IceProxy::BrainObjects::PTZ::__createDelegateD()
00400 {
00401 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::PTZ);
00402 }
00403
00404 ::IceProxy::Ice::Object*
00405 IceProxy::BrainObjects::PTZ::__newInstance() const
00406 {
00407 return new PTZ;
00408 }
00409
00410 const ::std::string&
00411 IceProxy::BrainObjects::Segmenter::ice_staticId()
00412 {
00413 return ::BrainObjects::Segmenter::ice_staticId();
00414 }
00415
00416 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00417 IceProxy::BrainObjects::Segmenter::__createDelegateM()
00418 {
00419 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::Segmenter);
00420 }
00421
00422 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00423 IceProxy::BrainObjects::Segmenter::__createDelegateD()
00424 {
00425 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::Segmenter);
00426 }
00427
00428 ::IceProxy::Ice::Object*
00429 IceProxy::BrainObjects::Segmenter::__newInstance() const
00430 {
00431 return new Segmenter;
00432 }
00433
00434 const ::std::string&
00435 IceProxy::BrainObjects::InferotemporalCortex::ice_staticId()
00436 {
00437 return ::BrainObjects::InferotemporalCortex::ice_staticId();
00438 }
00439
00440 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00441 IceProxy::BrainObjects::InferotemporalCortex::__createDelegateM()
00442 {
00443 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::InferotemporalCortex);
00444 }
00445
00446 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00447 IceProxy::BrainObjects::InferotemporalCortex::__createDelegateD()
00448 {
00449 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::InferotemporalCortex);
00450 }
00451
00452 ::IceProxy::Ice::Object*
00453 IceProxy::BrainObjects::InferotemporalCortex::__newInstance() const
00454 {
00455 return new InferotemporalCortex;
00456 }
00457
00458 const ::std::string&
00459 IceProxy::BrainObjects::Hippocampus::ice_staticId()
00460 {
00461 return ::BrainObjects::Hippocampus::ice_staticId();
00462 }
00463
00464 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00465 IceProxy::BrainObjects::Hippocampus::__createDelegateM()
00466 {
00467 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::Hippocampus);
00468 }
00469
00470 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00471 IceProxy::BrainObjects::Hippocampus::__createDelegateD()
00472 {
00473 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::Hippocampus);
00474 }
00475
00476 ::IceProxy::Ice::Object*
00477 IceProxy::BrainObjects::Hippocampus::__newInstance() const
00478 {
00479 return new Hippocampus;
00480 }
00481
00482 const ::std::string&
00483 IceProxy::BrainObjects::PrimaryMotorCortex::ice_staticId()
00484 {
00485 return ::BrainObjects::PrimaryMotorCortex::ice_staticId();
00486 }
00487
00488 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00489 IceProxy::BrainObjects::PrimaryMotorCortex::__createDelegateM()
00490 {
00491 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::PrimaryMotorCortex);
00492 }
00493
00494 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00495 IceProxy::BrainObjects::PrimaryMotorCortex::__createDelegateD()
00496 {
00497 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::PrimaryMotorCortex);
00498 }
00499
00500 ::IceProxy::Ice::Object*
00501 IceProxy::BrainObjects::PrimaryMotorCortex::__newInstance() const
00502 {
00503 return new PrimaryMotorCortex;
00504 }
00505
00506 const ::std::string&
00507 IceProxy::BrainObjects::PrefrontalCortex::ice_staticId()
00508 {
00509 return ::BrainObjects::PrefrontalCortex::ice_staticId();
00510 }
00511
00512 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00513 IceProxy::BrainObjects::PrefrontalCortex::__createDelegateM()
00514 {
00515 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::PrefrontalCortex);
00516 }
00517
00518 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00519 IceProxy::BrainObjects::PrefrontalCortex::__createDelegateD()
00520 {
00521 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::PrefrontalCortex);
00522 }
00523
00524 ::IceProxy::Ice::Object*
00525 IceProxy::BrainObjects::PrefrontalCortex::__newInstance() const
00526 {
00527 return new PrefrontalCortex;
00528 }
00529
00530 const ::std::string&
00531 IceProxy::BrainObjects::SimulationViewer::ice_staticId()
00532 {
00533 return ::BrainObjects::SimulationViewer::ice_staticId();
00534 }
00535
00536 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00537 IceProxy::BrainObjects::SimulationViewer::__createDelegateM()
00538 {
00539 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::SimulationViewer);
00540 }
00541
00542 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00543 IceProxy::BrainObjects::SimulationViewer::__createDelegateD()
00544 {
00545 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::SimulationViewer);
00546 }
00547
00548 ::IceProxy::Ice::Object*
00549 IceProxy::BrainObjects::SimulationViewer::__newInstance() const
00550 {
00551 return new SimulationViewer;
00552 }
00553
00554 const ::std::string&
00555 IceProxy::BrainObjects::HomeInterface::ice_staticId()
00556 {
00557 return ::BrainObjects::HomeInterface::ice_staticId();
00558 }
00559
00560 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00561 IceProxy::BrainObjects::HomeInterface::__createDelegateM()
00562 {
00563 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::BrainObjects::HomeInterface);
00564 }
00565
00566 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00567 IceProxy::BrainObjects::HomeInterface::__createDelegateD()
00568 {
00569 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::BrainObjects::HomeInterface);
00570 }
00571
00572 ::IceProxy::Ice::Object*
00573 IceProxy::BrainObjects::HomeInterface::__newInstance() const
00574 {
00575 return new HomeInterface;
00576 }
00577
00578 ::ImageIceMod::ImageIce
00579 IceDelegateM::BrainObjects::Retina::getOutput(const ::Ice::Context* __context)
00580 {
00581 ::IceInternal::Outgoing __og(__handler.get(), __BrainObjects__Retina__getOutput_name, ::Ice::Normal, __context);
00582 bool __ok = __og.invoke();
00583 ::ImageIceMod::ImageIce __ret;
00584 try
00585 {
00586 if(!__ok)
00587 {
00588 try
00589 {
00590 __og.throwUserException();
00591 }
00592 catch(const ::Ice::UserException& __ex)
00593 {
00594 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
00595 throw __uue;
00596 }
00597 }
00598 ::IceInternal::BasicStream* __is = __og.is();
00599 __is->startReadEncaps();
00600 __ret.__read(__is);
00601 __is->endReadEncaps();
00602 return __ret;
00603 }
00604 catch(const ::Ice::LocalException& __ex)
00605 {
00606 throw ::IceInternal::LocalExceptionWrapper(__ex, false);
00607 }
00608 }
00609
00610 ::ImageIceMod::ImageIce
00611 IceDelegateD::BrainObjects::Retina::getOutput(const ::Ice::Context* __context)
00612 {
00613 class _DirectI : public ::IceInternal::Direct
00614 {
00615 public:
00616
00617 _DirectI(::ImageIceMod::ImageIce& __result, const ::Ice::Current& __current) :
00618 ::IceInternal::Direct(__current),
00619 _result(__result)
00620 {
00621 }
00622
00623 virtual ::Ice::DispatchStatus
00624 run(::Ice::Object* object)
00625 {
00626 ::BrainObjects::Retina* servant = dynamic_cast< ::BrainObjects::Retina*>(object);
00627 if(!servant)
00628 {
00629 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation);
00630 }
00631 _result = servant->getOutput(_current);
00632 return ::Ice::DispatchOK;
00633 }
00634
00635 private:
00636
00637 ::ImageIceMod::ImageIce& _result;
00638 };
00639
00640 ::Ice::Current __current;
00641 __initCurrent(__current, __BrainObjects__Retina__getOutput_name, ::Ice::Normal, __context);
00642 ::ImageIceMod::ImageIce __result;
00643 try
00644 {
00645 _DirectI __direct(__result, __current);
00646 try
00647 {
00648 __direct.servant()->__collocDispatch(__direct);
00649 }
00650 catch(...)
00651 {
00652 __direct.destroy();
00653 throw;
00654 }
00655 __direct.destroy();
00656 }
00657 catch(const ::Ice::SystemException&)
00658 {
00659 throw;
00660 }
00661 catch(const ::IceInternal::LocalExceptionWrapper&)
00662 {
00663 throw;
00664 }
00665 catch(const ::std::exception& __ex)
00666 {
00667 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex);
00668 }
00669 catch(...)
00670 {
00671 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false);
00672 }
00673 return __result;
00674 }
00675
00676 ::Ice::ObjectPtr
00677 BrainObjects::Retina::ice_clone() const
00678 {
00679 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
00680 return 0;
00681 }
00682
00683 static const ::std::string __BrainObjects__Retina_ids[3] =
00684 {
00685 "::BrainObjects::Retina",
00686 "::Ice::Object",
00687 "::SimEvents::Events"
00688 };
00689
00690 bool
00691 BrainObjects::Retina::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
00692 {
00693 return ::std::binary_search(__BrainObjects__Retina_ids, __BrainObjects__Retina_ids + 3, _s);
00694 }
00695
00696 ::std::vector< ::std::string>
00697 BrainObjects::Retina::ice_ids(const ::Ice::Current&) const
00698 {
00699 return ::std::vector< ::std::string>(&__BrainObjects__Retina_ids[0], &__BrainObjects__Retina_ids[3]);
00700 }
00701
00702 const ::std::string&
00703 BrainObjects::Retina::ice_id(const ::Ice::Current&) const
00704 {
00705 return __BrainObjects__Retina_ids[0];
00706 }
00707
00708 const ::std::string&
00709 BrainObjects::Retina::ice_staticId()
00710 {
00711 return __BrainObjects__Retina_ids[0];
00712 }
00713
00714 ::Ice::DispatchStatus
00715 BrainObjects::Retina::___getOutput(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
00716 {
00717 __checkMode(::Ice::Normal, __current.mode);
00718 __inS.is()->skipEmptyEncaps();
00719 ::IceInternal::BasicStream* __os = __inS.os();
00720 ::ImageIceMod::ImageIce __ret = getOutput(__current);
00721 __ret.__write(__os);
00722 return ::Ice::DispatchOK;
00723 }
00724
00725 static ::std::string __BrainObjects__Retina_all[] =
00726 {
00727 "evolve",
00728 "getOutput",
00729 "ice_id",
00730 "ice_ids",
00731 "ice_isA",
00732 "ice_ping"
00733 };
00734
00735 ::Ice::DispatchStatus
00736 BrainObjects::Retina::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
00737 {
00738 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__Retina_all, __BrainObjects__Retina_all + 6, current.operation);
00739 if(r.first == r.second)
00740 {
00741 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
00742 }
00743
00744 switch(r.first - __BrainObjects__Retina_all)
00745 {
00746 case 0:
00747 {
00748 return ___evolve(in, current);
00749 }
00750 case 1:
00751 {
00752 return ___getOutput(in, current);
00753 }
00754 case 2:
00755 {
00756 return ___ice_id(in, current);
00757 }
00758 case 3:
00759 {
00760 return ___ice_ids(in, current);
00761 }
00762 case 4:
00763 {
00764 return ___ice_isA(in, current);
00765 }
00766 case 5:
00767 {
00768 return ___ice_ping(in, current);
00769 }
00770 }
00771
00772 assert(false);
00773 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
00774 }
00775
00776 void
00777 BrainObjects::Retina::__write(::IceInternal::BasicStream* __os) const
00778 {
00779 __os->writeTypeId(ice_staticId());
00780 __os->startWriteSlice();
00781 __os->endWriteSlice();
00782 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00783 Object::__write(__os);
00784 #else
00785 ::Ice::Object::__write(__os);
00786 #endif
00787 }
00788
00789 void
00790 BrainObjects::Retina::__read(::IceInternal::BasicStream* __is, bool __rid)
00791 {
00792 if(__rid)
00793 {
00794 ::std::string myId;
00795 __is->readTypeId(myId);
00796 }
00797 __is->startReadSlice();
00798 __is->endReadSlice();
00799 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00800 Object::__read(__is, true);
00801 #else
00802 ::Ice::Object::__read(__is, true);
00803 #endif
00804 }
00805
00806 void
00807 BrainObjects::Retina::__write(const ::Ice::OutputStreamPtr&) const
00808 {
00809 Ice::MarshalException ex(__FILE__, __LINE__);
00810 ex.reason = "type BrainObjects::Retina was not generated with stream support";
00811 throw ex;
00812 }
00813
00814 void
00815 BrainObjects::Retina::__read(const ::Ice::InputStreamPtr&, bool)
00816 {
00817 Ice::MarshalException ex(__FILE__, __LINE__);
00818 ex.reason = "type BrainObjects::Retina was not generated with stream support";
00819 throw ex;
00820 }
00821
00822 void
00823 BrainObjects::__patch__RetinaPtr(void* __addr, ::Ice::ObjectPtr& v)
00824 {
00825 ::BrainObjects::RetinaPtr* p = static_cast< ::BrainObjects::RetinaPtr*>(__addr);
00826 assert(p);
00827 *p = ::BrainObjects::RetinaPtr::dynamicCast(v);
00828 if(v && !*p)
00829 {
00830 IceInternal::Ex::throwUOE(::BrainObjects::Retina::ice_staticId(), v->ice_id());
00831 }
00832 }
00833
00834 bool
00835 BrainObjects::operator==(const ::BrainObjects::Retina& l, const ::BrainObjects::Retina& r)
00836 {
00837 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
00838 }
00839
00840 bool
00841 BrainObjects::operator<(const ::BrainObjects::Retina& l, const ::BrainObjects::Retina& r)
00842 {
00843 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
00844 }
00845
00846 ::Ice::ObjectPtr
00847 BrainObjects::VisualCortex::ice_clone() const
00848 {
00849 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
00850 return 0;
00851 }
00852
00853 static const ::std::string __BrainObjects__VisualCortex_ids[3] =
00854 {
00855 "::BrainObjects::VisualCortex",
00856 "::Ice::Object",
00857 "::SimEvents::Events"
00858 };
00859
00860 bool
00861 BrainObjects::VisualCortex::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
00862 {
00863 return ::std::binary_search(__BrainObjects__VisualCortex_ids, __BrainObjects__VisualCortex_ids + 3, _s);
00864 }
00865
00866 ::std::vector< ::std::string>
00867 BrainObjects::VisualCortex::ice_ids(const ::Ice::Current&) const
00868 {
00869 return ::std::vector< ::std::string>(&__BrainObjects__VisualCortex_ids[0], &__BrainObjects__VisualCortex_ids[3]);
00870 }
00871
00872 const ::std::string&
00873 BrainObjects::VisualCortex::ice_id(const ::Ice::Current&) const
00874 {
00875 return __BrainObjects__VisualCortex_ids[0];
00876 }
00877
00878 const ::std::string&
00879 BrainObjects::VisualCortex::ice_staticId()
00880 {
00881 return __BrainObjects__VisualCortex_ids[0];
00882 }
00883
00884 static ::std::string __BrainObjects__VisualCortex_all[] =
00885 {
00886 "evolve",
00887 "ice_id",
00888 "ice_ids",
00889 "ice_isA",
00890 "ice_ping"
00891 };
00892
00893 ::Ice::DispatchStatus
00894 BrainObjects::VisualCortex::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
00895 {
00896 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__VisualCortex_all, __BrainObjects__VisualCortex_all + 5, current.operation);
00897 if(r.first == r.second)
00898 {
00899 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
00900 }
00901
00902 switch(r.first - __BrainObjects__VisualCortex_all)
00903 {
00904 case 0:
00905 {
00906 return ___evolve(in, current);
00907 }
00908 case 1:
00909 {
00910 return ___ice_id(in, current);
00911 }
00912 case 2:
00913 {
00914 return ___ice_ids(in, current);
00915 }
00916 case 3:
00917 {
00918 return ___ice_isA(in, current);
00919 }
00920 case 4:
00921 {
00922 return ___ice_ping(in, current);
00923 }
00924 }
00925
00926 assert(false);
00927 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
00928 }
00929
00930 void
00931 BrainObjects::VisualCortex::__write(::IceInternal::BasicStream* __os) const
00932 {
00933 __os->writeTypeId(ice_staticId());
00934 __os->startWriteSlice();
00935 __os->endWriteSlice();
00936 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00937 Object::__write(__os);
00938 #else
00939 ::Ice::Object::__write(__os);
00940 #endif
00941 }
00942
00943 void
00944 BrainObjects::VisualCortex::__read(::IceInternal::BasicStream* __is, bool __rid)
00945 {
00946 if(__rid)
00947 {
00948 ::std::string myId;
00949 __is->readTypeId(myId);
00950 }
00951 __is->startReadSlice();
00952 __is->endReadSlice();
00953 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00954 Object::__read(__is, true);
00955 #else
00956 ::Ice::Object::__read(__is, true);
00957 #endif
00958 }
00959
00960 void
00961 BrainObjects::VisualCortex::__write(const ::Ice::OutputStreamPtr&) const
00962 {
00963 Ice::MarshalException ex(__FILE__, __LINE__);
00964 ex.reason = "type BrainObjects::VisualCortex was not generated with stream support";
00965 throw ex;
00966 }
00967
00968 void
00969 BrainObjects::VisualCortex::__read(const ::Ice::InputStreamPtr&, bool)
00970 {
00971 Ice::MarshalException ex(__FILE__, __LINE__);
00972 ex.reason = "type BrainObjects::VisualCortex was not generated with stream support";
00973 throw ex;
00974 }
00975
00976 void
00977 BrainObjects::__patch__VisualCortexPtr(void* __addr, ::Ice::ObjectPtr& v)
00978 {
00979 ::BrainObjects::VisualCortexPtr* p = static_cast< ::BrainObjects::VisualCortexPtr*>(__addr);
00980 assert(p);
00981 *p = ::BrainObjects::VisualCortexPtr::dynamicCast(v);
00982 if(v && !*p)
00983 {
00984 IceInternal::Ex::throwUOE(::BrainObjects::VisualCortex::ice_staticId(), v->ice_id());
00985 }
00986 }
00987
00988 bool
00989 BrainObjects::operator==(const ::BrainObjects::VisualCortex& l, const ::BrainObjects::VisualCortex& r)
00990 {
00991 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
00992 }
00993
00994 bool
00995 BrainObjects::operator<(const ::BrainObjects::VisualCortex& l, const ::BrainObjects::VisualCortex& r)
00996 {
00997 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
00998 }
00999
01000 ::Ice::ObjectPtr
01001 BrainObjects::SaliencyMap::ice_clone() const
01002 {
01003 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01004 return 0;
01005 }
01006
01007 static const ::std::string __BrainObjects__SaliencyMap_ids[3] =
01008 {
01009 "::BrainObjects::SaliencyMap",
01010 "::Ice::Object",
01011 "::SimEvents::Events"
01012 };
01013
01014 bool
01015 BrainObjects::SaliencyMap::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01016 {
01017 return ::std::binary_search(__BrainObjects__SaliencyMap_ids, __BrainObjects__SaliencyMap_ids + 3, _s);
01018 }
01019
01020 ::std::vector< ::std::string>
01021 BrainObjects::SaliencyMap::ice_ids(const ::Ice::Current&) const
01022 {
01023 return ::std::vector< ::std::string>(&__BrainObjects__SaliencyMap_ids[0], &__BrainObjects__SaliencyMap_ids[3]);
01024 }
01025
01026 const ::std::string&
01027 BrainObjects::SaliencyMap::ice_id(const ::Ice::Current&) const
01028 {
01029 return __BrainObjects__SaliencyMap_ids[0];
01030 }
01031
01032 const ::std::string&
01033 BrainObjects::SaliencyMap::ice_staticId()
01034 {
01035 return __BrainObjects__SaliencyMap_ids[0];
01036 }
01037
01038 static ::std::string __BrainObjects__SaliencyMap_all[] =
01039 {
01040 "evolve",
01041 "ice_id",
01042 "ice_ids",
01043 "ice_isA",
01044 "ice_ping"
01045 };
01046
01047 ::Ice::DispatchStatus
01048 BrainObjects::SaliencyMap::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01049 {
01050 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__SaliencyMap_all, __BrainObjects__SaliencyMap_all + 5, current.operation);
01051 if(r.first == r.second)
01052 {
01053 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01054 }
01055
01056 switch(r.first - __BrainObjects__SaliencyMap_all)
01057 {
01058 case 0:
01059 {
01060 return ___evolve(in, current);
01061 }
01062 case 1:
01063 {
01064 return ___ice_id(in, current);
01065 }
01066 case 2:
01067 {
01068 return ___ice_ids(in, current);
01069 }
01070 case 3:
01071 {
01072 return ___ice_isA(in, current);
01073 }
01074 case 4:
01075 {
01076 return ___ice_ping(in, current);
01077 }
01078 }
01079
01080 assert(false);
01081 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01082 }
01083
01084 void
01085 BrainObjects::SaliencyMap::__write(::IceInternal::BasicStream* __os) const
01086 {
01087 __os->writeTypeId(ice_staticId());
01088 __os->startWriteSlice();
01089 __os->endWriteSlice();
01090 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01091 Object::__write(__os);
01092 #else
01093 ::Ice::Object::__write(__os);
01094 #endif
01095 }
01096
01097 void
01098 BrainObjects::SaliencyMap::__read(::IceInternal::BasicStream* __is, bool __rid)
01099 {
01100 if(__rid)
01101 {
01102 ::std::string myId;
01103 __is->readTypeId(myId);
01104 }
01105 __is->startReadSlice();
01106 __is->endReadSlice();
01107 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01108 Object::__read(__is, true);
01109 #else
01110 ::Ice::Object::__read(__is, true);
01111 #endif
01112 }
01113
01114 void
01115 BrainObjects::SaliencyMap::__write(const ::Ice::OutputStreamPtr&) const
01116 {
01117 Ice::MarshalException ex(__FILE__, __LINE__);
01118 ex.reason = "type BrainObjects::SaliencyMap was not generated with stream support";
01119 throw ex;
01120 }
01121
01122 void
01123 BrainObjects::SaliencyMap::__read(const ::Ice::InputStreamPtr&, bool)
01124 {
01125 Ice::MarshalException ex(__FILE__, __LINE__);
01126 ex.reason = "type BrainObjects::SaliencyMap was not generated with stream support";
01127 throw ex;
01128 }
01129
01130 void
01131 BrainObjects::__patch__SaliencyMapPtr(void* __addr, ::Ice::ObjectPtr& v)
01132 {
01133 ::BrainObjects::SaliencyMapPtr* p = static_cast< ::BrainObjects::SaliencyMapPtr*>(__addr);
01134 assert(p);
01135 *p = ::BrainObjects::SaliencyMapPtr::dynamicCast(v);
01136 if(v && !*p)
01137 {
01138 IceInternal::Ex::throwUOE(::BrainObjects::SaliencyMap::ice_staticId(), v->ice_id());
01139 }
01140 }
01141
01142 bool
01143 BrainObjects::operator==(const ::BrainObjects::SaliencyMap& l, const ::BrainObjects::SaliencyMap& r)
01144 {
01145 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01146 }
01147
01148 bool
01149 BrainObjects::operator<(const ::BrainObjects::SaliencyMap& l, const ::BrainObjects::SaliencyMap& r)
01150 {
01151 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01152 }
01153
01154 ::Ice::ObjectPtr
01155 BrainObjects::VisualTracker::ice_clone() const
01156 {
01157 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01158 return 0;
01159 }
01160
01161 static const ::std::string __BrainObjects__VisualTracker_ids[3] =
01162 {
01163 "::BrainObjects::VisualTracker",
01164 "::Ice::Object",
01165 "::SimEvents::Events"
01166 };
01167
01168 bool
01169 BrainObjects::VisualTracker::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01170 {
01171 return ::std::binary_search(__BrainObjects__VisualTracker_ids, __BrainObjects__VisualTracker_ids + 3, _s);
01172 }
01173
01174 ::std::vector< ::std::string>
01175 BrainObjects::VisualTracker::ice_ids(const ::Ice::Current&) const
01176 {
01177 return ::std::vector< ::std::string>(&__BrainObjects__VisualTracker_ids[0], &__BrainObjects__VisualTracker_ids[3]);
01178 }
01179
01180 const ::std::string&
01181 BrainObjects::VisualTracker::ice_id(const ::Ice::Current&) const
01182 {
01183 return __BrainObjects__VisualTracker_ids[0];
01184 }
01185
01186 const ::std::string&
01187 BrainObjects::VisualTracker::ice_staticId()
01188 {
01189 return __BrainObjects__VisualTracker_ids[0];
01190 }
01191
01192 static ::std::string __BrainObjects__VisualTracker_all[] =
01193 {
01194 "evolve",
01195 "ice_id",
01196 "ice_ids",
01197 "ice_isA",
01198 "ice_ping"
01199 };
01200
01201 ::Ice::DispatchStatus
01202 BrainObjects::VisualTracker::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01203 {
01204 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__VisualTracker_all, __BrainObjects__VisualTracker_all + 5, current.operation);
01205 if(r.first == r.second)
01206 {
01207 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01208 }
01209
01210 switch(r.first - __BrainObjects__VisualTracker_all)
01211 {
01212 case 0:
01213 {
01214 return ___evolve(in, current);
01215 }
01216 case 1:
01217 {
01218 return ___ice_id(in, current);
01219 }
01220 case 2:
01221 {
01222 return ___ice_ids(in, current);
01223 }
01224 case 3:
01225 {
01226 return ___ice_isA(in, current);
01227 }
01228 case 4:
01229 {
01230 return ___ice_ping(in, current);
01231 }
01232 }
01233
01234 assert(false);
01235 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01236 }
01237
01238 void
01239 BrainObjects::VisualTracker::__write(::IceInternal::BasicStream* __os) const
01240 {
01241 __os->writeTypeId(ice_staticId());
01242 __os->startWriteSlice();
01243 __os->endWriteSlice();
01244 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01245 Object::__write(__os);
01246 #else
01247 ::Ice::Object::__write(__os);
01248 #endif
01249 }
01250
01251 void
01252 BrainObjects::VisualTracker::__read(::IceInternal::BasicStream* __is, bool __rid)
01253 {
01254 if(__rid)
01255 {
01256 ::std::string myId;
01257 __is->readTypeId(myId);
01258 }
01259 __is->startReadSlice();
01260 __is->endReadSlice();
01261 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01262 Object::__read(__is, true);
01263 #else
01264 ::Ice::Object::__read(__is, true);
01265 #endif
01266 }
01267
01268 void
01269 BrainObjects::VisualTracker::__write(const ::Ice::OutputStreamPtr&) const
01270 {
01271 Ice::MarshalException ex(__FILE__, __LINE__);
01272 ex.reason = "type BrainObjects::VisualTracker was not generated with stream support";
01273 throw ex;
01274 }
01275
01276 void
01277 BrainObjects::VisualTracker::__read(const ::Ice::InputStreamPtr&, bool)
01278 {
01279 Ice::MarshalException ex(__FILE__, __LINE__);
01280 ex.reason = "type BrainObjects::VisualTracker was not generated with stream support";
01281 throw ex;
01282 }
01283
01284 void
01285 BrainObjects::__patch__VisualTrackerPtr(void* __addr, ::Ice::ObjectPtr& v)
01286 {
01287 ::BrainObjects::VisualTrackerPtr* p = static_cast< ::BrainObjects::VisualTrackerPtr*>(__addr);
01288 assert(p);
01289 *p = ::BrainObjects::VisualTrackerPtr::dynamicCast(v);
01290 if(v && !*p)
01291 {
01292 IceInternal::Ex::throwUOE(::BrainObjects::VisualTracker::ice_staticId(), v->ice_id());
01293 }
01294 }
01295
01296 bool
01297 BrainObjects::operator==(const ::BrainObjects::VisualTracker& l, const ::BrainObjects::VisualTracker& r)
01298 {
01299 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01300 }
01301
01302 bool
01303 BrainObjects::operator<(const ::BrainObjects::VisualTracker& l, const ::BrainObjects::VisualTracker& r)
01304 {
01305 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01306 }
01307
01308 ::Ice::ObjectPtr
01309 BrainObjects::PTZ::ice_clone() const
01310 {
01311 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01312 return 0;
01313 }
01314
01315 static const ::std::string __BrainObjects__PTZ_ids[3] =
01316 {
01317 "::BrainObjects::PTZ",
01318 "::Ice::Object",
01319 "::SimEvents::Events"
01320 };
01321
01322 bool
01323 BrainObjects::PTZ::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01324 {
01325 return ::std::binary_search(__BrainObjects__PTZ_ids, __BrainObjects__PTZ_ids + 3, _s);
01326 }
01327
01328 ::std::vector< ::std::string>
01329 BrainObjects::PTZ::ice_ids(const ::Ice::Current&) const
01330 {
01331 return ::std::vector< ::std::string>(&__BrainObjects__PTZ_ids[0], &__BrainObjects__PTZ_ids[3]);
01332 }
01333
01334 const ::std::string&
01335 BrainObjects::PTZ::ice_id(const ::Ice::Current&) const
01336 {
01337 return __BrainObjects__PTZ_ids[0];
01338 }
01339
01340 const ::std::string&
01341 BrainObjects::PTZ::ice_staticId()
01342 {
01343 return __BrainObjects__PTZ_ids[0];
01344 }
01345
01346 static ::std::string __BrainObjects__PTZ_all[] =
01347 {
01348 "evolve",
01349 "ice_id",
01350 "ice_ids",
01351 "ice_isA",
01352 "ice_ping"
01353 };
01354
01355 ::Ice::DispatchStatus
01356 BrainObjects::PTZ::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01357 {
01358 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__PTZ_all, __BrainObjects__PTZ_all + 5, current.operation);
01359 if(r.first == r.second)
01360 {
01361 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01362 }
01363
01364 switch(r.first - __BrainObjects__PTZ_all)
01365 {
01366 case 0:
01367 {
01368 return ___evolve(in, current);
01369 }
01370 case 1:
01371 {
01372 return ___ice_id(in, current);
01373 }
01374 case 2:
01375 {
01376 return ___ice_ids(in, current);
01377 }
01378 case 3:
01379 {
01380 return ___ice_isA(in, current);
01381 }
01382 case 4:
01383 {
01384 return ___ice_ping(in, current);
01385 }
01386 }
01387
01388 assert(false);
01389 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01390 }
01391
01392 void
01393 BrainObjects::PTZ::__write(::IceInternal::BasicStream* __os) const
01394 {
01395 __os->writeTypeId(ice_staticId());
01396 __os->startWriteSlice();
01397 __os->endWriteSlice();
01398 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01399 Object::__write(__os);
01400 #else
01401 ::Ice::Object::__write(__os);
01402 #endif
01403 }
01404
01405 void
01406 BrainObjects::PTZ::__read(::IceInternal::BasicStream* __is, bool __rid)
01407 {
01408 if(__rid)
01409 {
01410 ::std::string myId;
01411 __is->readTypeId(myId);
01412 }
01413 __is->startReadSlice();
01414 __is->endReadSlice();
01415 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01416 Object::__read(__is, true);
01417 #else
01418 ::Ice::Object::__read(__is, true);
01419 #endif
01420 }
01421
01422 void
01423 BrainObjects::PTZ::__write(const ::Ice::OutputStreamPtr&) const
01424 {
01425 Ice::MarshalException ex(__FILE__, __LINE__);
01426 ex.reason = "type BrainObjects::PTZ was not generated with stream support";
01427 throw ex;
01428 }
01429
01430 void
01431 BrainObjects::PTZ::__read(const ::Ice::InputStreamPtr&, bool)
01432 {
01433 Ice::MarshalException ex(__FILE__, __LINE__);
01434 ex.reason = "type BrainObjects::PTZ was not generated with stream support";
01435 throw ex;
01436 }
01437
01438 void
01439 BrainObjects::__patch__PTZPtr(void* __addr, ::Ice::ObjectPtr& v)
01440 {
01441 ::BrainObjects::PTZPtr* p = static_cast< ::BrainObjects::PTZPtr*>(__addr);
01442 assert(p);
01443 *p = ::BrainObjects::PTZPtr::dynamicCast(v);
01444 if(v && !*p)
01445 {
01446 IceInternal::Ex::throwUOE(::BrainObjects::PTZ::ice_staticId(), v->ice_id());
01447 }
01448 }
01449
01450 bool
01451 BrainObjects::operator==(const ::BrainObjects::PTZ& l, const ::BrainObjects::PTZ& r)
01452 {
01453 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01454 }
01455
01456 bool
01457 BrainObjects::operator<(const ::BrainObjects::PTZ& l, const ::BrainObjects::PTZ& r)
01458 {
01459 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01460 }
01461
01462 ::Ice::ObjectPtr
01463 BrainObjects::Segmenter::ice_clone() const
01464 {
01465 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01466 return 0;
01467 }
01468
01469 static const ::std::string __BrainObjects__Segmenter_ids[3] =
01470 {
01471 "::BrainObjects::Segmenter",
01472 "::Ice::Object",
01473 "::SimEvents::Events"
01474 };
01475
01476 bool
01477 BrainObjects::Segmenter::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01478 {
01479 return ::std::binary_search(__BrainObjects__Segmenter_ids, __BrainObjects__Segmenter_ids + 3, _s);
01480 }
01481
01482 ::std::vector< ::std::string>
01483 BrainObjects::Segmenter::ice_ids(const ::Ice::Current&) const
01484 {
01485 return ::std::vector< ::std::string>(&__BrainObjects__Segmenter_ids[0], &__BrainObjects__Segmenter_ids[3]);
01486 }
01487
01488 const ::std::string&
01489 BrainObjects::Segmenter::ice_id(const ::Ice::Current&) const
01490 {
01491 return __BrainObjects__Segmenter_ids[0];
01492 }
01493
01494 const ::std::string&
01495 BrainObjects::Segmenter::ice_staticId()
01496 {
01497 return __BrainObjects__Segmenter_ids[0];
01498 }
01499
01500 static ::std::string __BrainObjects__Segmenter_all[] =
01501 {
01502 "evolve",
01503 "ice_id",
01504 "ice_ids",
01505 "ice_isA",
01506 "ice_ping"
01507 };
01508
01509 ::Ice::DispatchStatus
01510 BrainObjects::Segmenter::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01511 {
01512 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__Segmenter_all, __BrainObjects__Segmenter_all + 5, current.operation);
01513 if(r.first == r.second)
01514 {
01515 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01516 }
01517
01518 switch(r.first - __BrainObjects__Segmenter_all)
01519 {
01520 case 0:
01521 {
01522 return ___evolve(in, current);
01523 }
01524 case 1:
01525 {
01526 return ___ice_id(in, current);
01527 }
01528 case 2:
01529 {
01530 return ___ice_ids(in, current);
01531 }
01532 case 3:
01533 {
01534 return ___ice_isA(in, current);
01535 }
01536 case 4:
01537 {
01538 return ___ice_ping(in, current);
01539 }
01540 }
01541
01542 assert(false);
01543 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01544 }
01545
01546 void
01547 BrainObjects::Segmenter::__write(::IceInternal::BasicStream* __os) const
01548 {
01549 __os->writeTypeId(ice_staticId());
01550 __os->startWriteSlice();
01551 __os->endWriteSlice();
01552 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01553 Object::__write(__os);
01554 #else
01555 ::Ice::Object::__write(__os);
01556 #endif
01557 }
01558
01559 void
01560 BrainObjects::Segmenter::__read(::IceInternal::BasicStream* __is, bool __rid)
01561 {
01562 if(__rid)
01563 {
01564 ::std::string myId;
01565 __is->readTypeId(myId);
01566 }
01567 __is->startReadSlice();
01568 __is->endReadSlice();
01569 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01570 Object::__read(__is, true);
01571 #else
01572 ::Ice::Object::__read(__is, true);
01573 #endif
01574 }
01575
01576 void
01577 BrainObjects::Segmenter::__write(const ::Ice::OutputStreamPtr&) const
01578 {
01579 Ice::MarshalException ex(__FILE__, __LINE__);
01580 ex.reason = "type BrainObjects::Segmenter was not generated with stream support";
01581 throw ex;
01582 }
01583
01584 void
01585 BrainObjects::Segmenter::__read(const ::Ice::InputStreamPtr&, bool)
01586 {
01587 Ice::MarshalException ex(__FILE__, __LINE__);
01588 ex.reason = "type BrainObjects::Segmenter was not generated with stream support";
01589 throw ex;
01590 }
01591
01592 void
01593 BrainObjects::__patch__SegmenterPtr(void* __addr, ::Ice::ObjectPtr& v)
01594 {
01595 ::BrainObjects::SegmenterPtr* p = static_cast< ::BrainObjects::SegmenterPtr*>(__addr);
01596 assert(p);
01597 *p = ::BrainObjects::SegmenterPtr::dynamicCast(v);
01598 if(v && !*p)
01599 {
01600 IceInternal::Ex::throwUOE(::BrainObjects::Segmenter::ice_staticId(), v->ice_id());
01601 }
01602 }
01603
01604 bool
01605 BrainObjects::operator==(const ::BrainObjects::Segmenter& l, const ::BrainObjects::Segmenter& r)
01606 {
01607 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01608 }
01609
01610 bool
01611 BrainObjects::operator<(const ::BrainObjects::Segmenter& l, const ::BrainObjects::Segmenter& r)
01612 {
01613 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01614 }
01615
01616 ::Ice::ObjectPtr
01617 BrainObjects::InferotemporalCortex::ice_clone() const
01618 {
01619 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01620 return 0;
01621 }
01622
01623 static const ::std::string __BrainObjects__InferotemporalCortex_ids[3] =
01624 {
01625 "::BrainObjects::InferotemporalCortex",
01626 "::Ice::Object",
01627 "::SimEvents::Events"
01628 };
01629
01630 bool
01631 BrainObjects::InferotemporalCortex::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01632 {
01633 return ::std::binary_search(__BrainObjects__InferotemporalCortex_ids, __BrainObjects__InferotemporalCortex_ids + 3, _s);
01634 }
01635
01636 ::std::vector< ::std::string>
01637 BrainObjects::InferotemporalCortex::ice_ids(const ::Ice::Current&) const
01638 {
01639 return ::std::vector< ::std::string>(&__BrainObjects__InferotemporalCortex_ids[0], &__BrainObjects__InferotemporalCortex_ids[3]);
01640 }
01641
01642 const ::std::string&
01643 BrainObjects::InferotemporalCortex::ice_id(const ::Ice::Current&) const
01644 {
01645 return __BrainObjects__InferotemporalCortex_ids[0];
01646 }
01647
01648 const ::std::string&
01649 BrainObjects::InferotemporalCortex::ice_staticId()
01650 {
01651 return __BrainObjects__InferotemporalCortex_ids[0];
01652 }
01653
01654 static ::std::string __BrainObjects__InferotemporalCortex_all[] =
01655 {
01656 "evolve",
01657 "ice_id",
01658 "ice_ids",
01659 "ice_isA",
01660 "ice_ping"
01661 };
01662
01663 ::Ice::DispatchStatus
01664 BrainObjects::InferotemporalCortex::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01665 {
01666 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__InferotemporalCortex_all, __BrainObjects__InferotemporalCortex_all + 5, current.operation);
01667 if(r.first == r.second)
01668 {
01669 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01670 }
01671
01672 switch(r.first - __BrainObjects__InferotemporalCortex_all)
01673 {
01674 case 0:
01675 {
01676 return ___evolve(in, current);
01677 }
01678 case 1:
01679 {
01680 return ___ice_id(in, current);
01681 }
01682 case 2:
01683 {
01684 return ___ice_ids(in, current);
01685 }
01686 case 3:
01687 {
01688 return ___ice_isA(in, current);
01689 }
01690 case 4:
01691 {
01692 return ___ice_ping(in, current);
01693 }
01694 }
01695
01696 assert(false);
01697 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01698 }
01699
01700 void
01701 BrainObjects::InferotemporalCortex::__write(::IceInternal::BasicStream* __os) const
01702 {
01703 __os->writeTypeId(ice_staticId());
01704 __os->startWriteSlice();
01705 __os->endWriteSlice();
01706 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01707 Object::__write(__os);
01708 #else
01709 ::Ice::Object::__write(__os);
01710 #endif
01711 }
01712
01713 void
01714 BrainObjects::InferotemporalCortex::__read(::IceInternal::BasicStream* __is, bool __rid)
01715 {
01716 if(__rid)
01717 {
01718 ::std::string myId;
01719 __is->readTypeId(myId);
01720 }
01721 __is->startReadSlice();
01722 __is->endReadSlice();
01723 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01724 Object::__read(__is, true);
01725 #else
01726 ::Ice::Object::__read(__is, true);
01727 #endif
01728 }
01729
01730 void
01731 BrainObjects::InferotemporalCortex::__write(const ::Ice::OutputStreamPtr&) const
01732 {
01733 Ice::MarshalException ex(__FILE__, __LINE__);
01734 ex.reason = "type BrainObjects::InferotemporalCortex was not generated with stream support";
01735 throw ex;
01736 }
01737
01738 void
01739 BrainObjects::InferotemporalCortex::__read(const ::Ice::InputStreamPtr&, bool)
01740 {
01741 Ice::MarshalException ex(__FILE__, __LINE__);
01742 ex.reason = "type BrainObjects::InferotemporalCortex was not generated with stream support";
01743 throw ex;
01744 }
01745
01746 void
01747 BrainObjects::__patch__InferotemporalCortexPtr(void* __addr, ::Ice::ObjectPtr& v)
01748 {
01749 ::BrainObjects::InferotemporalCortexPtr* p = static_cast< ::BrainObjects::InferotemporalCortexPtr*>(__addr);
01750 assert(p);
01751 *p = ::BrainObjects::InferotemporalCortexPtr::dynamicCast(v);
01752 if(v && !*p)
01753 {
01754 IceInternal::Ex::throwUOE(::BrainObjects::InferotemporalCortex::ice_staticId(), v->ice_id());
01755 }
01756 }
01757
01758 bool
01759 BrainObjects::operator==(const ::BrainObjects::InferotemporalCortex& l, const ::BrainObjects::InferotemporalCortex& r)
01760 {
01761 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01762 }
01763
01764 bool
01765 BrainObjects::operator<(const ::BrainObjects::InferotemporalCortex& l, const ::BrainObjects::InferotemporalCortex& r)
01766 {
01767 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01768 }
01769
01770 ::Ice::ObjectPtr
01771 BrainObjects::Hippocampus::ice_clone() const
01772 {
01773 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01774 return 0;
01775 }
01776
01777 static const ::std::string __BrainObjects__Hippocampus_ids[3] =
01778 {
01779 "::BrainObjects::Hippocampus",
01780 "::Ice::Object",
01781 "::SimEvents::Events"
01782 };
01783
01784 bool
01785 BrainObjects::Hippocampus::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01786 {
01787 return ::std::binary_search(__BrainObjects__Hippocampus_ids, __BrainObjects__Hippocampus_ids + 3, _s);
01788 }
01789
01790 ::std::vector< ::std::string>
01791 BrainObjects::Hippocampus::ice_ids(const ::Ice::Current&) const
01792 {
01793 return ::std::vector< ::std::string>(&__BrainObjects__Hippocampus_ids[0], &__BrainObjects__Hippocampus_ids[3]);
01794 }
01795
01796 const ::std::string&
01797 BrainObjects::Hippocampus::ice_id(const ::Ice::Current&) const
01798 {
01799 return __BrainObjects__Hippocampus_ids[0];
01800 }
01801
01802 const ::std::string&
01803 BrainObjects::Hippocampus::ice_staticId()
01804 {
01805 return __BrainObjects__Hippocampus_ids[0];
01806 }
01807
01808 static ::std::string __BrainObjects__Hippocampus_all[] =
01809 {
01810 "evolve",
01811 "ice_id",
01812 "ice_ids",
01813 "ice_isA",
01814 "ice_ping"
01815 };
01816
01817 ::Ice::DispatchStatus
01818 BrainObjects::Hippocampus::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01819 {
01820 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__Hippocampus_all, __BrainObjects__Hippocampus_all + 5, current.operation);
01821 if(r.first == r.second)
01822 {
01823 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01824 }
01825
01826 switch(r.first - __BrainObjects__Hippocampus_all)
01827 {
01828 case 0:
01829 {
01830 return ___evolve(in, current);
01831 }
01832 case 1:
01833 {
01834 return ___ice_id(in, current);
01835 }
01836 case 2:
01837 {
01838 return ___ice_ids(in, current);
01839 }
01840 case 3:
01841 {
01842 return ___ice_isA(in, current);
01843 }
01844 case 4:
01845 {
01846 return ___ice_ping(in, current);
01847 }
01848 }
01849
01850 assert(false);
01851 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01852 }
01853
01854 void
01855 BrainObjects::Hippocampus::__write(::IceInternal::BasicStream* __os) const
01856 {
01857 __os->writeTypeId(ice_staticId());
01858 __os->startWriteSlice();
01859 __os->endWriteSlice();
01860 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01861 Object::__write(__os);
01862 #else
01863 ::Ice::Object::__write(__os);
01864 #endif
01865 }
01866
01867 void
01868 BrainObjects::Hippocampus::__read(::IceInternal::BasicStream* __is, bool __rid)
01869 {
01870 if(__rid)
01871 {
01872 ::std::string myId;
01873 __is->readTypeId(myId);
01874 }
01875 __is->startReadSlice();
01876 __is->endReadSlice();
01877 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01878 Object::__read(__is, true);
01879 #else
01880 ::Ice::Object::__read(__is, true);
01881 #endif
01882 }
01883
01884 void
01885 BrainObjects::Hippocampus::__write(const ::Ice::OutputStreamPtr&) const
01886 {
01887 Ice::MarshalException ex(__FILE__, __LINE__);
01888 ex.reason = "type BrainObjects::Hippocampus was not generated with stream support";
01889 throw ex;
01890 }
01891
01892 void
01893 BrainObjects::Hippocampus::__read(const ::Ice::InputStreamPtr&, bool)
01894 {
01895 Ice::MarshalException ex(__FILE__, __LINE__);
01896 ex.reason = "type BrainObjects::Hippocampus was not generated with stream support";
01897 throw ex;
01898 }
01899
01900 void
01901 BrainObjects::__patch__HippocampusPtr(void* __addr, ::Ice::ObjectPtr& v)
01902 {
01903 ::BrainObjects::HippocampusPtr* p = static_cast< ::BrainObjects::HippocampusPtr*>(__addr);
01904 assert(p);
01905 *p = ::BrainObjects::HippocampusPtr::dynamicCast(v);
01906 if(v && !*p)
01907 {
01908 IceInternal::Ex::throwUOE(::BrainObjects::Hippocampus::ice_staticId(), v->ice_id());
01909 }
01910 }
01911
01912 bool
01913 BrainObjects::operator==(const ::BrainObjects::Hippocampus& l, const ::BrainObjects::Hippocampus& r)
01914 {
01915 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01916 }
01917
01918 bool
01919 BrainObjects::operator<(const ::BrainObjects::Hippocampus& l, const ::BrainObjects::Hippocampus& r)
01920 {
01921 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01922 }
01923
01924 ::Ice::ObjectPtr
01925 BrainObjects::PrimaryMotorCortex::ice_clone() const
01926 {
01927 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01928 return 0;
01929 }
01930
01931 static const ::std::string __BrainObjects__PrimaryMotorCortex_ids[3] =
01932 {
01933 "::BrainObjects::PrimaryMotorCortex",
01934 "::Ice::Object",
01935 "::SimEvents::Events"
01936 };
01937
01938 bool
01939 BrainObjects::PrimaryMotorCortex::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01940 {
01941 return ::std::binary_search(__BrainObjects__PrimaryMotorCortex_ids, __BrainObjects__PrimaryMotorCortex_ids + 3, _s);
01942 }
01943
01944 ::std::vector< ::std::string>
01945 BrainObjects::PrimaryMotorCortex::ice_ids(const ::Ice::Current&) const
01946 {
01947 return ::std::vector< ::std::string>(&__BrainObjects__PrimaryMotorCortex_ids[0], &__BrainObjects__PrimaryMotorCortex_ids[3]);
01948 }
01949
01950 const ::std::string&
01951 BrainObjects::PrimaryMotorCortex::ice_id(const ::Ice::Current&) const
01952 {
01953 return __BrainObjects__PrimaryMotorCortex_ids[0];
01954 }
01955
01956 const ::std::string&
01957 BrainObjects::PrimaryMotorCortex::ice_staticId()
01958 {
01959 return __BrainObjects__PrimaryMotorCortex_ids[0];
01960 }
01961
01962 static ::std::string __BrainObjects__PrimaryMotorCortex_all[] =
01963 {
01964 "evolve",
01965 "ice_id",
01966 "ice_ids",
01967 "ice_isA",
01968 "ice_ping"
01969 };
01970
01971 ::Ice::DispatchStatus
01972 BrainObjects::PrimaryMotorCortex::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01973 {
01974 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__PrimaryMotorCortex_all, __BrainObjects__PrimaryMotorCortex_all + 5, current.operation);
01975 if(r.first == r.second)
01976 {
01977 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01978 }
01979
01980 switch(r.first - __BrainObjects__PrimaryMotorCortex_all)
01981 {
01982 case 0:
01983 {
01984 return ___evolve(in, current);
01985 }
01986 case 1:
01987 {
01988 return ___ice_id(in, current);
01989 }
01990 case 2:
01991 {
01992 return ___ice_ids(in, current);
01993 }
01994 case 3:
01995 {
01996 return ___ice_isA(in, current);
01997 }
01998 case 4:
01999 {
02000 return ___ice_ping(in, current);
02001 }
02002 }
02003
02004 assert(false);
02005 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02006 }
02007
02008 void
02009 BrainObjects::PrimaryMotorCortex::__write(::IceInternal::BasicStream* __os) const
02010 {
02011 __os->writeTypeId(ice_staticId());
02012 __os->startWriteSlice();
02013 __os->endWriteSlice();
02014 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02015 Object::__write(__os);
02016 #else
02017 ::Ice::Object::__write(__os);
02018 #endif
02019 }
02020
02021 void
02022 BrainObjects::PrimaryMotorCortex::__read(::IceInternal::BasicStream* __is, bool __rid)
02023 {
02024 if(__rid)
02025 {
02026 ::std::string myId;
02027 __is->readTypeId(myId);
02028 }
02029 __is->startReadSlice();
02030 __is->endReadSlice();
02031 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02032 Object::__read(__is, true);
02033 #else
02034 ::Ice::Object::__read(__is, true);
02035 #endif
02036 }
02037
02038 void
02039 BrainObjects::PrimaryMotorCortex::__write(const ::Ice::OutputStreamPtr&) const
02040 {
02041 Ice::MarshalException ex(__FILE__, __LINE__);
02042 ex.reason = "type BrainObjects::PrimaryMotorCortex was not generated with stream support";
02043 throw ex;
02044 }
02045
02046 void
02047 BrainObjects::PrimaryMotorCortex::__read(const ::Ice::InputStreamPtr&, bool)
02048 {
02049 Ice::MarshalException ex(__FILE__, __LINE__);
02050 ex.reason = "type BrainObjects::PrimaryMotorCortex was not generated with stream support";
02051 throw ex;
02052 }
02053
02054 void
02055 BrainObjects::__patch__PrimaryMotorCortexPtr(void* __addr, ::Ice::ObjectPtr& v)
02056 {
02057 ::BrainObjects::PrimaryMotorCortexPtr* p = static_cast< ::BrainObjects::PrimaryMotorCortexPtr*>(__addr);
02058 assert(p);
02059 *p = ::BrainObjects::PrimaryMotorCortexPtr::dynamicCast(v);
02060 if(v && !*p)
02061 {
02062 IceInternal::Ex::throwUOE(::BrainObjects::PrimaryMotorCortex::ice_staticId(), v->ice_id());
02063 }
02064 }
02065
02066 bool
02067 BrainObjects::operator==(const ::BrainObjects::PrimaryMotorCortex& l, const ::BrainObjects::PrimaryMotorCortex& r)
02068 {
02069 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02070 }
02071
02072 bool
02073 BrainObjects::operator<(const ::BrainObjects::PrimaryMotorCortex& l, const ::BrainObjects::PrimaryMotorCortex& r)
02074 {
02075 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02076 }
02077
02078 ::Ice::ObjectPtr
02079 BrainObjects::PrefrontalCortex::ice_clone() const
02080 {
02081 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
02082 return 0;
02083 }
02084
02085 static const ::std::string __BrainObjects__PrefrontalCortex_ids[3] =
02086 {
02087 "::BrainObjects::PrefrontalCortex",
02088 "::Ice::Object",
02089 "::SimEvents::Events"
02090 };
02091
02092 bool
02093 BrainObjects::PrefrontalCortex::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02094 {
02095 return ::std::binary_search(__BrainObjects__PrefrontalCortex_ids, __BrainObjects__PrefrontalCortex_ids + 3, _s);
02096 }
02097
02098 ::std::vector< ::std::string>
02099 BrainObjects::PrefrontalCortex::ice_ids(const ::Ice::Current&) const
02100 {
02101 return ::std::vector< ::std::string>(&__BrainObjects__PrefrontalCortex_ids[0], &__BrainObjects__PrefrontalCortex_ids[3]);
02102 }
02103
02104 const ::std::string&
02105 BrainObjects::PrefrontalCortex::ice_id(const ::Ice::Current&) const
02106 {
02107 return __BrainObjects__PrefrontalCortex_ids[0];
02108 }
02109
02110 const ::std::string&
02111 BrainObjects::PrefrontalCortex::ice_staticId()
02112 {
02113 return __BrainObjects__PrefrontalCortex_ids[0];
02114 }
02115
02116 static ::std::string __BrainObjects__PrefrontalCortex_all[] =
02117 {
02118 "evolve",
02119 "ice_id",
02120 "ice_ids",
02121 "ice_isA",
02122 "ice_ping"
02123 };
02124
02125 ::Ice::DispatchStatus
02126 BrainObjects::PrefrontalCortex::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
02127 {
02128 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__PrefrontalCortex_all, __BrainObjects__PrefrontalCortex_all + 5, current.operation);
02129 if(r.first == r.second)
02130 {
02131 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02132 }
02133
02134 switch(r.first - __BrainObjects__PrefrontalCortex_all)
02135 {
02136 case 0:
02137 {
02138 return ___evolve(in, current);
02139 }
02140 case 1:
02141 {
02142 return ___ice_id(in, current);
02143 }
02144 case 2:
02145 {
02146 return ___ice_ids(in, current);
02147 }
02148 case 3:
02149 {
02150 return ___ice_isA(in, current);
02151 }
02152 case 4:
02153 {
02154 return ___ice_ping(in, current);
02155 }
02156 }
02157
02158 assert(false);
02159 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02160 }
02161
02162 void
02163 BrainObjects::PrefrontalCortex::__write(::IceInternal::BasicStream* __os) const
02164 {
02165 __os->writeTypeId(ice_staticId());
02166 __os->startWriteSlice();
02167 __os->endWriteSlice();
02168 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02169 Object::__write(__os);
02170 #else
02171 ::Ice::Object::__write(__os);
02172 #endif
02173 }
02174
02175 void
02176 BrainObjects::PrefrontalCortex::__read(::IceInternal::BasicStream* __is, bool __rid)
02177 {
02178 if(__rid)
02179 {
02180 ::std::string myId;
02181 __is->readTypeId(myId);
02182 }
02183 __is->startReadSlice();
02184 __is->endReadSlice();
02185 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02186 Object::__read(__is, true);
02187 #else
02188 ::Ice::Object::__read(__is, true);
02189 #endif
02190 }
02191
02192 void
02193 BrainObjects::PrefrontalCortex::__write(const ::Ice::OutputStreamPtr&) const
02194 {
02195 Ice::MarshalException ex(__FILE__, __LINE__);
02196 ex.reason = "type BrainObjects::PrefrontalCortex was not generated with stream support";
02197 throw ex;
02198 }
02199
02200 void
02201 BrainObjects::PrefrontalCortex::__read(const ::Ice::InputStreamPtr&, bool)
02202 {
02203 Ice::MarshalException ex(__FILE__, __LINE__);
02204 ex.reason = "type BrainObjects::PrefrontalCortex was not generated with stream support";
02205 throw ex;
02206 }
02207
02208 void
02209 BrainObjects::__patch__PrefrontalCortexPtr(void* __addr, ::Ice::ObjectPtr& v)
02210 {
02211 ::BrainObjects::PrefrontalCortexPtr* p = static_cast< ::BrainObjects::PrefrontalCortexPtr*>(__addr);
02212 assert(p);
02213 *p = ::BrainObjects::PrefrontalCortexPtr::dynamicCast(v);
02214 if(v && !*p)
02215 {
02216 IceInternal::Ex::throwUOE(::BrainObjects::PrefrontalCortex::ice_staticId(), v->ice_id());
02217 }
02218 }
02219
02220 bool
02221 BrainObjects::operator==(const ::BrainObjects::PrefrontalCortex& l, const ::BrainObjects::PrefrontalCortex& r)
02222 {
02223 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02224 }
02225
02226 bool
02227 BrainObjects::operator<(const ::BrainObjects::PrefrontalCortex& l, const ::BrainObjects::PrefrontalCortex& r)
02228 {
02229 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02230 }
02231
02232 ::Ice::ObjectPtr
02233 BrainObjects::SimulationViewer::ice_clone() const
02234 {
02235 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
02236 return 0;
02237 }
02238
02239 static const ::std::string __BrainObjects__SimulationViewer_ids[3] =
02240 {
02241 "::BrainObjects::SimulationViewer",
02242 "::Ice::Object",
02243 "::SimEvents::Events"
02244 };
02245
02246 bool
02247 BrainObjects::SimulationViewer::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02248 {
02249 return ::std::binary_search(__BrainObjects__SimulationViewer_ids, __BrainObjects__SimulationViewer_ids + 3, _s);
02250 }
02251
02252 ::std::vector< ::std::string>
02253 BrainObjects::SimulationViewer::ice_ids(const ::Ice::Current&) const
02254 {
02255 return ::std::vector< ::std::string>(&__BrainObjects__SimulationViewer_ids[0], &__BrainObjects__SimulationViewer_ids[3]);
02256 }
02257
02258 const ::std::string&
02259 BrainObjects::SimulationViewer::ice_id(const ::Ice::Current&) const
02260 {
02261 return __BrainObjects__SimulationViewer_ids[0];
02262 }
02263
02264 const ::std::string&
02265 BrainObjects::SimulationViewer::ice_staticId()
02266 {
02267 return __BrainObjects__SimulationViewer_ids[0];
02268 }
02269
02270 static ::std::string __BrainObjects__SimulationViewer_all[] =
02271 {
02272 "evolve",
02273 "ice_id",
02274 "ice_ids",
02275 "ice_isA",
02276 "ice_ping"
02277 };
02278
02279 ::Ice::DispatchStatus
02280 BrainObjects::SimulationViewer::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
02281 {
02282 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__SimulationViewer_all, __BrainObjects__SimulationViewer_all + 5, current.operation);
02283 if(r.first == r.second)
02284 {
02285 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02286 }
02287
02288 switch(r.first - __BrainObjects__SimulationViewer_all)
02289 {
02290 case 0:
02291 {
02292 return ___evolve(in, current);
02293 }
02294 case 1:
02295 {
02296 return ___ice_id(in, current);
02297 }
02298 case 2:
02299 {
02300 return ___ice_ids(in, current);
02301 }
02302 case 3:
02303 {
02304 return ___ice_isA(in, current);
02305 }
02306 case 4:
02307 {
02308 return ___ice_ping(in, current);
02309 }
02310 }
02311
02312 assert(false);
02313 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02314 }
02315
02316 void
02317 BrainObjects::SimulationViewer::__write(::IceInternal::BasicStream* __os) const
02318 {
02319 __os->writeTypeId(ice_staticId());
02320 __os->startWriteSlice();
02321 __os->endWriteSlice();
02322 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02323 Object::__write(__os);
02324 #else
02325 ::Ice::Object::__write(__os);
02326 #endif
02327 }
02328
02329 void
02330 BrainObjects::SimulationViewer::__read(::IceInternal::BasicStream* __is, bool __rid)
02331 {
02332 if(__rid)
02333 {
02334 ::std::string myId;
02335 __is->readTypeId(myId);
02336 }
02337 __is->startReadSlice();
02338 __is->endReadSlice();
02339 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02340 Object::__read(__is, true);
02341 #else
02342 ::Ice::Object::__read(__is, true);
02343 #endif
02344 }
02345
02346 void
02347 BrainObjects::SimulationViewer::__write(const ::Ice::OutputStreamPtr&) const
02348 {
02349 Ice::MarshalException ex(__FILE__, __LINE__);
02350 ex.reason = "type BrainObjects::SimulationViewer was not generated with stream support";
02351 throw ex;
02352 }
02353
02354 void
02355 BrainObjects::SimulationViewer::__read(const ::Ice::InputStreamPtr&, bool)
02356 {
02357 Ice::MarshalException ex(__FILE__, __LINE__);
02358 ex.reason = "type BrainObjects::SimulationViewer was not generated with stream support";
02359 throw ex;
02360 }
02361
02362 void
02363 BrainObjects::__patch__SimulationViewerPtr(void* __addr, ::Ice::ObjectPtr& v)
02364 {
02365 ::BrainObjects::SimulationViewerPtr* p = static_cast< ::BrainObjects::SimulationViewerPtr*>(__addr);
02366 assert(p);
02367 *p = ::BrainObjects::SimulationViewerPtr::dynamicCast(v);
02368 if(v && !*p)
02369 {
02370 IceInternal::Ex::throwUOE(::BrainObjects::SimulationViewer::ice_staticId(), v->ice_id());
02371 }
02372 }
02373
02374 bool
02375 BrainObjects::operator==(const ::BrainObjects::SimulationViewer& l, const ::BrainObjects::SimulationViewer& r)
02376 {
02377 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02378 }
02379
02380 bool
02381 BrainObjects::operator<(const ::BrainObjects::SimulationViewer& l, const ::BrainObjects::SimulationViewer& r)
02382 {
02383 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02384 }
02385
02386 ::Ice::ObjectPtr
02387 BrainObjects::HomeInterface::ice_clone() const
02388 {
02389 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
02390 return 0;
02391 }
02392
02393 static const ::std::string __BrainObjects__HomeInterface_ids[3] =
02394 {
02395 "::BrainObjects::HomeInterface",
02396 "::Ice::Object",
02397 "::SimEvents::Events"
02398 };
02399
02400 bool
02401 BrainObjects::HomeInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02402 {
02403 return ::std::binary_search(__BrainObjects__HomeInterface_ids, __BrainObjects__HomeInterface_ids + 3, _s);
02404 }
02405
02406 ::std::vector< ::std::string>
02407 BrainObjects::HomeInterface::ice_ids(const ::Ice::Current&) const
02408 {
02409 return ::std::vector< ::std::string>(&__BrainObjects__HomeInterface_ids[0], &__BrainObjects__HomeInterface_ids[3]);
02410 }
02411
02412 const ::std::string&
02413 BrainObjects::HomeInterface::ice_id(const ::Ice::Current&) const
02414 {
02415 return __BrainObjects__HomeInterface_ids[0];
02416 }
02417
02418 const ::std::string&
02419 BrainObjects::HomeInterface::ice_staticId()
02420 {
02421 return __BrainObjects__HomeInterface_ids[0];
02422 }
02423
02424 static ::std::string __BrainObjects__HomeInterface_all[] =
02425 {
02426 "evolve",
02427 "ice_id",
02428 "ice_ids",
02429 "ice_isA",
02430 "ice_ping"
02431 };
02432
02433 ::Ice::DispatchStatus
02434 BrainObjects::HomeInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
02435 {
02436 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__BrainObjects__HomeInterface_all, __BrainObjects__HomeInterface_all + 5, current.operation);
02437 if(r.first == r.second)
02438 {
02439 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02440 }
02441
02442 switch(r.first - __BrainObjects__HomeInterface_all)
02443 {
02444 case 0:
02445 {
02446 return ___evolve(in, current);
02447 }
02448 case 1:
02449 {
02450 return ___ice_id(in, current);
02451 }
02452 case 2:
02453 {
02454 return ___ice_ids(in, current);
02455 }
02456 case 3:
02457 {
02458 return ___ice_isA(in, current);
02459 }
02460 case 4:
02461 {
02462 return ___ice_ping(in, current);
02463 }
02464 }
02465
02466 assert(false);
02467 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
02468 }
02469
02470 void
02471 BrainObjects::HomeInterface::__write(::IceInternal::BasicStream* __os) const
02472 {
02473 __os->writeTypeId(ice_staticId());
02474 __os->startWriteSlice();
02475 __os->endWriteSlice();
02476 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02477 Object::__write(__os);
02478 #else
02479 ::Ice::Object::__write(__os);
02480 #endif
02481 }
02482
02483 void
02484 BrainObjects::HomeInterface::__read(::IceInternal::BasicStream* __is, bool __rid)
02485 {
02486 if(__rid)
02487 {
02488 ::std::string myId;
02489 __is->readTypeId(myId);
02490 }
02491 __is->startReadSlice();
02492 __is->endReadSlice();
02493 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02494 Object::__read(__is, true);
02495 #else
02496 ::Ice::Object::__read(__is, true);
02497 #endif
02498 }
02499
02500 void
02501 BrainObjects::HomeInterface::__write(const ::Ice::OutputStreamPtr&) const
02502 {
02503 Ice::MarshalException ex(__FILE__, __LINE__);
02504 ex.reason = "type BrainObjects::HomeInterface was not generated with stream support";
02505 throw ex;
02506 }
02507
02508 void
02509 BrainObjects::HomeInterface::__read(const ::Ice::InputStreamPtr&, bool)
02510 {
02511 Ice::MarshalException ex(__FILE__, __LINE__);
02512 ex.reason = "type BrainObjects::HomeInterface was not generated with stream support";
02513 throw ex;
02514 }
02515
02516 void
02517 BrainObjects::__patch__HomeInterfacePtr(void* __addr, ::Ice::ObjectPtr& v)
02518 {
02519 ::BrainObjects::HomeInterfacePtr* p = static_cast< ::BrainObjects::HomeInterfacePtr*>(__addr);
02520 assert(p);
02521 *p = ::BrainObjects::HomeInterfacePtr::dynamicCast(v);
02522 if(v && !*p)
02523 {
02524 IceInternal::Ex::throwUOE(::BrainObjects::HomeInterface::ice_staticId(), v->ice_id());
02525 }
02526 }
02527
02528 bool
02529 BrainObjects::operator==(const ::BrainObjects::HomeInterface& l, const ::BrainObjects::HomeInterface& r)
02530 {
02531 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02532 }
02533
02534 bool
02535 BrainObjects::operator<(const ::BrainObjects::HomeInterface& l, const ::BrainObjects::HomeInterface& r)
02536 {
02537 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02538 }