00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include <SimEvents.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 __SimEvents__Events__evolve_name = "evolve";
00033
00034 ::Ice::Object* IceInternal::upCast(::SimEvents::EventMessage* p) { return p; }
00035 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::EventMessage* p) { return p; }
00036
00037 ::Ice::Object* IceInternal::upCast(::SimEvents::Events* p) { return p; }
00038 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::Events* p) { return p; }
00039
00040 ::Ice::Object* IceInternal::upCast(::SimEvents::RetinaMessage* p) { return p; }
00041 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::RetinaMessage* p) { return p; }
00042
00043 ::Ice::Object* IceInternal::upCast(::SimEvents::VisualCortexMessage* p) { return p; }
00044 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::VisualCortexMessage* p) { return p; }
00045
00046 ::Ice::Object* IceInternal::upCast(::SimEvents::SaliencyMapMessage* p) { return p; }
00047 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::SaliencyMapMessage* p) { return p; }
00048
00049 ::Ice::Object* IceInternal::upCast(::SimEvents::SaliencyMapBiasMessage* p) { return p; }
00050 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::SaliencyMapBiasMessage* p) { return p; }
00051
00052 ::Ice::Object* IceInternal::upCast(::SimEvents::VisualTrackerMessage* p) { return p; }
00053 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::VisualTrackerMessage* p) { return p; }
00054
00055 ::Ice::Object* IceInternal::upCast(::SimEvents::VisualTrackerBiasMessage* p) { return p; }
00056 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::VisualTrackerBiasMessage* p) { return p; }
00057
00058 ::Ice::Object* IceInternal::upCast(::SimEvents::CameraCtrlBiasMessage* p) { return p; }
00059 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::CameraCtrlBiasMessage* p) { return p; }
00060
00061 ::Ice::Object* IceInternal::upCast(::SimEvents::CameraCtrlMessage* p) { return p; }
00062 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::CameraCtrlMessage* p) { return p; }
00063
00064 ::Ice::Object* IceInternal::upCast(::SimEvents::SegmenterMessage* p) { return p; }
00065 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::SegmenterMessage* p) { return p; }
00066
00067 ::Ice::Object* IceInternal::upCast(::SimEvents::SegmenterBiasMessage* p) { return p; }
00068 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::SegmenterBiasMessage* p) { return p; }
00069
00070 ::Ice::Object* IceInternal::upCast(::SimEvents::InfrotemporalCortexBiasMessage* p) { return p; }
00071 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::InfrotemporalCortexBiasMessage* p) { return p; }
00072
00073 ::Ice::Object* IceInternal::upCast(::SimEvents::InfrotemporalCortexMessage* p) { return p; }
00074 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::InfrotemporalCortexMessage* p) { return p; }
00075
00076 ::Ice::Object* IceInternal::upCast(::SimEvents::HippocampusBiasMessage* p) { return p; }
00077 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::HippocampusBiasMessage* p) { return p; }
00078
00079 ::Ice::Object* IceInternal::upCast(::SimEvents::HippocampusMessage* p) { return p; }
00080 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::HippocampusMessage* p) { return p; }
00081
00082 ::Ice::Object* IceInternal::upCast(::SimEvents::PrimaryMotorCortexBiasMessage* p) { return p; }
00083 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::PrimaryMotorCortexBiasMessage* p) { return p; }
00084
00085 ::Ice::Object* IceInternal::upCast(::SimEvents::PrimaryMotorCortexRelativeServoMessage* p) { return p; }
00086 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage* p) { return p; }
00087
00088 ::Ice::Object* IceInternal::upCast(::SimEvents::PrimaryMotorCortexResetEncodersMessage* p) { return p; }
00089 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage* p) { return p; }
00090
00091 ::Ice::Object* IceInternal::upCast(::SimEvents::PrimaryMotorCortexMessage* p) { return p; }
00092 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::PrimaryMotorCortexMessage* p) { return p; }
00093
00094 ::Ice::Object* IceInternal::upCast(::SimEvents::GUIInputMessage* p) { return p; }
00095 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::GUIInputMessage* p) { return p; }
00096
00097 ::Ice::Object* IceInternal::upCast(::SimEvents::GUIOutputMessage* p) { return p; }
00098 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::SimEvents::GUIOutputMessage* p) { return p; }
00099
00100 void
00101 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::EventMessagePrx& v)
00102 {
00103 ::Ice::ObjectPrx proxy;
00104 __is->read(proxy);
00105 if(!proxy)
00106 {
00107 v = 0;
00108 }
00109 else
00110 {
00111 v = new ::IceProxy::SimEvents::EventMessage;
00112 v->__copyFrom(proxy);
00113 }
00114 }
00115
00116 void
00117 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::EventsPrx& v)
00118 {
00119 ::Ice::ObjectPrx proxy;
00120 __is->read(proxy);
00121 if(!proxy)
00122 {
00123 v = 0;
00124 }
00125 else
00126 {
00127 v = new ::IceProxy::SimEvents::Events;
00128 v->__copyFrom(proxy);
00129 }
00130 }
00131
00132 void
00133 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::RetinaMessagePrx& v)
00134 {
00135 ::Ice::ObjectPrx proxy;
00136 __is->read(proxy);
00137 if(!proxy)
00138 {
00139 v = 0;
00140 }
00141 else
00142 {
00143 v = new ::IceProxy::SimEvents::RetinaMessage;
00144 v->__copyFrom(proxy);
00145 }
00146 }
00147
00148 void
00149 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::VisualCortexMessagePrx& v)
00150 {
00151 ::Ice::ObjectPrx proxy;
00152 __is->read(proxy);
00153 if(!proxy)
00154 {
00155 v = 0;
00156 }
00157 else
00158 {
00159 v = new ::IceProxy::SimEvents::VisualCortexMessage;
00160 v->__copyFrom(proxy);
00161 }
00162 }
00163
00164 void
00165 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::SaliencyMapMessagePrx& v)
00166 {
00167 ::Ice::ObjectPrx proxy;
00168 __is->read(proxy);
00169 if(!proxy)
00170 {
00171 v = 0;
00172 }
00173 else
00174 {
00175 v = new ::IceProxy::SimEvents::SaliencyMapMessage;
00176 v->__copyFrom(proxy);
00177 }
00178 }
00179
00180 void
00181 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::SaliencyMapBiasMessagePrx& v)
00182 {
00183 ::Ice::ObjectPrx proxy;
00184 __is->read(proxy);
00185 if(!proxy)
00186 {
00187 v = 0;
00188 }
00189 else
00190 {
00191 v = new ::IceProxy::SimEvents::SaliencyMapBiasMessage;
00192 v->__copyFrom(proxy);
00193 }
00194 }
00195
00196 void
00197 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::VisualTrackerMessagePrx& v)
00198 {
00199 ::Ice::ObjectPrx proxy;
00200 __is->read(proxy);
00201 if(!proxy)
00202 {
00203 v = 0;
00204 }
00205 else
00206 {
00207 v = new ::IceProxy::SimEvents::VisualTrackerMessage;
00208 v->__copyFrom(proxy);
00209 }
00210 }
00211
00212 void
00213 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::VisualTrackerBiasMessagePrx& v)
00214 {
00215 ::Ice::ObjectPrx proxy;
00216 __is->read(proxy);
00217 if(!proxy)
00218 {
00219 v = 0;
00220 }
00221 else
00222 {
00223 v = new ::IceProxy::SimEvents::VisualTrackerBiasMessage;
00224 v->__copyFrom(proxy);
00225 }
00226 }
00227
00228 void
00229 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::CameraCtrlBiasMessagePrx& v)
00230 {
00231 ::Ice::ObjectPrx proxy;
00232 __is->read(proxy);
00233 if(!proxy)
00234 {
00235 v = 0;
00236 }
00237 else
00238 {
00239 v = new ::IceProxy::SimEvents::CameraCtrlBiasMessage;
00240 v->__copyFrom(proxy);
00241 }
00242 }
00243
00244 void
00245 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::CameraCtrlMessagePrx& v)
00246 {
00247 ::Ice::ObjectPrx proxy;
00248 __is->read(proxy);
00249 if(!proxy)
00250 {
00251 v = 0;
00252 }
00253 else
00254 {
00255 v = new ::IceProxy::SimEvents::CameraCtrlMessage;
00256 v->__copyFrom(proxy);
00257 }
00258 }
00259
00260 void
00261 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::SegmenterMessagePrx& v)
00262 {
00263 ::Ice::ObjectPrx proxy;
00264 __is->read(proxy);
00265 if(!proxy)
00266 {
00267 v = 0;
00268 }
00269 else
00270 {
00271 v = new ::IceProxy::SimEvents::SegmenterMessage;
00272 v->__copyFrom(proxy);
00273 }
00274 }
00275
00276 void
00277 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::SegmenterBiasMessagePrx& v)
00278 {
00279 ::Ice::ObjectPrx proxy;
00280 __is->read(proxy);
00281 if(!proxy)
00282 {
00283 v = 0;
00284 }
00285 else
00286 {
00287 v = new ::IceProxy::SimEvents::SegmenterBiasMessage;
00288 v->__copyFrom(proxy);
00289 }
00290 }
00291
00292 void
00293 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::InfrotemporalCortexBiasMessagePrx& v)
00294 {
00295 ::Ice::ObjectPrx proxy;
00296 __is->read(proxy);
00297 if(!proxy)
00298 {
00299 v = 0;
00300 }
00301 else
00302 {
00303 v = new ::IceProxy::SimEvents::InfrotemporalCortexBiasMessage;
00304 v->__copyFrom(proxy);
00305 }
00306 }
00307
00308 void
00309 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::InfrotemporalCortexMessagePrx& v)
00310 {
00311 ::Ice::ObjectPrx proxy;
00312 __is->read(proxy);
00313 if(!proxy)
00314 {
00315 v = 0;
00316 }
00317 else
00318 {
00319 v = new ::IceProxy::SimEvents::InfrotemporalCortexMessage;
00320 v->__copyFrom(proxy);
00321 }
00322 }
00323
00324 void
00325 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::HippocampusBiasMessagePrx& v)
00326 {
00327 ::Ice::ObjectPrx proxy;
00328 __is->read(proxy);
00329 if(!proxy)
00330 {
00331 v = 0;
00332 }
00333 else
00334 {
00335 v = new ::IceProxy::SimEvents::HippocampusBiasMessage;
00336 v->__copyFrom(proxy);
00337 }
00338 }
00339
00340 void
00341 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::HippocampusMessagePrx& v)
00342 {
00343 ::Ice::ObjectPrx proxy;
00344 __is->read(proxy);
00345 if(!proxy)
00346 {
00347 v = 0;
00348 }
00349 else
00350 {
00351 v = new ::IceProxy::SimEvents::HippocampusMessage;
00352 v->__copyFrom(proxy);
00353 }
00354 }
00355
00356 void
00357 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::PrimaryMotorCortexBiasMessagePrx& v)
00358 {
00359 ::Ice::ObjectPrx proxy;
00360 __is->read(proxy);
00361 if(!proxy)
00362 {
00363 v = 0;
00364 }
00365 else
00366 {
00367 v = new ::IceProxy::SimEvents::PrimaryMotorCortexBiasMessage;
00368 v->__copyFrom(proxy);
00369 }
00370 }
00371
00372 void
00373 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::PrimaryMotorCortexRelativeServoMessagePrx& v)
00374 {
00375 ::Ice::ObjectPrx proxy;
00376 __is->read(proxy);
00377 if(!proxy)
00378 {
00379 v = 0;
00380 }
00381 else
00382 {
00383 v = new ::IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage;
00384 v->__copyFrom(proxy);
00385 }
00386 }
00387
00388 void
00389 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::PrimaryMotorCortexResetEncodersMessagePrx& v)
00390 {
00391 ::Ice::ObjectPrx proxy;
00392 __is->read(proxy);
00393 if(!proxy)
00394 {
00395 v = 0;
00396 }
00397 else
00398 {
00399 v = new ::IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage;
00400 v->__copyFrom(proxy);
00401 }
00402 }
00403
00404 void
00405 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::PrimaryMotorCortexMessagePrx& v)
00406 {
00407 ::Ice::ObjectPrx proxy;
00408 __is->read(proxy);
00409 if(!proxy)
00410 {
00411 v = 0;
00412 }
00413 else
00414 {
00415 v = new ::IceProxy::SimEvents::PrimaryMotorCortexMessage;
00416 v->__copyFrom(proxy);
00417 }
00418 }
00419
00420 void
00421 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::GUIInputMessagePrx& v)
00422 {
00423 ::Ice::ObjectPrx proxy;
00424 __is->read(proxy);
00425 if(!proxy)
00426 {
00427 v = 0;
00428 }
00429 else
00430 {
00431 v = new ::IceProxy::SimEvents::GUIInputMessage;
00432 v->__copyFrom(proxy);
00433 }
00434 }
00435
00436 void
00437 SimEvents::__read(::IceInternal::BasicStream* __is, ::SimEvents::GUIOutputMessagePrx& v)
00438 {
00439 ::Ice::ObjectPrx proxy;
00440 __is->read(proxy);
00441 if(!proxy)
00442 {
00443 v = 0;
00444 }
00445 else
00446 {
00447 v = new ::IceProxy::SimEvents::GUIOutputMessage;
00448 v->__copyFrom(proxy);
00449 }
00450 }
00451
00452 bool
00453 SimEvents::LocInfo::operator==(const LocInfo& __rhs) const
00454 {
00455 if(this == &__rhs)
00456 {
00457 return true;
00458 }
00459 if(lowresMaxpos != __rhs.lowresMaxpos)
00460 {
00461 return false;
00462 }
00463 if(fullresMaxpos != __rhs.fullresMaxpos)
00464 {
00465 return false;
00466 }
00467 if(maxval != __rhs.maxval)
00468 {
00469 return false;
00470 }
00471 return true;
00472 }
00473
00474 bool
00475 SimEvents::LocInfo::operator<(const LocInfo& __rhs) const
00476 {
00477 if(this == &__rhs)
00478 {
00479 return false;
00480 }
00481 if(lowresMaxpos < __rhs.lowresMaxpos)
00482 {
00483 return true;
00484 }
00485 else if(__rhs.lowresMaxpos < lowresMaxpos)
00486 {
00487 return false;
00488 }
00489 if(fullresMaxpos < __rhs.fullresMaxpos)
00490 {
00491 return true;
00492 }
00493 else if(__rhs.fullresMaxpos < fullresMaxpos)
00494 {
00495 return false;
00496 }
00497 if(maxval < __rhs.maxval)
00498 {
00499 return true;
00500 }
00501 else if(__rhs.maxval < maxval)
00502 {
00503 return false;
00504 }
00505 return false;
00506 }
00507
00508 void
00509 SimEvents::LocInfo::__write(::IceInternal::BasicStream* __os) const
00510 {
00511 lowresMaxpos.__write(__os);
00512 fullresMaxpos.__write(__os);
00513 __os->write(maxval);
00514 }
00515
00516 void
00517 SimEvents::LocInfo::__read(::IceInternal::BasicStream* __is)
00518 {
00519 lowresMaxpos.__read(__is);
00520 fullresMaxpos.__read(__is);
00521 __is->read(maxval);
00522 }
00523
00524 void
00525 SimEvents::__writeLocInfoSeq(::IceInternal::BasicStream* __os, const ::SimEvents::LocInfo* begin, const ::SimEvents::LocInfo* end)
00526 {
00527 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00528 __os->writeSize(size);
00529 for(int i = 0; i < size; ++i)
00530 {
00531 begin[i].__write(__os);
00532 }
00533 }
00534
00535 void
00536 SimEvents::__readLocInfoSeq(::IceInternal::BasicStream* __is, ::SimEvents::LocInfoSeq& v)
00537 {
00538 ::Ice::Int sz;
00539 __is->readSize(sz);
00540 __is->checkFixedSeq(sz, 17);
00541 v.resize(sz);
00542 for(int i = 0; i < sz; ++i)
00543 {
00544 v[i].__read(__is);
00545 }
00546 }
00547
00548 bool
00549 SimEvents::TrackInfo::operator==(const TrackInfo& __rhs) const
00550 {
00551 if(this == &__rhs)
00552 {
00553 return true;
00554 }
00555 if(pos != __rhs.pos)
00556 {
00557 return false;
00558 }
00559 if(err != __rhs.err)
00560 {
00561 return false;
00562 }
00563 return true;
00564 }
00565
00566 bool
00567 SimEvents::TrackInfo::operator<(const TrackInfo& __rhs) const
00568 {
00569 if(this == &__rhs)
00570 {
00571 return false;
00572 }
00573 if(pos < __rhs.pos)
00574 {
00575 return true;
00576 }
00577 else if(__rhs.pos < pos)
00578 {
00579 return false;
00580 }
00581 if(err < __rhs.err)
00582 {
00583 return true;
00584 }
00585 else if(__rhs.err < err)
00586 {
00587 return false;
00588 }
00589 return false;
00590 }
00591
00592 void
00593 SimEvents::TrackInfo::__write(::IceInternal::BasicStream* __os) const
00594 {
00595 pos.__write(__os);
00596 __os->write(err);
00597 }
00598
00599 void
00600 SimEvents::TrackInfo::__read(::IceInternal::BasicStream* __is)
00601 {
00602 pos.__read(__is);
00603 __is->read(err);
00604 }
00605
00606 void
00607 SimEvents::__writeTrackInfoSeq(::IceInternal::BasicStream* __os, const ::SimEvents::TrackInfo* begin, const ::SimEvents::TrackInfo* end)
00608 {
00609 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00610 __os->writeSize(size);
00611 for(int i = 0; i < size; ++i)
00612 {
00613 begin[i].__write(__os);
00614 }
00615 }
00616
00617 void
00618 SimEvents::__readTrackInfoSeq(::IceInternal::BasicStream* __is, ::SimEvents::TrackInfoSeq& v)
00619 {
00620 ::Ice::Int sz;
00621 __is->readSize(sz);
00622 __is->checkFixedSeq(sz, 12);
00623 v.resize(sz);
00624 for(int i = 0; i < sz; ++i)
00625 {
00626 v[i].__read(__is);
00627 }
00628 }
00629
00630 bool
00631 SimEvents::SegInfo::operator==(const SegInfo& __rhs) const
00632 {
00633 if(this == &__rhs)
00634 {
00635 return true;
00636 }
00637 if(loc != __rhs.loc)
00638 {
00639 return false;
00640 }
00641 if(rect != __rhs.rect)
00642 {
00643 return false;
00644 }
00645 if(img != __rhs.img)
00646 {
00647 return false;
00648 }
00649 return true;
00650 }
00651
00652 bool
00653 SimEvents::SegInfo::operator<(const SegInfo& __rhs) const
00654 {
00655 if(this == &__rhs)
00656 {
00657 return false;
00658 }
00659 if(loc < __rhs.loc)
00660 {
00661 return true;
00662 }
00663 else if(__rhs.loc < loc)
00664 {
00665 return false;
00666 }
00667 if(rect < __rhs.rect)
00668 {
00669 return true;
00670 }
00671 else if(__rhs.rect < rect)
00672 {
00673 return false;
00674 }
00675 if(img < __rhs.img)
00676 {
00677 return true;
00678 }
00679 else if(__rhs.img < img)
00680 {
00681 return false;
00682 }
00683 return false;
00684 }
00685
00686 void
00687 SimEvents::SegInfo::__write(::IceInternal::BasicStream* __os) const
00688 {
00689 loc.__write(__os);
00690 rect.__write(__os);
00691 img.__write(__os);
00692 }
00693
00694 void
00695 SimEvents::SegInfo::__read(::IceInternal::BasicStream* __is)
00696 {
00697 loc.__read(__is);
00698 rect.__read(__is);
00699 img.__read(__is);
00700 }
00701
00702 void
00703 SimEvents::__writeSegInfoSeq(::IceInternal::BasicStream* __os, const ::SimEvents::SegInfo* begin, const ::SimEvents::SegInfo* end)
00704 {
00705 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00706 __os->writeSize(size);
00707 for(int i = 0; i < size; ++i)
00708 {
00709 begin[i].__write(__os);
00710 }
00711 }
00712
00713 void
00714 SimEvents::__readSegInfoSeq(::IceInternal::BasicStream* __is, ::SimEvents::SegInfoSeq& v)
00715 {
00716 ::Ice::Int sz;
00717 __is->readSize(sz);
00718 __is->startSeq(sz, 37);
00719 v.resize(sz);
00720 for(int i = 0; i < sz; ++i)
00721 {
00722 v[i].__read(__is);
00723 __is->checkSeq();
00724 __is->endElement();
00725 }
00726 __is->endSeq(sz);
00727 }
00728
00729 bool
00730 SimEvents::ObjectState::operator==(const ObjectState& __rhs) const
00731 {
00732 if(this == &__rhs)
00733 {
00734 return true;
00735 }
00736 if(objectName != __rhs.objectName)
00737 {
00738 return false;
00739 }
00740 if(objectMsg != __rhs.objectMsg)
00741 {
00742 return false;
00743 }
00744 if(inDanger != __rhs.inDanger)
00745 {
00746 return false;
00747 }
00748 if(loc != __rhs.loc)
00749 {
00750 return false;
00751 }
00752 if(pos != __rhs.pos)
00753 {
00754 return false;
00755 }
00756 if(rotation != __rhs.rotation)
00757 {
00758 return false;
00759 }
00760 if(size != __rhs.size)
00761 {
00762 return false;
00763 }
00764 return true;
00765 }
00766
00767 bool
00768 SimEvents::ObjectState::operator<(const ObjectState& __rhs) const
00769 {
00770 if(this == &__rhs)
00771 {
00772 return false;
00773 }
00774 if(objectName < __rhs.objectName)
00775 {
00776 return true;
00777 }
00778 else if(__rhs.objectName < objectName)
00779 {
00780 return false;
00781 }
00782 if(objectMsg < __rhs.objectMsg)
00783 {
00784 return true;
00785 }
00786 else if(__rhs.objectMsg < objectMsg)
00787 {
00788 return false;
00789 }
00790 if(inDanger < __rhs.inDanger)
00791 {
00792 return true;
00793 }
00794 else if(__rhs.inDanger < inDanger)
00795 {
00796 return false;
00797 }
00798 if(loc < __rhs.loc)
00799 {
00800 return true;
00801 }
00802 else if(__rhs.loc < loc)
00803 {
00804 return false;
00805 }
00806 if(pos < __rhs.pos)
00807 {
00808 return true;
00809 }
00810 else if(__rhs.pos < pos)
00811 {
00812 return false;
00813 }
00814 if(rotation < __rhs.rotation)
00815 {
00816 return true;
00817 }
00818 else if(__rhs.rotation < rotation)
00819 {
00820 return false;
00821 }
00822 if(size < __rhs.size)
00823 {
00824 return true;
00825 }
00826 else if(__rhs.size < size)
00827 {
00828 return false;
00829 }
00830 return false;
00831 }
00832
00833 void
00834 SimEvents::ObjectState::__write(::IceInternal::BasicStream* __os) const
00835 {
00836 __os->write(objectName);
00837 __os->write(objectMsg);
00838 __os->write(inDanger);
00839 loc.__write(__os);
00840 pos.__write(__os);
00841 __os->write(rotation);
00842 __os->write(size);
00843 }
00844
00845 void
00846 SimEvents::ObjectState::__read(::IceInternal::BasicStream* __is)
00847 {
00848 __is->read(objectName);
00849 __is->read(objectMsg);
00850 __is->read(inDanger);
00851 loc.__read(__is);
00852 pos.__read(__is);
00853 __is->read(rotation);
00854 __is->read(size);
00855 }
00856
00857 void
00858 SimEvents::__writeObjectsStateSeq(::IceInternal::BasicStream* __os, const ::SimEvents::ObjectState* begin, const ::SimEvents::ObjectState* end)
00859 {
00860 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00861 __os->writeSize(size);
00862 for(int i = 0; i < size; ++i)
00863 {
00864 begin[i].__write(__os);
00865 }
00866 }
00867
00868 void
00869 SimEvents::__readObjectsStateSeq(::IceInternal::BasicStream* __is, ::SimEvents::ObjectsStateSeq& v)
00870 {
00871 ::Ice::Int sz;
00872 __is->readSize(sz);
00873 __is->startSeq(sz, 31);
00874 v.resize(sz);
00875 for(int i = 0; i < sz; ++i)
00876 {
00877 v[i].__read(__is);
00878 __is->checkSeq();
00879 __is->endElement();
00880 }
00881 __is->endSeq(sz);
00882 }
00883
00884 bool
00885 SimEvents::ArmPosition::operator==(const ArmPosition& __rhs) const
00886 {
00887 if(this == &__rhs)
00888 {
00889 return true;
00890 }
00891 if(x != __rhs.x)
00892 {
00893 return false;
00894 }
00895 if(y != __rhs.y)
00896 {
00897 return false;
00898 }
00899 if(z != __rhs.z)
00900 {
00901 return false;
00902 }
00903 if(rot != __rhs.rot)
00904 {
00905 return false;
00906 }
00907 if(roll != __rhs.roll)
00908 {
00909 return false;
00910 }
00911 if(gripper != __rhs.gripper)
00912 {
00913 return false;
00914 }
00915 return true;
00916 }
00917
00918 bool
00919 SimEvents::ArmPosition::operator<(const ArmPosition& __rhs) const
00920 {
00921 if(this == &__rhs)
00922 {
00923 return false;
00924 }
00925 if(x < __rhs.x)
00926 {
00927 return true;
00928 }
00929 else if(__rhs.x < x)
00930 {
00931 return false;
00932 }
00933 if(y < __rhs.y)
00934 {
00935 return true;
00936 }
00937 else if(__rhs.y < y)
00938 {
00939 return false;
00940 }
00941 if(z < __rhs.z)
00942 {
00943 return true;
00944 }
00945 else if(__rhs.z < z)
00946 {
00947 return false;
00948 }
00949 if(rot < __rhs.rot)
00950 {
00951 return true;
00952 }
00953 else if(__rhs.rot < rot)
00954 {
00955 return false;
00956 }
00957 if(roll < __rhs.roll)
00958 {
00959 return true;
00960 }
00961 else if(__rhs.roll < roll)
00962 {
00963 return false;
00964 }
00965 if(gripper < __rhs.gripper)
00966 {
00967 return true;
00968 }
00969 else if(__rhs.gripper < gripper)
00970 {
00971 return false;
00972 }
00973 return false;
00974 }
00975
00976 void
00977 SimEvents::ArmPosition::__write(::IceInternal::BasicStream* __os) const
00978 {
00979 __os->write(x);
00980 __os->write(y);
00981 __os->write(z);
00982 __os->write(rot);
00983 __os->write(roll);
00984 __os->write(gripper);
00985 }
00986
00987 void
00988 SimEvents::ArmPosition::__read(::IceInternal::BasicStream* __is)
00989 {
00990 __is->read(x);
00991 __is->read(y);
00992 __is->read(z);
00993 __is->read(rot);
00994 __is->read(roll);
00995 __is->read(gripper);
00996 }
00997
00998 const ::std::string&
00999 IceProxy::SimEvents::EventMessage::ice_staticId()
01000 {
01001 return ::SimEvents::EventMessage::ice_staticId();
01002 }
01003
01004 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01005 IceProxy::SimEvents::EventMessage::__createDelegateM()
01006 {
01007 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::EventMessage);
01008 }
01009
01010 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01011 IceProxy::SimEvents::EventMessage::__createDelegateD()
01012 {
01013 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::EventMessage);
01014 }
01015
01016 ::IceProxy::Ice::Object*
01017 IceProxy::SimEvents::EventMessage::__newInstance() const
01018 {
01019 return new EventMessage;
01020 }
01021
01022 void
01023 IceProxy::SimEvents::Events::evolve(const ::SimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __ctx)
01024 {
01025 int __cnt = 0;
01026 while(true)
01027 {
01028 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase;
01029 try
01030 {
01031 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug
01032 IceUtil::DummyBCC dummy;
01033 #endif
01034 __delBase = __getDelegate(false);
01035 ::IceDelegate::SimEvents::Events* __del = dynamic_cast< ::IceDelegate::SimEvents::Events*>(__delBase.get());
01036 __del->evolve(eMsg, __ctx);
01037 return;
01038 }
01039 catch(const ::IceInternal::LocalExceptionWrapper& __ex)
01040 {
01041 __handleExceptionWrapper(__delBase, __ex, 0);
01042 }
01043 catch(const ::Ice::LocalException& __ex)
01044 {
01045 __handleException(__delBase, __ex, 0, __cnt);
01046 }
01047 }
01048 }
01049
01050 const ::std::string&
01051 IceProxy::SimEvents::Events::ice_staticId()
01052 {
01053 return ::SimEvents::Events::ice_staticId();
01054 }
01055
01056 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01057 IceProxy::SimEvents::Events::__createDelegateM()
01058 {
01059 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::Events);
01060 }
01061
01062 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01063 IceProxy::SimEvents::Events::__createDelegateD()
01064 {
01065 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::Events);
01066 }
01067
01068 ::IceProxy::Ice::Object*
01069 IceProxy::SimEvents::Events::__newInstance() const
01070 {
01071 return new Events;
01072 }
01073
01074 const ::std::string&
01075 IceProxy::SimEvents::RetinaMessage::ice_staticId()
01076 {
01077 return ::SimEvents::RetinaMessage::ice_staticId();
01078 }
01079
01080 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01081 IceProxy::SimEvents::RetinaMessage::__createDelegateM()
01082 {
01083 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::RetinaMessage);
01084 }
01085
01086 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01087 IceProxy::SimEvents::RetinaMessage::__createDelegateD()
01088 {
01089 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::RetinaMessage);
01090 }
01091
01092 ::IceProxy::Ice::Object*
01093 IceProxy::SimEvents::RetinaMessage::__newInstance() const
01094 {
01095 return new RetinaMessage;
01096 }
01097
01098 const ::std::string&
01099 IceProxy::SimEvents::VisualCortexMessage::ice_staticId()
01100 {
01101 return ::SimEvents::VisualCortexMessage::ice_staticId();
01102 }
01103
01104 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01105 IceProxy::SimEvents::VisualCortexMessage::__createDelegateM()
01106 {
01107 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::VisualCortexMessage);
01108 }
01109
01110 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01111 IceProxy::SimEvents::VisualCortexMessage::__createDelegateD()
01112 {
01113 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::VisualCortexMessage);
01114 }
01115
01116 ::IceProxy::Ice::Object*
01117 IceProxy::SimEvents::VisualCortexMessage::__newInstance() const
01118 {
01119 return new VisualCortexMessage;
01120 }
01121
01122 const ::std::string&
01123 IceProxy::SimEvents::SaliencyMapMessage::ice_staticId()
01124 {
01125 return ::SimEvents::SaliencyMapMessage::ice_staticId();
01126 }
01127
01128 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01129 IceProxy::SimEvents::SaliencyMapMessage::__createDelegateM()
01130 {
01131 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::SaliencyMapMessage);
01132 }
01133
01134 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01135 IceProxy::SimEvents::SaliencyMapMessage::__createDelegateD()
01136 {
01137 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::SaliencyMapMessage);
01138 }
01139
01140 ::IceProxy::Ice::Object*
01141 IceProxy::SimEvents::SaliencyMapMessage::__newInstance() const
01142 {
01143 return new SaliencyMapMessage;
01144 }
01145
01146 const ::std::string&
01147 IceProxy::SimEvents::SaliencyMapBiasMessage::ice_staticId()
01148 {
01149 return ::SimEvents::SaliencyMapBiasMessage::ice_staticId();
01150 }
01151
01152 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01153 IceProxy::SimEvents::SaliencyMapBiasMessage::__createDelegateM()
01154 {
01155 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::SaliencyMapBiasMessage);
01156 }
01157
01158 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01159 IceProxy::SimEvents::SaliencyMapBiasMessage::__createDelegateD()
01160 {
01161 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::SaliencyMapBiasMessage);
01162 }
01163
01164 ::IceProxy::Ice::Object*
01165 IceProxy::SimEvents::SaliencyMapBiasMessage::__newInstance() const
01166 {
01167 return new SaliencyMapBiasMessage;
01168 }
01169
01170 const ::std::string&
01171 IceProxy::SimEvents::VisualTrackerMessage::ice_staticId()
01172 {
01173 return ::SimEvents::VisualTrackerMessage::ice_staticId();
01174 }
01175
01176 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01177 IceProxy::SimEvents::VisualTrackerMessage::__createDelegateM()
01178 {
01179 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::VisualTrackerMessage);
01180 }
01181
01182 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01183 IceProxy::SimEvents::VisualTrackerMessage::__createDelegateD()
01184 {
01185 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::VisualTrackerMessage);
01186 }
01187
01188 ::IceProxy::Ice::Object*
01189 IceProxy::SimEvents::VisualTrackerMessage::__newInstance() const
01190 {
01191 return new VisualTrackerMessage;
01192 }
01193
01194 const ::std::string&
01195 IceProxy::SimEvents::VisualTrackerBiasMessage::ice_staticId()
01196 {
01197 return ::SimEvents::VisualTrackerBiasMessage::ice_staticId();
01198 }
01199
01200 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01201 IceProxy::SimEvents::VisualTrackerBiasMessage::__createDelegateM()
01202 {
01203 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::VisualTrackerBiasMessage);
01204 }
01205
01206 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01207 IceProxy::SimEvents::VisualTrackerBiasMessage::__createDelegateD()
01208 {
01209 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::VisualTrackerBiasMessage);
01210 }
01211
01212 ::IceProxy::Ice::Object*
01213 IceProxy::SimEvents::VisualTrackerBiasMessage::__newInstance() const
01214 {
01215 return new VisualTrackerBiasMessage;
01216 }
01217
01218 const ::std::string&
01219 IceProxy::SimEvents::CameraCtrlBiasMessage::ice_staticId()
01220 {
01221 return ::SimEvents::CameraCtrlBiasMessage::ice_staticId();
01222 }
01223
01224 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01225 IceProxy::SimEvents::CameraCtrlBiasMessage::__createDelegateM()
01226 {
01227 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::CameraCtrlBiasMessage);
01228 }
01229
01230 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01231 IceProxy::SimEvents::CameraCtrlBiasMessage::__createDelegateD()
01232 {
01233 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::CameraCtrlBiasMessage);
01234 }
01235
01236 ::IceProxy::Ice::Object*
01237 IceProxy::SimEvents::CameraCtrlBiasMessage::__newInstance() const
01238 {
01239 return new CameraCtrlBiasMessage;
01240 }
01241
01242 const ::std::string&
01243 IceProxy::SimEvents::CameraCtrlMessage::ice_staticId()
01244 {
01245 return ::SimEvents::CameraCtrlMessage::ice_staticId();
01246 }
01247
01248 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01249 IceProxy::SimEvents::CameraCtrlMessage::__createDelegateM()
01250 {
01251 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::CameraCtrlMessage);
01252 }
01253
01254 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01255 IceProxy::SimEvents::CameraCtrlMessage::__createDelegateD()
01256 {
01257 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::CameraCtrlMessage);
01258 }
01259
01260 ::IceProxy::Ice::Object*
01261 IceProxy::SimEvents::CameraCtrlMessage::__newInstance() const
01262 {
01263 return new CameraCtrlMessage;
01264 }
01265
01266 const ::std::string&
01267 IceProxy::SimEvents::SegmenterMessage::ice_staticId()
01268 {
01269 return ::SimEvents::SegmenterMessage::ice_staticId();
01270 }
01271
01272 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01273 IceProxy::SimEvents::SegmenterMessage::__createDelegateM()
01274 {
01275 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::SegmenterMessage);
01276 }
01277
01278 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01279 IceProxy::SimEvents::SegmenterMessage::__createDelegateD()
01280 {
01281 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::SegmenterMessage);
01282 }
01283
01284 ::IceProxy::Ice::Object*
01285 IceProxy::SimEvents::SegmenterMessage::__newInstance() const
01286 {
01287 return new SegmenterMessage;
01288 }
01289
01290 const ::std::string&
01291 IceProxy::SimEvents::SegmenterBiasMessage::ice_staticId()
01292 {
01293 return ::SimEvents::SegmenterBiasMessage::ice_staticId();
01294 }
01295
01296 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01297 IceProxy::SimEvents::SegmenterBiasMessage::__createDelegateM()
01298 {
01299 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::SegmenterBiasMessage);
01300 }
01301
01302 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01303 IceProxy::SimEvents::SegmenterBiasMessage::__createDelegateD()
01304 {
01305 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::SegmenterBiasMessage);
01306 }
01307
01308 ::IceProxy::Ice::Object*
01309 IceProxy::SimEvents::SegmenterBiasMessage::__newInstance() const
01310 {
01311 return new SegmenterBiasMessage;
01312 }
01313
01314 const ::std::string&
01315 IceProxy::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId()
01316 {
01317 return ::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId();
01318 }
01319
01320 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01321 IceProxy::SimEvents::InfrotemporalCortexBiasMessage::__createDelegateM()
01322 {
01323 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::InfrotemporalCortexBiasMessage);
01324 }
01325
01326 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01327 IceProxy::SimEvents::InfrotemporalCortexBiasMessage::__createDelegateD()
01328 {
01329 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::InfrotemporalCortexBiasMessage);
01330 }
01331
01332 ::IceProxy::Ice::Object*
01333 IceProxy::SimEvents::InfrotemporalCortexBiasMessage::__newInstance() const
01334 {
01335 return new InfrotemporalCortexBiasMessage;
01336 }
01337
01338 const ::std::string&
01339 IceProxy::SimEvents::InfrotemporalCortexMessage::ice_staticId()
01340 {
01341 return ::SimEvents::InfrotemporalCortexMessage::ice_staticId();
01342 }
01343
01344 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01345 IceProxy::SimEvents::InfrotemporalCortexMessage::__createDelegateM()
01346 {
01347 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::InfrotemporalCortexMessage);
01348 }
01349
01350 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01351 IceProxy::SimEvents::InfrotemporalCortexMessage::__createDelegateD()
01352 {
01353 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::InfrotemporalCortexMessage);
01354 }
01355
01356 ::IceProxy::Ice::Object*
01357 IceProxy::SimEvents::InfrotemporalCortexMessage::__newInstance() const
01358 {
01359 return new InfrotemporalCortexMessage;
01360 }
01361
01362 const ::std::string&
01363 IceProxy::SimEvents::HippocampusBiasMessage::ice_staticId()
01364 {
01365 return ::SimEvents::HippocampusBiasMessage::ice_staticId();
01366 }
01367
01368 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01369 IceProxy::SimEvents::HippocampusBiasMessage::__createDelegateM()
01370 {
01371 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::HippocampusBiasMessage);
01372 }
01373
01374 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01375 IceProxy::SimEvents::HippocampusBiasMessage::__createDelegateD()
01376 {
01377 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::HippocampusBiasMessage);
01378 }
01379
01380 ::IceProxy::Ice::Object*
01381 IceProxy::SimEvents::HippocampusBiasMessage::__newInstance() const
01382 {
01383 return new HippocampusBiasMessage;
01384 }
01385
01386 const ::std::string&
01387 IceProxy::SimEvents::HippocampusMessage::ice_staticId()
01388 {
01389 return ::SimEvents::HippocampusMessage::ice_staticId();
01390 }
01391
01392 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01393 IceProxy::SimEvents::HippocampusMessage::__createDelegateM()
01394 {
01395 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::HippocampusMessage);
01396 }
01397
01398 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01399 IceProxy::SimEvents::HippocampusMessage::__createDelegateD()
01400 {
01401 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::HippocampusMessage);
01402 }
01403
01404 ::IceProxy::Ice::Object*
01405 IceProxy::SimEvents::HippocampusMessage::__newInstance() const
01406 {
01407 return new HippocampusMessage;
01408 }
01409
01410 const ::std::string&
01411 IceProxy::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId()
01412 {
01413 return ::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId();
01414 }
01415
01416 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01417 IceProxy::SimEvents::PrimaryMotorCortexBiasMessage::__createDelegateM()
01418 {
01419 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::PrimaryMotorCortexBiasMessage);
01420 }
01421
01422 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01423 IceProxy::SimEvents::PrimaryMotorCortexBiasMessage::__createDelegateD()
01424 {
01425 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::PrimaryMotorCortexBiasMessage);
01426 }
01427
01428 ::IceProxy::Ice::Object*
01429 IceProxy::SimEvents::PrimaryMotorCortexBiasMessage::__newInstance() const
01430 {
01431 return new PrimaryMotorCortexBiasMessage;
01432 }
01433
01434 const ::std::string&
01435 IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId()
01436 {
01437 return ::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId();
01438 }
01439
01440 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01441 IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage::__createDelegateM()
01442 {
01443 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::PrimaryMotorCortexRelativeServoMessage);
01444 }
01445
01446 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01447 IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage::__createDelegateD()
01448 {
01449 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::PrimaryMotorCortexRelativeServoMessage);
01450 }
01451
01452 ::IceProxy::Ice::Object*
01453 IceProxy::SimEvents::PrimaryMotorCortexRelativeServoMessage::__newInstance() const
01454 {
01455 return new PrimaryMotorCortexRelativeServoMessage;
01456 }
01457
01458 const ::std::string&
01459 IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId()
01460 {
01461 return ::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId();
01462 }
01463
01464 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01465 IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage::__createDelegateM()
01466 {
01467 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::PrimaryMotorCortexResetEncodersMessage);
01468 }
01469
01470 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01471 IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage::__createDelegateD()
01472 {
01473 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::PrimaryMotorCortexResetEncodersMessage);
01474 }
01475
01476 ::IceProxy::Ice::Object*
01477 IceProxy::SimEvents::PrimaryMotorCortexResetEncodersMessage::__newInstance() const
01478 {
01479 return new PrimaryMotorCortexResetEncodersMessage;
01480 }
01481
01482 const ::std::string&
01483 IceProxy::SimEvents::PrimaryMotorCortexMessage::ice_staticId()
01484 {
01485 return ::SimEvents::PrimaryMotorCortexMessage::ice_staticId();
01486 }
01487
01488 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01489 IceProxy::SimEvents::PrimaryMotorCortexMessage::__createDelegateM()
01490 {
01491 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::PrimaryMotorCortexMessage);
01492 }
01493
01494 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01495 IceProxy::SimEvents::PrimaryMotorCortexMessage::__createDelegateD()
01496 {
01497 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::PrimaryMotorCortexMessage);
01498 }
01499
01500 ::IceProxy::Ice::Object*
01501 IceProxy::SimEvents::PrimaryMotorCortexMessage::__newInstance() const
01502 {
01503 return new PrimaryMotorCortexMessage;
01504 }
01505
01506 const ::std::string&
01507 IceProxy::SimEvents::GUIInputMessage::ice_staticId()
01508 {
01509 return ::SimEvents::GUIInputMessage::ice_staticId();
01510 }
01511
01512 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01513 IceProxy::SimEvents::GUIInputMessage::__createDelegateM()
01514 {
01515 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::GUIInputMessage);
01516 }
01517
01518 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01519 IceProxy::SimEvents::GUIInputMessage::__createDelegateD()
01520 {
01521 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::GUIInputMessage);
01522 }
01523
01524 ::IceProxy::Ice::Object*
01525 IceProxy::SimEvents::GUIInputMessage::__newInstance() const
01526 {
01527 return new GUIInputMessage;
01528 }
01529
01530 const ::std::string&
01531 IceProxy::SimEvents::GUIOutputMessage::ice_staticId()
01532 {
01533 return ::SimEvents::GUIOutputMessage::ice_staticId();
01534 }
01535
01536 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
01537 IceProxy::SimEvents::GUIOutputMessage::__createDelegateM()
01538 {
01539 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::SimEvents::GUIOutputMessage);
01540 }
01541
01542 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
01543 IceProxy::SimEvents::GUIOutputMessage::__createDelegateD()
01544 {
01545 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::SimEvents::GUIOutputMessage);
01546 }
01547
01548 ::IceProxy::Ice::Object*
01549 IceProxy::SimEvents::GUIOutputMessage::__newInstance() const
01550 {
01551 return new GUIOutputMessage;
01552 }
01553
01554 void
01555 IceDelegateM::SimEvents::Events::evolve(const ::SimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __context)
01556 {
01557 ::IceInternal::Outgoing __og(__handler.get(), __SimEvents__Events__evolve_name, ::Ice::Normal, __context);
01558 try
01559 {
01560 ::IceInternal::BasicStream* __os = __og.os();
01561 __os->write(::Ice::ObjectPtr(::IceInternal::upCast(eMsg.get())));
01562 __os->writePendingObjects();
01563 }
01564 catch(const ::Ice::LocalException& __ex)
01565 {
01566 __og.abort(__ex);
01567 }
01568 bool __ok = __og.invoke();
01569 if(!__og.is()->b.empty())
01570 {
01571 try
01572 {
01573 if(!__ok)
01574 {
01575 try
01576 {
01577 __og.throwUserException();
01578 }
01579 catch(const ::Ice::UserException& __ex)
01580 {
01581 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
01582 throw __uue;
01583 }
01584 }
01585 __og.is()->skipEmptyEncaps();
01586 }
01587 catch(const ::Ice::LocalException& __ex)
01588 {
01589 throw ::IceInternal::LocalExceptionWrapper(__ex, false);
01590 }
01591 }
01592 }
01593
01594 void
01595 IceDelegateD::SimEvents::Events::evolve(const ::SimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __context)
01596 {
01597 class _DirectI : public ::IceInternal::Direct
01598 {
01599 public:
01600
01601 _DirectI(const ::SimEvents::EventMessagePtr& eMsg, const ::Ice::Current& __current) :
01602 ::IceInternal::Direct(__current),
01603 _m_eMsg(eMsg)
01604 {
01605 }
01606
01607 virtual ::Ice::DispatchStatus
01608 run(::Ice::Object* object)
01609 {
01610 ::SimEvents::Events* servant = dynamic_cast< ::SimEvents::Events*>(object);
01611 if(!servant)
01612 {
01613 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation);
01614 }
01615 servant->evolve(_m_eMsg, _current);
01616 return ::Ice::DispatchOK;
01617 }
01618
01619 private:
01620
01621 const ::SimEvents::EventMessagePtr& _m_eMsg;
01622 };
01623
01624 ::Ice::Current __current;
01625 __initCurrent(__current, __SimEvents__Events__evolve_name, ::Ice::Normal, __context);
01626 try
01627 {
01628 _DirectI __direct(eMsg, __current);
01629 try
01630 {
01631 __direct.servant()->__collocDispatch(__direct);
01632 }
01633 catch(...)
01634 {
01635 __direct.destroy();
01636 throw;
01637 }
01638 __direct.destroy();
01639 }
01640 catch(const ::Ice::SystemException&)
01641 {
01642 throw;
01643 }
01644 catch(const ::IceInternal::LocalExceptionWrapper&)
01645 {
01646 throw;
01647 }
01648 catch(const ::std::exception& __ex)
01649 {
01650 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex);
01651 }
01652 catch(...)
01653 {
01654 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false);
01655 }
01656 }
01657
01658 ::Ice::ObjectPtr
01659 SimEvents::EventMessage::ice_clone() const
01660 {
01661 ::SimEvents::EventMessagePtr __p = new ::SimEvents::EventMessage(*this);
01662 return __p;
01663 }
01664
01665 static const ::std::string __SimEvents__EventMessage_ids[2] =
01666 {
01667 "::Ice::Object",
01668 "::SimEvents::EventMessage"
01669 };
01670
01671 bool
01672 SimEvents::EventMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01673 {
01674 return ::std::binary_search(__SimEvents__EventMessage_ids, __SimEvents__EventMessage_ids + 2, _s);
01675 }
01676
01677 ::std::vector< ::std::string>
01678 SimEvents::EventMessage::ice_ids(const ::Ice::Current&) const
01679 {
01680 return ::std::vector< ::std::string>(&__SimEvents__EventMessage_ids[0], &__SimEvents__EventMessage_ids[2]);
01681 }
01682
01683 const ::std::string&
01684 SimEvents::EventMessage::ice_id(const ::Ice::Current&) const
01685 {
01686 return __SimEvents__EventMessage_ids[1];
01687 }
01688
01689 const ::std::string&
01690 SimEvents::EventMessage::ice_staticId()
01691 {
01692 return __SimEvents__EventMessage_ids[1];
01693 }
01694
01695 void
01696 SimEvents::EventMessage::__write(::IceInternal::BasicStream* __os) const
01697 {
01698 __os->writeTypeId(ice_staticId());
01699 __os->startWriteSlice();
01700 __os->endWriteSlice();
01701 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01702 Object::__write(__os);
01703 #else
01704 ::Ice::Object::__write(__os);
01705 #endif
01706 }
01707
01708 void
01709 SimEvents::EventMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01710 {
01711 if(__rid)
01712 {
01713 ::std::string myId;
01714 __is->readTypeId(myId);
01715 }
01716 __is->startReadSlice();
01717 __is->endReadSlice();
01718 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01719 Object::__read(__is, true);
01720 #else
01721 ::Ice::Object::__read(__is, true);
01722 #endif
01723 }
01724
01725 void
01726 SimEvents::EventMessage::__write(const ::Ice::OutputStreamPtr&) const
01727 {
01728 Ice::MarshalException ex(__FILE__, __LINE__);
01729 ex.reason = "type SimEvents::EventMessage was not generated with stream support";
01730 throw ex;
01731 }
01732
01733 void
01734 SimEvents::EventMessage::__read(const ::Ice::InputStreamPtr&, bool)
01735 {
01736 Ice::MarshalException ex(__FILE__, __LINE__);
01737 ex.reason = "type SimEvents::EventMessage was not generated with stream support";
01738 throw ex;
01739 }
01740
01741 class __F__SimEvents__EventMessage : public ::Ice::ObjectFactory
01742 {
01743 public:
01744
01745 virtual ::Ice::ObjectPtr
01746 create(const ::std::string& type)
01747 {
01748 assert(type == ::SimEvents::EventMessage::ice_staticId());
01749 return new ::SimEvents::EventMessage;
01750 }
01751
01752 virtual void
01753 destroy()
01754 {
01755 }
01756 };
01757
01758 static ::Ice::ObjectFactoryPtr __F__SimEvents__EventMessage_Ptr = new __F__SimEvents__EventMessage;
01759
01760 const ::Ice::ObjectFactoryPtr&
01761 SimEvents::EventMessage::ice_factory()
01762 {
01763 return __F__SimEvents__EventMessage_Ptr;
01764 }
01765
01766 class __F__SimEvents__EventMessage__Init
01767 {
01768 public:
01769
01770 __F__SimEvents__EventMessage__Init()
01771 {
01772 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::EventMessage::ice_staticId(), ::SimEvents::EventMessage::ice_factory());
01773 }
01774
01775 ~__F__SimEvents__EventMessage__Init()
01776 {
01777 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::EventMessage::ice_staticId());
01778 }
01779 };
01780
01781 static __F__SimEvents__EventMessage__Init __F__SimEvents__EventMessage__i;
01782
01783 #ifdef __APPLE__
01784 extern "C" { void __F__SimEvents__EventMessage__initializer() {} }
01785 #endif
01786
01787 void
01788 SimEvents::__patch__EventMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01789 {
01790 ::SimEvents::EventMessagePtr* p = static_cast< ::SimEvents::EventMessagePtr*>(__addr);
01791 assert(p);
01792 *p = ::SimEvents::EventMessagePtr::dynamicCast(v);
01793 if(v && !*p)
01794 {
01795 IceInternal::Ex::throwUOE(::SimEvents::EventMessage::ice_staticId(), v->ice_id());
01796 }
01797 }
01798
01799 bool
01800 SimEvents::operator==(const ::SimEvents::EventMessage& l, const ::SimEvents::EventMessage& r)
01801 {
01802 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01803 }
01804
01805 bool
01806 SimEvents::operator<(const ::SimEvents::EventMessage& l, const ::SimEvents::EventMessage& r)
01807 {
01808 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01809 }
01810
01811 ::Ice::ObjectPtr
01812 SimEvents::Events::ice_clone() const
01813 {
01814 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__);
01815 return 0;
01816 }
01817
01818 static const ::std::string __SimEvents__Events_ids[2] =
01819 {
01820 "::Ice::Object",
01821 "::SimEvents::Events"
01822 };
01823
01824 bool
01825 SimEvents::Events::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01826 {
01827 return ::std::binary_search(__SimEvents__Events_ids, __SimEvents__Events_ids + 2, _s);
01828 }
01829
01830 ::std::vector< ::std::string>
01831 SimEvents::Events::ice_ids(const ::Ice::Current&) const
01832 {
01833 return ::std::vector< ::std::string>(&__SimEvents__Events_ids[0], &__SimEvents__Events_ids[2]);
01834 }
01835
01836 const ::std::string&
01837 SimEvents::Events::ice_id(const ::Ice::Current&) const
01838 {
01839 return __SimEvents__Events_ids[1];
01840 }
01841
01842 const ::std::string&
01843 SimEvents::Events::ice_staticId()
01844 {
01845 return __SimEvents__Events_ids[1];
01846 }
01847
01848 ::Ice::DispatchStatus
01849 SimEvents::Events::___evolve(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
01850 {
01851 __checkMode(::Ice::Normal, __current.mode);
01852 ::IceInternal::BasicStream* __is = __inS.is();
01853 __is->startReadEncaps();
01854 ::SimEvents::EventMessagePtr eMsg;
01855 __is->read(::SimEvents::__patch__EventMessagePtr, &eMsg);
01856 __is->readPendingObjects();
01857 __is->endReadEncaps();
01858 evolve(eMsg, __current);
01859 return ::Ice::DispatchOK;
01860 }
01861
01862 static ::std::string __SimEvents__Events_all[] =
01863 {
01864 "evolve",
01865 "ice_id",
01866 "ice_ids",
01867 "ice_isA",
01868 "ice_ping"
01869 };
01870
01871 ::Ice::DispatchStatus
01872 SimEvents::Events::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
01873 {
01874 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__SimEvents__Events_all, __SimEvents__Events_all + 5, current.operation);
01875 if(r.first == r.second)
01876 {
01877 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01878 }
01879
01880 switch(r.first - __SimEvents__Events_all)
01881 {
01882 case 0:
01883 {
01884 return ___evolve(in, current);
01885 }
01886 case 1:
01887 {
01888 return ___ice_id(in, current);
01889 }
01890 case 2:
01891 {
01892 return ___ice_ids(in, current);
01893 }
01894 case 3:
01895 {
01896 return ___ice_isA(in, current);
01897 }
01898 case 4:
01899 {
01900 return ___ice_ping(in, current);
01901 }
01902 }
01903
01904 assert(false);
01905 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
01906 }
01907
01908 void
01909 SimEvents::Events::__write(::IceInternal::BasicStream* __os) const
01910 {
01911 __os->writeTypeId(ice_staticId());
01912 __os->startWriteSlice();
01913 __os->endWriteSlice();
01914 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01915 Object::__write(__os);
01916 #else
01917 ::Ice::Object::__write(__os);
01918 #endif
01919 }
01920
01921 void
01922 SimEvents::Events::__read(::IceInternal::BasicStream* __is, bool __rid)
01923 {
01924 if(__rid)
01925 {
01926 ::std::string myId;
01927 __is->readTypeId(myId);
01928 }
01929 __is->startReadSlice();
01930 __is->endReadSlice();
01931 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01932 Object::__read(__is, true);
01933 #else
01934 ::Ice::Object::__read(__is, true);
01935 #endif
01936 }
01937
01938 void
01939 SimEvents::Events::__write(const ::Ice::OutputStreamPtr&) const
01940 {
01941 Ice::MarshalException ex(__FILE__, __LINE__);
01942 ex.reason = "type SimEvents::Events was not generated with stream support";
01943 throw ex;
01944 }
01945
01946 void
01947 SimEvents::Events::__read(const ::Ice::InputStreamPtr&, bool)
01948 {
01949 Ice::MarshalException ex(__FILE__, __LINE__);
01950 ex.reason = "type SimEvents::Events was not generated with stream support";
01951 throw ex;
01952 }
01953
01954 void
01955 SimEvents::__patch__EventsPtr(void* __addr, ::Ice::ObjectPtr& v)
01956 {
01957 ::SimEvents::EventsPtr* p = static_cast< ::SimEvents::EventsPtr*>(__addr);
01958 assert(p);
01959 *p = ::SimEvents::EventsPtr::dynamicCast(v);
01960 if(v && !*p)
01961 {
01962 IceInternal::Ex::throwUOE(::SimEvents::Events::ice_staticId(), v->ice_id());
01963 }
01964 }
01965
01966 bool
01967 SimEvents::operator==(const ::SimEvents::Events& l, const ::SimEvents::Events& r)
01968 {
01969 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01970 }
01971
01972 bool
01973 SimEvents::operator<(const ::SimEvents::Events& l, const ::SimEvents::Events& r)
01974 {
01975 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01976 }
01977
01978 SimEvents::RetinaMessage::RetinaMessage(const ::ImageIceMod::ImageIce& __ice_img) :
01979 img(__ice_img)
01980 {
01981 }
01982
01983 ::Ice::ObjectPtr
01984 SimEvents::RetinaMessage::ice_clone() const
01985 {
01986 ::SimEvents::RetinaMessagePtr __p = new ::SimEvents::RetinaMessage(*this);
01987 return __p;
01988 }
01989
01990 static const ::std::string __SimEvents__RetinaMessage_ids[3] =
01991 {
01992 "::Ice::Object",
01993 "::SimEvents::EventMessage",
01994 "::SimEvents::RetinaMessage"
01995 };
01996
01997 bool
01998 SimEvents::RetinaMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01999 {
02000 return ::std::binary_search(__SimEvents__RetinaMessage_ids, __SimEvents__RetinaMessage_ids + 3, _s);
02001 }
02002
02003 ::std::vector< ::std::string>
02004 SimEvents::RetinaMessage::ice_ids(const ::Ice::Current&) const
02005 {
02006 return ::std::vector< ::std::string>(&__SimEvents__RetinaMessage_ids[0], &__SimEvents__RetinaMessage_ids[3]);
02007 }
02008
02009 const ::std::string&
02010 SimEvents::RetinaMessage::ice_id(const ::Ice::Current&) const
02011 {
02012 return __SimEvents__RetinaMessage_ids[2];
02013 }
02014
02015 const ::std::string&
02016 SimEvents::RetinaMessage::ice_staticId()
02017 {
02018 return __SimEvents__RetinaMessage_ids[2];
02019 }
02020
02021 void
02022 SimEvents::RetinaMessage::__write(::IceInternal::BasicStream* __os) const
02023 {
02024 __os->writeTypeId(ice_staticId());
02025 __os->startWriteSlice();
02026 img.__write(__os);
02027 __os->endWriteSlice();
02028 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02029 EventMessage::__write(__os);
02030 #else
02031 ::SimEvents::EventMessage::__write(__os);
02032 #endif
02033 }
02034
02035 void
02036 SimEvents::RetinaMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02037 {
02038 if(__rid)
02039 {
02040 ::std::string myId;
02041 __is->readTypeId(myId);
02042 }
02043 __is->startReadSlice();
02044 img.__read(__is);
02045 __is->endReadSlice();
02046 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02047 EventMessage::__read(__is, true);
02048 #else
02049 ::SimEvents::EventMessage::__read(__is, true);
02050 #endif
02051 }
02052
02053 void
02054 SimEvents::RetinaMessage::__write(const ::Ice::OutputStreamPtr&) const
02055 {
02056 Ice::MarshalException ex(__FILE__, __LINE__);
02057 ex.reason = "type SimEvents::RetinaMessage was not generated with stream support";
02058 throw ex;
02059 }
02060
02061 void
02062 SimEvents::RetinaMessage::__read(const ::Ice::InputStreamPtr&, bool)
02063 {
02064 Ice::MarshalException ex(__FILE__, __LINE__);
02065 ex.reason = "type SimEvents::RetinaMessage was not generated with stream support";
02066 throw ex;
02067 }
02068
02069 class __F__SimEvents__RetinaMessage : public ::Ice::ObjectFactory
02070 {
02071 public:
02072
02073 virtual ::Ice::ObjectPtr
02074 create(const ::std::string& type)
02075 {
02076 assert(type == ::SimEvents::RetinaMessage::ice_staticId());
02077 return new ::SimEvents::RetinaMessage;
02078 }
02079
02080 virtual void
02081 destroy()
02082 {
02083 }
02084 };
02085
02086 static ::Ice::ObjectFactoryPtr __F__SimEvents__RetinaMessage_Ptr = new __F__SimEvents__RetinaMessage;
02087
02088 const ::Ice::ObjectFactoryPtr&
02089 SimEvents::RetinaMessage::ice_factory()
02090 {
02091 return __F__SimEvents__RetinaMessage_Ptr;
02092 }
02093
02094 class __F__SimEvents__RetinaMessage__Init
02095 {
02096 public:
02097
02098 __F__SimEvents__RetinaMessage__Init()
02099 {
02100 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::RetinaMessage::ice_staticId(), ::SimEvents::RetinaMessage::ice_factory());
02101 }
02102
02103 ~__F__SimEvents__RetinaMessage__Init()
02104 {
02105 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::RetinaMessage::ice_staticId());
02106 }
02107 };
02108
02109 static __F__SimEvents__RetinaMessage__Init __F__SimEvents__RetinaMessage__i;
02110
02111 #ifdef __APPLE__
02112 extern "C" { void __F__SimEvents__RetinaMessage__initializer() {} }
02113 #endif
02114
02115 void
02116 SimEvents::__patch__RetinaMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02117 {
02118 ::SimEvents::RetinaMessagePtr* p = static_cast< ::SimEvents::RetinaMessagePtr*>(__addr);
02119 assert(p);
02120 *p = ::SimEvents::RetinaMessagePtr::dynamicCast(v);
02121 if(v && !*p)
02122 {
02123 IceInternal::Ex::throwUOE(::SimEvents::RetinaMessage::ice_staticId(), v->ice_id());
02124 }
02125 }
02126
02127 bool
02128 SimEvents::operator==(const ::SimEvents::RetinaMessage& l, const ::SimEvents::RetinaMessage& r)
02129 {
02130 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02131 }
02132
02133 bool
02134 SimEvents::operator<(const ::SimEvents::RetinaMessage& l, const ::SimEvents::RetinaMessage& r)
02135 {
02136 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02137 }
02138
02139 SimEvents::VisualCortexMessage::VisualCortexMessage(const ::ImageIceMod::ImageIce& __ice_vco) :
02140 vco(__ice_vco)
02141 {
02142 }
02143
02144 ::Ice::ObjectPtr
02145 SimEvents::VisualCortexMessage::ice_clone() const
02146 {
02147 ::SimEvents::VisualCortexMessagePtr __p = new ::SimEvents::VisualCortexMessage(*this);
02148 return __p;
02149 }
02150
02151 static const ::std::string __SimEvents__VisualCortexMessage_ids[3] =
02152 {
02153 "::Ice::Object",
02154 "::SimEvents::EventMessage",
02155 "::SimEvents::VisualCortexMessage"
02156 };
02157
02158 bool
02159 SimEvents::VisualCortexMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02160 {
02161 return ::std::binary_search(__SimEvents__VisualCortexMessage_ids, __SimEvents__VisualCortexMessage_ids + 3, _s);
02162 }
02163
02164 ::std::vector< ::std::string>
02165 SimEvents::VisualCortexMessage::ice_ids(const ::Ice::Current&) const
02166 {
02167 return ::std::vector< ::std::string>(&__SimEvents__VisualCortexMessage_ids[0], &__SimEvents__VisualCortexMessage_ids[3]);
02168 }
02169
02170 const ::std::string&
02171 SimEvents::VisualCortexMessage::ice_id(const ::Ice::Current&) const
02172 {
02173 return __SimEvents__VisualCortexMessage_ids[2];
02174 }
02175
02176 const ::std::string&
02177 SimEvents::VisualCortexMessage::ice_staticId()
02178 {
02179 return __SimEvents__VisualCortexMessage_ids[2];
02180 }
02181
02182 void
02183 SimEvents::VisualCortexMessage::__write(::IceInternal::BasicStream* __os) const
02184 {
02185 __os->writeTypeId(ice_staticId());
02186 __os->startWriteSlice();
02187 vco.__write(__os);
02188 __os->endWriteSlice();
02189 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02190 EventMessage::__write(__os);
02191 #else
02192 ::SimEvents::EventMessage::__write(__os);
02193 #endif
02194 }
02195
02196 void
02197 SimEvents::VisualCortexMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02198 {
02199 if(__rid)
02200 {
02201 ::std::string myId;
02202 __is->readTypeId(myId);
02203 }
02204 __is->startReadSlice();
02205 vco.__read(__is);
02206 __is->endReadSlice();
02207 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02208 EventMessage::__read(__is, true);
02209 #else
02210 ::SimEvents::EventMessage::__read(__is, true);
02211 #endif
02212 }
02213
02214 void
02215 SimEvents::VisualCortexMessage::__write(const ::Ice::OutputStreamPtr&) const
02216 {
02217 Ice::MarshalException ex(__FILE__, __LINE__);
02218 ex.reason = "type SimEvents::VisualCortexMessage was not generated with stream support";
02219 throw ex;
02220 }
02221
02222 void
02223 SimEvents::VisualCortexMessage::__read(const ::Ice::InputStreamPtr&, bool)
02224 {
02225 Ice::MarshalException ex(__FILE__, __LINE__);
02226 ex.reason = "type SimEvents::VisualCortexMessage was not generated with stream support";
02227 throw ex;
02228 }
02229
02230 class __F__SimEvents__VisualCortexMessage : public ::Ice::ObjectFactory
02231 {
02232 public:
02233
02234 virtual ::Ice::ObjectPtr
02235 create(const ::std::string& type)
02236 {
02237 assert(type == ::SimEvents::VisualCortexMessage::ice_staticId());
02238 return new ::SimEvents::VisualCortexMessage;
02239 }
02240
02241 virtual void
02242 destroy()
02243 {
02244 }
02245 };
02246
02247 static ::Ice::ObjectFactoryPtr __F__SimEvents__VisualCortexMessage_Ptr = new __F__SimEvents__VisualCortexMessage;
02248
02249 const ::Ice::ObjectFactoryPtr&
02250 SimEvents::VisualCortexMessage::ice_factory()
02251 {
02252 return __F__SimEvents__VisualCortexMessage_Ptr;
02253 }
02254
02255 class __F__SimEvents__VisualCortexMessage__Init
02256 {
02257 public:
02258
02259 __F__SimEvents__VisualCortexMessage__Init()
02260 {
02261 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::VisualCortexMessage::ice_staticId(), ::SimEvents::VisualCortexMessage::ice_factory());
02262 }
02263
02264 ~__F__SimEvents__VisualCortexMessage__Init()
02265 {
02266 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::VisualCortexMessage::ice_staticId());
02267 }
02268 };
02269
02270 static __F__SimEvents__VisualCortexMessage__Init __F__SimEvents__VisualCortexMessage__i;
02271
02272 #ifdef __APPLE__
02273 extern "C" { void __F__SimEvents__VisualCortexMessage__initializer() {} }
02274 #endif
02275
02276 void
02277 SimEvents::__patch__VisualCortexMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02278 {
02279 ::SimEvents::VisualCortexMessagePtr* p = static_cast< ::SimEvents::VisualCortexMessagePtr*>(__addr);
02280 assert(p);
02281 *p = ::SimEvents::VisualCortexMessagePtr::dynamicCast(v);
02282 if(v && !*p)
02283 {
02284 IceInternal::Ex::throwUOE(::SimEvents::VisualCortexMessage::ice_staticId(), v->ice_id());
02285 }
02286 }
02287
02288 bool
02289 SimEvents::operator==(const ::SimEvents::VisualCortexMessage& l, const ::SimEvents::VisualCortexMessage& r)
02290 {
02291 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02292 }
02293
02294 bool
02295 SimEvents::operator<(const ::SimEvents::VisualCortexMessage& l, const ::SimEvents::VisualCortexMessage& r)
02296 {
02297 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02298 }
02299
02300 SimEvents::SaliencyMapMessage::SaliencyMapMessage(const ::ImageIceMod::ImageIce& __ice_smap, const ::SimEvents::LocInfoSeq& __ice_nMostSalientLoc) :
02301 smap(__ice_smap),
02302 nMostSalientLoc(__ice_nMostSalientLoc)
02303 {
02304 }
02305
02306 ::Ice::ObjectPtr
02307 SimEvents::SaliencyMapMessage::ice_clone() const
02308 {
02309 ::SimEvents::SaliencyMapMessagePtr __p = new ::SimEvents::SaliencyMapMessage(*this);
02310 return __p;
02311 }
02312
02313 static const ::std::string __SimEvents__SaliencyMapMessage_ids[3] =
02314 {
02315 "::Ice::Object",
02316 "::SimEvents::EventMessage",
02317 "::SimEvents::SaliencyMapMessage"
02318 };
02319
02320 bool
02321 SimEvents::SaliencyMapMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02322 {
02323 return ::std::binary_search(__SimEvents__SaliencyMapMessage_ids, __SimEvents__SaliencyMapMessage_ids + 3, _s);
02324 }
02325
02326 ::std::vector< ::std::string>
02327 SimEvents::SaliencyMapMessage::ice_ids(const ::Ice::Current&) const
02328 {
02329 return ::std::vector< ::std::string>(&__SimEvents__SaliencyMapMessage_ids[0], &__SimEvents__SaliencyMapMessage_ids[3]);
02330 }
02331
02332 const ::std::string&
02333 SimEvents::SaliencyMapMessage::ice_id(const ::Ice::Current&) const
02334 {
02335 return __SimEvents__SaliencyMapMessage_ids[2];
02336 }
02337
02338 const ::std::string&
02339 SimEvents::SaliencyMapMessage::ice_staticId()
02340 {
02341 return __SimEvents__SaliencyMapMessage_ids[2];
02342 }
02343
02344 void
02345 SimEvents::SaliencyMapMessage::__write(::IceInternal::BasicStream* __os) const
02346 {
02347 __os->writeTypeId(ice_staticId());
02348 __os->startWriteSlice();
02349 smap.__write(__os);
02350 if(nMostSalientLoc.size() == 0)
02351 {
02352 __os->writeSize(0);
02353 }
02354 else
02355 {
02356 ::SimEvents::__writeLocInfoSeq(__os, &nMostSalientLoc[0], &nMostSalientLoc[0] + nMostSalientLoc.size());
02357 }
02358 __os->endWriteSlice();
02359 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02360 EventMessage::__write(__os);
02361 #else
02362 ::SimEvents::EventMessage::__write(__os);
02363 #endif
02364 }
02365
02366 void
02367 SimEvents::SaliencyMapMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02368 {
02369 if(__rid)
02370 {
02371 ::std::string myId;
02372 __is->readTypeId(myId);
02373 }
02374 __is->startReadSlice();
02375 smap.__read(__is);
02376 ::SimEvents::__readLocInfoSeq(__is, nMostSalientLoc);
02377 __is->endReadSlice();
02378 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02379 EventMessage::__read(__is, true);
02380 #else
02381 ::SimEvents::EventMessage::__read(__is, true);
02382 #endif
02383 }
02384
02385 void
02386 SimEvents::SaliencyMapMessage::__write(const ::Ice::OutputStreamPtr&) const
02387 {
02388 Ice::MarshalException ex(__FILE__, __LINE__);
02389 ex.reason = "type SimEvents::SaliencyMapMessage was not generated with stream support";
02390 throw ex;
02391 }
02392
02393 void
02394 SimEvents::SaliencyMapMessage::__read(const ::Ice::InputStreamPtr&, bool)
02395 {
02396 Ice::MarshalException ex(__FILE__, __LINE__);
02397 ex.reason = "type SimEvents::SaliencyMapMessage was not generated with stream support";
02398 throw ex;
02399 }
02400
02401 class __F__SimEvents__SaliencyMapMessage : public ::Ice::ObjectFactory
02402 {
02403 public:
02404
02405 virtual ::Ice::ObjectPtr
02406 create(const ::std::string& type)
02407 {
02408 assert(type == ::SimEvents::SaliencyMapMessage::ice_staticId());
02409 return new ::SimEvents::SaliencyMapMessage;
02410 }
02411
02412 virtual void
02413 destroy()
02414 {
02415 }
02416 };
02417
02418 static ::Ice::ObjectFactoryPtr __F__SimEvents__SaliencyMapMessage_Ptr = new __F__SimEvents__SaliencyMapMessage;
02419
02420 const ::Ice::ObjectFactoryPtr&
02421 SimEvents::SaliencyMapMessage::ice_factory()
02422 {
02423 return __F__SimEvents__SaliencyMapMessage_Ptr;
02424 }
02425
02426 class __F__SimEvents__SaliencyMapMessage__Init
02427 {
02428 public:
02429
02430 __F__SimEvents__SaliencyMapMessage__Init()
02431 {
02432 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::SaliencyMapMessage::ice_staticId(), ::SimEvents::SaliencyMapMessage::ice_factory());
02433 }
02434
02435 ~__F__SimEvents__SaliencyMapMessage__Init()
02436 {
02437 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::SaliencyMapMessage::ice_staticId());
02438 }
02439 };
02440
02441 static __F__SimEvents__SaliencyMapMessage__Init __F__SimEvents__SaliencyMapMessage__i;
02442
02443 #ifdef __APPLE__
02444 extern "C" { void __F__SimEvents__SaliencyMapMessage__initializer() {} }
02445 #endif
02446
02447 void
02448 SimEvents::__patch__SaliencyMapMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02449 {
02450 ::SimEvents::SaliencyMapMessagePtr* p = static_cast< ::SimEvents::SaliencyMapMessagePtr*>(__addr);
02451 assert(p);
02452 *p = ::SimEvents::SaliencyMapMessagePtr::dynamicCast(v);
02453 if(v && !*p)
02454 {
02455 IceInternal::Ex::throwUOE(::SimEvents::SaliencyMapMessage::ice_staticId(), v->ice_id());
02456 }
02457 }
02458
02459 bool
02460 SimEvents::operator==(const ::SimEvents::SaliencyMapMessage& l, const ::SimEvents::SaliencyMapMessage& r)
02461 {
02462 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02463 }
02464
02465 bool
02466 SimEvents::operator<(const ::SimEvents::SaliencyMapMessage& l, const ::SimEvents::SaliencyMapMessage& r)
02467 {
02468 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02469 }
02470
02471 SimEvents::SaliencyMapBiasMessage::SaliencyMapBiasMessage(const ::ImageIceMod::ImageIce& __ice_biasImg) :
02472 biasImg(__ice_biasImg)
02473 {
02474 }
02475
02476 ::Ice::ObjectPtr
02477 SimEvents::SaliencyMapBiasMessage::ice_clone() const
02478 {
02479 ::SimEvents::SaliencyMapBiasMessagePtr __p = new ::SimEvents::SaliencyMapBiasMessage(*this);
02480 return __p;
02481 }
02482
02483 static const ::std::string __SimEvents__SaliencyMapBiasMessage_ids[3] =
02484 {
02485 "::Ice::Object",
02486 "::SimEvents::EventMessage",
02487 "::SimEvents::SaliencyMapBiasMessage"
02488 };
02489
02490 bool
02491 SimEvents::SaliencyMapBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02492 {
02493 return ::std::binary_search(__SimEvents__SaliencyMapBiasMessage_ids, __SimEvents__SaliencyMapBiasMessage_ids + 3, _s);
02494 }
02495
02496 ::std::vector< ::std::string>
02497 SimEvents::SaliencyMapBiasMessage::ice_ids(const ::Ice::Current&) const
02498 {
02499 return ::std::vector< ::std::string>(&__SimEvents__SaliencyMapBiasMessage_ids[0], &__SimEvents__SaliencyMapBiasMessage_ids[3]);
02500 }
02501
02502 const ::std::string&
02503 SimEvents::SaliencyMapBiasMessage::ice_id(const ::Ice::Current&) const
02504 {
02505 return __SimEvents__SaliencyMapBiasMessage_ids[2];
02506 }
02507
02508 const ::std::string&
02509 SimEvents::SaliencyMapBiasMessage::ice_staticId()
02510 {
02511 return __SimEvents__SaliencyMapBiasMessage_ids[2];
02512 }
02513
02514 void
02515 SimEvents::SaliencyMapBiasMessage::__write(::IceInternal::BasicStream* __os) const
02516 {
02517 __os->writeTypeId(ice_staticId());
02518 __os->startWriteSlice();
02519 biasImg.__write(__os);
02520 __os->endWriteSlice();
02521 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02522 EventMessage::__write(__os);
02523 #else
02524 ::SimEvents::EventMessage::__write(__os);
02525 #endif
02526 }
02527
02528 void
02529 SimEvents::SaliencyMapBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02530 {
02531 if(__rid)
02532 {
02533 ::std::string myId;
02534 __is->readTypeId(myId);
02535 }
02536 __is->startReadSlice();
02537 biasImg.__read(__is);
02538 __is->endReadSlice();
02539 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02540 EventMessage::__read(__is, true);
02541 #else
02542 ::SimEvents::EventMessage::__read(__is, true);
02543 #endif
02544 }
02545
02546 void
02547 SimEvents::SaliencyMapBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
02548 {
02549 Ice::MarshalException ex(__FILE__, __LINE__);
02550 ex.reason = "type SimEvents::SaliencyMapBiasMessage was not generated with stream support";
02551 throw ex;
02552 }
02553
02554 void
02555 SimEvents::SaliencyMapBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
02556 {
02557 Ice::MarshalException ex(__FILE__, __LINE__);
02558 ex.reason = "type SimEvents::SaliencyMapBiasMessage was not generated with stream support";
02559 throw ex;
02560 }
02561
02562 class __F__SimEvents__SaliencyMapBiasMessage : public ::Ice::ObjectFactory
02563 {
02564 public:
02565
02566 virtual ::Ice::ObjectPtr
02567 create(const ::std::string& type)
02568 {
02569 assert(type == ::SimEvents::SaliencyMapBiasMessage::ice_staticId());
02570 return new ::SimEvents::SaliencyMapBiasMessage;
02571 }
02572
02573 virtual void
02574 destroy()
02575 {
02576 }
02577 };
02578
02579 static ::Ice::ObjectFactoryPtr __F__SimEvents__SaliencyMapBiasMessage_Ptr = new __F__SimEvents__SaliencyMapBiasMessage;
02580
02581 const ::Ice::ObjectFactoryPtr&
02582 SimEvents::SaliencyMapBiasMessage::ice_factory()
02583 {
02584 return __F__SimEvents__SaliencyMapBiasMessage_Ptr;
02585 }
02586
02587 class __F__SimEvents__SaliencyMapBiasMessage__Init
02588 {
02589 public:
02590
02591 __F__SimEvents__SaliencyMapBiasMessage__Init()
02592 {
02593 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::SaliencyMapBiasMessage::ice_staticId(), ::SimEvents::SaliencyMapBiasMessage::ice_factory());
02594 }
02595
02596 ~__F__SimEvents__SaliencyMapBiasMessage__Init()
02597 {
02598 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::SaliencyMapBiasMessage::ice_staticId());
02599 }
02600 };
02601
02602 static __F__SimEvents__SaliencyMapBiasMessage__Init __F__SimEvents__SaliencyMapBiasMessage__i;
02603
02604 #ifdef __APPLE__
02605 extern "C" { void __F__SimEvents__SaliencyMapBiasMessage__initializer() {} }
02606 #endif
02607
02608 void
02609 SimEvents::__patch__SaliencyMapBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02610 {
02611 ::SimEvents::SaliencyMapBiasMessagePtr* p = static_cast< ::SimEvents::SaliencyMapBiasMessagePtr*>(__addr);
02612 assert(p);
02613 *p = ::SimEvents::SaliencyMapBiasMessagePtr::dynamicCast(v);
02614 if(v && !*p)
02615 {
02616 IceInternal::Ex::throwUOE(::SimEvents::SaliencyMapBiasMessage::ice_staticId(), v->ice_id());
02617 }
02618 }
02619
02620 bool
02621 SimEvents::operator==(const ::SimEvents::SaliencyMapBiasMessage& l, const ::SimEvents::SaliencyMapBiasMessage& r)
02622 {
02623 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02624 }
02625
02626 bool
02627 SimEvents::operator<(const ::SimEvents::SaliencyMapBiasMessage& l, const ::SimEvents::SaliencyMapBiasMessage& r)
02628 {
02629 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02630 }
02631
02632 SimEvents::VisualTrackerMessage::VisualTrackerMessage(const ::SimEvents::TrackInfoSeq& __ice_trackLocs) :
02633 trackLocs(__ice_trackLocs)
02634 {
02635 }
02636
02637 ::Ice::ObjectPtr
02638 SimEvents::VisualTrackerMessage::ice_clone() const
02639 {
02640 ::SimEvents::VisualTrackerMessagePtr __p = new ::SimEvents::VisualTrackerMessage(*this);
02641 return __p;
02642 }
02643
02644 static const ::std::string __SimEvents__VisualTrackerMessage_ids[3] =
02645 {
02646 "::Ice::Object",
02647 "::SimEvents::EventMessage",
02648 "::SimEvents::VisualTrackerMessage"
02649 };
02650
02651 bool
02652 SimEvents::VisualTrackerMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02653 {
02654 return ::std::binary_search(__SimEvents__VisualTrackerMessage_ids, __SimEvents__VisualTrackerMessage_ids + 3, _s);
02655 }
02656
02657 ::std::vector< ::std::string>
02658 SimEvents::VisualTrackerMessage::ice_ids(const ::Ice::Current&) const
02659 {
02660 return ::std::vector< ::std::string>(&__SimEvents__VisualTrackerMessage_ids[0], &__SimEvents__VisualTrackerMessage_ids[3]);
02661 }
02662
02663 const ::std::string&
02664 SimEvents::VisualTrackerMessage::ice_id(const ::Ice::Current&) const
02665 {
02666 return __SimEvents__VisualTrackerMessage_ids[2];
02667 }
02668
02669 const ::std::string&
02670 SimEvents::VisualTrackerMessage::ice_staticId()
02671 {
02672 return __SimEvents__VisualTrackerMessage_ids[2];
02673 }
02674
02675 void
02676 SimEvents::VisualTrackerMessage::__write(::IceInternal::BasicStream* __os) const
02677 {
02678 __os->writeTypeId(ice_staticId());
02679 __os->startWriteSlice();
02680 if(trackLocs.size() == 0)
02681 {
02682 __os->writeSize(0);
02683 }
02684 else
02685 {
02686 ::SimEvents::__writeTrackInfoSeq(__os, &trackLocs[0], &trackLocs[0] + trackLocs.size());
02687 }
02688 __os->endWriteSlice();
02689 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02690 EventMessage::__write(__os);
02691 #else
02692 ::SimEvents::EventMessage::__write(__os);
02693 #endif
02694 }
02695
02696 void
02697 SimEvents::VisualTrackerMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02698 {
02699 if(__rid)
02700 {
02701 ::std::string myId;
02702 __is->readTypeId(myId);
02703 }
02704 __is->startReadSlice();
02705 ::SimEvents::__readTrackInfoSeq(__is, trackLocs);
02706 __is->endReadSlice();
02707 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02708 EventMessage::__read(__is, true);
02709 #else
02710 ::SimEvents::EventMessage::__read(__is, true);
02711 #endif
02712 }
02713
02714 void
02715 SimEvents::VisualTrackerMessage::__write(const ::Ice::OutputStreamPtr&) const
02716 {
02717 Ice::MarshalException ex(__FILE__, __LINE__);
02718 ex.reason = "type SimEvents::VisualTrackerMessage was not generated with stream support";
02719 throw ex;
02720 }
02721
02722 void
02723 SimEvents::VisualTrackerMessage::__read(const ::Ice::InputStreamPtr&, bool)
02724 {
02725 Ice::MarshalException ex(__FILE__, __LINE__);
02726 ex.reason = "type SimEvents::VisualTrackerMessage was not generated with stream support";
02727 throw ex;
02728 }
02729
02730 class __F__SimEvents__VisualTrackerMessage : public ::Ice::ObjectFactory
02731 {
02732 public:
02733
02734 virtual ::Ice::ObjectPtr
02735 create(const ::std::string& type)
02736 {
02737 assert(type == ::SimEvents::VisualTrackerMessage::ice_staticId());
02738 return new ::SimEvents::VisualTrackerMessage;
02739 }
02740
02741 virtual void
02742 destroy()
02743 {
02744 }
02745 };
02746
02747 static ::Ice::ObjectFactoryPtr __F__SimEvents__VisualTrackerMessage_Ptr = new __F__SimEvents__VisualTrackerMessage;
02748
02749 const ::Ice::ObjectFactoryPtr&
02750 SimEvents::VisualTrackerMessage::ice_factory()
02751 {
02752 return __F__SimEvents__VisualTrackerMessage_Ptr;
02753 }
02754
02755 class __F__SimEvents__VisualTrackerMessage__Init
02756 {
02757 public:
02758
02759 __F__SimEvents__VisualTrackerMessage__Init()
02760 {
02761 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::VisualTrackerMessage::ice_staticId(), ::SimEvents::VisualTrackerMessage::ice_factory());
02762 }
02763
02764 ~__F__SimEvents__VisualTrackerMessage__Init()
02765 {
02766 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::VisualTrackerMessage::ice_staticId());
02767 }
02768 };
02769
02770 static __F__SimEvents__VisualTrackerMessage__Init __F__SimEvents__VisualTrackerMessage__i;
02771
02772 #ifdef __APPLE__
02773 extern "C" { void __F__SimEvents__VisualTrackerMessage__initializer() {} }
02774 #endif
02775
02776 void
02777 SimEvents::__patch__VisualTrackerMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02778 {
02779 ::SimEvents::VisualTrackerMessagePtr* p = static_cast< ::SimEvents::VisualTrackerMessagePtr*>(__addr);
02780 assert(p);
02781 *p = ::SimEvents::VisualTrackerMessagePtr::dynamicCast(v);
02782 if(v && !*p)
02783 {
02784 IceInternal::Ex::throwUOE(::SimEvents::VisualTrackerMessage::ice_staticId(), v->ice_id());
02785 }
02786 }
02787
02788 bool
02789 SimEvents::operator==(const ::SimEvents::VisualTrackerMessage& l, const ::SimEvents::VisualTrackerMessage& r)
02790 {
02791 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02792 }
02793
02794 bool
02795 SimEvents::operator<(const ::SimEvents::VisualTrackerMessage& l, const ::SimEvents::VisualTrackerMessage& r)
02796 {
02797 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02798 }
02799
02800 SimEvents::VisualTrackerBiasMessage::VisualTrackerBiasMessage(const ::SimEvents::TrackInfoSeq& __ice_locToTrack) :
02801 locToTrack(__ice_locToTrack)
02802 {
02803 }
02804
02805 ::Ice::ObjectPtr
02806 SimEvents::VisualTrackerBiasMessage::ice_clone() const
02807 {
02808 ::SimEvents::VisualTrackerBiasMessagePtr __p = new ::SimEvents::VisualTrackerBiasMessage(*this);
02809 return __p;
02810 }
02811
02812 static const ::std::string __SimEvents__VisualTrackerBiasMessage_ids[3] =
02813 {
02814 "::Ice::Object",
02815 "::SimEvents::EventMessage",
02816 "::SimEvents::VisualTrackerBiasMessage"
02817 };
02818
02819 bool
02820 SimEvents::VisualTrackerBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02821 {
02822 return ::std::binary_search(__SimEvents__VisualTrackerBiasMessage_ids, __SimEvents__VisualTrackerBiasMessage_ids + 3, _s);
02823 }
02824
02825 ::std::vector< ::std::string>
02826 SimEvents::VisualTrackerBiasMessage::ice_ids(const ::Ice::Current&) const
02827 {
02828 return ::std::vector< ::std::string>(&__SimEvents__VisualTrackerBiasMessage_ids[0], &__SimEvents__VisualTrackerBiasMessage_ids[3]);
02829 }
02830
02831 const ::std::string&
02832 SimEvents::VisualTrackerBiasMessage::ice_id(const ::Ice::Current&) const
02833 {
02834 return __SimEvents__VisualTrackerBiasMessage_ids[2];
02835 }
02836
02837 const ::std::string&
02838 SimEvents::VisualTrackerBiasMessage::ice_staticId()
02839 {
02840 return __SimEvents__VisualTrackerBiasMessage_ids[2];
02841 }
02842
02843 void
02844 SimEvents::VisualTrackerBiasMessage::__write(::IceInternal::BasicStream* __os) const
02845 {
02846 __os->writeTypeId(ice_staticId());
02847 __os->startWriteSlice();
02848 if(locToTrack.size() == 0)
02849 {
02850 __os->writeSize(0);
02851 }
02852 else
02853 {
02854 ::SimEvents::__writeTrackInfoSeq(__os, &locToTrack[0], &locToTrack[0] + locToTrack.size());
02855 }
02856 __os->endWriteSlice();
02857 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02858 EventMessage::__write(__os);
02859 #else
02860 ::SimEvents::EventMessage::__write(__os);
02861 #endif
02862 }
02863
02864 void
02865 SimEvents::VisualTrackerBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02866 {
02867 if(__rid)
02868 {
02869 ::std::string myId;
02870 __is->readTypeId(myId);
02871 }
02872 __is->startReadSlice();
02873 ::SimEvents::__readTrackInfoSeq(__is, locToTrack);
02874 __is->endReadSlice();
02875 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02876 EventMessage::__read(__is, true);
02877 #else
02878 ::SimEvents::EventMessage::__read(__is, true);
02879 #endif
02880 }
02881
02882 void
02883 SimEvents::VisualTrackerBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
02884 {
02885 Ice::MarshalException ex(__FILE__, __LINE__);
02886 ex.reason = "type SimEvents::VisualTrackerBiasMessage was not generated with stream support";
02887 throw ex;
02888 }
02889
02890 void
02891 SimEvents::VisualTrackerBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
02892 {
02893 Ice::MarshalException ex(__FILE__, __LINE__);
02894 ex.reason = "type SimEvents::VisualTrackerBiasMessage was not generated with stream support";
02895 throw ex;
02896 }
02897
02898 class __F__SimEvents__VisualTrackerBiasMessage : public ::Ice::ObjectFactory
02899 {
02900 public:
02901
02902 virtual ::Ice::ObjectPtr
02903 create(const ::std::string& type)
02904 {
02905 assert(type == ::SimEvents::VisualTrackerBiasMessage::ice_staticId());
02906 return new ::SimEvents::VisualTrackerBiasMessage;
02907 }
02908
02909 virtual void
02910 destroy()
02911 {
02912 }
02913 };
02914
02915 static ::Ice::ObjectFactoryPtr __F__SimEvents__VisualTrackerBiasMessage_Ptr = new __F__SimEvents__VisualTrackerBiasMessage;
02916
02917 const ::Ice::ObjectFactoryPtr&
02918 SimEvents::VisualTrackerBiasMessage::ice_factory()
02919 {
02920 return __F__SimEvents__VisualTrackerBiasMessage_Ptr;
02921 }
02922
02923 class __F__SimEvents__VisualTrackerBiasMessage__Init
02924 {
02925 public:
02926
02927 __F__SimEvents__VisualTrackerBiasMessage__Init()
02928 {
02929 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::VisualTrackerBiasMessage::ice_staticId(), ::SimEvents::VisualTrackerBiasMessage::ice_factory());
02930 }
02931
02932 ~__F__SimEvents__VisualTrackerBiasMessage__Init()
02933 {
02934 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::VisualTrackerBiasMessage::ice_staticId());
02935 }
02936 };
02937
02938 static __F__SimEvents__VisualTrackerBiasMessage__Init __F__SimEvents__VisualTrackerBiasMessage__i;
02939
02940 #ifdef __APPLE__
02941 extern "C" { void __F__SimEvents__VisualTrackerBiasMessage__initializer() {} }
02942 #endif
02943
02944 void
02945 SimEvents::__patch__VisualTrackerBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02946 {
02947 ::SimEvents::VisualTrackerBiasMessagePtr* p = static_cast< ::SimEvents::VisualTrackerBiasMessagePtr*>(__addr);
02948 assert(p);
02949 *p = ::SimEvents::VisualTrackerBiasMessagePtr::dynamicCast(v);
02950 if(v && !*p)
02951 {
02952 IceInternal::Ex::throwUOE(::SimEvents::VisualTrackerBiasMessage::ice_staticId(), v->ice_id());
02953 }
02954 }
02955
02956 bool
02957 SimEvents::operator==(const ::SimEvents::VisualTrackerBiasMessage& l, const ::SimEvents::VisualTrackerBiasMessage& r)
02958 {
02959 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02960 }
02961
02962 bool
02963 SimEvents::operator<(const ::SimEvents::VisualTrackerBiasMessage& l, const ::SimEvents::VisualTrackerBiasMessage& r)
02964 {
02965 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02966 }
02967
02968 SimEvents::CameraCtrlBiasMessage::CameraCtrlBiasMessage(bool __ice_zoomIn, bool __ice_zoomOut, bool __ice_initPtz) :
02969 zoomIn(__ice_zoomIn),
02970 zoomOut(__ice_zoomOut),
02971 initPtz(__ice_initPtz)
02972 {
02973 }
02974
02975 ::Ice::ObjectPtr
02976 SimEvents::CameraCtrlBiasMessage::ice_clone() const
02977 {
02978 ::SimEvents::CameraCtrlBiasMessagePtr __p = new ::SimEvents::CameraCtrlBiasMessage(*this);
02979 return __p;
02980 }
02981
02982 static const ::std::string __SimEvents__CameraCtrlBiasMessage_ids[3] =
02983 {
02984 "::Ice::Object",
02985 "::SimEvents::CameraCtrlBiasMessage",
02986 "::SimEvents::EventMessage"
02987 };
02988
02989 bool
02990 SimEvents::CameraCtrlBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02991 {
02992 return ::std::binary_search(__SimEvents__CameraCtrlBiasMessage_ids, __SimEvents__CameraCtrlBiasMessage_ids + 3, _s);
02993 }
02994
02995 ::std::vector< ::std::string>
02996 SimEvents::CameraCtrlBiasMessage::ice_ids(const ::Ice::Current&) const
02997 {
02998 return ::std::vector< ::std::string>(&__SimEvents__CameraCtrlBiasMessage_ids[0], &__SimEvents__CameraCtrlBiasMessage_ids[3]);
02999 }
03000
03001 const ::std::string&
03002 SimEvents::CameraCtrlBiasMessage::ice_id(const ::Ice::Current&) const
03003 {
03004 return __SimEvents__CameraCtrlBiasMessage_ids[1];
03005 }
03006
03007 const ::std::string&
03008 SimEvents::CameraCtrlBiasMessage::ice_staticId()
03009 {
03010 return __SimEvents__CameraCtrlBiasMessage_ids[1];
03011 }
03012
03013 void
03014 SimEvents::CameraCtrlBiasMessage::__write(::IceInternal::BasicStream* __os) const
03015 {
03016 __os->writeTypeId(ice_staticId());
03017 __os->startWriteSlice();
03018 __os->write(zoomIn);
03019 __os->write(zoomOut);
03020 __os->write(initPtz);
03021 __os->endWriteSlice();
03022 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03023 EventMessage::__write(__os);
03024 #else
03025 ::SimEvents::EventMessage::__write(__os);
03026 #endif
03027 }
03028
03029 void
03030 SimEvents::CameraCtrlBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03031 {
03032 if(__rid)
03033 {
03034 ::std::string myId;
03035 __is->readTypeId(myId);
03036 }
03037 __is->startReadSlice();
03038 __is->read(zoomIn);
03039 __is->read(zoomOut);
03040 __is->read(initPtz);
03041 __is->endReadSlice();
03042 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03043 EventMessage::__read(__is, true);
03044 #else
03045 ::SimEvents::EventMessage::__read(__is, true);
03046 #endif
03047 }
03048
03049 void
03050 SimEvents::CameraCtrlBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
03051 {
03052 Ice::MarshalException ex(__FILE__, __LINE__);
03053 ex.reason = "type SimEvents::CameraCtrlBiasMessage was not generated with stream support";
03054 throw ex;
03055 }
03056
03057 void
03058 SimEvents::CameraCtrlBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
03059 {
03060 Ice::MarshalException ex(__FILE__, __LINE__);
03061 ex.reason = "type SimEvents::CameraCtrlBiasMessage was not generated with stream support";
03062 throw ex;
03063 }
03064
03065 class __F__SimEvents__CameraCtrlBiasMessage : public ::Ice::ObjectFactory
03066 {
03067 public:
03068
03069 virtual ::Ice::ObjectPtr
03070 create(const ::std::string& type)
03071 {
03072 assert(type == ::SimEvents::CameraCtrlBiasMessage::ice_staticId());
03073 return new ::SimEvents::CameraCtrlBiasMessage;
03074 }
03075
03076 virtual void
03077 destroy()
03078 {
03079 }
03080 };
03081
03082 static ::Ice::ObjectFactoryPtr __F__SimEvents__CameraCtrlBiasMessage_Ptr = new __F__SimEvents__CameraCtrlBiasMessage;
03083
03084 const ::Ice::ObjectFactoryPtr&
03085 SimEvents::CameraCtrlBiasMessage::ice_factory()
03086 {
03087 return __F__SimEvents__CameraCtrlBiasMessage_Ptr;
03088 }
03089
03090 class __F__SimEvents__CameraCtrlBiasMessage__Init
03091 {
03092 public:
03093
03094 __F__SimEvents__CameraCtrlBiasMessage__Init()
03095 {
03096 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::CameraCtrlBiasMessage::ice_staticId(), ::SimEvents::CameraCtrlBiasMessage::ice_factory());
03097 }
03098
03099 ~__F__SimEvents__CameraCtrlBiasMessage__Init()
03100 {
03101 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::CameraCtrlBiasMessage::ice_staticId());
03102 }
03103 };
03104
03105 static __F__SimEvents__CameraCtrlBiasMessage__Init __F__SimEvents__CameraCtrlBiasMessage__i;
03106
03107 #ifdef __APPLE__
03108 extern "C" { void __F__SimEvents__CameraCtrlBiasMessage__initializer() {} }
03109 #endif
03110
03111 void
03112 SimEvents::__patch__CameraCtrlBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03113 {
03114 ::SimEvents::CameraCtrlBiasMessagePtr* p = static_cast< ::SimEvents::CameraCtrlBiasMessagePtr*>(__addr);
03115 assert(p);
03116 *p = ::SimEvents::CameraCtrlBiasMessagePtr::dynamicCast(v);
03117 if(v && !*p)
03118 {
03119 IceInternal::Ex::throwUOE(::SimEvents::CameraCtrlBiasMessage::ice_staticId(), v->ice_id());
03120 }
03121 }
03122
03123 bool
03124 SimEvents::operator==(const ::SimEvents::CameraCtrlBiasMessage& l, const ::SimEvents::CameraCtrlBiasMessage& r)
03125 {
03126 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03127 }
03128
03129 bool
03130 SimEvents::operator<(const ::SimEvents::CameraCtrlBiasMessage& l, const ::SimEvents::CameraCtrlBiasMessage& r)
03131 {
03132 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03133 }
03134
03135 SimEvents::CameraCtrlMessage::CameraCtrlMessage(bool __ice_zoomDone, bool __ice_initPtzDone, ::Ice::Int __ice_pan, ::Ice::Int __ice_tilt) :
03136 zoomDone(__ice_zoomDone),
03137 initPtzDone(__ice_initPtzDone),
03138 pan(__ice_pan),
03139 tilt(__ice_tilt)
03140 {
03141 }
03142
03143 ::Ice::ObjectPtr
03144 SimEvents::CameraCtrlMessage::ice_clone() const
03145 {
03146 ::SimEvents::CameraCtrlMessagePtr __p = new ::SimEvents::CameraCtrlMessage(*this);
03147 return __p;
03148 }
03149
03150 static const ::std::string __SimEvents__CameraCtrlMessage_ids[3] =
03151 {
03152 "::Ice::Object",
03153 "::SimEvents::CameraCtrlMessage",
03154 "::SimEvents::EventMessage"
03155 };
03156
03157 bool
03158 SimEvents::CameraCtrlMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03159 {
03160 return ::std::binary_search(__SimEvents__CameraCtrlMessage_ids, __SimEvents__CameraCtrlMessage_ids + 3, _s);
03161 }
03162
03163 ::std::vector< ::std::string>
03164 SimEvents::CameraCtrlMessage::ice_ids(const ::Ice::Current&) const
03165 {
03166 return ::std::vector< ::std::string>(&__SimEvents__CameraCtrlMessage_ids[0], &__SimEvents__CameraCtrlMessage_ids[3]);
03167 }
03168
03169 const ::std::string&
03170 SimEvents::CameraCtrlMessage::ice_id(const ::Ice::Current&) const
03171 {
03172 return __SimEvents__CameraCtrlMessage_ids[1];
03173 }
03174
03175 const ::std::string&
03176 SimEvents::CameraCtrlMessage::ice_staticId()
03177 {
03178 return __SimEvents__CameraCtrlMessage_ids[1];
03179 }
03180
03181 void
03182 SimEvents::CameraCtrlMessage::__write(::IceInternal::BasicStream* __os) const
03183 {
03184 __os->writeTypeId(ice_staticId());
03185 __os->startWriteSlice();
03186 __os->write(zoomDone);
03187 __os->write(initPtzDone);
03188 __os->write(pan);
03189 __os->write(tilt);
03190 __os->endWriteSlice();
03191 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03192 EventMessage::__write(__os);
03193 #else
03194 ::SimEvents::EventMessage::__write(__os);
03195 #endif
03196 }
03197
03198 void
03199 SimEvents::CameraCtrlMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03200 {
03201 if(__rid)
03202 {
03203 ::std::string myId;
03204 __is->readTypeId(myId);
03205 }
03206 __is->startReadSlice();
03207 __is->read(zoomDone);
03208 __is->read(initPtzDone);
03209 __is->read(pan);
03210 __is->read(tilt);
03211 __is->endReadSlice();
03212 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03213 EventMessage::__read(__is, true);
03214 #else
03215 ::SimEvents::EventMessage::__read(__is, true);
03216 #endif
03217 }
03218
03219 void
03220 SimEvents::CameraCtrlMessage::__write(const ::Ice::OutputStreamPtr&) const
03221 {
03222 Ice::MarshalException ex(__FILE__, __LINE__);
03223 ex.reason = "type SimEvents::CameraCtrlMessage was not generated with stream support";
03224 throw ex;
03225 }
03226
03227 void
03228 SimEvents::CameraCtrlMessage::__read(const ::Ice::InputStreamPtr&, bool)
03229 {
03230 Ice::MarshalException ex(__FILE__, __LINE__);
03231 ex.reason = "type SimEvents::CameraCtrlMessage was not generated with stream support";
03232 throw ex;
03233 }
03234
03235 class __F__SimEvents__CameraCtrlMessage : public ::Ice::ObjectFactory
03236 {
03237 public:
03238
03239 virtual ::Ice::ObjectPtr
03240 create(const ::std::string& type)
03241 {
03242 assert(type == ::SimEvents::CameraCtrlMessage::ice_staticId());
03243 return new ::SimEvents::CameraCtrlMessage;
03244 }
03245
03246 virtual void
03247 destroy()
03248 {
03249 }
03250 };
03251
03252 static ::Ice::ObjectFactoryPtr __F__SimEvents__CameraCtrlMessage_Ptr = new __F__SimEvents__CameraCtrlMessage;
03253
03254 const ::Ice::ObjectFactoryPtr&
03255 SimEvents::CameraCtrlMessage::ice_factory()
03256 {
03257 return __F__SimEvents__CameraCtrlMessage_Ptr;
03258 }
03259
03260 class __F__SimEvents__CameraCtrlMessage__Init
03261 {
03262 public:
03263
03264 __F__SimEvents__CameraCtrlMessage__Init()
03265 {
03266 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::CameraCtrlMessage::ice_staticId(), ::SimEvents::CameraCtrlMessage::ice_factory());
03267 }
03268
03269 ~__F__SimEvents__CameraCtrlMessage__Init()
03270 {
03271 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::CameraCtrlMessage::ice_staticId());
03272 }
03273 };
03274
03275 static __F__SimEvents__CameraCtrlMessage__Init __F__SimEvents__CameraCtrlMessage__i;
03276
03277 #ifdef __APPLE__
03278 extern "C" { void __F__SimEvents__CameraCtrlMessage__initializer() {} }
03279 #endif
03280
03281 void
03282 SimEvents::__patch__CameraCtrlMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03283 {
03284 ::SimEvents::CameraCtrlMessagePtr* p = static_cast< ::SimEvents::CameraCtrlMessagePtr*>(__addr);
03285 assert(p);
03286 *p = ::SimEvents::CameraCtrlMessagePtr::dynamicCast(v);
03287 if(v && !*p)
03288 {
03289 IceInternal::Ex::throwUOE(::SimEvents::CameraCtrlMessage::ice_staticId(), v->ice_id());
03290 }
03291 }
03292
03293 bool
03294 SimEvents::operator==(const ::SimEvents::CameraCtrlMessage& l, const ::SimEvents::CameraCtrlMessage& r)
03295 {
03296 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03297 }
03298
03299 bool
03300 SimEvents::operator<(const ::SimEvents::CameraCtrlMessage& l, const ::SimEvents::CameraCtrlMessage& r)
03301 {
03302 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03303 }
03304
03305 SimEvents::SegmenterMessage::SegmenterMessage(const ::SimEvents::SegInfoSeq& __ice_segLocs) :
03306 segLocs(__ice_segLocs)
03307 {
03308 }
03309
03310 ::Ice::ObjectPtr
03311 SimEvents::SegmenterMessage::ice_clone() const
03312 {
03313 ::SimEvents::SegmenterMessagePtr __p = new ::SimEvents::SegmenterMessage(*this);
03314 return __p;
03315 }
03316
03317 static const ::std::string __SimEvents__SegmenterMessage_ids[3] =
03318 {
03319 "::Ice::Object",
03320 "::SimEvents::EventMessage",
03321 "::SimEvents::SegmenterMessage"
03322 };
03323
03324 bool
03325 SimEvents::SegmenterMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03326 {
03327 return ::std::binary_search(__SimEvents__SegmenterMessage_ids, __SimEvents__SegmenterMessage_ids + 3, _s);
03328 }
03329
03330 ::std::vector< ::std::string>
03331 SimEvents::SegmenterMessage::ice_ids(const ::Ice::Current&) const
03332 {
03333 return ::std::vector< ::std::string>(&__SimEvents__SegmenterMessage_ids[0], &__SimEvents__SegmenterMessage_ids[3]);
03334 }
03335
03336 const ::std::string&
03337 SimEvents::SegmenterMessage::ice_id(const ::Ice::Current&) const
03338 {
03339 return __SimEvents__SegmenterMessage_ids[2];
03340 }
03341
03342 const ::std::string&
03343 SimEvents::SegmenterMessage::ice_staticId()
03344 {
03345 return __SimEvents__SegmenterMessage_ids[2];
03346 }
03347
03348 void
03349 SimEvents::SegmenterMessage::__write(::IceInternal::BasicStream* __os) const
03350 {
03351 __os->writeTypeId(ice_staticId());
03352 __os->startWriteSlice();
03353 if(segLocs.size() == 0)
03354 {
03355 __os->writeSize(0);
03356 }
03357 else
03358 {
03359 ::SimEvents::__writeSegInfoSeq(__os, &segLocs[0], &segLocs[0] + segLocs.size());
03360 }
03361 __os->endWriteSlice();
03362 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03363 EventMessage::__write(__os);
03364 #else
03365 ::SimEvents::EventMessage::__write(__os);
03366 #endif
03367 }
03368
03369 void
03370 SimEvents::SegmenterMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03371 {
03372 if(__rid)
03373 {
03374 ::std::string myId;
03375 __is->readTypeId(myId);
03376 }
03377 __is->startReadSlice();
03378 ::SimEvents::__readSegInfoSeq(__is, segLocs);
03379 __is->endReadSlice();
03380 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03381 EventMessage::__read(__is, true);
03382 #else
03383 ::SimEvents::EventMessage::__read(__is, true);
03384 #endif
03385 }
03386
03387 void
03388 SimEvents::SegmenterMessage::__write(const ::Ice::OutputStreamPtr&) const
03389 {
03390 Ice::MarshalException ex(__FILE__, __LINE__);
03391 ex.reason = "type SimEvents::SegmenterMessage was not generated with stream support";
03392 throw ex;
03393 }
03394
03395 void
03396 SimEvents::SegmenterMessage::__read(const ::Ice::InputStreamPtr&, bool)
03397 {
03398 Ice::MarshalException ex(__FILE__, __LINE__);
03399 ex.reason = "type SimEvents::SegmenterMessage was not generated with stream support";
03400 throw ex;
03401 }
03402
03403 class __F__SimEvents__SegmenterMessage : public ::Ice::ObjectFactory
03404 {
03405 public:
03406
03407 virtual ::Ice::ObjectPtr
03408 create(const ::std::string& type)
03409 {
03410 assert(type == ::SimEvents::SegmenterMessage::ice_staticId());
03411 return new ::SimEvents::SegmenterMessage;
03412 }
03413
03414 virtual void
03415 destroy()
03416 {
03417 }
03418 };
03419
03420 static ::Ice::ObjectFactoryPtr __F__SimEvents__SegmenterMessage_Ptr = new __F__SimEvents__SegmenterMessage;
03421
03422 const ::Ice::ObjectFactoryPtr&
03423 SimEvents::SegmenterMessage::ice_factory()
03424 {
03425 return __F__SimEvents__SegmenterMessage_Ptr;
03426 }
03427
03428 class __F__SimEvents__SegmenterMessage__Init
03429 {
03430 public:
03431
03432 __F__SimEvents__SegmenterMessage__Init()
03433 {
03434 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::SegmenterMessage::ice_staticId(), ::SimEvents::SegmenterMessage::ice_factory());
03435 }
03436
03437 ~__F__SimEvents__SegmenterMessage__Init()
03438 {
03439 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::SegmenterMessage::ice_staticId());
03440 }
03441 };
03442
03443 static __F__SimEvents__SegmenterMessage__Init __F__SimEvents__SegmenterMessage__i;
03444
03445 #ifdef __APPLE__
03446 extern "C" { void __F__SimEvents__SegmenterMessage__initializer() {} }
03447 #endif
03448
03449 void
03450 SimEvents::__patch__SegmenterMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03451 {
03452 ::SimEvents::SegmenterMessagePtr* p = static_cast< ::SimEvents::SegmenterMessagePtr*>(__addr);
03453 assert(p);
03454 *p = ::SimEvents::SegmenterMessagePtr::dynamicCast(v);
03455 if(v && !*p)
03456 {
03457 IceInternal::Ex::throwUOE(::SimEvents::SegmenterMessage::ice_staticId(), v->ice_id());
03458 }
03459 }
03460
03461 bool
03462 SimEvents::operator==(const ::SimEvents::SegmenterMessage& l, const ::SimEvents::SegmenterMessage& r)
03463 {
03464 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03465 }
03466
03467 bool
03468 SimEvents::operator<(const ::SimEvents::SegmenterMessage& l, const ::SimEvents::SegmenterMessage& r)
03469 {
03470 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03471 }
03472
03473 SimEvents::SegmenterBiasMessage::SegmenterBiasMessage(const ::SimEvents::SegInfoSeq& __ice_regionsToSeg) :
03474 regionsToSeg(__ice_regionsToSeg)
03475 {
03476 }
03477
03478 ::Ice::ObjectPtr
03479 SimEvents::SegmenterBiasMessage::ice_clone() const
03480 {
03481 ::SimEvents::SegmenterBiasMessagePtr __p = new ::SimEvents::SegmenterBiasMessage(*this);
03482 return __p;
03483 }
03484
03485 static const ::std::string __SimEvents__SegmenterBiasMessage_ids[3] =
03486 {
03487 "::Ice::Object",
03488 "::SimEvents::EventMessage",
03489 "::SimEvents::SegmenterBiasMessage"
03490 };
03491
03492 bool
03493 SimEvents::SegmenterBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03494 {
03495 return ::std::binary_search(__SimEvents__SegmenterBiasMessage_ids, __SimEvents__SegmenterBiasMessage_ids + 3, _s);
03496 }
03497
03498 ::std::vector< ::std::string>
03499 SimEvents::SegmenterBiasMessage::ice_ids(const ::Ice::Current&) const
03500 {
03501 return ::std::vector< ::std::string>(&__SimEvents__SegmenterBiasMessage_ids[0], &__SimEvents__SegmenterBiasMessage_ids[3]);
03502 }
03503
03504 const ::std::string&
03505 SimEvents::SegmenterBiasMessage::ice_id(const ::Ice::Current&) const
03506 {
03507 return __SimEvents__SegmenterBiasMessage_ids[2];
03508 }
03509
03510 const ::std::string&
03511 SimEvents::SegmenterBiasMessage::ice_staticId()
03512 {
03513 return __SimEvents__SegmenterBiasMessage_ids[2];
03514 }
03515
03516 void
03517 SimEvents::SegmenterBiasMessage::__write(::IceInternal::BasicStream* __os) const
03518 {
03519 __os->writeTypeId(ice_staticId());
03520 __os->startWriteSlice();
03521 if(regionsToSeg.size() == 0)
03522 {
03523 __os->writeSize(0);
03524 }
03525 else
03526 {
03527 ::SimEvents::__writeSegInfoSeq(__os, ®ionsToSeg[0], ®ionsToSeg[0] + regionsToSeg.size());
03528 }
03529 __os->endWriteSlice();
03530 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03531 EventMessage::__write(__os);
03532 #else
03533 ::SimEvents::EventMessage::__write(__os);
03534 #endif
03535 }
03536
03537 void
03538 SimEvents::SegmenterBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03539 {
03540 if(__rid)
03541 {
03542 ::std::string myId;
03543 __is->readTypeId(myId);
03544 }
03545 __is->startReadSlice();
03546 ::SimEvents::__readSegInfoSeq(__is, regionsToSeg);
03547 __is->endReadSlice();
03548 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03549 EventMessage::__read(__is, true);
03550 #else
03551 ::SimEvents::EventMessage::__read(__is, true);
03552 #endif
03553 }
03554
03555 void
03556 SimEvents::SegmenterBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
03557 {
03558 Ice::MarshalException ex(__FILE__, __LINE__);
03559 ex.reason = "type SimEvents::SegmenterBiasMessage was not generated with stream support";
03560 throw ex;
03561 }
03562
03563 void
03564 SimEvents::SegmenterBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
03565 {
03566 Ice::MarshalException ex(__FILE__, __LINE__);
03567 ex.reason = "type SimEvents::SegmenterBiasMessage was not generated with stream support";
03568 throw ex;
03569 }
03570
03571 class __F__SimEvents__SegmenterBiasMessage : public ::Ice::ObjectFactory
03572 {
03573 public:
03574
03575 virtual ::Ice::ObjectPtr
03576 create(const ::std::string& type)
03577 {
03578 assert(type == ::SimEvents::SegmenterBiasMessage::ice_staticId());
03579 return new ::SimEvents::SegmenterBiasMessage;
03580 }
03581
03582 virtual void
03583 destroy()
03584 {
03585 }
03586 };
03587
03588 static ::Ice::ObjectFactoryPtr __F__SimEvents__SegmenterBiasMessage_Ptr = new __F__SimEvents__SegmenterBiasMessage;
03589
03590 const ::Ice::ObjectFactoryPtr&
03591 SimEvents::SegmenterBiasMessage::ice_factory()
03592 {
03593 return __F__SimEvents__SegmenterBiasMessage_Ptr;
03594 }
03595
03596 class __F__SimEvents__SegmenterBiasMessage__Init
03597 {
03598 public:
03599
03600 __F__SimEvents__SegmenterBiasMessage__Init()
03601 {
03602 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::SegmenterBiasMessage::ice_staticId(), ::SimEvents::SegmenterBiasMessage::ice_factory());
03603 }
03604
03605 ~__F__SimEvents__SegmenterBiasMessage__Init()
03606 {
03607 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::SegmenterBiasMessage::ice_staticId());
03608 }
03609 };
03610
03611 static __F__SimEvents__SegmenterBiasMessage__Init __F__SimEvents__SegmenterBiasMessage__i;
03612
03613 #ifdef __APPLE__
03614 extern "C" { void __F__SimEvents__SegmenterBiasMessage__initializer() {} }
03615 #endif
03616
03617 void
03618 SimEvents::__patch__SegmenterBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03619 {
03620 ::SimEvents::SegmenterBiasMessagePtr* p = static_cast< ::SimEvents::SegmenterBiasMessagePtr*>(__addr);
03621 assert(p);
03622 *p = ::SimEvents::SegmenterBiasMessagePtr::dynamicCast(v);
03623 if(v && !*p)
03624 {
03625 IceInternal::Ex::throwUOE(::SimEvents::SegmenterBiasMessage::ice_staticId(), v->ice_id());
03626 }
03627 }
03628
03629 bool
03630 SimEvents::operator==(const ::SimEvents::SegmenterBiasMessage& l, const ::SimEvents::SegmenterBiasMessage& r)
03631 {
03632 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03633 }
03634
03635 bool
03636 SimEvents::operator<(const ::SimEvents::SegmenterBiasMessage& l, const ::SimEvents::SegmenterBiasMessage& r)
03637 {
03638 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03639 }
03640
03641 SimEvents::InfrotemporalCortexBiasMessage::InfrotemporalCortexBiasMessage(const ::ImageIceMod::ImageIce& __ice_img) :
03642 img(__ice_img)
03643 {
03644 }
03645
03646 ::Ice::ObjectPtr
03647 SimEvents::InfrotemporalCortexBiasMessage::ice_clone() const
03648 {
03649 ::SimEvents::InfrotemporalCortexBiasMessagePtr __p = new ::SimEvents::InfrotemporalCortexBiasMessage(*this);
03650 return __p;
03651 }
03652
03653 static const ::std::string __SimEvents__InfrotemporalCortexBiasMessage_ids[3] =
03654 {
03655 "::Ice::Object",
03656 "::SimEvents::EventMessage",
03657 "::SimEvents::InfrotemporalCortexBiasMessage"
03658 };
03659
03660 bool
03661 SimEvents::InfrotemporalCortexBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03662 {
03663 return ::std::binary_search(__SimEvents__InfrotemporalCortexBiasMessage_ids, __SimEvents__InfrotemporalCortexBiasMessage_ids + 3, _s);
03664 }
03665
03666 ::std::vector< ::std::string>
03667 SimEvents::InfrotemporalCortexBiasMessage::ice_ids(const ::Ice::Current&) const
03668 {
03669 return ::std::vector< ::std::string>(&__SimEvents__InfrotemporalCortexBiasMessage_ids[0], &__SimEvents__InfrotemporalCortexBiasMessage_ids[3]);
03670 }
03671
03672 const ::std::string&
03673 SimEvents::InfrotemporalCortexBiasMessage::ice_id(const ::Ice::Current&) const
03674 {
03675 return __SimEvents__InfrotemporalCortexBiasMessage_ids[2];
03676 }
03677
03678 const ::std::string&
03679 SimEvents::InfrotemporalCortexBiasMessage::ice_staticId()
03680 {
03681 return __SimEvents__InfrotemporalCortexBiasMessage_ids[2];
03682 }
03683
03684 void
03685 SimEvents::InfrotemporalCortexBiasMessage::__write(::IceInternal::BasicStream* __os) const
03686 {
03687 __os->writeTypeId(ice_staticId());
03688 __os->startWriteSlice();
03689 img.__write(__os);
03690 __os->endWriteSlice();
03691 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03692 EventMessage::__write(__os);
03693 #else
03694 ::SimEvents::EventMessage::__write(__os);
03695 #endif
03696 }
03697
03698 void
03699 SimEvents::InfrotemporalCortexBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03700 {
03701 if(__rid)
03702 {
03703 ::std::string myId;
03704 __is->readTypeId(myId);
03705 }
03706 __is->startReadSlice();
03707 img.__read(__is);
03708 __is->endReadSlice();
03709 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03710 EventMessage::__read(__is, true);
03711 #else
03712 ::SimEvents::EventMessage::__read(__is, true);
03713 #endif
03714 }
03715
03716 void
03717 SimEvents::InfrotemporalCortexBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
03718 {
03719 Ice::MarshalException ex(__FILE__, __LINE__);
03720 ex.reason = "type SimEvents::InfrotemporalCortexBiasMessage was not generated with stream support";
03721 throw ex;
03722 }
03723
03724 void
03725 SimEvents::InfrotemporalCortexBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
03726 {
03727 Ice::MarshalException ex(__FILE__, __LINE__);
03728 ex.reason = "type SimEvents::InfrotemporalCortexBiasMessage was not generated with stream support";
03729 throw ex;
03730 }
03731
03732 class __F__SimEvents__InfrotemporalCortexBiasMessage : public ::Ice::ObjectFactory
03733 {
03734 public:
03735
03736 virtual ::Ice::ObjectPtr
03737 create(const ::std::string& type)
03738 {
03739 assert(type == ::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId());
03740 return new ::SimEvents::InfrotemporalCortexBiasMessage;
03741 }
03742
03743 virtual void
03744 destroy()
03745 {
03746 }
03747 };
03748
03749 static ::Ice::ObjectFactoryPtr __F__SimEvents__InfrotemporalCortexBiasMessage_Ptr = new __F__SimEvents__InfrotemporalCortexBiasMessage;
03750
03751 const ::Ice::ObjectFactoryPtr&
03752 SimEvents::InfrotemporalCortexBiasMessage::ice_factory()
03753 {
03754 return __F__SimEvents__InfrotemporalCortexBiasMessage_Ptr;
03755 }
03756
03757 class __F__SimEvents__InfrotemporalCortexBiasMessage__Init
03758 {
03759 public:
03760
03761 __F__SimEvents__InfrotemporalCortexBiasMessage__Init()
03762 {
03763 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId(), ::SimEvents::InfrotemporalCortexBiasMessage::ice_factory());
03764 }
03765
03766 ~__F__SimEvents__InfrotemporalCortexBiasMessage__Init()
03767 {
03768 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId());
03769 }
03770 };
03771
03772 static __F__SimEvents__InfrotemporalCortexBiasMessage__Init __F__SimEvents__InfrotemporalCortexBiasMessage__i;
03773
03774 #ifdef __APPLE__
03775 extern "C" { void __F__SimEvents__InfrotemporalCortexBiasMessage__initializer() {} }
03776 #endif
03777
03778 void
03779 SimEvents::__patch__InfrotemporalCortexBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03780 {
03781 ::SimEvents::InfrotemporalCortexBiasMessagePtr* p = static_cast< ::SimEvents::InfrotemporalCortexBiasMessagePtr*>(__addr);
03782 assert(p);
03783 *p = ::SimEvents::InfrotemporalCortexBiasMessagePtr::dynamicCast(v);
03784 if(v && !*p)
03785 {
03786 IceInternal::Ex::throwUOE(::SimEvents::InfrotemporalCortexBiasMessage::ice_staticId(), v->ice_id());
03787 }
03788 }
03789
03790 bool
03791 SimEvents::operator==(const ::SimEvents::InfrotemporalCortexBiasMessage& l, const ::SimEvents::InfrotemporalCortexBiasMessage& r)
03792 {
03793 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03794 }
03795
03796 bool
03797 SimEvents::operator<(const ::SimEvents::InfrotemporalCortexBiasMessage& l, const ::SimEvents::InfrotemporalCortexBiasMessage& r)
03798 {
03799 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03800 }
03801
03802 SimEvents::InfrotemporalCortexMessage::InfrotemporalCortexMessage(const ::std::string& __ice_objectName, const ::ImageIceMod::Point2DIce& __ice_objLoc, ::Ice::Float __ice_rotation, ::Ice::Float __ice_confidence) :
03803 objectName(__ice_objectName),
03804 objLoc(__ice_objLoc),
03805 rotation(__ice_rotation),
03806 confidence(__ice_confidence)
03807 {
03808 }
03809
03810 ::Ice::ObjectPtr
03811 SimEvents::InfrotemporalCortexMessage::ice_clone() const
03812 {
03813 ::SimEvents::InfrotemporalCortexMessagePtr __p = new ::SimEvents::InfrotemporalCortexMessage(*this);
03814 return __p;
03815 }
03816
03817 static const ::std::string __SimEvents__InfrotemporalCortexMessage_ids[3] =
03818 {
03819 "::Ice::Object",
03820 "::SimEvents::EventMessage",
03821 "::SimEvents::InfrotemporalCortexMessage"
03822 };
03823
03824 bool
03825 SimEvents::InfrotemporalCortexMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03826 {
03827 return ::std::binary_search(__SimEvents__InfrotemporalCortexMessage_ids, __SimEvents__InfrotemporalCortexMessage_ids + 3, _s);
03828 }
03829
03830 ::std::vector< ::std::string>
03831 SimEvents::InfrotemporalCortexMessage::ice_ids(const ::Ice::Current&) const
03832 {
03833 return ::std::vector< ::std::string>(&__SimEvents__InfrotemporalCortexMessage_ids[0], &__SimEvents__InfrotemporalCortexMessage_ids[3]);
03834 }
03835
03836 const ::std::string&
03837 SimEvents::InfrotemporalCortexMessage::ice_id(const ::Ice::Current&) const
03838 {
03839 return __SimEvents__InfrotemporalCortexMessage_ids[2];
03840 }
03841
03842 const ::std::string&
03843 SimEvents::InfrotemporalCortexMessage::ice_staticId()
03844 {
03845 return __SimEvents__InfrotemporalCortexMessage_ids[2];
03846 }
03847
03848 void
03849 SimEvents::InfrotemporalCortexMessage::__write(::IceInternal::BasicStream* __os) const
03850 {
03851 __os->writeTypeId(ice_staticId());
03852 __os->startWriteSlice();
03853 __os->write(objectName);
03854 objLoc.__write(__os);
03855 __os->write(rotation);
03856 __os->write(confidence);
03857 __os->endWriteSlice();
03858 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03859 EventMessage::__write(__os);
03860 #else
03861 ::SimEvents::EventMessage::__write(__os);
03862 #endif
03863 }
03864
03865 void
03866 SimEvents::InfrotemporalCortexMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
03867 {
03868 if(__rid)
03869 {
03870 ::std::string myId;
03871 __is->readTypeId(myId);
03872 }
03873 __is->startReadSlice();
03874 __is->read(objectName);
03875 objLoc.__read(__is);
03876 __is->read(rotation);
03877 __is->read(confidence);
03878 __is->endReadSlice();
03879 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
03880 EventMessage::__read(__is, true);
03881 #else
03882 ::SimEvents::EventMessage::__read(__is, true);
03883 #endif
03884 }
03885
03886 void
03887 SimEvents::InfrotemporalCortexMessage::__write(const ::Ice::OutputStreamPtr&) const
03888 {
03889 Ice::MarshalException ex(__FILE__, __LINE__);
03890 ex.reason = "type SimEvents::InfrotemporalCortexMessage was not generated with stream support";
03891 throw ex;
03892 }
03893
03894 void
03895 SimEvents::InfrotemporalCortexMessage::__read(const ::Ice::InputStreamPtr&, bool)
03896 {
03897 Ice::MarshalException ex(__FILE__, __LINE__);
03898 ex.reason = "type SimEvents::InfrotemporalCortexMessage was not generated with stream support";
03899 throw ex;
03900 }
03901
03902 class __F__SimEvents__InfrotemporalCortexMessage : public ::Ice::ObjectFactory
03903 {
03904 public:
03905
03906 virtual ::Ice::ObjectPtr
03907 create(const ::std::string& type)
03908 {
03909 assert(type == ::SimEvents::InfrotemporalCortexMessage::ice_staticId());
03910 return new ::SimEvents::InfrotemporalCortexMessage;
03911 }
03912
03913 virtual void
03914 destroy()
03915 {
03916 }
03917 };
03918
03919 static ::Ice::ObjectFactoryPtr __F__SimEvents__InfrotemporalCortexMessage_Ptr = new __F__SimEvents__InfrotemporalCortexMessage;
03920
03921 const ::Ice::ObjectFactoryPtr&
03922 SimEvents::InfrotemporalCortexMessage::ice_factory()
03923 {
03924 return __F__SimEvents__InfrotemporalCortexMessage_Ptr;
03925 }
03926
03927 class __F__SimEvents__InfrotemporalCortexMessage__Init
03928 {
03929 public:
03930
03931 __F__SimEvents__InfrotemporalCortexMessage__Init()
03932 {
03933 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::InfrotemporalCortexMessage::ice_staticId(), ::SimEvents::InfrotemporalCortexMessage::ice_factory());
03934 }
03935
03936 ~__F__SimEvents__InfrotemporalCortexMessage__Init()
03937 {
03938 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::InfrotemporalCortexMessage::ice_staticId());
03939 }
03940 };
03941
03942 static __F__SimEvents__InfrotemporalCortexMessage__Init __F__SimEvents__InfrotemporalCortexMessage__i;
03943
03944 #ifdef __APPLE__
03945 extern "C" { void __F__SimEvents__InfrotemporalCortexMessage__initializer() {} }
03946 #endif
03947
03948 void
03949 SimEvents::__patch__InfrotemporalCortexMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
03950 {
03951 ::SimEvents::InfrotemporalCortexMessagePtr* p = static_cast< ::SimEvents::InfrotemporalCortexMessagePtr*>(__addr);
03952 assert(p);
03953 *p = ::SimEvents::InfrotemporalCortexMessagePtr::dynamicCast(v);
03954 if(v && !*p)
03955 {
03956 IceInternal::Ex::throwUOE(::SimEvents::InfrotemporalCortexMessage::ice_staticId(), v->ice_id());
03957 }
03958 }
03959
03960 bool
03961 SimEvents::operator==(const ::SimEvents::InfrotemporalCortexMessage& l, const ::SimEvents::InfrotemporalCortexMessage& r)
03962 {
03963 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
03964 }
03965
03966 bool
03967 SimEvents::operator<(const ::SimEvents::InfrotemporalCortexMessage& l, const ::SimEvents::InfrotemporalCortexMessage& r)
03968 {
03969 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
03970 }
03971
03972 SimEvents::HippocampusBiasMessage::HippocampusBiasMessage(const ::ImageIceMod::Point2DIce& __ice_loc, ::Ice::Int __ice_pan, ::Ice::Int __ice_tilt, ::Ice::Float __ice_rotation, const ::std::string& __ice_objectName, const ::ImageIceMod::ImageIce& __ice_img) :
03973 loc(__ice_loc),
03974 pan(__ice_pan),
03975 tilt(__ice_tilt),
03976 rotation(__ice_rotation),
03977 objectName(__ice_objectName),
03978 img(__ice_img)
03979 {
03980 }
03981
03982 ::Ice::ObjectPtr
03983 SimEvents::HippocampusBiasMessage::ice_clone() const
03984 {
03985 ::SimEvents::HippocampusBiasMessagePtr __p = new ::SimEvents::HippocampusBiasMessage(*this);
03986 return __p;
03987 }
03988
03989 static const ::std::string __SimEvents__HippocampusBiasMessage_ids[3] =
03990 {
03991 "::Ice::Object",
03992 "::SimEvents::EventMessage",
03993 "::SimEvents::HippocampusBiasMessage"
03994 };
03995
03996 bool
03997 SimEvents::HippocampusBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
03998 {
03999 return ::std::binary_search(__SimEvents__HippocampusBiasMessage_ids, __SimEvents__HippocampusBiasMessage_ids + 3, _s);
04000 }
04001
04002 ::std::vector< ::std::string>
04003 SimEvents::HippocampusBiasMessage::ice_ids(const ::Ice::Current&) const
04004 {
04005 return ::std::vector< ::std::string>(&__SimEvents__HippocampusBiasMessage_ids[0], &__SimEvents__HippocampusBiasMessage_ids[3]);
04006 }
04007
04008 const ::std::string&
04009 SimEvents::HippocampusBiasMessage::ice_id(const ::Ice::Current&) const
04010 {
04011 return __SimEvents__HippocampusBiasMessage_ids[2];
04012 }
04013
04014 const ::std::string&
04015 SimEvents::HippocampusBiasMessage::ice_staticId()
04016 {
04017 return __SimEvents__HippocampusBiasMessage_ids[2];
04018 }
04019
04020 void
04021 SimEvents::HippocampusBiasMessage::__write(::IceInternal::BasicStream* __os) const
04022 {
04023 __os->writeTypeId(ice_staticId());
04024 __os->startWriteSlice();
04025 loc.__write(__os);
04026 __os->write(pan);
04027 __os->write(tilt);
04028 __os->write(rotation);
04029 __os->write(objectName);
04030 img.__write(__os);
04031 __os->endWriteSlice();
04032 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04033 EventMessage::__write(__os);
04034 #else
04035 ::SimEvents::EventMessage::__write(__os);
04036 #endif
04037 }
04038
04039 void
04040 SimEvents::HippocampusBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04041 {
04042 if(__rid)
04043 {
04044 ::std::string myId;
04045 __is->readTypeId(myId);
04046 }
04047 __is->startReadSlice();
04048 loc.__read(__is);
04049 __is->read(pan);
04050 __is->read(tilt);
04051 __is->read(rotation);
04052 __is->read(objectName);
04053 img.__read(__is);
04054 __is->endReadSlice();
04055 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04056 EventMessage::__read(__is, true);
04057 #else
04058 ::SimEvents::EventMessage::__read(__is, true);
04059 #endif
04060 }
04061
04062 void
04063 SimEvents::HippocampusBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
04064 {
04065 Ice::MarshalException ex(__FILE__, __LINE__);
04066 ex.reason = "type SimEvents::HippocampusBiasMessage was not generated with stream support";
04067 throw ex;
04068 }
04069
04070 void
04071 SimEvents::HippocampusBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
04072 {
04073 Ice::MarshalException ex(__FILE__, __LINE__);
04074 ex.reason = "type SimEvents::HippocampusBiasMessage was not generated with stream support";
04075 throw ex;
04076 }
04077
04078 class __F__SimEvents__HippocampusBiasMessage : public ::Ice::ObjectFactory
04079 {
04080 public:
04081
04082 virtual ::Ice::ObjectPtr
04083 create(const ::std::string& type)
04084 {
04085 assert(type == ::SimEvents::HippocampusBiasMessage::ice_staticId());
04086 return new ::SimEvents::HippocampusBiasMessage;
04087 }
04088
04089 virtual void
04090 destroy()
04091 {
04092 }
04093 };
04094
04095 static ::Ice::ObjectFactoryPtr __F__SimEvents__HippocampusBiasMessage_Ptr = new __F__SimEvents__HippocampusBiasMessage;
04096
04097 const ::Ice::ObjectFactoryPtr&
04098 SimEvents::HippocampusBiasMessage::ice_factory()
04099 {
04100 return __F__SimEvents__HippocampusBiasMessage_Ptr;
04101 }
04102
04103 class __F__SimEvents__HippocampusBiasMessage__Init
04104 {
04105 public:
04106
04107 __F__SimEvents__HippocampusBiasMessage__Init()
04108 {
04109 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::HippocampusBiasMessage::ice_staticId(), ::SimEvents::HippocampusBiasMessage::ice_factory());
04110 }
04111
04112 ~__F__SimEvents__HippocampusBiasMessage__Init()
04113 {
04114 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::HippocampusBiasMessage::ice_staticId());
04115 }
04116 };
04117
04118 static __F__SimEvents__HippocampusBiasMessage__Init __F__SimEvents__HippocampusBiasMessage__i;
04119
04120 #ifdef __APPLE__
04121 extern "C" { void __F__SimEvents__HippocampusBiasMessage__initializer() {} }
04122 #endif
04123
04124 void
04125 SimEvents::__patch__HippocampusBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04126 {
04127 ::SimEvents::HippocampusBiasMessagePtr* p = static_cast< ::SimEvents::HippocampusBiasMessagePtr*>(__addr);
04128 assert(p);
04129 *p = ::SimEvents::HippocampusBiasMessagePtr::dynamicCast(v);
04130 if(v && !*p)
04131 {
04132 IceInternal::Ex::throwUOE(::SimEvents::HippocampusBiasMessage::ice_staticId(), v->ice_id());
04133 }
04134 }
04135
04136 bool
04137 SimEvents::operator==(const ::SimEvents::HippocampusBiasMessage& l, const ::SimEvents::HippocampusBiasMessage& r)
04138 {
04139 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04140 }
04141
04142 bool
04143 SimEvents::operator<(const ::SimEvents::HippocampusBiasMessage& l, const ::SimEvents::HippocampusBiasMessage& r)
04144 {
04145 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04146 }
04147
04148 SimEvents::HippocampusMessage::HippocampusMessage(const ::SimEvents::ObjectsStateSeq& __ice_objectsState) :
04149 objectsState(__ice_objectsState)
04150 {
04151 }
04152
04153 ::Ice::ObjectPtr
04154 SimEvents::HippocampusMessage::ice_clone() const
04155 {
04156 ::SimEvents::HippocampusMessagePtr __p = new ::SimEvents::HippocampusMessage(*this);
04157 return __p;
04158 }
04159
04160 static const ::std::string __SimEvents__HippocampusMessage_ids[3] =
04161 {
04162 "::Ice::Object",
04163 "::SimEvents::EventMessage",
04164 "::SimEvents::HippocampusMessage"
04165 };
04166
04167 bool
04168 SimEvents::HippocampusMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04169 {
04170 return ::std::binary_search(__SimEvents__HippocampusMessage_ids, __SimEvents__HippocampusMessage_ids + 3, _s);
04171 }
04172
04173 ::std::vector< ::std::string>
04174 SimEvents::HippocampusMessage::ice_ids(const ::Ice::Current&) const
04175 {
04176 return ::std::vector< ::std::string>(&__SimEvents__HippocampusMessage_ids[0], &__SimEvents__HippocampusMessage_ids[3]);
04177 }
04178
04179 const ::std::string&
04180 SimEvents::HippocampusMessage::ice_id(const ::Ice::Current&) const
04181 {
04182 return __SimEvents__HippocampusMessage_ids[2];
04183 }
04184
04185 const ::std::string&
04186 SimEvents::HippocampusMessage::ice_staticId()
04187 {
04188 return __SimEvents__HippocampusMessage_ids[2];
04189 }
04190
04191 void
04192 SimEvents::HippocampusMessage::__write(::IceInternal::BasicStream* __os) const
04193 {
04194 __os->writeTypeId(ice_staticId());
04195 __os->startWriteSlice();
04196 if(objectsState.size() == 0)
04197 {
04198 __os->writeSize(0);
04199 }
04200 else
04201 {
04202 ::SimEvents::__writeObjectsStateSeq(__os, &objectsState[0], &objectsState[0] + objectsState.size());
04203 }
04204 __os->endWriteSlice();
04205 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04206 EventMessage::__write(__os);
04207 #else
04208 ::SimEvents::EventMessage::__write(__os);
04209 #endif
04210 }
04211
04212 void
04213 SimEvents::HippocampusMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04214 {
04215 if(__rid)
04216 {
04217 ::std::string myId;
04218 __is->readTypeId(myId);
04219 }
04220 __is->startReadSlice();
04221 ::SimEvents::__readObjectsStateSeq(__is, objectsState);
04222 __is->endReadSlice();
04223 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04224 EventMessage::__read(__is, true);
04225 #else
04226 ::SimEvents::EventMessage::__read(__is, true);
04227 #endif
04228 }
04229
04230 void
04231 SimEvents::HippocampusMessage::__write(const ::Ice::OutputStreamPtr&) const
04232 {
04233 Ice::MarshalException ex(__FILE__, __LINE__);
04234 ex.reason = "type SimEvents::HippocampusMessage was not generated with stream support";
04235 throw ex;
04236 }
04237
04238 void
04239 SimEvents::HippocampusMessage::__read(const ::Ice::InputStreamPtr&, bool)
04240 {
04241 Ice::MarshalException ex(__FILE__, __LINE__);
04242 ex.reason = "type SimEvents::HippocampusMessage was not generated with stream support";
04243 throw ex;
04244 }
04245
04246 class __F__SimEvents__HippocampusMessage : public ::Ice::ObjectFactory
04247 {
04248 public:
04249
04250 virtual ::Ice::ObjectPtr
04251 create(const ::std::string& type)
04252 {
04253 assert(type == ::SimEvents::HippocampusMessage::ice_staticId());
04254 return new ::SimEvents::HippocampusMessage;
04255 }
04256
04257 virtual void
04258 destroy()
04259 {
04260 }
04261 };
04262
04263 static ::Ice::ObjectFactoryPtr __F__SimEvents__HippocampusMessage_Ptr = new __F__SimEvents__HippocampusMessage;
04264
04265 const ::Ice::ObjectFactoryPtr&
04266 SimEvents::HippocampusMessage::ice_factory()
04267 {
04268 return __F__SimEvents__HippocampusMessage_Ptr;
04269 }
04270
04271 class __F__SimEvents__HippocampusMessage__Init
04272 {
04273 public:
04274
04275 __F__SimEvents__HippocampusMessage__Init()
04276 {
04277 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::HippocampusMessage::ice_staticId(), ::SimEvents::HippocampusMessage::ice_factory());
04278 }
04279
04280 ~__F__SimEvents__HippocampusMessage__Init()
04281 {
04282 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::HippocampusMessage::ice_staticId());
04283 }
04284 };
04285
04286 static __F__SimEvents__HippocampusMessage__Init __F__SimEvents__HippocampusMessage__i;
04287
04288 #ifdef __APPLE__
04289 extern "C" { void __F__SimEvents__HippocampusMessage__initializer() {} }
04290 #endif
04291
04292 void
04293 SimEvents::__patch__HippocampusMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04294 {
04295 ::SimEvents::HippocampusMessagePtr* p = static_cast< ::SimEvents::HippocampusMessagePtr*>(__addr);
04296 assert(p);
04297 *p = ::SimEvents::HippocampusMessagePtr::dynamicCast(v);
04298 if(v && !*p)
04299 {
04300 IceInternal::Ex::throwUOE(::SimEvents::HippocampusMessage::ice_staticId(), v->ice_id());
04301 }
04302 }
04303
04304 bool
04305 SimEvents::operator==(const ::SimEvents::HippocampusMessage& l, const ::SimEvents::HippocampusMessage& r)
04306 {
04307 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04308 }
04309
04310 bool
04311 SimEvents::operator<(const ::SimEvents::HippocampusMessage& l, const ::SimEvents::HippocampusMessage& r)
04312 {
04313 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04314 }
04315
04316 SimEvents::PrimaryMotorCortexBiasMessage::PrimaryMotorCortexBiasMessage(const ::SimEvents::ArmPosition& __ice_armPos, bool __ice_moveArm) :
04317 armPos(__ice_armPos),
04318 moveArm(__ice_moveArm)
04319 {
04320 }
04321
04322 ::Ice::ObjectPtr
04323 SimEvents::PrimaryMotorCortexBiasMessage::ice_clone() const
04324 {
04325 ::SimEvents::PrimaryMotorCortexBiasMessagePtr __p = new ::SimEvents::PrimaryMotorCortexBiasMessage(*this);
04326 return __p;
04327 }
04328
04329 static const ::std::string __SimEvents__PrimaryMotorCortexBiasMessage_ids[3] =
04330 {
04331 "::Ice::Object",
04332 "::SimEvents::EventMessage",
04333 "::SimEvents::PrimaryMotorCortexBiasMessage"
04334 };
04335
04336 bool
04337 SimEvents::PrimaryMotorCortexBiasMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04338 {
04339 return ::std::binary_search(__SimEvents__PrimaryMotorCortexBiasMessage_ids, __SimEvents__PrimaryMotorCortexBiasMessage_ids + 3, _s);
04340 }
04341
04342 ::std::vector< ::std::string>
04343 SimEvents::PrimaryMotorCortexBiasMessage::ice_ids(const ::Ice::Current&) const
04344 {
04345 return ::std::vector< ::std::string>(&__SimEvents__PrimaryMotorCortexBiasMessage_ids[0], &__SimEvents__PrimaryMotorCortexBiasMessage_ids[3]);
04346 }
04347
04348 const ::std::string&
04349 SimEvents::PrimaryMotorCortexBiasMessage::ice_id(const ::Ice::Current&) const
04350 {
04351 return __SimEvents__PrimaryMotorCortexBiasMessage_ids[2];
04352 }
04353
04354 const ::std::string&
04355 SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId()
04356 {
04357 return __SimEvents__PrimaryMotorCortexBiasMessage_ids[2];
04358 }
04359
04360 void
04361 SimEvents::PrimaryMotorCortexBiasMessage::__write(::IceInternal::BasicStream* __os) const
04362 {
04363 __os->writeTypeId(ice_staticId());
04364 __os->startWriteSlice();
04365 armPos.__write(__os);
04366 __os->write(moveArm);
04367 __os->endWriteSlice();
04368 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04369 EventMessage::__write(__os);
04370 #else
04371 ::SimEvents::EventMessage::__write(__os);
04372 #endif
04373 }
04374
04375 void
04376 SimEvents::PrimaryMotorCortexBiasMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04377 {
04378 if(__rid)
04379 {
04380 ::std::string myId;
04381 __is->readTypeId(myId);
04382 }
04383 __is->startReadSlice();
04384 armPos.__read(__is);
04385 __is->read(moveArm);
04386 __is->endReadSlice();
04387 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04388 EventMessage::__read(__is, true);
04389 #else
04390 ::SimEvents::EventMessage::__read(__is, true);
04391 #endif
04392 }
04393
04394 void
04395 SimEvents::PrimaryMotorCortexBiasMessage::__write(const ::Ice::OutputStreamPtr&) const
04396 {
04397 Ice::MarshalException ex(__FILE__, __LINE__);
04398 ex.reason = "type SimEvents::PrimaryMotorCortexBiasMessage was not generated with stream support";
04399 throw ex;
04400 }
04401
04402 void
04403 SimEvents::PrimaryMotorCortexBiasMessage::__read(const ::Ice::InputStreamPtr&, bool)
04404 {
04405 Ice::MarshalException ex(__FILE__, __LINE__);
04406 ex.reason = "type SimEvents::PrimaryMotorCortexBiasMessage was not generated with stream support";
04407 throw ex;
04408 }
04409
04410 class __F__SimEvents__PrimaryMotorCortexBiasMessage : public ::Ice::ObjectFactory
04411 {
04412 public:
04413
04414 virtual ::Ice::ObjectPtr
04415 create(const ::std::string& type)
04416 {
04417 assert(type == ::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId());
04418 return new ::SimEvents::PrimaryMotorCortexBiasMessage;
04419 }
04420
04421 virtual void
04422 destroy()
04423 {
04424 }
04425 };
04426
04427 static ::Ice::ObjectFactoryPtr __F__SimEvents__PrimaryMotorCortexBiasMessage_Ptr = new __F__SimEvents__PrimaryMotorCortexBiasMessage;
04428
04429 const ::Ice::ObjectFactoryPtr&
04430 SimEvents::PrimaryMotorCortexBiasMessage::ice_factory()
04431 {
04432 return __F__SimEvents__PrimaryMotorCortexBiasMessage_Ptr;
04433 }
04434
04435 class __F__SimEvents__PrimaryMotorCortexBiasMessage__Init
04436 {
04437 public:
04438
04439 __F__SimEvents__PrimaryMotorCortexBiasMessage__Init()
04440 {
04441 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId(), ::SimEvents::PrimaryMotorCortexBiasMessage::ice_factory());
04442 }
04443
04444 ~__F__SimEvents__PrimaryMotorCortexBiasMessage__Init()
04445 {
04446 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId());
04447 }
04448 };
04449
04450 static __F__SimEvents__PrimaryMotorCortexBiasMessage__Init __F__SimEvents__PrimaryMotorCortexBiasMessage__i;
04451
04452 #ifdef __APPLE__
04453 extern "C" { void __F__SimEvents__PrimaryMotorCortexBiasMessage__initializer() {} }
04454 #endif
04455
04456 void
04457 SimEvents::__patch__PrimaryMotorCortexBiasMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04458 {
04459 ::SimEvents::PrimaryMotorCortexBiasMessagePtr* p = static_cast< ::SimEvents::PrimaryMotorCortexBiasMessagePtr*>(__addr);
04460 assert(p);
04461 *p = ::SimEvents::PrimaryMotorCortexBiasMessagePtr::dynamicCast(v);
04462 if(v && !*p)
04463 {
04464 IceInternal::Ex::throwUOE(::SimEvents::PrimaryMotorCortexBiasMessage::ice_staticId(), v->ice_id());
04465 }
04466 }
04467
04468 bool
04469 SimEvents::operator==(const ::SimEvents::PrimaryMotorCortexBiasMessage& l, const ::SimEvents::PrimaryMotorCortexBiasMessage& r)
04470 {
04471 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04472 }
04473
04474 bool
04475 SimEvents::operator<(const ::SimEvents::PrimaryMotorCortexBiasMessage& l, const ::SimEvents::PrimaryMotorCortexBiasMessage& r)
04476 {
04477 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04478 }
04479
04480 SimEvents::PrimaryMotorCortexRelativeServoMessage::PrimaryMotorCortexRelativeServoMessage(::Ice::Int __ice_axis, ::Ice::Int __ice_change) :
04481 axis(__ice_axis),
04482 change(__ice_change)
04483 {
04484 }
04485
04486 ::Ice::ObjectPtr
04487 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_clone() const
04488 {
04489 ::SimEvents::PrimaryMotorCortexRelativeServoMessagePtr __p = new ::SimEvents::PrimaryMotorCortexRelativeServoMessage(*this);
04490 return __p;
04491 }
04492
04493 static const ::std::string __SimEvents__PrimaryMotorCortexRelativeServoMessage_ids[3] =
04494 {
04495 "::Ice::Object",
04496 "::SimEvents::EventMessage",
04497 "::SimEvents::PrimaryMotorCortexRelativeServoMessage"
04498 };
04499
04500 bool
04501 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04502 {
04503 return ::std::binary_search(__SimEvents__PrimaryMotorCortexRelativeServoMessage_ids, __SimEvents__PrimaryMotorCortexRelativeServoMessage_ids + 3, _s);
04504 }
04505
04506 ::std::vector< ::std::string>
04507 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_ids(const ::Ice::Current&) const
04508 {
04509 return ::std::vector< ::std::string>(&__SimEvents__PrimaryMotorCortexRelativeServoMessage_ids[0], &__SimEvents__PrimaryMotorCortexRelativeServoMessage_ids[3]);
04510 }
04511
04512 const ::std::string&
04513 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_id(const ::Ice::Current&) const
04514 {
04515 return __SimEvents__PrimaryMotorCortexRelativeServoMessage_ids[2];
04516 }
04517
04518 const ::std::string&
04519 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId()
04520 {
04521 return __SimEvents__PrimaryMotorCortexRelativeServoMessage_ids[2];
04522 }
04523
04524 void
04525 SimEvents::PrimaryMotorCortexRelativeServoMessage::__write(::IceInternal::BasicStream* __os) const
04526 {
04527 __os->writeTypeId(ice_staticId());
04528 __os->startWriteSlice();
04529 __os->write(axis);
04530 __os->write(change);
04531 __os->endWriteSlice();
04532 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04533 EventMessage::__write(__os);
04534 #else
04535 ::SimEvents::EventMessage::__write(__os);
04536 #endif
04537 }
04538
04539 void
04540 SimEvents::PrimaryMotorCortexRelativeServoMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04541 {
04542 if(__rid)
04543 {
04544 ::std::string myId;
04545 __is->readTypeId(myId);
04546 }
04547 __is->startReadSlice();
04548 __is->read(axis);
04549 __is->read(change);
04550 __is->endReadSlice();
04551 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04552 EventMessage::__read(__is, true);
04553 #else
04554 ::SimEvents::EventMessage::__read(__is, true);
04555 #endif
04556 }
04557
04558 void
04559 SimEvents::PrimaryMotorCortexRelativeServoMessage::__write(const ::Ice::OutputStreamPtr&) const
04560 {
04561 Ice::MarshalException ex(__FILE__, __LINE__);
04562 ex.reason = "type SimEvents::PrimaryMotorCortexRelativeServoMessage was not generated with stream support";
04563 throw ex;
04564 }
04565
04566 void
04567 SimEvents::PrimaryMotorCortexRelativeServoMessage::__read(const ::Ice::InputStreamPtr&, bool)
04568 {
04569 Ice::MarshalException ex(__FILE__, __LINE__);
04570 ex.reason = "type SimEvents::PrimaryMotorCortexRelativeServoMessage was not generated with stream support";
04571 throw ex;
04572 }
04573
04574 class __F__SimEvents__PrimaryMotorCortexRelativeServoMessage : public ::Ice::ObjectFactory
04575 {
04576 public:
04577
04578 virtual ::Ice::ObjectPtr
04579 create(const ::std::string& type)
04580 {
04581 assert(type == ::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId());
04582 return new ::SimEvents::PrimaryMotorCortexRelativeServoMessage;
04583 }
04584
04585 virtual void
04586 destroy()
04587 {
04588 }
04589 };
04590
04591 static ::Ice::ObjectFactoryPtr __F__SimEvents__PrimaryMotorCortexRelativeServoMessage_Ptr = new __F__SimEvents__PrimaryMotorCortexRelativeServoMessage;
04592
04593 const ::Ice::ObjectFactoryPtr&
04594 SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_factory()
04595 {
04596 return __F__SimEvents__PrimaryMotorCortexRelativeServoMessage_Ptr;
04597 }
04598
04599 class __F__SimEvents__PrimaryMotorCortexRelativeServoMessage__Init
04600 {
04601 public:
04602
04603 __F__SimEvents__PrimaryMotorCortexRelativeServoMessage__Init()
04604 {
04605 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId(), ::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_factory());
04606 }
04607
04608 ~__F__SimEvents__PrimaryMotorCortexRelativeServoMessage__Init()
04609 {
04610 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId());
04611 }
04612 };
04613
04614 static __F__SimEvents__PrimaryMotorCortexRelativeServoMessage__Init __F__SimEvents__PrimaryMotorCortexRelativeServoMessage__i;
04615
04616 #ifdef __APPLE__
04617 extern "C" { void __F__SimEvents__PrimaryMotorCortexRelativeServoMessage__initializer() {} }
04618 #endif
04619
04620 void
04621 SimEvents::__patch__PrimaryMotorCortexRelativeServoMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04622 {
04623 ::SimEvents::PrimaryMotorCortexRelativeServoMessagePtr* p = static_cast< ::SimEvents::PrimaryMotorCortexRelativeServoMessagePtr*>(__addr);
04624 assert(p);
04625 *p = ::SimEvents::PrimaryMotorCortexRelativeServoMessagePtr::dynamicCast(v);
04626 if(v && !*p)
04627 {
04628 IceInternal::Ex::throwUOE(::SimEvents::PrimaryMotorCortexRelativeServoMessage::ice_staticId(), v->ice_id());
04629 }
04630 }
04631
04632 bool
04633 SimEvents::operator==(const ::SimEvents::PrimaryMotorCortexRelativeServoMessage& l, const ::SimEvents::PrimaryMotorCortexRelativeServoMessage& r)
04634 {
04635 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04636 }
04637
04638 bool
04639 SimEvents::operator<(const ::SimEvents::PrimaryMotorCortexRelativeServoMessage& l, const ::SimEvents::PrimaryMotorCortexRelativeServoMessage& r)
04640 {
04641 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04642 }
04643
04644 ::Ice::ObjectPtr
04645 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_clone() const
04646 {
04647 ::SimEvents::PrimaryMotorCortexResetEncodersMessagePtr __p = new ::SimEvents::PrimaryMotorCortexResetEncodersMessage(*this);
04648 return __p;
04649 }
04650
04651 static const ::std::string __SimEvents__PrimaryMotorCortexResetEncodersMessage_ids[3] =
04652 {
04653 "::Ice::Object",
04654 "::SimEvents::EventMessage",
04655 "::SimEvents::PrimaryMotorCortexResetEncodersMessage"
04656 };
04657
04658 bool
04659 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04660 {
04661 return ::std::binary_search(__SimEvents__PrimaryMotorCortexResetEncodersMessage_ids, __SimEvents__PrimaryMotorCortexResetEncodersMessage_ids + 3, _s);
04662 }
04663
04664 ::std::vector< ::std::string>
04665 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_ids(const ::Ice::Current&) const
04666 {
04667 return ::std::vector< ::std::string>(&__SimEvents__PrimaryMotorCortexResetEncodersMessage_ids[0], &__SimEvents__PrimaryMotorCortexResetEncodersMessage_ids[3]);
04668 }
04669
04670 const ::std::string&
04671 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_id(const ::Ice::Current&) const
04672 {
04673 return __SimEvents__PrimaryMotorCortexResetEncodersMessage_ids[2];
04674 }
04675
04676 const ::std::string&
04677 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId()
04678 {
04679 return __SimEvents__PrimaryMotorCortexResetEncodersMessage_ids[2];
04680 }
04681
04682 void
04683 SimEvents::PrimaryMotorCortexResetEncodersMessage::__write(::IceInternal::BasicStream* __os) const
04684 {
04685 __os->writeTypeId(ice_staticId());
04686 __os->startWriteSlice();
04687 __os->endWriteSlice();
04688 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04689 EventMessage::__write(__os);
04690 #else
04691 ::SimEvents::EventMessage::__write(__os);
04692 #endif
04693 }
04694
04695 void
04696 SimEvents::PrimaryMotorCortexResetEncodersMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04697 {
04698 if(__rid)
04699 {
04700 ::std::string myId;
04701 __is->readTypeId(myId);
04702 }
04703 __is->startReadSlice();
04704 __is->endReadSlice();
04705 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04706 EventMessage::__read(__is, true);
04707 #else
04708 ::SimEvents::EventMessage::__read(__is, true);
04709 #endif
04710 }
04711
04712 void
04713 SimEvents::PrimaryMotorCortexResetEncodersMessage::__write(const ::Ice::OutputStreamPtr&) const
04714 {
04715 Ice::MarshalException ex(__FILE__, __LINE__);
04716 ex.reason = "type SimEvents::PrimaryMotorCortexResetEncodersMessage was not generated with stream support";
04717 throw ex;
04718 }
04719
04720 void
04721 SimEvents::PrimaryMotorCortexResetEncodersMessage::__read(const ::Ice::InputStreamPtr&, bool)
04722 {
04723 Ice::MarshalException ex(__FILE__, __LINE__);
04724 ex.reason = "type SimEvents::PrimaryMotorCortexResetEncodersMessage was not generated with stream support";
04725 throw ex;
04726 }
04727
04728 class __F__SimEvents__PrimaryMotorCortexResetEncodersMessage : public ::Ice::ObjectFactory
04729 {
04730 public:
04731
04732 virtual ::Ice::ObjectPtr
04733 create(const ::std::string& type)
04734 {
04735 assert(type == ::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId());
04736 return new ::SimEvents::PrimaryMotorCortexResetEncodersMessage;
04737 }
04738
04739 virtual void
04740 destroy()
04741 {
04742 }
04743 };
04744
04745 static ::Ice::ObjectFactoryPtr __F__SimEvents__PrimaryMotorCortexResetEncodersMessage_Ptr = new __F__SimEvents__PrimaryMotorCortexResetEncodersMessage;
04746
04747 const ::Ice::ObjectFactoryPtr&
04748 SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_factory()
04749 {
04750 return __F__SimEvents__PrimaryMotorCortexResetEncodersMessage_Ptr;
04751 }
04752
04753 class __F__SimEvents__PrimaryMotorCortexResetEncodersMessage__Init
04754 {
04755 public:
04756
04757 __F__SimEvents__PrimaryMotorCortexResetEncodersMessage__Init()
04758 {
04759 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId(), ::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_factory());
04760 }
04761
04762 ~__F__SimEvents__PrimaryMotorCortexResetEncodersMessage__Init()
04763 {
04764 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId());
04765 }
04766 };
04767
04768 static __F__SimEvents__PrimaryMotorCortexResetEncodersMessage__Init __F__SimEvents__PrimaryMotorCortexResetEncodersMessage__i;
04769
04770 #ifdef __APPLE__
04771 extern "C" { void __F__SimEvents__PrimaryMotorCortexResetEncodersMessage__initializer() {} }
04772 #endif
04773
04774 void
04775 SimEvents::__patch__PrimaryMotorCortexResetEncodersMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04776 {
04777 ::SimEvents::PrimaryMotorCortexResetEncodersMessagePtr* p = static_cast< ::SimEvents::PrimaryMotorCortexResetEncodersMessagePtr*>(__addr);
04778 assert(p);
04779 *p = ::SimEvents::PrimaryMotorCortexResetEncodersMessagePtr::dynamicCast(v);
04780 if(v && !*p)
04781 {
04782 IceInternal::Ex::throwUOE(::SimEvents::PrimaryMotorCortexResetEncodersMessage::ice_staticId(), v->ice_id());
04783 }
04784 }
04785
04786 bool
04787 SimEvents::operator==(const ::SimEvents::PrimaryMotorCortexResetEncodersMessage& l, const ::SimEvents::PrimaryMotorCortexResetEncodersMessage& r)
04788 {
04789 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04790 }
04791
04792 bool
04793 SimEvents::operator<(const ::SimEvents::PrimaryMotorCortexResetEncodersMessage& l, const ::SimEvents::PrimaryMotorCortexResetEncodersMessage& r)
04794 {
04795 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04796 }
04797
04798 SimEvents::PrimaryMotorCortexMessage::PrimaryMotorCortexMessage(bool __ice_targetReached) :
04799 targetReached(__ice_targetReached)
04800 {
04801 }
04802
04803 ::Ice::ObjectPtr
04804 SimEvents::PrimaryMotorCortexMessage::ice_clone() const
04805 {
04806 ::SimEvents::PrimaryMotorCortexMessagePtr __p = new ::SimEvents::PrimaryMotorCortexMessage(*this);
04807 return __p;
04808 }
04809
04810 static const ::std::string __SimEvents__PrimaryMotorCortexMessage_ids[3] =
04811 {
04812 "::Ice::Object",
04813 "::SimEvents::EventMessage",
04814 "::SimEvents::PrimaryMotorCortexMessage"
04815 };
04816
04817 bool
04818 SimEvents::PrimaryMotorCortexMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04819 {
04820 return ::std::binary_search(__SimEvents__PrimaryMotorCortexMessage_ids, __SimEvents__PrimaryMotorCortexMessage_ids + 3, _s);
04821 }
04822
04823 ::std::vector< ::std::string>
04824 SimEvents::PrimaryMotorCortexMessage::ice_ids(const ::Ice::Current&) const
04825 {
04826 return ::std::vector< ::std::string>(&__SimEvents__PrimaryMotorCortexMessage_ids[0], &__SimEvents__PrimaryMotorCortexMessage_ids[3]);
04827 }
04828
04829 const ::std::string&
04830 SimEvents::PrimaryMotorCortexMessage::ice_id(const ::Ice::Current&) const
04831 {
04832 return __SimEvents__PrimaryMotorCortexMessage_ids[2];
04833 }
04834
04835 const ::std::string&
04836 SimEvents::PrimaryMotorCortexMessage::ice_staticId()
04837 {
04838 return __SimEvents__PrimaryMotorCortexMessage_ids[2];
04839 }
04840
04841 void
04842 SimEvents::PrimaryMotorCortexMessage::__write(::IceInternal::BasicStream* __os) const
04843 {
04844 __os->writeTypeId(ice_staticId());
04845 __os->startWriteSlice();
04846 __os->write(targetReached);
04847 __os->endWriteSlice();
04848 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04849 EventMessage::__write(__os);
04850 #else
04851 ::SimEvents::EventMessage::__write(__os);
04852 #endif
04853 }
04854
04855 void
04856 SimEvents::PrimaryMotorCortexMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
04857 {
04858 if(__rid)
04859 {
04860 ::std::string myId;
04861 __is->readTypeId(myId);
04862 }
04863 __is->startReadSlice();
04864 __is->read(targetReached);
04865 __is->endReadSlice();
04866 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
04867 EventMessage::__read(__is, true);
04868 #else
04869 ::SimEvents::EventMessage::__read(__is, true);
04870 #endif
04871 }
04872
04873 void
04874 SimEvents::PrimaryMotorCortexMessage::__write(const ::Ice::OutputStreamPtr&) const
04875 {
04876 Ice::MarshalException ex(__FILE__, __LINE__);
04877 ex.reason = "type SimEvents::PrimaryMotorCortexMessage was not generated with stream support";
04878 throw ex;
04879 }
04880
04881 void
04882 SimEvents::PrimaryMotorCortexMessage::__read(const ::Ice::InputStreamPtr&, bool)
04883 {
04884 Ice::MarshalException ex(__FILE__, __LINE__);
04885 ex.reason = "type SimEvents::PrimaryMotorCortexMessage was not generated with stream support";
04886 throw ex;
04887 }
04888
04889 class __F__SimEvents__PrimaryMotorCortexMessage : public ::Ice::ObjectFactory
04890 {
04891 public:
04892
04893 virtual ::Ice::ObjectPtr
04894 create(const ::std::string& type)
04895 {
04896 assert(type == ::SimEvents::PrimaryMotorCortexMessage::ice_staticId());
04897 return new ::SimEvents::PrimaryMotorCortexMessage;
04898 }
04899
04900 virtual void
04901 destroy()
04902 {
04903 }
04904 };
04905
04906 static ::Ice::ObjectFactoryPtr __F__SimEvents__PrimaryMotorCortexMessage_Ptr = new __F__SimEvents__PrimaryMotorCortexMessage;
04907
04908 const ::Ice::ObjectFactoryPtr&
04909 SimEvents::PrimaryMotorCortexMessage::ice_factory()
04910 {
04911 return __F__SimEvents__PrimaryMotorCortexMessage_Ptr;
04912 }
04913
04914 class __F__SimEvents__PrimaryMotorCortexMessage__Init
04915 {
04916 public:
04917
04918 __F__SimEvents__PrimaryMotorCortexMessage__Init()
04919 {
04920 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::PrimaryMotorCortexMessage::ice_staticId(), ::SimEvents::PrimaryMotorCortexMessage::ice_factory());
04921 }
04922
04923 ~__F__SimEvents__PrimaryMotorCortexMessage__Init()
04924 {
04925 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::PrimaryMotorCortexMessage::ice_staticId());
04926 }
04927 };
04928
04929 static __F__SimEvents__PrimaryMotorCortexMessage__Init __F__SimEvents__PrimaryMotorCortexMessage__i;
04930
04931 #ifdef __APPLE__
04932 extern "C" { void __F__SimEvents__PrimaryMotorCortexMessage__initializer() {} }
04933 #endif
04934
04935 void
04936 SimEvents::__patch__PrimaryMotorCortexMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
04937 {
04938 ::SimEvents::PrimaryMotorCortexMessagePtr* p = static_cast< ::SimEvents::PrimaryMotorCortexMessagePtr*>(__addr);
04939 assert(p);
04940 *p = ::SimEvents::PrimaryMotorCortexMessagePtr::dynamicCast(v);
04941 if(v && !*p)
04942 {
04943 IceInternal::Ex::throwUOE(::SimEvents::PrimaryMotorCortexMessage::ice_staticId(), v->ice_id());
04944 }
04945 }
04946
04947 bool
04948 SimEvents::operator==(const ::SimEvents::PrimaryMotorCortexMessage& l, const ::SimEvents::PrimaryMotorCortexMessage& r)
04949 {
04950 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
04951 }
04952
04953 bool
04954 SimEvents::operator<(const ::SimEvents::PrimaryMotorCortexMessage& l, const ::SimEvents::PrimaryMotorCortexMessage& r)
04955 {
04956 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
04957 }
04958
04959 SimEvents::GUIInputMessage::GUIInputMessage(const ::std::string& __ice_msg, bool __ice_rollDice) :
04960 msg(__ice_msg),
04961 rollDice(__ice_rollDice)
04962 {
04963 }
04964
04965 ::Ice::ObjectPtr
04966 SimEvents::GUIInputMessage::ice_clone() const
04967 {
04968 ::SimEvents::GUIInputMessagePtr __p = new ::SimEvents::GUIInputMessage(*this);
04969 return __p;
04970 }
04971
04972 static const ::std::string __SimEvents__GUIInputMessage_ids[3] =
04973 {
04974 "::Ice::Object",
04975 "::SimEvents::EventMessage",
04976 "::SimEvents::GUIInputMessage"
04977 };
04978
04979 bool
04980 SimEvents::GUIInputMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
04981 {
04982 return ::std::binary_search(__SimEvents__GUIInputMessage_ids, __SimEvents__GUIInputMessage_ids + 3, _s);
04983 }
04984
04985 ::std::vector< ::std::string>
04986 SimEvents::GUIInputMessage::ice_ids(const ::Ice::Current&) const
04987 {
04988 return ::std::vector< ::std::string>(&__SimEvents__GUIInputMessage_ids[0], &__SimEvents__GUIInputMessage_ids[3]);
04989 }
04990
04991 const ::std::string&
04992 SimEvents::GUIInputMessage::ice_id(const ::Ice::Current&) const
04993 {
04994 return __SimEvents__GUIInputMessage_ids[2];
04995 }
04996
04997 const ::std::string&
04998 SimEvents::GUIInputMessage::ice_staticId()
04999 {
05000 return __SimEvents__GUIInputMessage_ids[2];
05001 }
05002
05003 void
05004 SimEvents::GUIInputMessage::__write(::IceInternal::BasicStream* __os) const
05005 {
05006 __os->writeTypeId(ice_staticId());
05007 __os->startWriteSlice();
05008 __os->write(msg);
05009 __os->write(rollDice);
05010 __os->endWriteSlice();
05011 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
05012 EventMessage::__write(__os);
05013 #else
05014 ::SimEvents::EventMessage::__write(__os);
05015 #endif
05016 }
05017
05018 void
05019 SimEvents::GUIInputMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
05020 {
05021 if(__rid)
05022 {
05023 ::std::string myId;
05024 __is->readTypeId(myId);
05025 }
05026 __is->startReadSlice();
05027 __is->read(msg);
05028 __is->read(rollDice);
05029 __is->endReadSlice();
05030 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
05031 EventMessage::__read(__is, true);
05032 #else
05033 ::SimEvents::EventMessage::__read(__is, true);
05034 #endif
05035 }
05036
05037 void
05038 SimEvents::GUIInputMessage::__write(const ::Ice::OutputStreamPtr&) const
05039 {
05040 Ice::MarshalException ex(__FILE__, __LINE__);
05041 ex.reason = "type SimEvents::GUIInputMessage was not generated with stream support";
05042 throw ex;
05043 }
05044
05045 void
05046 SimEvents::GUIInputMessage::__read(const ::Ice::InputStreamPtr&, bool)
05047 {
05048 Ice::MarshalException ex(__FILE__, __LINE__);
05049 ex.reason = "type SimEvents::GUIInputMessage was not generated with stream support";
05050 throw ex;
05051 }
05052
05053 class __F__SimEvents__GUIInputMessage : public ::Ice::ObjectFactory
05054 {
05055 public:
05056
05057 virtual ::Ice::ObjectPtr
05058 create(const ::std::string& type)
05059 {
05060 assert(type == ::SimEvents::GUIInputMessage::ice_staticId());
05061 return new ::SimEvents::GUIInputMessage;
05062 }
05063
05064 virtual void
05065 destroy()
05066 {
05067 }
05068 };
05069
05070 static ::Ice::ObjectFactoryPtr __F__SimEvents__GUIInputMessage_Ptr = new __F__SimEvents__GUIInputMessage;
05071
05072 const ::Ice::ObjectFactoryPtr&
05073 SimEvents::GUIInputMessage::ice_factory()
05074 {
05075 return __F__SimEvents__GUIInputMessage_Ptr;
05076 }
05077
05078 class __F__SimEvents__GUIInputMessage__Init
05079 {
05080 public:
05081
05082 __F__SimEvents__GUIInputMessage__Init()
05083 {
05084 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::GUIInputMessage::ice_staticId(), ::SimEvents::GUIInputMessage::ice_factory());
05085 }
05086
05087 ~__F__SimEvents__GUIInputMessage__Init()
05088 {
05089 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::GUIInputMessage::ice_staticId());
05090 }
05091 };
05092
05093 static __F__SimEvents__GUIInputMessage__Init __F__SimEvents__GUIInputMessage__i;
05094
05095 #ifdef __APPLE__
05096 extern "C" { void __F__SimEvents__GUIInputMessage__initializer() {} }
05097 #endif
05098
05099 void
05100 SimEvents::__patch__GUIInputMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
05101 {
05102 ::SimEvents::GUIInputMessagePtr* p = static_cast< ::SimEvents::GUIInputMessagePtr*>(__addr);
05103 assert(p);
05104 *p = ::SimEvents::GUIInputMessagePtr::dynamicCast(v);
05105 if(v && !*p)
05106 {
05107 IceInternal::Ex::throwUOE(::SimEvents::GUIInputMessage::ice_staticId(), v->ice_id());
05108 }
05109 }
05110
05111 bool
05112 SimEvents::operator==(const ::SimEvents::GUIInputMessage& l, const ::SimEvents::GUIInputMessage& r)
05113 {
05114 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
05115 }
05116
05117 bool
05118 SimEvents::operator<(const ::SimEvents::GUIInputMessage& l, const ::SimEvents::GUIInputMessage& r)
05119 {
05120 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
05121 }
05122
05123 SimEvents::GUIOutputMessage::GUIOutputMessage(::Ice::Int __ice_key, const ::ImageIceMod::Point2DIce& __ice_loc, ::Ice::Int __ice_dice) :
05124 key(__ice_key),
05125 loc(__ice_loc),
05126 dice(__ice_dice)
05127 {
05128 }
05129
05130 ::Ice::ObjectPtr
05131 SimEvents::GUIOutputMessage::ice_clone() const
05132 {
05133 ::SimEvents::GUIOutputMessagePtr __p = new ::SimEvents::GUIOutputMessage(*this);
05134 return __p;
05135 }
05136
05137 static const ::std::string __SimEvents__GUIOutputMessage_ids[3] =
05138 {
05139 "::Ice::Object",
05140 "::SimEvents::EventMessage",
05141 "::SimEvents::GUIOutputMessage"
05142 };
05143
05144 bool
05145 SimEvents::GUIOutputMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
05146 {
05147 return ::std::binary_search(__SimEvents__GUIOutputMessage_ids, __SimEvents__GUIOutputMessage_ids + 3, _s);
05148 }
05149
05150 ::std::vector< ::std::string>
05151 SimEvents::GUIOutputMessage::ice_ids(const ::Ice::Current&) const
05152 {
05153 return ::std::vector< ::std::string>(&__SimEvents__GUIOutputMessage_ids[0], &__SimEvents__GUIOutputMessage_ids[3]);
05154 }
05155
05156 const ::std::string&
05157 SimEvents::GUIOutputMessage::ice_id(const ::Ice::Current&) const
05158 {
05159 return __SimEvents__GUIOutputMessage_ids[2];
05160 }
05161
05162 const ::std::string&
05163 SimEvents::GUIOutputMessage::ice_staticId()
05164 {
05165 return __SimEvents__GUIOutputMessage_ids[2];
05166 }
05167
05168 void
05169 SimEvents::GUIOutputMessage::__write(::IceInternal::BasicStream* __os) const
05170 {
05171 __os->writeTypeId(ice_staticId());
05172 __os->startWriteSlice();
05173 __os->write(key);
05174 loc.__write(__os);
05175 __os->write(dice);
05176 __os->endWriteSlice();
05177 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
05178 EventMessage::__write(__os);
05179 #else
05180 ::SimEvents::EventMessage::__write(__os);
05181 #endif
05182 }
05183
05184 void
05185 SimEvents::GUIOutputMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
05186 {
05187 if(__rid)
05188 {
05189 ::std::string myId;
05190 __is->readTypeId(myId);
05191 }
05192 __is->startReadSlice();
05193 __is->read(key);
05194 loc.__read(__is);
05195 __is->read(dice);
05196 __is->endReadSlice();
05197 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
05198 EventMessage::__read(__is, true);
05199 #else
05200 ::SimEvents::EventMessage::__read(__is, true);
05201 #endif
05202 }
05203
05204 void
05205 SimEvents::GUIOutputMessage::__write(const ::Ice::OutputStreamPtr&) const
05206 {
05207 Ice::MarshalException ex(__FILE__, __LINE__);
05208 ex.reason = "type SimEvents::GUIOutputMessage was not generated with stream support";
05209 throw ex;
05210 }
05211
05212 void
05213 SimEvents::GUIOutputMessage::__read(const ::Ice::InputStreamPtr&, bool)
05214 {
05215 Ice::MarshalException ex(__FILE__, __LINE__);
05216 ex.reason = "type SimEvents::GUIOutputMessage was not generated with stream support";
05217 throw ex;
05218 }
05219
05220 class __F__SimEvents__GUIOutputMessage : public ::Ice::ObjectFactory
05221 {
05222 public:
05223
05224 virtual ::Ice::ObjectPtr
05225 create(const ::std::string& type)
05226 {
05227 assert(type == ::SimEvents::GUIOutputMessage::ice_staticId());
05228 return new ::SimEvents::GUIOutputMessage;
05229 }
05230
05231 virtual void
05232 destroy()
05233 {
05234 }
05235 };
05236
05237 static ::Ice::ObjectFactoryPtr __F__SimEvents__GUIOutputMessage_Ptr = new __F__SimEvents__GUIOutputMessage;
05238
05239 const ::Ice::ObjectFactoryPtr&
05240 SimEvents::GUIOutputMessage::ice_factory()
05241 {
05242 return __F__SimEvents__GUIOutputMessage_Ptr;
05243 }
05244
05245 class __F__SimEvents__GUIOutputMessage__Init
05246 {
05247 public:
05248
05249 __F__SimEvents__GUIOutputMessage__Init()
05250 {
05251 ::IceInternal::factoryTable->addObjectFactory(::SimEvents::GUIOutputMessage::ice_staticId(), ::SimEvents::GUIOutputMessage::ice_factory());
05252 }
05253
05254 ~__F__SimEvents__GUIOutputMessage__Init()
05255 {
05256 ::IceInternal::factoryTable->removeObjectFactory(::SimEvents::GUIOutputMessage::ice_staticId());
05257 }
05258 };
05259
05260 static __F__SimEvents__GUIOutputMessage__Init __F__SimEvents__GUIOutputMessage__i;
05261
05262 #ifdef __APPLE__
05263 extern "C" { void __F__SimEvents__GUIOutputMessage__initializer() {} }
05264 #endif
05265
05266 void
05267 SimEvents::__patch__GUIOutputMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
05268 {
05269 ::SimEvents::GUIOutputMessagePtr* p = static_cast< ::SimEvents::GUIOutputMessagePtr*>(__addr);
05270 assert(p);
05271 *p = ::SimEvents::GUIOutputMessagePtr::dynamicCast(v);
05272 if(v && !*p)
05273 {
05274 IceInternal::Ex::throwUOE(::SimEvents::GUIOutputMessage::ice_staticId(), v->ice_id());
05275 }
05276 }
05277
05278 bool
05279 SimEvents::operator==(const ::SimEvents::GUIOutputMessage& l, const ::SimEvents::GUIOutputMessage& r)
05280 {
05281 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
05282 }
05283
05284 bool
05285 SimEvents::operator<(const ::SimEvents::GUIOutputMessage& l, const ::SimEvents::GUIOutputMessage& r)
05286 {
05287 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
05288 }