BeoHawkSimEvents.ice.C

00001 // **********************************************************************
00002 //
00003 // Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
00004 //
00005 // This copy of Ice is licensed to you under the terms described in the
00006 // ICE_LICENSE file included in this distribution.
00007 //
00008 // **********************************************************************
00009 
00010 // Ice version 3.3.1
00011 // Generated from file `BeoHawkSimEvents.ice'
00012 
00013 #include <BeoHawkSimEvents.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 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BeoHawkEyeSpyMessage* p) { return p; }
00033 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage* p) { return p; }
00034 
00035 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ControlCameraMessage* p) { return p; }
00036 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ControlCameraMessage* p) { return p; }
00037 
00038 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::CameraImageMessage* p) { return p; }
00039 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::CameraImageMessage* p) { return p; }
00040 
00041 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ControlDriveVisionMessage* p) { return p; }
00042 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ControlDriveVisionMessage* p) { return p; }
00043 
00044 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ExecuteMissionMessage* p) { return p; }
00045 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ExecuteMissionMessage* p) { return p; }
00046 
00047 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::SlamDataMessage* p) { return p; }
00048 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::SlamDataMessage* p) { return p; }
00049 
00050 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ControlLandMessage* p) { return p; }
00051 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ControlLandMessage* p) { return p; }
00052 
00053 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ControlMoveMessage* p) { return p; }
00054 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ControlMoveMessage* p) { return p; }
00055 
00056 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::SensorDataMessage* p) { return p; }
00057 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::SensorDataMessage* p) { return p; }
00058 
00059 void
00060 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BeoHawkEyeSpyMessagePrx& v)
00061 {
00062     ::Ice::ObjectPrx proxy;
00063     __is->read(proxy);
00064     if(!proxy)
00065     {
00066         v = 0;
00067     }
00068     else
00069     {
00070         v = new ::IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage;
00071         v->__copyFrom(proxy);
00072     }
00073 }
00074 
00075 void
00076 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ControlCameraMessagePrx& v)
00077 {
00078     ::Ice::ObjectPrx proxy;
00079     __is->read(proxy);
00080     if(!proxy)
00081     {
00082         v = 0;
00083     }
00084     else
00085     {
00086         v = new ::IceProxy::RobotSimEvents::ControlCameraMessage;
00087         v->__copyFrom(proxy);
00088     }
00089 }
00090 
00091 void
00092 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::CameraImageMessagePrx& v)
00093 {
00094     ::Ice::ObjectPrx proxy;
00095     __is->read(proxy);
00096     if(!proxy)
00097     {
00098         v = 0;
00099     }
00100     else
00101     {
00102         v = new ::IceProxy::RobotSimEvents::CameraImageMessage;
00103         v->__copyFrom(proxy);
00104     }
00105 }
00106 
00107 void
00108 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ControlDriveVisionMessagePrx& v)
00109 {
00110     ::Ice::ObjectPrx proxy;
00111     __is->read(proxy);
00112     if(!proxy)
00113     {
00114         v = 0;
00115     }
00116     else
00117     {
00118         v = new ::IceProxy::RobotSimEvents::ControlDriveVisionMessage;
00119         v->__copyFrom(proxy);
00120     }
00121 }
00122 
00123 void
00124 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ExecuteMissionMessagePrx& v)
00125 {
00126     ::Ice::ObjectPrx proxy;
00127     __is->read(proxy);
00128     if(!proxy)
00129     {
00130         v = 0;
00131     }
00132     else
00133     {
00134         v = new ::IceProxy::RobotSimEvents::ExecuteMissionMessage;
00135         v->__copyFrom(proxy);
00136     }
00137 }
00138 
00139 void
00140 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SlamDataMessagePrx& v)
00141 {
00142     ::Ice::ObjectPrx proxy;
00143     __is->read(proxy);
00144     if(!proxy)
00145     {
00146         v = 0;
00147     }
00148     else
00149     {
00150         v = new ::IceProxy::RobotSimEvents::SlamDataMessage;
00151         v->__copyFrom(proxy);
00152     }
00153 }
00154 
00155 void
00156 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ControlLandMessagePrx& v)
00157 {
00158     ::Ice::ObjectPrx proxy;
00159     __is->read(proxy);
00160     if(!proxy)
00161     {
00162         v = 0;
00163     }
00164     else
00165     {
00166         v = new ::IceProxy::RobotSimEvents::ControlLandMessage;
00167         v->__copyFrom(proxy);
00168     }
00169 }
00170 
00171 void
00172 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ControlMoveMessagePrx& v)
00173 {
00174     ::Ice::ObjectPrx proxy;
00175     __is->read(proxy);
00176     if(!proxy)
00177     {
00178         v = 0;
00179     }
00180     else
00181     {
00182         v = new ::IceProxy::RobotSimEvents::ControlMoveMessage;
00183         v->__copyFrom(proxy);
00184     }
00185 }
00186 
00187 void
00188 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SensorDataMessagePrx& v)
00189 {
00190     ::Ice::ObjectPrx proxy;
00191     __is->read(proxy);
00192     if(!proxy)
00193     {
00194         v = 0;
00195     }
00196     else
00197     {
00198         v = new ::IceProxy::RobotSimEvents::SensorDataMessage;
00199         v->__copyFrom(proxy);
00200     }
00201 }
00202 
00203 bool
00204 RobotSimEvents::Location::operator==(const Location& __rhs) const
00205 {
00206     if(this == &__rhs)
00207     {
00208         return true;
00209     }
00210     if(x != __rhs.x)
00211     {
00212         return false;
00213     }
00214     if(y != __rhs.y)
00215     {
00216         return false;
00217     }
00218     if(z != __rhs.z)
00219     {
00220         return false;
00221     }
00222     if(theta != __rhs.theta)
00223     {
00224         return false;
00225     }
00226     return true;
00227 }
00228 
00229 bool
00230 RobotSimEvents::Location::operator<(const Location& __rhs) const
00231 {
00232     if(this == &__rhs)
00233     {
00234         return false;
00235     }
00236     if(x < __rhs.x)
00237     {
00238         return true;
00239     }
00240     else if(__rhs.x < x)
00241     {
00242         return false;
00243     }
00244     if(y < __rhs.y)
00245     {
00246         return true;
00247     }
00248     else if(__rhs.y < y)
00249     {
00250         return false;
00251     }
00252     if(z < __rhs.z)
00253     {
00254         return true;
00255     }
00256     else if(__rhs.z < z)
00257     {
00258         return false;
00259     }
00260     if(theta < __rhs.theta)
00261     {
00262         return true;
00263     }
00264     else if(__rhs.theta < theta)
00265     {
00266         return false;
00267     }
00268     return false;
00269 }
00270 
00271 void
00272 RobotSimEvents::Location::__write(::IceInternal::BasicStream* __os) const
00273 {
00274     __os->write(x);
00275     __os->write(y);
00276     __os->write(z);
00277     __os->write(theta);
00278 }
00279 
00280 void
00281 RobotSimEvents::Location::__read(::IceInternal::BasicStream* __is)
00282 {
00283     __is->read(x);
00284     __is->read(y);
00285     __is->read(z);
00286     __is->read(theta);
00287 }
00288 
00289 bool
00290 RobotSimEvents::Lrf::operator==(const Lrf& __rhs) const
00291 {
00292     if(this == &__rhs)
00293     {
00294         return true;
00295     }
00296     if(angle != __rhs.angle)
00297     {
00298         return false;
00299     }
00300     if(distance != __rhs.distance)
00301     {
00302         return false;
00303     }
00304     return true;
00305 }
00306 
00307 bool
00308 RobotSimEvents::Lrf::operator<(const Lrf& __rhs) const
00309 {
00310     if(this == &__rhs)
00311     {
00312         return false;
00313     }
00314     if(angle < __rhs.angle)
00315     {
00316         return true;
00317     }
00318     else if(__rhs.angle < angle)
00319     {
00320         return false;
00321     }
00322     if(distance < __rhs.distance)
00323     {
00324         return true;
00325     }
00326     else if(__rhs.distance < distance)
00327     {
00328         return false;
00329     }
00330     return false;
00331 }
00332 
00333 void
00334 RobotSimEvents::Lrf::__write(::IceInternal::BasicStream* __os) const
00335 {
00336     __os->write(angle);
00337     __os->write(distance);
00338 }
00339 
00340 void
00341 RobotSimEvents::Lrf::__read(::IceInternal::BasicStream* __is)
00342 {
00343     __is->read(angle);
00344     __is->read(distance);
00345 }
00346 
00347 bool
00348 RobotSimEvents::Sonar::operator==(const Sonar& __rhs) const
00349 {
00350     if(this == &__rhs)
00351     {
00352         return true;
00353     }
00354     if(sonarID != __rhs.sonarID)
00355     {
00356         return false;
00357     }
00358     if(distance != __rhs.distance)
00359     {
00360         return false;
00361     }
00362     return true;
00363 }
00364 
00365 bool
00366 RobotSimEvents::Sonar::operator<(const Sonar& __rhs) const
00367 {
00368     if(this == &__rhs)
00369     {
00370         return false;
00371     }
00372     if(sonarID < __rhs.sonarID)
00373     {
00374         return true;
00375     }
00376     else if(__rhs.sonarID < sonarID)
00377     {
00378         return false;
00379     }
00380     if(distance < __rhs.distance)
00381     {
00382         return true;
00383     }
00384     else if(__rhs.distance < distance)
00385     {
00386         return false;
00387     }
00388     return false;
00389 }
00390 
00391 void
00392 RobotSimEvents::Sonar::__write(::IceInternal::BasicStream* __os) const
00393 {
00394     __os->write(sonarID);
00395     __os->write(distance);
00396 }
00397 
00398 void
00399 RobotSimEvents::Sonar::__read(::IceInternal::BasicStream* __is)
00400 {
00401     __is->read(sonarID);
00402     __is->read(distance);
00403 }
00404 
00405 void
00406 RobotSimEvents::__write(::IceInternal::BasicStream* __os, ::RobotSimEvents::BeoHawkEyeSpyType v)
00407 {
00408     __os->write(static_cast< ::Ice::Byte>(v), 3);
00409 }
00410 
00411 void
00412 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BeoHawkEyeSpyType& v)
00413 {
00414     ::Ice::Byte val;
00415     __is->read(val, 3);
00416     v = static_cast< ::RobotSimEvents::BeoHawkEyeSpyType>(val);
00417 }
00418 
00419 void
00420 RobotSimEvents::__writeLrfSeq(::IceInternal::BasicStream* __os, const ::RobotSimEvents::Lrf* begin, const ::RobotSimEvents::Lrf* end)
00421 {
00422     ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00423     __os->writeSize(size);
00424     for(int i = 0; i < size; ++i)
00425     {
00426         begin[i].__write(__os);
00427     }
00428 }
00429 
00430 void
00431 RobotSimEvents::__readLrfSeq(::IceInternal::BasicStream* __is, ::RobotSimEvents::LrfSeq& v)
00432 {
00433     ::Ice::Int sz;
00434     __is->readSize(sz);
00435     __is->checkFixedSeq(sz, 16);
00436     v.resize(sz);
00437     for(int i = 0; i < sz; ++i)
00438     {
00439         v[i].__read(__is);
00440     }
00441 }
00442 
00443 void
00444 RobotSimEvents::__writeSonarSeq(::IceInternal::BasicStream* __os, const ::RobotSimEvents::Sonar* begin, const ::RobotSimEvents::Sonar* end)
00445 {
00446     ::Ice::Int size = static_cast< ::Ice::Int>(end - begin);
00447     __os->writeSize(size);
00448     for(int i = 0; i < size; ++i)
00449     {
00450         begin[i].__write(__os);
00451     }
00452 }
00453 
00454 void
00455 RobotSimEvents::__readSonarSeq(::IceInternal::BasicStream* __is, ::RobotSimEvents::SonarSeq& v)
00456 {
00457     ::Ice::Int sz;
00458     __is->readSize(sz);
00459     __is->startSeq(sz, 9);
00460     v.resize(sz);
00461     for(int i = 0; i < sz; ++i)
00462     {
00463         v[i].__read(__is);
00464         __is->checkSeq();
00465         __is->endElement();
00466     }
00467     __is->endSeq(sz);
00468 }
00469 
00470 const ::std::string&
00471 IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId()
00472 {
00473     return ::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId();
00474 }
00475 
00476 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00477 IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage::__createDelegateM()
00478 {
00479     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BeoHawkEyeSpyMessage);
00480 }
00481 
00482 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00483 IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage::__createDelegateD()
00484 {
00485     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BeoHawkEyeSpyMessage);
00486 }
00487 
00488 ::IceProxy::Ice::Object*
00489 IceProxy::RobotSimEvents::BeoHawkEyeSpyMessage::__newInstance() const
00490 {
00491     return new BeoHawkEyeSpyMessage;
00492 }
00493 
00494 const ::std::string&
00495 IceProxy::RobotSimEvents::ControlCameraMessage::ice_staticId()
00496 {
00497     return ::RobotSimEvents::ControlCameraMessage::ice_staticId();
00498 }
00499 
00500 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00501 IceProxy::RobotSimEvents::ControlCameraMessage::__createDelegateM()
00502 {
00503     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ControlCameraMessage);
00504 }
00505 
00506 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00507 IceProxy::RobotSimEvents::ControlCameraMessage::__createDelegateD()
00508 {
00509     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ControlCameraMessage);
00510 }
00511 
00512 ::IceProxy::Ice::Object*
00513 IceProxy::RobotSimEvents::ControlCameraMessage::__newInstance() const
00514 {
00515     return new ControlCameraMessage;
00516 }
00517 
00518 const ::std::string&
00519 IceProxy::RobotSimEvents::CameraImageMessage::ice_staticId()
00520 {
00521     return ::RobotSimEvents::CameraImageMessage::ice_staticId();
00522 }
00523 
00524 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00525 IceProxy::RobotSimEvents::CameraImageMessage::__createDelegateM()
00526 {
00527     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::CameraImageMessage);
00528 }
00529 
00530 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00531 IceProxy::RobotSimEvents::CameraImageMessage::__createDelegateD()
00532 {
00533     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::CameraImageMessage);
00534 }
00535 
00536 ::IceProxy::Ice::Object*
00537 IceProxy::RobotSimEvents::CameraImageMessage::__newInstance() const
00538 {
00539     return new CameraImageMessage;
00540 }
00541 
00542 const ::std::string&
00543 IceProxy::RobotSimEvents::ControlDriveVisionMessage::ice_staticId()
00544 {
00545     return ::RobotSimEvents::ControlDriveVisionMessage::ice_staticId();
00546 }
00547 
00548 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00549 IceProxy::RobotSimEvents::ControlDriveVisionMessage::__createDelegateM()
00550 {
00551     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ControlDriveVisionMessage);
00552 }
00553 
00554 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00555 IceProxy::RobotSimEvents::ControlDriveVisionMessage::__createDelegateD()
00556 {
00557     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ControlDriveVisionMessage);
00558 }
00559 
00560 ::IceProxy::Ice::Object*
00561 IceProxy::RobotSimEvents::ControlDriveVisionMessage::__newInstance() const
00562 {
00563     return new ControlDriveVisionMessage;
00564 }
00565 
00566 const ::std::string&
00567 IceProxy::RobotSimEvents::ExecuteMissionMessage::ice_staticId()
00568 {
00569     return ::RobotSimEvents::ExecuteMissionMessage::ice_staticId();
00570 }
00571 
00572 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00573 IceProxy::RobotSimEvents::ExecuteMissionMessage::__createDelegateM()
00574 {
00575     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ExecuteMissionMessage);
00576 }
00577 
00578 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00579 IceProxy::RobotSimEvents::ExecuteMissionMessage::__createDelegateD()
00580 {
00581     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ExecuteMissionMessage);
00582 }
00583 
00584 ::IceProxy::Ice::Object*
00585 IceProxy::RobotSimEvents::ExecuteMissionMessage::__newInstance() const
00586 {
00587     return new ExecuteMissionMessage;
00588 }
00589 
00590 const ::std::string&
00591 IceProxy::RobotSimEvents::SlamDataMessage::ice_staticId()
00592 {
00593     return ::RobotSimEvents::SlamDataMessage::ice_staticId();
00594 }
00595 
00596 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00597 IceProxy::RobotSimEvents::SlamDataMessage::__createDelegateM()
00598 {
00599     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::SlamDataMessage);
00600 }
00601 
00602 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00603 IceProxy::RobotSimEvents::SlamDataMessage::__createDelegateD()
00604 {
00605     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::SlamDataMessage);
00606 }
00607 
00608 ::IceProxy::Ice::Object*
00609 IceProxy::RobotSimEvents::SlamDataMessage::__newInstance() const
00610 {
00611     return new SlamDataMessage;
00612 }
00613 
00614 const ::std::string&
00615 IceProxy::RobotSimEvents::ControlLandMessage::ice_staticId()
00616 {
00617     return ::RobotSimEvents::ControlLandMessage::ice_staticId();
00618 }
00619 
00620 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00621 IceProxy::RobotSimEvents::ControlLandMessage::__createDelegateM()
00622 {
00623     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ControlLandMessage);
00624 }
00625 
00626 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00627 IceProxy::RobotSimEvents::ControlLandMessage::__createDelegateD()
00628 {
00629     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ControlLandMessage);
00630 }
00631 
00632 ::IceProxy::Ice::Object*
00633 IceProxy::RobotSimEvents::ControlLandMessage::__newInstance() const
00634 {
00635     return new ControlLandMessage;
00636 }
00637 
00638 const ::std::string&
00639 IceProxy::RobotSimEvents::ControlMoveMessage::ice_staticId()
00640 {
00641     return ::RobotSimEvents::ControlMoveMessage::ice_staticId();
00642 }
00643 
00644 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00645 IceProxy::RobotSimEvents::ControlMoveMessage::__createDelegateM()
00646 {
00647     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ControlMoveMessage);
00648 }
00649 
00650 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00651 IceProxy::RobotSimEvents::ControlMoveMessage::__createDelegateD()
00652 {
00653     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ControlMoveMessage);
00654 }
00655 
00656 ::IceProxy::Ice::Object*
00657 IceProxy::RobotSimEvents::ControlMoveMessage::__newInstance() const
00658 {
00659     return new ControlMoveMessage;
00660 }
00661 
00662 const ::std::string&
00663 IceProxy::RobotSimEvents::SensorDataMessage::ice_staticId()
00664 {
00665     return ::RobotSimEvents::SensorDataMessage::ice_staticId();
00666 }
00667 
00668 ::IceInternal::Handle< ::IceDelegateM::Ice::Object>
00669 IceProxy::RobotSimEvents::SensorDataMessage::__createDelegateM()
00670 {
00671     return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::SensorDataMessage);
00672 }
00673 
00674 ::IceInternal::Handle< ::IceDelegateD::Ice::Object>
00675 IceProxy::RobotSimEvents::SensorDataMessage::__createDelegateD()
00676 {
00677     return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::SensorDataMessage);
00678 }
00679 
00680 ::IceProxy::Ice::Object*
00681 IceProxy::RobotSimEvents::SensorDataMessage::__newInstance() const
00682 {
00683     return new SensorDataMessage;
00684 }
00685 
00686 RobotSimEvents::BeoHawkEyeSpyMessage::BeoHawkEyeSpyMessage(::RobotSimEvents::BeoHawkEyeSpyType __ice_foundType, const ::std::string& __ice_cameraID, const ::ImageIceMod::Point3DIce& __ice_topLeft, const ::ImageIceMod::Point3DIce& __ice_topRight, const ::ImageIceMod::Point3DIce& __ice_bottomLeft, const ::ImageIceMod::Point3DIce& __ice_bottomRight, ::Ice::Float __ice_certaintyLevel) :
00687     foundType(__ice_foundType),
00688     cameraID(__ice_cameraID),
00689     topLeft(__ice_topLeft),
00690     topRight(__ice_topRight),
00691     bottomLeft(__ice_bottomLeft),
00692     bottomRight(__ice_bottomRight),
00693     certaintyLevel(__ice_certaintyLevel)
00694 {
00695 }
00696 
00697 ::Ice::ObjectPtr
00698 RobotSimEvents::BeoHawkEyeSpyMessage::ice_clone() const
00699 {
00700     ::RobotSimEvents::BeoHawkEyeSpyMessagePtr __p = new ::RobotSimEvents::BeoHawkEyeSpyMessage(*this);
00701     return __p;
00702 }
00703 
00704 static const ::std::string __RobotSimEvents__BeoHawkEyeSpyMessage_ids[3] =
00705 {
00706     "::Ice::Object",
00707     "::RobotSimEvents::BeoHawkEyeSpyMessage",
00708     "::RobotSimEvents::EventMessage"
00709 };
00710 
00711 bool
00712 RobotSimEvents::BeoHawkEyeSpyMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
00713 {
00714     return ::std::binary_search(__RobotSimEvents__BeoHawkEyeSpyMessage_ids, __RobotSimEvents__BeoHawkEyeSpyMessage_ids + 3, _s);
00715 }
00716 
00717 ::std::vector< ::std::string>
00718 RobotSimEvents::BeoHawkEyeSpyMessage::ice_ids(const ::Ice::Current&) const
00719 {
00720     return ::std::vector< ::std::string>(&__RobotSimEvents__BeoHawkEyeSpyMessage_ids[0], &__RobotSimEvents__BeoHawkEyeSpyMessage_ids[3]);
00721 }
00722 
00723 const ::std::string&
00724 RobotSimEvents::BeoHawkEyeSpyMessage::ice_id(const ::Ice::Current&) const
00725 {
00726     return __RobotSimEvents__BeoHawkEyeSpyMessage_ids[1];
00727 }
00728 
00729 const ::std::string&
00730 RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId()
00731 {
00732     return __RobotSimEvents__BeoHawkEyeSpyMessage_ids[1];
00733 }
00734 
00735 void
00736 RobotSimEvents::BeoHawkEyeSpyMessage::__write(::IceInternal::BasicStream* __os) const
00737 {
00738     __os->writeTypeId(ice_staticId());
00739     __os->startWriteSlice();
00740     ::RobotSimEvents::__write(__os, foundType);
00741     __os->write(cameraID);
00742     topLeft.__write(__os);
00743     topRight.__write(__os);
00744     bottomLeft.__write(__os);
00745     bottomRight.__write(__os);
00746     __os->write(certaintyLevel);
00747     __os->endWriteSlice();
00748 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00749     EventMessage::__write(__os);
00750 #else
00751     ::RobotSimEvents::EventMessage::__write(__os);
00752 #endif
00753 }
00754 
00755 void
00756 RobotSimEvents::BeoHawkEyeSpyMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
00757 {
00758     if(__rid)
00759     {
00760         ::std::string myId;
00761         __is->readTypeId(myId);
00762     }
00763     __is->startReadSlice();
00764     ::RobotSimEvents::__read(__is, foundType);
00765     __is->read(cameraID);
00766     topLeft.__read(__is);
00767     topRight.__read(__is);
00768     bottomLeft.__read(__is);
00769     bottomRight.__read(__is);
00770     __is->read(certaintyLevel);
00771     __is->endReadSlice();
00772 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00773     EventMessage::__read(__is, true);
00774 #else
00775     ::RobotSimEvents::EventMessage::__read(__is, true);
00776 #endif
00777 }
00778 
00779 void
00780 RobotSimEvents::BeoHawkEyeSpyMessage::__write(const ::Ice::OutputStreamPtr&) const
00781 {
00782     Ice::MarshalException ex(__FILE__, __LINE__);
00783     ex.reason = "type RobotSimEvents::BeoHawkEyeSpyMessage was not generated with stream support";
00784     throw ex;
00785 }
00786 
00787 void
00788 RobotSimEvents::BeoHawkEyeSpyMessage::__read(const ::Ice::InputStreamPtr&, bool)
00789 {
00790     Ice::MarshalException ex(__FILE__, __LINE__);
00791     ex.reason = "type RobotSimEvents::BeoHawkEyeSpyMessage was not generated with stream support";
00792     throw ex;
00793 }
00794 
00795 class __F__RobotSimEvents__BeoHawkEyeSpyMessage : public ::Ice::ObjectFactory
00796 {
00797 public:
00798 
00799     virtual ::Ice::ObjectPtr
00800     create(const ::std::string& type)
00801     {
00802         assert(type == ::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId());
00803         return new ::RobotSimEvents::BeoHawkEyeSpyMessage;
00804     }
00805 
00806     virtual void
00807     destroy()
00808     {
00809     }
00810 };
00811 
00812 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BeoHawkEyeSpyMessage_Ptr = new __F__RobotSimEvents__BeoHawkEyeSpyMessage;
00813 
00814 const ::Ice::ObjectFactoryPtr&
00815 RobotSimEvents::BeoHawkEyeSpyMessage::ice_factory()
00816 {
00817     return __F__RobotSimEvents__BeoHawkEyeSpyMessage_Ptr;
00818 }
00819 
00820 class __F__RobotSimEvents__BeoHawkEyeSpyMessage__Init
00821 {
00822 public:
00823 
00824     __F__RobotSimEvents__BeoHawkEyeSpyMessage__Init()
00825     {
00826         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId(), ::RobotSimEvents::BeoHawkEyeSpyMessage::ice_factory());
00827     }
00828 
00829     ~__F__RobotSimEvents__BeoHawkEyeSpyMessage__Init()
00830     {
00831         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId());
00832     }
00833 };
00834 
00835 static __F__RobotSimEvents__BeoHawkEyeSpyMessage__Init __F__RobotSimEvents__BeoHawkEyeSpyMessage__i;
00836 
00837 #ifdef __APPLE__
00838 extern "C" { void __F__RobotSimEvents__BeoHawkEyeSpyMessage__initializer() {} }
00839 #endif
00840 
00841 void
00842 RobotSimEvents::__patch__BeoHawkEyeSpyMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
00843 {
00844     ::RobotSimEvents::BeoHawkEyeSpyMessagePtr* p = static_cast< ::RobotSimEvents::BeoHawkEyeSpyMessagePtr*>(__addr);
00845     assert(p);
00846     *p = ::RobotSimEvents::BeoHawkEyeSpyMessagePtr::dynamicCast(v);
00847     if(v && !*p)
00848     {
00849         IceInternal::Ex::throwUOE(::RobotSimEvents::BeoHawkEyeSpyMessage::ice_staticId(), v->ice_id());
00850     }
00851 }
00852 
00853 bool
00854 RobotSimEvents::operator==(const ::RobotSimEvents::BeoHawkEyeSpyMessage& l, const ::RobotSimEvents::BeoHawkEyeSpyMessage& r)
00855 {
00856     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
00857 }
00858 
00859 bool
00860 RobotSimEvents::operator<(const ::RobotSimEvents::BeoHawkEyeSpyMessage& l, const ::RobotSimEvents::BeoHawkEyeSpyMessage& r)
00861 {
00862     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
00863 }
00864 
00865 RobotSimEvents::ControlCameraMessage::ControlCameraMessage(const ::std::string& __ice_cameraID, const ::std::string& __ice_compression, ::Ice::Int __ice_fps, bool __ice_cameraOn) :
00866     cameraID(__ice_cameraID),
00867     compression(__ice_compression),
00868     fps(__ice_fps),
00869     cameraOn(__ice_cameraOn)
00870 {
00871 }
00872 
00873 ::Ice::ObjectPtr
00874 RobotSimEvents::ControlCameraMessage::ice_clone() const
00875 {
00876     ::RobotSimEvents::ControlCameraMessagePtr __p = new ::RobotSimEvents::ControlCameraMessage(*this);
00877     return __p;
00878 }
00879 
00880 static const ::std::string __RobotSimEvents__ControlCameraMessage_ids[3] =
00881 {
00882     "::Ice::Object",
00883     "::RobotSimEvents::ControlCameraMessage",
00884     "::RobotSimEvents::EventMessage"
00885 };
00886 
00887 bool
00888 RobotSimEvents::ControlCameraMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
00889 {
00890     return ::std::binary_search(__RobotSimEvents__ControlCameraMessage_ids, __RobotSimEvents__ControlCameraMessage_ids + 3, _s);
00891 }
00892 
00893 ::std::vector< ::std::string>
00894 RobotSimEvents::ControlCameraMessage::ice_ids(const ::Ice::Current&) const
00895 {
00896     return ::std::vector< ::std::string>(&__RobotSimEvents__ControlCameraMessage_ids[0], &__RobotSimEvents__ControlCameraMessage_ids[3]);
00897 }
00898 
00899 const ::std::string&
00900 RobotSimEvents::ControlCameraMessage::ice_id(const ::Ice::Current&) const
00901 {
00902     return __RobotSimEvents__ControlCameraMessage_ids[1];
00903 }
00904 
00905 const ::std::string&
00906 RobotSimEvents::ControlCameraMessage::ice_staticId()
00907 {
00908     return __RobotSimEvents__ControlCameraMessage_ids[1];
00909 }
00910 
00911 void
00912 RobotSimEvents::ControlCameraMessage::__write(::IceInternal::BasicStream* __os) const
00913 {
00914     __os->writeTypeId(ice_staticId());
00915     __os->startWriteSlice();
00916     __os->write(cameraID);
00917     __os->write(compression);
00918     __os->write(fps);
00919     __os->write(cameraOn);
00920     __os->endWriteSlice();
00921 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00922     EventMessage::__write(__os);
00923 #else
00924     ::RobotSimEvents::EventMessage::__write(__os);
00925 #endif
00926 }
00927 
00928 void
00929 RobotSimEvents::ControlCameraMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
00930 {
00931     if(__rid)
00932     {
00933         ::std::string myId;
00934         __is->readTypeId(myId);
00935     }
00936     __is->startReadSlice();
00937     __is->read(cameraID);
00938     __is->read(compression);
00939     __is->read(fps);
00940     __is->read(cameraOn);
00941     __is->endReadSlice();
00942 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00943     EventMessage::__read(__is, true);
00944 #else
00945     ::RobotSimEvents::EventMessage::__read(__is, true);
00946 #endif
00947 }
00948 
00949 void
00950 RobotSimEvents::ControlCameraMessage::__write(const ::Ice::OutputStreamPtr&) const
00951 {
00952     Ice::MarshalException ex(__FILE__, __LINE__);
00953     ex.reason = "type RobotSimEvents::ControlCameraMessage was not generated with stream support";
00954     throw ex;
00955 }
00956 
00957 void
00958 RobotSimEvents::ControlCameraMessage::__read(const ::Ice::InputStreamPtr&, bool)
00959 {
00960     Ice::MarshalException ex(__FILE__, __LINE__);
00961     ex.reason = "type RobotSimEvents::ControlCameraMessage was not generated with stream support";
00962     throw ex;
00963 }
00964 
00965 class __F__RobotSimEvents__ControlCameraMessage : public ::Ice::ObjectFactory
00966 {
00967 public:
00968 
00969     virtual ::Ice::ObjectPtr
00970     create(const ::std::string& type)
00971     {
00972         assert(type == ::RobotSimEvents::ControlCameraMessage::ice_staticId());
00973         return new ::RobotSimEvents::ControlCameraMessage;
00974     }
00975 
00976     virtual void
00977     destroy()
00978     {
00979     }
00980 };
00981 
00982 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ControlCameraMessage_Ptr = new __F__RobotSimEvents__ControlCameraMessage;
00983 
00984 const ::Ice::ObjectFactoryPtr&
00985 RobotSimEvents::ControlCameraMessage::ice_factory()
00986 {
00987     return __F__RobotSimEvents__ControlCameraMessage_Ptr;
00988 }
00989 
00990 class __F__RobotSimEvents__ControlCameraMessage__Init
00991 {
00992 public:
00993 
00994     __F__RobotSimEvents__ControlCameraMessage__Init()
00995     {
00996         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ControlCameraMessage::ice_staticId(), ::RobotSimEvents::ControlCameraMessage::ice_factory());
00997     }
00998 
00999     ~__F__RobotSimEvents__ControlCameraMessage__Init()
01000     {
01001         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ControlCameraMessage::ice_staticId());
01002     }
01003 };
01004 
01005 static __F__RobotSimEvents__ControlCameraMessage__Init __F__RobotSimEvents__ControlCameraMessage__i;
01006 
01007 #ifdef __APPLE__
01008 extern "C" { void __F__RobotSimEvents__ControlCameraMessage__initializer() {} }
01009 #endif
01010 
01011 void
01012 RobotSimEvents::__patch__ControlCameraMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01013 {
01014     ::RobotSimEvents::ControlCameraMessagePtr* p = static_cast< ::RobotSimEvents::ControlCameraMessagePtr*>(__addr);
01015     assert(p);
01016     *p = ::RobotSimEvents::ControlCameraMessagePtr::dynamicCast(v);
01017     if(v && !*p)
01018     {
01019         IceInternal::Ex::throwUOE(::RobotSimEvents::ControlCameraMessage::ice_staticId(), v->ice_id());
01020     }
01021 }
01022 
01023 bool
01024 RobotSimEvents::operator==(const ::RobotSimEvents::ControlCameraMessage& l, const ::RobotSimEvents::ControlCameraMessage& r)
01025 {
01026     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01027 }
01028 
01029 bool
01030 RobotSimEvents::operator<(const ::RobotSimEvents::ControlCameraMessage& l, const ::RobotSimEvents::ControlCameraMessage& r)
01031 {
01032     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01033 }
01034 
01035 RobotSimEvents::CameraImageMessage::CameraImageMessage(const ::std::string& __ice_cameraID, const ::std::string& __ice_compression, const ::ImageIceMod::ImageIce& __ice_img) :
01036     cameraID(__ice_cameraID),
01037     compression(__ice_compression),
01038     img(__ice_img)
01039 {
01040 }
01041 
01042 ::Ice::ObjectPtr
01043 RobotSimEvents::CameraImageMessage::ice_clone() const
01044 {
01045     ::RobotSimEvents::CameraImageMessagePtr __p = new ::RobotSimEvents::CameraImageMessage(*this);
01046     return __p;
01047 }
01048 
01049 static const ::std::string __RobotSimEvents__CameraImageMessage_ids[3] =
01050 {
01051     "::Ice::Object",
01052     "::RobotSimEvents::CameraImageMessage",
01053     "::RobotSimEvents::EventMessage"
01054 };
01055 
01056 bool
01057 RobotSimEvents::CameraImageMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01058 {
01059     return ::std::binary_search(__RobotSimEvents__CameraImageMessage_ids, __RobotSimEvents__CameraImageMessage_ids + 3, _s);
01060 }
01061 
01062 ::std::vector< ::std::string>
01063 RobotSimEvents::CameraImageMessage::ice_ids(const ::Ice::Current&) const
01064 {
01065     return ::std::vector< ::std::string>(&__RobotSimEvents__CameraImageMessage_ids[0], &__RobotSimEvents__CameraImageMessage_ids[3]);
01066 }
01067 
01068 const ::std::string&
01069 RobotSimEvents::CameraImageMessage::ice_id(const ::Ice::Current&) const
01070 {
01071     return __RobotSimEvents__CameraImageMessage_ids[1];
01072 }
01073 
01074 const ::std::string&
01075 RobotSimEvents::CameraImageMessage::ice_staticId()
01076 {
01077     return __RobotSimEvents__CameraImageMessage_ids[1];
01078 }
01079 
01080 void
01081 RobotSimEvents::CameraImageMessage::__write(::IceInternal::BasicStream* __os) const
01082 {
01083     __os->writeTypeId(ice_staticId());
01084     __os->startWriteSlice();
01085     __os->write(cameraID);
01086     __os->write(compression);
01087     img.__write(__os);
01088     __os->endWriteSlice();
01089 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01090     EventMessage::__write(__os);
01091 #else
01092     ::RobotSimEvents::EventMessage::__write(__os);
01093 #endif
01094 }
01095 
01096 void
01097 RobotSimEvents::CameraImageMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01098 {
01099     if(__rid)
01100     {
01101         ::std::string myId;
01102         __is->readTypeId(myId);
01103     }
01104     __is->startReadSlice();
01105     __is->read(cameraID);
01106     __is->read(compression);
01107     img.__read(__is);
01108     __is->endReadSlice();
01109 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01110     EventMessage::__read(__is, true);
01111 #else
01112     ::RobotSimEvents::EventMessage::__read(__is, true);
01113 #endif
01114 }
01115 
01116 void
01117 RobotSimEvents::CameraImageMessage::__write(const ::Ice::OutputStreamPtr&) const
01118 {
01119     Ice::MarshalException ex(__FILE__, __LINE__);
01120     ex.reason = "type RobotSimEvents::CameraImageMessage was not generated with stream support";
01121     throw ex;
01122 }
01123 
01124 void
01125 RobotSimEvents::CameraImageMessage::__read(const ::Ice::InputStreamPtr&, bool)
01126 {
01127     Ice::MarshalException ex(__FILE__, __LINE__);
01128     ex.reason = "type RobotSimEvents::CameraImageMessage was not generated with stream support";
01129     throw ex;
01130 }
01131 
01132 class __F__RobotSimEvents__CameraImageMessage : public ::Ice::ObjectFactory
01133 {
01134 public:
01135 
01136     virtual ::Ice::ObjectPtr
01137     create(const ::std::string& type)
01138     {
01139         assert(type == ::RobotSimEvents::CameraImageMessage::ice_staticId());
01140         return new ::RobotSimEvents::CameraImageMessage;
01141     }
01142 
01143     virtual void
01144     destroy()
01145     {
01146     }
01147 };
01148 
01149 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__CameraImageMessage_Ptr = new __F__RobotSimEvents__CameraImageMessage;
01150 
01151 const ::Ice::ObjectFactoryPtr&
01152 RobotSimEvents::CameraImageMessage::ice_factory()
01153 {
01154     return __F__RobotSimEvents__CameraImageMessage_Ptr;
01155 }
01156 
01157 class __F__RobotSimEvents__CameraImageMessage__Init
01158 {
01159 public:
01160 
01161     __F__RobotSimEvents__CameraImageMessage__Init()
01162     {
01163         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::CameraImageMessage::ice_staticId(), ::RobotSimEvents::CameraImageMessage::ice_factory());
01164     }
01165 
01166     ~__F__RobotSimEvents__CameraImageMessage__Init()
01167     {
01168         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::CameraImageMessage::ice_staticId());
01169     }
01170 };
01171 
01172 static __F__RobotSimEvents__CameraImageMessage__Init __F__RobotSimEvents__CameraImageMessage__i;
01173 
01174 #ifdef __APPLE__
01175 extern "C" { void __F__RobotSimEvents__CameraImageMessage__initializer() {} }
01176 #endif
01177 
01178 void
01179 RobotSimEvents::__patch__CameraImageMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01180 {
01181     ::RobotSimEvents::CameraImageMessagePtr* p = static_cast< ::RobotSimEvents::CameraImageMessagePtr*>(__addr);
01182     assert(p);
01183     *p = ::RobotSimEvents::CameraImageMessagePtr::dynamicCast(v);
01184     if(v && !*p)
01185     {
01186         IceInternal::Ex::throwUOE(::RobotSimEvents::CameraImageMessage::ice_staticId(), v->ice_id());
01187     }
01188 }
01189 
01190 bool
01191 RobotSimEvents::operator==(const ::RobotSimEvents::CameraImageMessage& l, const ::RobotSimEvents::CameraImageMessage& r)
01192 {
01193     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01194 }
01195 
01196 bool
01197 RobotSimEvents::operator<(const ::RobotSimEvents::CameraImageMessage& l, const ::RobotSimEvents::CameraImageMessage& r)
01198 {
01199     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01200 }
01201 
01202 RobotSimEvents::ControlDriveVisionMessage::ControlDriveVisionMessage(bool __ice_drivevisionOn) :
01203     drivevisionOn(__ice_drivevisionOn)
01204 {
01205 }
01206 
01207 ::Ice::ObjectPtr
01208 RobotSimEvents::ControlDriveVisionMessage::ice_clone() const
01209 {
01210     ::RobotSimEvents::ControlDriveVisionMessagePtr __p = new ::RobotSimEvents::ControlDriveVisionMessage(*this);
01211     return __p;
01212 }
01213 
01214 static const ::std::string __RobotSimEvents__ControlDriveVisionMessage_ids[3] =
01215 {
01216     "::Ice::Object",
01217     "::RobotSimEvents::ControlDriveVisionMessage",
01218     "::RobotSimEvents::EventMessage"
01219 };
01220 
01221 bool
01222 RobotSimEvents::ControlDriveVisionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01223 {
01224     return ::std::binary_search(__RobotSimEvents__ControlDriveVisionMessage_ids, __RobotSimEvents__ControlDriveVisionMessage_ids + 3, _s);
01225 }
01226 
01227 ::std::vector< ::std::string>
01228 RobotSimEvents::ControlDriveVisionMessage::ice_ids(const ::Ice::Current&) const
01229 {
01230     return ::std::vector< ::std::string>(&__RobotSimEvents__ControlDriveVisionMessage_ids[0], &__RobotSimEvents__ControlDriveVisionMessage_ids[3]);
01231 }
01232 
01233 const ::std::string&
01234 RobotSimEvents::ControlDriveVisionMessage::ice_id(const ::Ice::Current&) const
01235 {
01236     return __RobotSimEvents__ControlDriveVisionMessage_ids[1];
01237 }
01238 
01239 const ::std::string&
01240 RobotSimEvents::ControlDriveVisionMessage::ice_staticId()
01241 {
01242     return __RobotSimEvents__ControlDriveVisionMessage_ids[1];
01243 }
01244 
01245 void
01246 RobotSimEvents::ControlDriveVisionMessage::__write(::IceInternal::BasicStream* __os) const
01247 {
01248     __os->writeTypeId(ice_staticId());
01249     __os->startWriteSlice();
01250     __os->write(drivevisionOn);
01251     __os->endWriteSlice();
01252 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01253     EventMessage::__write(__os);
01254 #else
01255     ::RobotSimEvents::EventMessage::__write(__os);
01256 #endif
01257 }
01258 
01259 void
01260 RobotSimEvents::ControlDriveVisionMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01261 {
01262     if(__rid)
01263     {
01264         ::std::string myId;
01265         __is->readTypeId(myId);
01266     }
01267     __is->startReadSlice();
01268     __is->read(drivevisionOn);
01269     __is->endReadSlice();
01270 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01271     EventMessage::__read(__is, true);
01272 #else
01273     ::RobotSimEvents::EventMessage::__read(__is, true);
01274 #endif
01275 }
01276 
01277 void
01278 RobotSimEvents::ControlDriveVisionMessage::__write(const ::Ice::OutputStreamPtr&) const
01279 {
01280     Ice::MarshalException ex(__FILE__, __LINE__);
01281     ex.reason = "type RobotSimEvents::ControlDriveVisionMessage was not generated with stream support";
01282     throw ex;
01283 }
01284 
01285 void
01286 RobotSimEvents::ControlDriveVisionMessage::__read(const ::Ice::InputStreamPtr&, bool)
01287 {
01288     Ice::MarshalException ex(__FILE__, __LINE__);
01289     ex.reason = "type RobotSimEvents::ControlDriveVisionMessage was not generated with stream support";
01290     throw ex;
01291 }
01292 
01293 class __F__RobotSimEvents__ControlDriveVisionMessage : public ::Ice::ObjectFactory
01294 {
01295 public:
01296 
01297     virtual ::Ice::ObjectPtr
01298     create(const ::std::string& type)
01299     {
01300         assert(type == ::RobotSimEvents::ControlDriveVisionMessage::ice_staticId());
01301         return new ::RobotSimEvents::ControlDriveVisionMessage;
01302     }
01303 
01304     virtual void
01305     destroy()
01306     {
01307     }
01308 };
01309 
01310 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ControlDriveVisionMessage_Ptr = new __F__RobotSimEvents__ControlDriveVisionMessage;
01311 
01312 const ::Ice::ObjectFactoryPtr&
01313 RobotSimEvents::ControlDriveVisionMessage::ice_factory()
01314 {
01315     return __F__RobotSimEvents__ControlDriveVisionMessage_Ptr;
01316 }
01317 
01318 class __F__RobotSimEvents__ControlDriveVisionMessage__Init
01319 {
01320 public:
01321 
01322     __F__RobotSimEvents__ControlDriveVisionMessage__Init()
01323     {
01324         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ControlDriveVisionMessage::ice_staticId(), ::RobotSimEvents::ControlDriveVisionMessage::ice_factory());
01325     }
01326 
01327     ~__F__RobotSimEvents__ControlDriveVisionMessage__Init()
01328     {
01329         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ControlDriveVisionMessage::ice_staticId());
01330     }
01331 };
01332 
01333 static __F__RobotSimEvents__ControlDriveVisionMessage__Init __F__RobotSimEvents__ControlDriveVisionMessage__i;
01334 
01335 #ifdef __APPLE__
01336 extern "C" { void __F__RobotSimEvents__ControlDriveVisionMessage__initializer() {} }
01337 #endif
01338 
01339 void
01340 RobotSimEvents::__patch__ControlDriveVisionMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01341 {
01342     ::RobotSimEvents::ControlDriveVisionMessagePtr* p = static_cast< ::RobotSimEvents::ControlDriveVisionMessagePtr*>(__addr);
01343     assert(p);
01344     *p = ::RobotSimEvents::ControlDriveVisionMessagePtr::dynamicCast(v);
01345     if(v && !*p)
01346     {
01347         IceInternal::Ex::throwUOE(::RobotSimEvents::ControlDriveVisionMessage::ice_staticId(), v->ice_id());
01348     }
01349 }
01350 
01351 bool
01352 RobotSimEvents::operator==(const ::RobotSimEvents::ControlDriveVisionMessage& l, const ::RobotSimEvents::ControlDriveVisionMessage& r)
01353 {
01354     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01355 }
01356 
01357 bool
01358 RobotSimEvents::operator<(const ::RobotSimEvents::ControlDriveVisionMessage& l, const ::RobotSimEvents::ControlDriveVisionMessage& r)
01359 {
01360     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01361 }
01362 
01363 RobotSimEvents::ExecuteMissionMessage::ExecuteMissionMessage(const ::std::string& __ice_mission) :
01364     mission(__ice_mission)
01365 {
01366 }
01367 
01368 ::Ice::ObjectPtr
01369 RobotSimEvents::ExecuteMissionMessage::ice_clone() const
01370 {
01371     ::RobotSimEvents::ExecuteMissionMessagePtr __p = new ::RobotSimEvents::ExecuteMissionMessage(*this);
01372     return __p;
01373 }
01374 
01375 static const ::std::string __RobotSimEvents__ExecuteMissionMessage_ids[3] =
01376 {
01377     "::Ice::Object",
01378     "::RobotSimEvents::EventMessage",
01379     "::RobotSimEvents::ExecuteMissionMessage"
01380 };
01381 
01382 bool
01383 RobotSimEvents::ExecuteMissionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01384 {
01385     return ::std::binary_search(__RobotSimEvents__ExecuteMissionMessage_ids, __RobotSimEvents__ExecuteMissionMessage_ids + 3, _s);
01386 }
01387 
01388 ::std::vector< ::std::string>
01389 RobotSimEvents::ExecuteMissionMessage::ice_ids(const ::Ice::Current&) const
01390 {
01391     return ::std::vector< ::std::string>(&__RobotSimEvents__ExecuteMissionMessage_ids[0], &__RobotSimEvents__ExecuteMissionMessage_ids[3]);
01392 }
01393 
01394 const ::std::string&
01395 RobotSimEvents::ExecuteMissionMessage::ice_id(const ::Ice::Current&) const
01396 {
01397     return __RobotSimEvents__ExecuteMissionMessage_ids[2];
01398 }
01399 
01400 const ::std::string&
01401 RobotSimEvents::ExecuteMissionMessage::ice_staticId()
01402 {
01403     return __RobotSimEvents__ExecuteMissionMessage_ids[2];
01404 }
01405 
01406 void
01407 RobotSimEvents::ExecuteMissionMessage::__write(::IceInternal::BasicStream* __os) const
01408 {
01409     __os->writeTypeId(ice_staticId());
01410     __os->startWriteSlice();
01411     __os->write(mission);
01412     __os->endWriteSlice();
01413 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01414     EventMessage::__write(__os);
01415 #else
01416     ::RobotSimEvents::EventMessage::__write(__os);
01417 #endif
01418 }
01419 
01420 void
01421 RobotSimEvents::ExecuteMissionMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01422 {
01423     if(__rid)
01424     {
01425         ::std::string myId;
01426         __is->readTypeId(myId);
01427     }
01428     __is->startReadSlice();
01429     __is->read(mission);
01430     __is->endReadSlice();
01431 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01432     EventMessage::__read(__is, true);
01433 #else
01434     ::RobotSimEvents::EventMessage::__read(__is, true);
01435 #endif
01436 }
01437 
01438 void
01439 RobotSimEvents::ExecuteMissionMessage::__write(const ::Ice::OutputStreamPtr&) const
01440 {
01441     Ice::MarshalException ex(__FILE__, __LINE__);
01442     ex.reason = "type RobotSimEvents::ExecuteMissionMessage was not generated with stream support";
01443     throw ex;
01444 }
01445 
01446 void
01447 RobotSimEvents::ExecuteMissionMessage::__read(const ::Ice::InputStreamPtr&, bool)
01448 {
01449     Ice::MarshalException ex(__FILE__, __LINE__);
01450     ex.reason = "type RobotSimEvents::ExecuteMissionMessage was not generated with stream support";
01451     throw ex;
01452 }
01453 
01454 class __F__RobotSimEvents__ExecuteMissionMessage : public ::Ice::ObjectFactory
01455 {
01456 public:
01457 
01458     virtual ::Ice::ObjectPtr
01459     create(const ::std::string& type)
01460     {
01461         assert(type == ::RobotSimEvents::ExecuteMissionMessage::ice_staticId());
01462         return new ::RobotSimEvents::ExecuteMissionMessage;
01463     }
01464 
01465     virtual void
01466     destroy()
01467     {
01468     }
01469 };
01470 
01471 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ExecuteMissionMessage_Ptr = new __F__RobotSimEvents__ExecuteMissionMessage;
01472 
01473 const ::Ice::ObjectFactoryPtr&
01474 RobotSimEvents::ExecuteMissionMessage::ice_factory()
01475 {
01476     return __F__RobotSimEvents__ExecuteMissionMessage_Ptr;
01477 }
01478 
01479 class __F__RobotSimEvents__ExecuteMissionMessage__Init
01480 {
01481 public:
01482 
01483     __F__RobotSimEvents__ExecuteMissionMessage__Init()
01484     {
01485         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ExecuteMissionMessage::ice_staticId(), ::RobotSimEvents::ExecuteMissionMessage::ice_factory());
01486     }
01487 
01488     ~__F__RobotSimEvents__ExecuteMissionMessage__Init()
01489     {
01490         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ExecuteMissionMessage::ice_staticId());
01491     }
01492 };
01493 
01494 static __F__RobotSimEvents__ExecuteMissionMessage__Init __F__RobotSimEvents__ExecuteMissionMessage__i;
01495 
01496 #ifdef __APPLE__
01497 extern "C" { void __F__RobotSimEvents__ExecuteMissionMessage__initializer() {} }
01498 #endif
01499 
01500 void
01501 RobotSimEvents::__patch__ExecuteMissionMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01502 {
01503     ::RobotSimEvents::ExecuteMissionMessagePtr* p = static_cast< ::RobotSimEvents::ExecuteMissionMessagePtr*>(__addr);
01504     assert(p);
01505     *p = ::RobotSimEvents::ExecuteMissionMessagePtr::dynamicCast(v);
01506     if(v && !*p)
01507     {
01508         IceInternal::Ex::throwUOE(::RobotSimEvents::ExecuteMissionMessage::ice_staticId(), v->ice_id());
01509     }
01510 }
01511 
01512 bool
01513 RobotSimEvents::operator==(const ::RobotSimEvents::ExecuteMissionMessage& l, const ::RobotSimEvents::ExecuteMissionMessage& r)
01514 {
01515     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01516 }
01517 
01518 bool
01519 RobotSimEvents::operator<(const ::RobotSimEvents::ExecuteMissionMessage& l, const ::RobotSimEvents::ExecuteMissionMessage& r)
01520 {
01521     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01522 }
01523 
01524 RobotSimEvents::SlamDataMessage::SlamDataMessage(const ::RobotSimEvents::Location& __ice_lctn) :
01525     lctn(__ice_lctn)
01526 {
01527 }
01528 
01529 ::Ice::ObjectPtr
01530 RobotSimEvents::SlamDataMessage::ice_clone() const
01531 {
01532     ::RobotSimEvents::SlamDataMessagePtr __p = new ::RobotSimEvents::SlamDataMessage(*this);
01533     return __p;
01534 }
01535 
01536 static const ::std::string __RobotSimEvents__SlamDataMessage_ids[3] =
01537 {
01538     "::Ice::Object",
01539     "::RobotSimEvents::EventMessage",
01540     "::RobotSimEvents::SlamDataMessage"
01541 };
01542 
01543 bool
01544 RobotSimEvents::SlamDataMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01545 {
01546     return ::std::binary_search(__RobotSimEvents__SlamDataMessage_ids, __RobotSimEvents__SlamDataMessage_ids + 3, _s);
01547 }
01548 
01549 ::std::vector< ::std::string>
01550 RobotSimEvents::SlamDataMessage::ice_ids(const ::Ice::Current&) const
01551 {
01552     return ::std::vector< ::std::string>(&__RobotSimEvents__SlamDataMessage_ids[0], &__RobotSimEvents__SlamDataMessage_ids[3]);
01553 }
01554 
01555 const ::std::string&
01556 RobotSimEvents::SlamDataMessage::ice_id(const ::Ice::Current&) const
01557 {
01558     return __RobotSimEvents__SlamDataMessage_ids[2];
01559 }
01560 
01561 const ::std::string&
01562 RobotSimEvents::SlamDataMessage::ice_staticId()
01563 {
01564     return __RobotSimEvents__SlamDataMessage_ids[2];
01565 }
01566 
01567 void
01568 RobotSimEvents::SlamDataMessage::__write(::IceInternal::BasicStream* __os) const
01569 {
01570     __os->writeTypeId(ice_staticId());
01571     __os->startWriteSlice();
01572     lctn.__write(__os);
01573     __os->endWriteSlice();
01574 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01575     EventMessage::__write(__os);
01576 #else
01577     ::RobotSimEvents::EventMessage::__write(__os);
01578 #endif
01579 }
01580 
01581 void
01582 RobotSimEvents::SlamDataMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01583 {
01584     if(__rid)
01585     {
01586         ::std::string myId;
01587         __is->readTypeId(myId);
01588     }
01589     __is->startReadSlice();
01590     lctn.__read(__is);
01591     __is->endReadSlice();
01592 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01593     EventMessage::__read(__is, true);
01594 #else
01595     ::RobotSimEvents::EventMessage::__read(__is, true);
01596 #endif
01597 }
01598 
01599 void
01600 RobotSimEvents::SlamDataMessage::__write(const ::Ice::OutputStreamPtr&) const
01601 {
01602     Ice::MarshalException ex(__FILE__, __LINE__);
01603     ex.reason = "type RobotSimEvents::SlamDataMessage was not generated with stream support";
01604     throw ex;
01605 }
01606 
01607 void
01608 RobotSimEvents::SlamDataMessage::__read(const ::Ice::InputStreamPtr&, bool)
01609 {
01610     Ice::MarshalException ex(__FILE__, __LINE__);
01611     ex.reason = "type RobotSimEvents::SlamDataMessage was not generated with stream support";
01612     throw ex;
01613 }
01614 
01615 class __F__RobotSimEvents__SlamDataMessage : public ::Ice::ObjectFactory
01616 {
01617 public:
01618 
01619     virtual ::Ice::ObjectPtr
01620     create(const ::std::string& type)
01621     {
01622         assert(type == ::RobotSimEvents::SlamDataMessage::ice_staticId());
01623         return new ::RobotSimEvents::SlamDataMessage;
01624     }
01625 
01626     virtual void
01627     destroy()
01628     {
01629     }
01630 };
01631 
01632 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__SlamDataMessage_Ptr = new __F__RobotSimEvents__SlamDataMessage;
01633 
01634 const ::Ice::ObjectFactoryPtr&
01635 RobotSimEvents::SlamDataMessage::ice_factory()
01636 {
01637     return __F__RobotSimEvents__SlamDataMessage_Ptr;
01638 }
01639 
01640 class __F__RobotSimEvents__SlamDataMessage__Init
01641 {
01642 public:
01643 
01644     __F__RobotSimEvents__SlamDataMessage__Init()
01645     {
01646         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::SlamDataMessage::ice_staticId(), ::RobotSimEvents::SlamDataMessage::ice_factory());
01647     }
01648 
01649     ~__F__RobotSimEvents__SlamDataMessage__Init()
01650     {
01651         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::SlamDataMessage::ice_staticId());
01652     }
01653 };
01654 
01655 static __F__RobotSimEvents__SlamDataMessage__Init __F__RobotSimEvents__SlamDataMessage__i;
01656 
01657 #ifdef __APPLE__
01658 extern "C" { void __F__RobotSimEvents__SlamDataMessage__initializer() {} }
01659 #endif
01660 
01661 void
01662 RobotSimEvents::__patch__SlamDataMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01663 {
01664     ::RobotSimEvents::SlamDataMessagePtr* p = static_cast< ::RobotSimEvents::SlamDataMessagePtr*>(__addr);
01665     assert(p);
01666     *p = ::RobotSimEvents::SlamDataMessagePtr::dynamicCast(v);
01667     if(v && !*p)
01668     {
01669         IceInternal::Ex::throwUOE(::RobotSimEvents::SlamDataMessage::ice_staticId(), v->ice_id());
01670     }
01671 }
01672 
01673 bool
01674 RobotSimEvents::operator==(const ::RobotSimEvents::SlamDataMessage& l, const ::RobotSimEvents::SlamDataMessage& r)
01675 {
01676     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01677 }
01678 
01679 bool
01680 RobotSimEvents::operator<(const ::RobotSimEvents::SlamDataMessage& l, const ::RobotSimEvents::SlamDataMessage& r)
01681 {
01682     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01683 }
01684 
01685 ::Ice::ObjectPtr
01686 RobotSimEvents::ControlLandMessage::ice_clone() const
01687 {
01688     ::RobotSimEvents::ControlLandMessagePtr __p = new ::RobotSimEvents::ControlLandMessage(*this);
01689     return __p;
01690 }
01691 
01692 static const ::std::string __RobotSimEvents__ControlLandMessage_ids[3] =
01693 {
01694     "::Ice::Object",
01695     "::RobotSimEvents::ControlLandMessage",
01696     "::RobotSimEvents::EventMessage"
01697 };
01698 
01699 bool
01700 RobotSimEvents::ControlLandMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01701 {
01702     return ::std::binary_search(__RobotSimEvents__ControlLandMessage_ids, __RobotSimEvents__ControlLandMessage_ids + 3, _s);
01703 }
01704 
01705 ::std::vector< ::std::string>
01706 RobotSimEvents::ControlLandMessage::ice_ids(const ::Ice::Current&) const
01707 {
01708     return ::std::vector< ::std::string>(&__RobotSimEvents__ControlLandMessage_ids[0], &__RobotSimEvents__ControlLandMessage_ids[3]);
01709 }
01710 
01711 const ::std::string&
01712 RobotSimEvents::ControlLandMessage::ice_id(const ::Ice::Current&) const
01713 {
01714     return __RobotSimEvents__ControlLandMessage_ids[1];
01715 }
01716 
01717 const ::std::string&
01718 RobotSimEvents::ControlLandMessage::ice_staticId()
01719 {
01720     return __RobotSimEvents__ControlLandMessage_ids[1];
01721 }
01722 
01723 void
01724 RobotSimEvents::ControlLandMessage::__write(::IceInternal::BasicStream* __os) const
01725 {
01726     __os->writeTypeId(ice_staticId());
01727     __os->startWriteSlice();
01728     __os->endWriteSlice();
01729 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01730     EventMessage::__write(__os);
01731 #else
01732     ::RobotSimEvents::EventMessage::__write(__os);
01733 #endif
01734 }
01735 
01736 void
01737 RobotSimEvents::ControlLandMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01738 {
01739     if(__rid)
01740     {
01741         ::std::string myId;
01742         __is->readTypeId(myId);
01743     }
01744     __is->startReadSlice();
01745     __is->endReadSlice();
01746 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01747     EventMessage::__read(__is, true);
01748 #else
01749     ::RobotSimEvents::EventMessage::__read(__is, true);
01750 #endif
01751 }
01752 
01753 void
01754 RobotSimEvents::ControlLandMessage::__write(const ::Ice::OutputStreamPtr&) const
01755 {
01756     Ice::MarshalException ex(__FILE__, __LINE__);
01757     ex.reason = "type RobotSimEvents::ControlLandMessage was not generated with stream support";
01758     throw ex;
01759 }
01760 
01761 void
01762 RobotSimEvents::ControlLandMessage::__read(const ::Ice::InputStreamPtr&, bool)
01763 {
01764     Ice::MarshalException ex(__FILE__, __LINE__);
01765     ex.reason = "type RobotSimEvents::ControlLandMessage was not generated with stream support";
01766     throw ex;
01767 }
01768 
01769 class __F__RobotSimEvents__ControlLandMessage : public ::Ice::ObjectFactory
01770 {
01771 public:
01772 
01773     virtual ::Ice::ObjectPtr
01774     create(const ::std::string& type)
01775     {
01776         assert(type == ::RobotSimEvents::ControlLandMessage::ice_staticId());
01777         return new ::RobotSimEvents::ControlLandMessage;
01778     }
01779 
01780     virtual void
01781     destroy()
01782     {
01783     }
01784 };
01785 
01786 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ControlLandMessage_Ptr = new __F__RobotSimEvents__ControlLandMessage;
01787 
01788 const ::Ice::ObjectFactoryPtr&
01789 RobotSimEvents::ControlLandMessage::ice_factory()
01790 {
01791     return __F__RobotSimEvents__ControlLandMessage_Ptr;
01792 }
01793 
01794 class __F__RobotSimEvents__ControlLandMessage__Init
01795 {
01796 public:
01797 
01798     __F__RobotSimEvents__ControlLandMessage__Init()
01799     {
01800         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ControlLandMessage::ice_staticId(), ::RobotSimEvents::ControlLandMessage::ice_factory());
01801     }
01802 
01803     ~__F__RobotSimEvents__ControlLandMessage__Init()
01804     {
01805         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ControlLandMessage::ice_staticId());
01806     }
01807 };
01808 
01809 static __F__RobotSimEvents__ControlLandMessage__Init __F__RobotSimEvents__ControlLandMessage__i;
01810 
01811 #ifdef __APPLE__
01812 extern "C" { void __F__RobotSimEvents__ControlLandMessage__initializer() {} }
01813 #endif
01814 
01815 void
01816 RobotSimEvents::__patch__ControlLandMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01817 {
01818     ::RobotSimEvents::ControlLandMessagePtr* p = static_cast< ::RobotSimEvents::ControlLandMessagePtr*>(__addr);
01819     assert(p);
01820     *p = ::RobotSimEvents::ControlLandMessagePtr::dynamicCast(v);
01821     if(v && !*p)
01822     {
01823         IceInternal::Ex::throwUOE(::RobotSimEvents::ControlLandMessage::ice_staticId(), v->ice_id());
01824     }
01825 }
01826 
01827 bool
01828 RobotSimEvents::operator==(const ::RobotSimEvents::ControlLandMessage& l, const ::RobotSimEvents::ControlLandMessage& r)
01829 {
01830     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01831 }
01832 
01833 bool
01834 RobotSimEvents::operator<(const ::RobotSimEvents::ControlLandMessage& l, const ::RobotSimEvents::ControlLandMessage& r)
01835 {
01836     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01837 }
01838 
01839 RobotSimEvents::ControlMoveMessage::ControlMoveMessage(const ::RobotSimEvents::Location& __ice_move) :
01840     move(__ice_move)
01841 {
01842 }
01843 
01844 ::Ice::ObjectPtr
01845 RobotSimEvents::ControlMoveMessage::ice_clone() const
01846 {
01847     ::RobotSimEvents::ControlMoveMessagePtr __p = new ::RobotSimEvents::ControlMoveMessage(*this);
01848     return __p;
01849 }
01850 
01851 static const ::std::string __RobotSimEvents__ControlMoveMessage_ids[3] =
01852 {
01853     "::Ice::Object",
01854     "::RobotSimEvents::ControlMoveMessage",
01855     "::RobotSimEvents::EventMessage"
01856 };
01857 
01858 bool
01859 RobotSimEvents::ControlMoveMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
01860 {
01861     return ::std::binary_search(__RobotSimEvents__ControlMoveMessage_ids, __RobotSimEvents__ControlMoveMessage_ids + 3, _s);
01862 }
01863 
01864 ::std::vector< ::std::string>
01865 RobotSimEvents::ControlMoveMessage::ice_ids(const ::Ice::Current&) const
01866 {
01867     return ::std::vector< ::std::string>(&__RobotSimEvents__ControlMoveMessage_ids[0], &__RobotSimEvents__ControlMoveMessage_ids[3]);
01868 }
01869 
01870 const ::std::string&
01871 RobotSimEvents::ControlMoveMessage::ice_id(const ::Ice::Current&) const
01872 {
01873     return __RobotSimEvents__ControlMoveMessage_ids[1];
01874 }
01875 
01876 const ::std::string&
01877 RobotSimEvents::ControlMoveMessage::ice_staticId()
01878 {
01879     return __RobotSimEvents__ControlMoveMessage_ids[1];
01880 }
01881 
01882 void
01883 RobotSimEvents::ControlMoveMessage::__write(::IceInternal::BasicStream* __os) const
01884 {
01885     __os->writeTypeId(ice_staticId());
01886     __os->startWriteSlice();
01887     move.__write(__os);
01888     __os->endWriteSlice();
01889 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01890     EventMessage::__write(__os);
01891 #else
01892     ::RobotSimEvents::EventMessage::__write(__os);
01893 #endif
01894 }
01895 
01896 void
01897 RobotSimEvents::ControlMoveMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
01898 {
01899     if(__rid)
01900     {
01901         ::std::string myId;
01902         __is->readTypeId(myId);
01903     }
01904     __is->startReadSlice();
01905     move.__read(__is);
01906     __is->endReadSlice();
01907 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
01908     EventMessage::__read(__is, true);
01909 #else
01910     ::RobotSimEvents::EventMessage::__read(__is, true);
01911 #endif
01912 }
01913 
01914 void
01915 RobotSimEvents::ControlMoveMessage::__write(const ::Ice::OutputStreamPtr&) const
01916 {
01917     Ice::MarshalException ex(__FILE__, __LINE__);
01918     ex.reason = "type RobotSimEvents::ControlMoveMessage was not generated with stream support";
01919     throw ex;
01920 }
01921 
01922 void
01923 RobotSimEvents::ControlMoveMessage::__read(const ::Ice::InputStreamPtr&, bool)
01924 {
01925     Ice::MarshalException ex(__FILE__, __LINE__);
01926     ex.reason = "type RobotSimEvents::ControlMoveMessage was not generated with stream support";
01927     throw ex;
01928 }
01929 
01930 class __F__RobotSimEvents__ControlMoveMessage : public ::Ice::ObjectFactory
01931 {
01932 public:
01933 
01934     virtual ::Ice::ObjectPtr
01935     create(const ::std::string& type)
01936     {
01937         assert(type == ::RobotSimEvents::ControlMoveMessage::ice_staticId());
01938         return new ::RobotSimEvents::ControlMoveMessage;
01939     }
01940 
01941     virtual void
01942     destroy()
01943     {
01944     }
01945 };
01946 
01947 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ControlMoveMessage_Ptr = new __F__RobotSimEvents__ControlMoveMessage;
01948 
01949 const ::Ice::ObjectFactoryPtr&
01950 RobotSimEvents::ControlMoveMessage::ice_factory()
01951 {
01952     return __F__RobotSimEvents__ControlMoveMessage_Ptr;
01953 }
01954 
01955 class __F__RobotSimEvents__ControlMoveMessage__Init
01956 {
01957 public:
01958 
01959     __F__RobotSimEvents__ControlMoveMessage__Init()
01960     {
01961         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ControlMoveMessage::ice_staticId(), ::RobotSimEvents::ControlMoveMessage::ice_factory());
01962     }
01963 
01964     ~__F__RobotSimEvents__ControlMoveMessage__Init()
01965     {
01966         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ControlMoveMessage::ice_staticId());
01967     }
01968 };
01969 
01970 static __F__RobotSimEvents__ControlMoveMessage__Init __F__RobotSimEvents__ControlMoveMessage__i;
01971 
01972 #ifdef __APPLE__
01973 extern "C" { void __F__RobotSimEvents__ControlMoveMessage__initializer() {} }
01974 #endif
01975 
01976 void
01977 RobotSimEvents::__patch__ControlMoveMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
01978 {
01979     ::RobotSimEvents::ControlMoveMessagePtr* p = static_cast< ::RobotSimEvents::ControlMoveMessagePtr*>(__addr);
01980     assert(p);
01981     *p = ::RobotSimEvents::ControlMoveMessagePtr::dynamicCast(v);
01982     if(v && !*p)
01983     {
01984         IceInternal::Ex::throwUOE(::RobotSimEvents::ControlMoveMessage::ice_staticId(), v->ice_id());
01985     }
01986 }
01987 
01988 bool
01989 RobotSimEvents::operator==(const ::RobotSimEvents::ControlMoveMessage& l, const ::RobotSimEvents::ControlMoveMessage& r)
01990 {
01991     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
01992 }
01993 
01994 bool
01995 RobotSimEvents::operator<(const ::RobotSimEvents::ControlMoveMessage& l, const ::RobotSimEvents::ControlMoveMessage& r)
01996 {
01997     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
01998 }
01999 
02000 RobotSimEvents::SensorDataMessage::SensorDataMessage(::Ice::Double __ice_motorSpeeds, bool __ice_validRollPitchYaw, ::Ice::Double __ice_pitch, ::Ice::Double __ice_yaw, ::Ice::Double __ice_absouteHeading, const ::RobotSimEvents::LrfSeq& __ice_lrf, const ::RobotSimEvents::SonarSeq& __ice_sonars) :
02001     motorSpeeds(__ice_motorSpeeds),
02002     validRollPitchYaw(__ice_validRollPitchYaw),
02003     pitch(__ice_pitch),
02004     yaw(__ice_yaw),
02005     absouteHeading(__ice_absouteHeading),
02006     lrf(__ice_lrf),
02007     sonars(__ice_sonars)
02008 {
02009 }
02010 
02011 ::Ice::ObjectPtr
02012 RobotSimEvents::SensorDataMessage::ice_clone() const
02013 {
02014     ::RobotSimEvents::SensorDataMessagePtr __p = new ::RobotSimEvents::SensorDataMessage(*this);
02015     return __p;
02016 }
02017 
02018 static const ::std::string __RobotSimEvents__SensorDataMessage_ids[3] =
02019 {
02020     "::Ice::Object",
02021     "::RobotSimEvents::EventMessage",
02022     "::RobotSimEvents::SensorDataMessage"
02023 };
02024 
02025 bool
02026 RobotSimEvents::SensorDataMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
02027 {
02028     return ::std::binary_search(__RobotSimEvents__SensorDataMessage_ids, __RobotSimEvents__SensorDataMessage_ids + 3, _s);
02029 }
02030 
02031 ::std::vector< ::std::string>
02032 RobotSimEvents::SensorDataMessage::ice_ids(const ::Ice::Current&) const
02033 {
02034     return ::std::vector< ::std::string>(&__RobotSimEvents__SensorDataMessage_ids[0], &__RobotSimEvents__SensorDataMessage_ids[3]);
02035 }
02036 
02037 const ::std::string&
02038 RobotSimEvents::SensorDataMessage::ice_id(const ::Ice::Current&) const
02039 {
02040     return __RobotSimEvents__SensorDataMessage_ids[2];
02041 }
02042 
02043 const ::std::string&
02044 RobotSimEvents::SensorDataMessage::ice_staticId()
02045 {
02046     return __RobotSimEvents__SensorDataMessage_ids[2];
02047 }
02048 
02049 void
02050 RobotSimEvents::SensorDataMessage::__write(::IceInternal::BasicStream* __os) const
02051 {
02052     __os->writeTypeId(ice_staticId());
02053     __os->startWriteSlice();
02054     __os->write(motorSpeeds);
02055     __os->write(validRollPitchYaw);
02056     __os->write(pitch);
02057     __os->write(yaw);
02058     __os->write(absouteHeading);
02059     if(lrf.size() == 0)
02060     {
02061         __os->writeSize(0);
02062     }
02063     else
02064     {
02065         ::RobotSimEvents::__writeLrfSeq(__os, &lrf[0], &lrf[0] + lrf.size());
02066     }
02067     if(sonars.size() == 0)
02068     {
02069         __os->writeSize(0);
02070     }
02071     else
02072     {
02073         ::RobotSimEvents::__writeSonarSeq(__os, &sonars[0], &sonars[0] + sonars.size());
02074     }
02075     __os->endWriteSlice();
02076 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02077     EventMessage::__write(__os);
02078 #else
02079     ::RobotSimEvents::EventMessage::__write(__os);
02080 #endif
02081 }
02082 
02083 void
02084 RobotSimEvents::SensorDataMessage::__read(::IceInternal::BasicStream* __is, bool __rid)
02085 {
02086     if(__rid)
02087     {
02088         ::std::string myId;
02089         __is->readTypeId(myId);
02090     }
02091     __is->startReadSlice();
02092     __is->read(motorSpeeds);
02093     __is->read(validRollPitchYaw);
02094     __is->read(pitch);
02095     __is->read(yaw);
02096     __is->read(absouteHeading);
02097     ::RobotSimEvents::__readLrfSeq(__is, lrf);
02098     ::RobotSimEvents::__readSonarSeq(__is, sonars);
02099     __is->endReadSlice();
02100 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
02101     EventMessage::__read(__is, true);
02102 #else
02103     ::RobotSimEvents::EventMessage::__read(__is, true);
02104 #endif
02105 }
02106 
02107 void
02108 RobotSimEvents::SensorDataMessage::__write(const ::Ice::OutputStreamPtr&) const
02109 {
02110     Ice::MarshalException ex(__FILE__, __LINE__);
02111     ex.reason = "type RobotSimEvents::SensorDataMessage was not generated with stream support";
02112     throw ex;
02113 }
02114 
02115 void
02116 RobotSimEvents::SensorDataMessage::__read(const ::Ice::InputStreamPtr&, bool)
02117 {
02118     Ice::MarshalException ex(__FILE__, __LINE__);
02119     ex.reason = "type RobotSimEvents::SensorDataMessage was not generated with stream support";
02120     throw ex;
02121 }
02122 
02123 class __F__RobotSimEvents__SensorDataMessage : public ::Ice::ObjectFactory
02124 {
02125 public:
02126 
02127     virtual ::Ice::ObjectPtr
02128     create(const ::std::string& type)
02129     {
02130         assert(type == ::RobotSimEvents::SensorDataMessage::ice_staticId());
02131         return new ::RobotSimEvents::SensorDataMessage;
02132     }
02133 
02134     virtual void
02135     destroy()
02136     {
02137     }
02138 };
02139 
02140 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__SensorDataMessage_Ptr = new __F__RobotSimEvents__SensorDataMessage;
02141 
02142 const ::Ice::ObjectFactoryPtr&
02143 RobotSimEvents::SensorDataMessage::ice_factory()
02144 {
02145     return __F__RobotSimEvents__SensorDataMessage_Ptr;
02146 }
02147 
02148 class __F__RobotSimEvents__SensorDataMessage__Init
02149 {
02150 public:
02151 
02152     __F__RobotSimEvents__SensorDataMessage__Init()
02153     {
02154         ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::SensorDataMessage::ice_staticId(), ::RobotSimEvents::SensorDataMessage::ice_factory());
02155     }
02156 
02157     ~__F__RobotSimEvents__SensorDataMessage__Init()
02158     {
02159         ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::SensorDataMessage::ice_staticId());
02160     }
02161 };
02162 
02163 static __F__RobotSimEvents__SensorDataMessage__Init __F__RobotSimEvents__SensorDataMessage__i;
02164 
02165 #ifdef __APPLE__
02166 extern "C" { void __F__RobotSimEvents__SensorDataMessage__initializer() {} }
02167 #endif
02168 
02169 void
02170 RobotSimEvents::__patch__SensorDataMessagePtr(void* __addr, ::Ice::ObjectPtr& v)
02171 {
02172     ::RobotSimEvents::SensorDataMessagePtr* p = static_cast< ::RobotSimEvents::SensorDataMessagePtr*>(__addr);
02173     assert(p);
02174     *p = ::RobotSimEvents::SensorDataMessagePtr::dynamicCast(v);
02175     if(v && !*p)
02176     {
02177         IceInternal::Ex::throwUOE(::RobotSimEvents::SensorDataMessage::ice_staticId(), v->ice_id());
02178     }
02179 }
02180 
02181 bool
02182 RobotSimEvents::operator==(const ::RobotSimEvents::SensorDataMessage& l, const ::RobotSimEvents::SensorDataMessage& r)
02183 {
02184     return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
02185 }
02186 
02187 bool
02188 RobotSimEvents::operator<(const ::RobotSimEvents::SensorDataMessage& l, const ::RobotSimEvents::SensorDataMessage& r)
02189 {
02190     return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
02191 }
Generated on Sun May 8 08:41:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3