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 `RobotSimEvents.ice' 00012 00013 #include <RobotSimEvents.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 __RobotSimEvents__Events__updateMessage_name = "updateMessage"; 00033 00034 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::EventMessage* p) { return p; } 00035 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::EventMessage* p) { return p; } 00036 00037 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::Events* p) { return p; } 00038 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::Events* p) { return p; } 00039 00040 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ActionMessage* p) { return p; } 00041 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ActionMessage* p) { return p; } 00042 00043 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::GPSMessage* p) { return p; } 00044 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::GPSMessage* p) { return p; } 00045 00046 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::MotionMessage* p) { return p; } 00047 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::MotionMessage* p) { return p; } 00048 00049 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::RetinaMessage* p) { return p; } 00050 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::RetinaMessage* p) { return p; } 00051 00052 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::MovementControllerMessage* p) { return p; } 00053 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::MovementControllerMessage* p) { return p; } 00054 00055 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::JoyStickControlMessage* p) { return p; } 00056 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::JoyStickControlMessage* p) { return p; } 00057 00058 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BeeStemConfigMessage* p) { return p; } 00059 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BeeStemConfigMessage* p) { return p; } 00060 00061 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::IMUDataServerMessage* p) { return p; } 00062 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::IMUDataServerMessage* p) { return p; } 00063 00064 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BeeStemMotorControllerMessage* p) { return p; } 00065 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BeeStemMotorControllerMessage* p) { return p; } 00066 00067 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::LocalizationMessage* p) { return p; } 00068 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::LocalizationMessage* p) { return p; } 00069 00070 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BeeStemMessage* p) { return p; } 00071 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BeeStemMessage* p) { return p; } 00072 00073 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ChatMessage* p) { return p; } 00074 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ChatMessage* p) { return p; } 00075 00076 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::RemoteControlMessage* p) { return p; } 00077 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::RemoteControlMessage* p) { return p; } 00078 00079 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::StateMessage* p) { return p; } 00080 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::StateMessage* p) { return p; } 00081 00082 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::GoalStateMessage* p) { return p; } 00083 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::GoalStateMessage* p) { return p; } 00084 00085 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::GoalProgressMessage* p) { return p; } 00086 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::GoalProgressMessage* p) { return p; } 00087 00088 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::AttendedRegionMessage* p) { return p; } 00089 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::AttendedRegionMessage* p) { return p; } 00090 00091 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::ObjectMessage* p) { return p; } 00092 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::ObjectMessage* p) { return p; } 00093 00094 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::SeaBeePositionMessage* p) { return p; } 00095 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::SeaBeePositionMessage* p) { return p; } 00096 00097 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::SeaBeeStateConditionMessage* p) { return p; } 00098 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::SeaBeeStateConditionMessage* p) { return p; } 00099 00100 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::VisionRectangleMessage* p) { return p; } 00101 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::VisionRectangleMessage* p) { return p; } 00102 00103 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::StraightEdgeMessage* p) { return p; } 00104 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::StraightEdgeMessage* p) { return p; } 00105 00106 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::VisionObjectMessage* p) { return p; } 00107 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::VisionObjectMessage* p) { return p; } 00108 00109 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::LandmarksMessage* p) { return p; } 00110 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::LandmarksMessage* p) { return p; } 00111 00112 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::CameraConfigMessage* p) { return p; } 00113 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::CameraConfigMessage* p) { return p; } 00114 00115 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::SalientPointMessage* p) { return p; } 00116 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::SalientPointMessage* p) { return p; } 00117 00118 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BuoyColorSegmentMessage* p) { return p; } 00119 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BuoyColorSegmentMessage* p) { return p; } 00120 00121 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::PipeColorSegmentMessage* p) { return p; } 00122 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::PipeColorSegmentMessage* p) { return p; } 00123 00124 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::BuoyColorSegmentConfigMessage* p) { return p; } 00125 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage* p) { return p; } 00126 00127 ::Ice::Object* IceInternal::upCast(::RobotSimEvents::PipeColorSegmentConfigMessage* p) { return p; } 00128 ::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage* p) { return p; } 00129 00130 void 00131 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::EventMessagePrx& v) 00132 { 00133 ::Ice::ObjectPrx proxy; 00134 __is->read(proxy); 00135 if(!proxy) 00136 { 00137 v = 0; 00138 } 00139 else 00140 { 00141 v = new ::IceProxy::RobotSimEvents::EventMessage; 00142 v->__copyFrom(proxy); 00143 } 00144 } 00145 00146 void 00147 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::EventsPrx& v) 00148 { 00149 ::Ice::ObjectPrx proxy; 00150 __is->read(proxy); 00151 if(!proxy) 00152 { 00153 v = 0; 00154 } 00155 else 00156 { 00157 v = new ::IceProxy::RobotSimEvents::Events; 00158 v->__copyFrom(proxy); 00159 } 00160 } 00161 00162 void 00163 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ActionMessagePrx& v) 00164 { 00165 ::Ice::ObjectPrx proxy; 00166 __is->read(proxy); 00167 if(!proxy) 00168 { 00169 v = 0; 00170 } 00171 else 00172 { 00173 v = new ::IceProxy::RobotSimEvents::ActionMessage; 00174 v->__copyFrom(proxy); 00175 } 00176 } 00177 00178 void 00179 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::GPSMessagePrx& v) 00180 { 00181 ::Ice::ObjectPrx proxy; 00182 __is->read(proxy); 00183 if(!proxy) 00184 { 00185 v = 0; 00186 } 00187 else 00188 { 00189 v = new ::IceProxy::RobotSimEvents::GPSMessage; 00190 v->__copyFrom(proxy); 00191 } 00192 } 00193 00194 void 00195 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::MotionMessagePrx& v) 00196 { 00197 ::Ice::ObjectPrx proxy; 00198 __is->read(proxy); 00199 if(!proxy) 00200 { 00201 v = 0; 00202 } 00203 else 00204 { 00205 v = new ::IceProxy::RobotSimEvents::MotionMessage; 00206 v->__copyFrom(proxy); 00207 } 00208 } 00209 00210 void 00211 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::RetinaMessagePrx& v) 00212 { 00213 ::Ice::ObjectPrx proxy; 00214 __is->read(proxy); 00215 if(!proxy) 00216 { 00217 v = 0; 00218 } 00219 else 00220 { 00221 v = new ::IceProxy::RobotSimEvents::RetinaMessage; 00222 v->__copyFrom(proxy); 00223 } 00224 } 00225 00226 void 00227 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::MovementControllerMessagePrx& v) 00228 { 00229 ::Ice::ObjectPrx proxy; 00230 __is->read(proxy); 00231 if(!proxy) 00232 { 00233 v = 0; 00234 } 00235 else 00236 { 00237 v = new ::IceProxy::RobotSimEvents::MovementControllerMessage; 00238 v->__copyFrom(proxy); 00239 } 00240 } 00241 00242 void 00243 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::JoyStickControlMessagePrx& v) 00244 { 00245 ::Ice::ObjectPrx proxy; 00246 __is->read(proxy); 00247 if(!proxy) 00248 { 00249 v = 0; 00250 } 00251 else 00252 { 00253 v = new ::IceProxy::RobotSimEvents::JoyStickControlMessage; 00254 v->__copyFrom(proxy); 00255 } 00256 } 00257 00258 void 00259 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BeeStemConfigMessagePrx& v) 00260 { 00261 ::Ice::ObjectPrx proxy; 00262 __is->read(proxy); 00263 if(!proxy) 00264 { 00265 v = 0; 00266 } 00267 else 00268 { 00269 v = new ::IceProxy::RobotSimEvents::BeeStemConfigMessage; 00270 v->__copyFrom(proxy); 00271 } 00272 } 00273 00274 void 00275 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::IMUDataServerMessagePrx& v) 00276 { 00277 ::Ice::ObjectPrx proxy; 00278 __is->read(proxy); 00279 if(!proxy) 00280 { 00281 v = 0; 00282 } 00283 else 00284 { 00285 v = new ::IceProxy::RobotSimEvents::IMUDataServerMessage; 00286 v->__copyFrom(proxy); 00287 } 00288 } 00289 00290 void 00291 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BeeStemMotorControllerMessagePrx& v) 00292 { 00293 ::Ice::ObjectPrx proxy; 00294 __is->read(proxy); 00295 if(!proxy) 00296 { 00297 v = 0; 00298 } 00299 else 00300 { 00301 v = new ::IceProxy::RobotSimEvents::BeeStemMotorControllerMessage; 00302 v->__copyFrom(proxy); 00303 } 00304 } 00305 00306 void 00307 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::LocalizationMessagePrx& v) 00308 { 00309 ::Ice::ObjectPrx proxy; 00310 __is->read(proxy); 00311 if(!proxy) 00312 { 00313 v = 0; 00314 } 00315 else 00316 { 00317 v = new ::IceProxy::RobotSimEvents::LocalizationMessage; 00318 v->__copyFrom(proxy); 00319 } 00320 } 00321 00322 void 00323 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BeeStemMessagePrx& v) 00324 { 00325 ::Ice::ObjectPrx proxy; 00326 __is->read(proxy); 00327 if(!proxy) 00328 { 00329 v = 0; 00330 } 00331 else 00332 { 00333 v = new ::IceProxy::RobotSimEvents::BeeStemMessage; 00334 v->__copyFrom(proxy); 00335 } 00336 } 00337 00338 void 00339 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ChatMessagePrx& v) 00340 { 00341 ::Ice::ObjectPrx proxy; 00342 __is->read(proxy); 00343 if(!proxy) 00344 { 00345 v = 0; 00346 } 00347 else 00348 { 00349 v = new ::IceProxy::RobotSimEvents::ChatMessage; 00350 v->__copyFrom(proxy); 00351 } 00352 } 00353 00354 void 00355 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::RemoteControlMessagePrx& v) 00356 { 00357 ::Ice::ObjectPrx proxy; 00358 __is->read(proxy); 00359 if(!proxy) 00360 { 00361 v = 0; 00362 } 00363 else 00364 { 00365 v = new ::IceProxy::RobotSimEvents::RemoteControlMessage; 00366 v->__copyFrom(proxy); 00367 } 00368 } 00369 00370 void 00371 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::StateMessagePrx& v) 00372 { 00373 ::Ice::ObjectPrx proxy; 00374 __is->read(proxy); 00375 if(!proxy) 00376 { 00377 v = 0; 00378 } 00379 else 00380 { 00381 v = new ::IceProxy::RobotSimEvents::StateMessage; 00382 v->__copyFrom(proxy); 00383 } 00384 } 00385 00386 void 00387 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::GoalStateMessagePrx& v) 00388 { 00389 ::Ice::ObjectPrx proxy; 00390 __is->read(proxy); 00391 if(!proxy) 00392 { 00393 v = 0; 00394 } 00395 else 00396 { 00397 v = new ::IceProxy::RobotSimEvents::GoalStateMessage; 00398 v->__copyFrom(proxy); 00399 } 00400 } 00401 00402 void 00403 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::GoalProgressMessagePrx& v) 00404 { 00405 ::Ice::ObjectPrx proxy; 00406 __is->read(proxy); 00407 if(!proxy) 00408 { 00409 v = 0; 00410 } 00411 else 00412 { 00413 v = new ::IceProxy::RobotSimEvents::GoalProgressMessage; 00414 v->__copyFrom(proxy); 00415 } 00416 } 00417 00418 void 00419 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::AttendedRegionMessagePrx& v) 00420 { 00421 ::Ice::ObjectPrx proxy; 00422 __is->read(proxy); 00423 if(!proxy) 00424 { 00425 v = 0; 00426 } 00427 else 00428 { 00429 v = new ::IceProxy::RobotSimEvents::AttendedRegionMessage; 00430 v->__copyFrom(proxy); 00431 } 00432 } 00433 00434 void 00435 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::ObjectMessagePrx& v) 00436 { 00437 ::Ice::ObjectPrx proxy; 00438 __is->read(proxy); 00439 if(!proxy) 00440 { 00441 v = 0; 00442 } 00443 else 00444 { 00445 v = new ::IceProxy::RobotSimEvents::ObjectMessage; 00446 v->__copyFrom(proxy); 00447 } 00448 } 00449 00450 void 00451 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SeaBeePositionMessagePrx& v) 00452 { 00453 ::Ice::ObjectPrx proxy; 00454 __is->read(proxy); 00455 if(!proxy) 00456 { 00457 v = 0; 00458 } 00459 else 00460 { 00461 v = new ::IceProxy::RobotSimEvents::SeaBeePositionMessage; 00462 v->__copyFrom(proxy); 00463 } 00464 } 00465 00466 void 00467 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SeaBeeStateConditionMessagePrx& v) 00468 { 00469 ::Ice::ObjectPrx proxy; 00470 __is->read(proxy); 00471 if(!proxy) 00472 { 00473 v = 0; 00474 } 00475 else 00476 { 00477 v = new ::IceProxy::RobotSimEvents::SeaBeeStateConditionMessage; 00478 v->__copyFrom(proxy); 00479 } 00480 } 00481 00482 void 00483 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::VisionRectangleMessagePrx& v) 00484 { 00485 ::Ice::ObjectPrx proxy; 00486 __is->read(proxy); 00487 if(!proxy) 00488 { 00489 v = 0; 00490 } 00491 else 00492 { 00493 v = new ::IceProxy::RobotSimEvents::VisionRectangleMessage; 00494 v->__copyFrom(proxy); 00495 } 00496 } 00497 00498 void 00499 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::StraightEdgeMessagePrx& v) 00500 { 00501 ::Ice::ObjectPrx proxy; 00502 __is->read(proxy); 00503 if(!proxy) 00504 { 00505 v = 0; 00506 } 00507 else 00508 { 00509 v = new ::IceProxy::RobotSimEvents::StraightEdgeMessage; 00510 v->__copyFrom(proxy); 00511 } 00512 } 00513 00514 void 00515 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::VisionObjectMessagePrx& v) 00516 { 00517 ::Ice::ObjectPrx proxy; 00518 __is->read(proxy); 00519 if(!proxy) 00520 { 00521 v = 0; 00522 } 00523 else 00524 { 00525 v = new ::IceProxy::RobotSimEvents::VisionObjectMessage; 00526 v->__copyFrom(proxy); 00527 } 00528 } 00529 00530 void 00531 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::LandmarksMessagePrx& v) 00532 { 00533 ::Ice::ObjectPrx proxy; 00534 __is->read(proxy); 00535 if(!proxy) 00536 { 00537 v = 0; 00538 } 00539 else 00540 { 00541 v = new ::IceProxy::RobotSimEvents::LandmarksMessage; 00542 v->__copyFrom(proxy); 00543 } 00544 } 00545 00546 void 00547 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::CameraConfigMessagePrx& v) 00548 { 00549 ::Ice::ObjectPrx proxy; 00550 __is->read(proxy); 00551 if(!proxy) 00552 { 00553 v = 0; 00554 } 00555 else 00556 { 00557 v = new ::IceProxy::RobotSimEvents::CameraConfigMessage; 00558 v->__copyFrom(proxy); 00559 } 00560 } 00561 00562 void 00563 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SalientPointMessagePrx& v) 00564 { 00565 ::Ice::ObjectPrx proxy; 00566 __is->read(proxy); 00567 if(!proxy) 00568 { 00569 v = 0; 00570 } 00571 else 00572 { 00573 v = new ::IceProxy::RobotSimEvents::SalientPointMessage; 00574 v->__copyFrom(proxy); 00575 } 00576 } 00577 00578 void 00579 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BuoyColorSegmentMessagePrx& v) 00580 { 00581 ::Ice::ObjectPrx proxy; 00582 __is->read(proxy); 00583 if(!proxy) 00584 { 00585 v = 0; 00586 } 00587 else 00588 { 00589 v = new ::IceProxy::RobotSimEvents::BuoyColorSegmentMessage; 00590 v->__copyFrom(proxy); 00591 } 00592 } 00593 00594 void 00595 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::PipeColorSegmentMessagePrx& v) 00596 { 00597 ::Ice::ObjectPrx proxy; 00598 __is->read(proxy); 00599 if(!proxy) 00600 { 00601 v = 0; 00602 } 00603 else 00604 { 00605 v = new ::IceProxy::RobotSimEvents::PipeColorSegmentMessage; 00606 v->__copyFrom(proxy); 00607 } 00608 } 00609 00610 void 00611 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::BuoyColorSegmentConfigMessagePrx& v) 00612 { 00613 ::Ice::ObjectPrx proxy; 00614 __is->read(proxy); 00615 if(!proxy) 00616 { 00617 v = 0; 00618 } 00619 else 00620 { 00621 v = new ::IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage; 00622 v->__copyFrom(proxy); 00623 } 00624 } 00625 00626 void 00627 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::PipeColorSegmentConfigMessagePrx& v) 00628 { 00629 ::Ice::ObjectPrx proxy; 00630 __is->read(proxy); 00631 if(!proxy) 00632 { 00633 v = 0; 00634 } 00635 else 00636 { 00637 v = new ::IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage; 00638 v->__copyFrom(proxy); 00639 } 00640 } 00641 00642 void 00643 RobotSimEvents::__writeSensorVoteVector(::IceInternal::BasicStream* __os, const ::ImageIceMod::SensorVote* begin, const ::ImageIceMod::SensorVote* end) 00644 { 00645 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); 00646 __os->writeSize(size); 00647 for(int i = 0; i < size; ++i) 00648 { 00649 begin[i].__write(__os); 00650 } 00651 } 00652 00653 void 00654 RobotSimEvents::__readSensorVoteVector(::IceInternal::BasicStream* __is, ::RobotSimEvents::SensorVoteVector& v) 00655 { 00656 ::Ice::Int sz; 00657 __is->readSize(sz); 00658 __is->checkFixedSeq(sz, 25); 00659 v.resize(sz); 00660 for(int i = 0; i < sz; ++i) 00661 { 00662 v[i].__read(__is); 00663 } 00664 } 00665 00666 void 00667 RobotSimEvents::__writeQuadrilateralIceVector(::IceInternal::BasicStream* __os, const ::ImageIceMod::QuadrilateralIce* begin, const ::ImageIceMod::QuadrilateralIce* end) 00668 { 00669 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); 00670 __os->writeSize(size); 00671 for(int i = 0; i < size; ++i) 00672 { 00673 begin[i].__write(__os); 00674 } 00675 } 00676 00677 void 00678 RobotSimEvents::__readQuadrilateralIceVector(::IceInternal::BasicStream* __is, ::RobotSimEvents::QuadrilateralIceVector& v) 00679 { 00680 ::Ice::Int sz; 00681 __is->readSize(sz); 00682 __is->checkFixedSeq(sz, 48); 00683 v.resize(sz); 00684 for(int i = 0; i < sz; ++i) 00685 { 00686 v[i].__read(__is); 00687 } 00688 } 00689 00690 void 00691 RobotSimEvents::__write(::IceInternal::BasicStream* __os, ::RobotSimEvents::SeaBeeObjectType v) 00692 { 00693 __os->write(static_cast< ::Ice::Byte>(v), 8); 00694 } 00695 00696 void 00697 RobotSimEvents::__read(::IceInternal::BasicStream* __is, ::RobotSimEvents::SeaBeeObjectType& v) 00698 { 00699 ::Ice::Byte val; 00700 __is->read(val, 8); 00701 v = static_cast< ::RobotSimEvents::SeaBeeObjectType>(val); 00702 } 00703 00704 bool 00705 RobotSimEvents::LandmarkInfo::operator==(const LandmarkInfo& __rhs) const 00706 { 00707 if(this == &__rhs) 00708 { 00709 return true; 00710 } 00711 if(id != __rhs.id) 00712 { 00713 return false; 00714 } 00715 if(name != __rhs.name) 00716 { 00717 return false; 00718 } 00719 if(fv != __rhs.fv) 00720 { 00721 return false; 00722 } 00723 if(range != __rhs.range) 00724 { 00725 return false; 00726 } 00727 if(bearing != __rhs.bearing) 00728 { 00729 return false; 00730 } 00731 if(prob != __rhs.prob) 00732 { 00733 return false; 00734 } 00735 return true; 00736 } 00737 00738 bool 00739 RobotSimEvents::LandmarkInfo::operator<(const LandmarkInfo& __rhs) const 00740 { 00741 if(this == &__rhs) 00742 { 00743 return false; 00744 } 00745 if(id < __rhs.id) 00746 { 00747 return true; 00748 } 00749 else if(__rhs.id < id) 00750 { 00751 return false; 00752 } 00753 if(name < __rhs.name) 00754 { 00755 return true; 00756 } 00757 else if(__rhs.name < name) 00758 { 00759 return false; 00760 } 00761 if(fv < __rhs.fv) 00762 { 00763 return true; 00764 } 00765 else if(__rhs.fv < fv) 00766 { 00767 return false; 00768 } 00769 if(range < __rhs.range) 00770 { 00771 return true; 00772 } 00773 else if(__rhs.range < range) 00774 { 00775 return false; 00776 } 00777 if(bearing < __rhs.bearing) 00778 { 00779 return true; 00780 } 00781 else if(__rhs.bearing < bearing) 00782 { 00783 return false; 00784 } 00785 if(prob < __rhs.prob) 00786 { 00787 return true; 00788 } 00789 else if(__rhs.prob < prob) 00790 { 00791 return false; 00792 } 00793 return false; 00794 } 00795 00796 void 00797 RobotSimEvents::LandmarkInfo::__write(::IceInternal::BasicStream* __os) const 00798 { 00799 __os->write(id); 00800 __os->write(name); 00801 if(fv.size() == 0) 00802 { 00803 __os->writeSize(0); 00804 } 00805 else 00806 { 00807 __os->write(&fv[0], &fv[0] + fv.size()); 00808 } 00809 __os->write(range); 00810 __os->write(bearing); 00811 __os->write(prob); 00812 } 00813 00814 void 00815 RobotSimEvents::LandmarkInfo::__read(::IceInternal::BasicStream* __is) 00816 { 00817 __is->read(id); 00818 __is->read(name); 00819 ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ___fv; 00820 __is->read(___fv); 00821 ::std::vector< ::Ice::Byte>(___fv.first, ___fv.second).swap(fv); 00822 __is->read(range); 00823 __is->read(bearing); 00824 __is->read(prob); 00825 } 00826 00827 void 00828 RobotSimEvents::__writeLandmarksInfo(::IceInternal::BasicStream* __os, const ::RobotSimEvents::LandmarkInfo* begin, const ::RobotSimEvents::LandmarkInfo* end) 00829 { 00830 ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); 00831 __os->writeSize(size); 00832 for(int i = 0; i < size; ++i) 00833 { 00834 begin[i].__write(__os); 00835 } 00836 } 00837 00838 void 00839 RobotSimEvents::__readLandmarksInfo(::IceInternal::BasicStream* __is, ::RobotSimEvents::LandmarksInfo& v) 00840 { 00841 ::Ice::Int sz; 00842 __is->readSize(sz); 00843 __is->startSeq(sz, 18); 00844 v.resize(sz); 00845 for(int i = 0; i < sz; ++i) 00846 { 00847 v[i].__read(__is); 00848 __is->checkSeq(); 00849 __is->endElement(); 00850 } 00851 __is->endSeq(sz); 00852 } 00853 00854 const ::std::string& 00855 IceProxy::RobotSimEvents::EventMessage::ice_staticId() 00856 { 00857 return ::RobotSimEvents::EventMessage::ice_staticId(); 00858 } 00859 00860 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00861 IceProxy::RobotSimEvents::EventMessage::__createDelegateM() 00862 { 00863 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::EventMessage); 00864 } 00865 00866 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00867 IceProxy::RobotSimEvents::EventMessage::__createDelegateD() 00868 { 00869 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::EventMessage); 00870 } 00871 00872 ::IceProxy::Ice::Object* 00873 IceProxy::RobotSimEvents::EventMessage::__newInstance() const 00874 { 00875 return new EventMessage; 00876 } 00877 00878 void 00879 IceProxy::RobotSimEvents::Events::updateMessage(const ::RobotSimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __ctx) 00880 { 00881 int __cnt = 0; 00882 while(true) 00883 { 00884 ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; 00885 try 00886 { 00887 #if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug 00888 IceUtil::DummyBCC dummy; 00889 #endif 00890 __delBase = __getDelegate(false); 00891 ::IceDelegate::RobotSimEvents::Events* __del = dynamic_cast< ::IceDelegate::RobotSimEvents::Events*>(__delBase.get()); 00892 __del->updateMessage(eMsg, __ctx); 00893 return; 00894 } 00895 catch(const ::IceInternal::LocalExceptionWrapper& __ex) 00896 { 00897 __handleExceptionWrapper(__delBase, __ex, 0); 00898 } 00899 catch(const ::Ice::LocalException& __ex) 00900 { 00901 __handleException(__delBase, __ex, 0, __cnt); 00902 } 00903 } 00904 } 00905 00906 const ::std::string& 00907 IceProxy::RobotSimEvents::Events::ice_staticId() 00908 { 00909 return ::RobotSimEvents::Events::ice_staticId(); 00910 } 00911 00912 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00913 IceProxy::RobotSimEvents::Events::__createDelegateM() 00914 { 00915 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::Events); 00916 } 00917 00918 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00919 IceProxy::RobotSimEvents::Events::__createDelegateD() 00920 { 00921 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::Events); 00922 } 00923 00924 ::IceProxy::Ice::Object* 00925 IceProxy::RobotSimEvents::Events::__newInstance() const 00926 { 00927 return new Events; 00928 } 00929 00930 const ::std::string& 00931 IceProxy::RobotSimEvents::ActionMessage::ice_staticId() 00932 { 00933 return ::RobotSimEvents::ActionMessage::ice_staticId(); 00934 } 00935 00936 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00937 IceProxy::RobotSimEvents::ActionMessage::__createDelegateM() 00938 { 00939 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ActionMessage); 00940 } 00941 00942 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00943 IceProxy::RobotSimEvents::ActionMessage::__createDelegateD() 00944 { 00945 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ActionMessage); 00946 } 00947 00948 ::IceProxy::Ice::Object* 00949 IceProxy::RobotSimEvents::ActionMessage::__newInstance() const 00950 { 00951 return new ActionMessage; 00952 } 00953 00954 const ::std::string& 00955 IceProxy::RobotSimEvents::GPSMessage::ice_staticId() 00956 { 00957 return ::RobotSimEvents::GPSMessage::ice_staticId(); 00958 } 00959 00960 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00961 IceProxy::RobotSimEvents::GPSMessage::__createDelegateM() 00962 { 00963 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::GPSMessage); 00964 } 00965 00966 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00967 IceProxy::RobotSimEvents::GPSMessage::__createDelegateD() 00968 { 00969 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::GPSMessage); 00970 } 00971 00972 ::IceProxy::Ice::Object* 00973 IceProxy::RobotSimEvents::GPSMessage::__newInstance() const 00974 { 00975 return new GPSMessage; 00976 } 00977 00978 const ::std::string& 00979 IceProxy::RobotSimEvents::MotionMessage::ice_staticId() 00980 { 00981 return ::RobotSimEvents::MotionMessage::ice_staticId(); 00982 } 00983 00984 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 00985 IceProxy::RobotSimEvents::MotionMessage::__createDelegateM() 00986 { 00987 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::MotionMessage); 00988 } 00989 00990 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 00991 IceProxy::RobotSimEvents::MotionMessage::__createDelegateD() 00992 { 00993 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::MotionMessage); 00994 } 00995 00996 ::IceProxy::Ice::Object* 00997 IceProxy::RobotSimEvents::MotionMessage::__newInstance() const 00998 { 00999 return new MotionMessage; 01000 } 01001 01002 const ::std::string& 01003 IceProxy::RobotSimEvents::RetinaMessage::ice_staticId() 01004 { 01005 return ::RobotSimEvents::RetinaMessage::ice_staticId(); 01006 } 01007 01008 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01009 IceProxy::RobotSimEvents::RetinaMessage::__createDelegateM() 01010 { 01011 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::RetinaMessage); 01012 } 01013 01014 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01015 IceProxy::RobotSimEvents::RetinaMessage::__createDelegateD() 01016 { 01017 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::RetinaMessage); 01018 } 01019 01020 ::IceProxy::Ice::Object* 01021 IceProxy::RobotSimEvents::RetinaMessage::__newInstance() const 01022 { 01023 return new RetinaMessage; 01024 } 01025 01026 const ::std::string& 01027 IceProxy::RobotSimEvents::MovementControllerMessage::ice_staticId() 01028 { 01029 return ::RobotSimEvents::MovementControllerMessage::ice_staticId(); 01030 } 01031 01032 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01033 IceProxy::RobotSimEvents::MovementControllerMessage::__createDelegateM() 01034 { 01035 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::MovementControllerMessage); 01036 } 01037 01038 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01039 IceProxy::RobotSimEvents::MovementControllerMessage::__createDelegateD() 01040 { 01041 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::MovementControllerMessage); 01042 } 01043 01044 ::IceProxy::Ice::Object* 01045 IceProxy::RobotSimEvents::MovementControllerMessage::__newInstance() const 01046 { 01047 return new MovementControllerMessage; 01048 } 01049 01050 const ::std::string& 01051 IceProxy::RobotSimEvents::JoyStickControlMessage::ice_staticId() 01052 { 01053 return ::RobotSimEvents::JoyStickControlMessage::ice_staticId(); 01054 } 01055 01056 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01057 IceProxy::RobotSimEvents::JoyStickControlMessage::__createDelegateM() 01058 { 01059 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::JoyStickControlMessage); 01060 } 01061 01062 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01063 IceProxy::RobotSimEvents::JoyStickControlMessage::__createDelegateD() 01064 { 01065 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::JoyStickControlMessage); 01066 } 01067 01068 ::IceProxy::Ice::Object* 01069 IceProxy::RobotSimEvents::JoyStickControlMessage::__newInstance() const 01070 { 01071 return new JoyStickControlMessage; 01072 } 01073 01074 const ::std::string& 01075 IceProxy::RobotSimEvents::BeeStemConfigMessage::ice_staticId() 01076 { 01077 return ::RobotSimEvents::BeeStemConfigMessage::ice_staticId(); 01078 } 01079 01080 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01081 IceProxy::RobotSimEvents::BeeStemConfigMessage::__createDelegateM() 01082 { 01083 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BeeStemConfigMessage); 01084 } 01085 01086 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01087 IceProxy::RobotSimEvents::BeeStemConfigMessage::__createDelegateD() 01088 { 01089 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BeeStemConfigMessage); 01090 } 01091 01092 ::IceProxy::Ice::Object* 01093 IceProxy::RobotSimEvents::BeeStemConfigMessage::__newInstance() const 01094 { 01095 return new BeeStemConfigMessage; 01096 } 01097 01098 const ::std::string& 01099 IceProxy::RobotSimEvents::IMUDataServerMessage::ice_staticId() 01100 { 01101 return ::RobotSimEvents::IMUDataServerMessage::ice_staticId(); 01102 } 01103 01104 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01105 IceProxy::RobotSimEvents::IMUDataServerMessage::__createDelegateM() 01106 { 01107 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::IMUDataServerMessage); 01108 } 01109 01110 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01111 IceProxy::RobotSimEvents::IMUDataServerMessage::__createDelegateD() 01112 { 01113 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::IMUDataServerMessage); 01114 } 01115 01116 ::IceProxy::Ice::Object* 01117 IceProxy::RobotSimEvents::IMUDataServerMessage::__newInstance() const 01118 { 01119 return new IMUDataServerMessage; 01120 } 01121 01122 const ::std::string& 01123 IceProxy::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId() 01124 { 01125 return ::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId(); 01126 } 01127 01128 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01129 IceProxy::RobotSimEvents::BeeStemMotorControllerMessage::__createDelegateM() 01130 { 01131 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BeeStemMotorControllerMessage); 01132 } 01133 01134 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01135 IceProxy::RobotSimEvents::BeeStemMotorControllerMessage::__createDelegateD() 01136 { 01137 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BeeStemMotorControllerMessage); 01138 } 01139 01140 ::IceProxy::Ice::Object* 01141 IceProxy::RobotSimEvents::BeeStemMotorControllerMessage::__newInstance() const 01142 { 01143 return new BeeStemMotorControllerMessage; 01144 } 01145 01146 const ::std::string& 01147 IceProxy::RobotSimEvents::LocalizationMessage::ice_staticId() 01148 { 01149 return ::RobotSimEvents::LocalizationMessage::ice_staticId(); 01150 } 01151 01152 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01153 IceProxy::RobotSimEvents::LocalizationMessage::__createDelegateM() 01154 { 01155 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::LocalizationMessage); 01156 } 01157 01158 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01159 IceProxy::RobotSimEvents::LocalizationMessage::__createDelegateD() 01160 { 01161 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::LocalizationMessage); 01162 } 01163 01164 ::IceProxy::Ice::Object* 01165 IceProxy::RobotSimEvents::LocalizationMessage::__newInstance() const 01166 { 01167 return new LocalizationMessage; 01168 } 01169 01170 const ::std::string& 01171 IceProxy::RobotSimEvents::BeeStemMessage::ice_staticId() 01172 { 01173 return ::RobotSimEvents::BeeStemMessage::ice_staticId(); 01174 } 01175 01176 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01177 IceProxy::RobotSimEvents::BeeStemMessage::__createDelegateM() 01178 { 01179 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BeeStemMessage); 01180 } 01181 01182 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01183 IceProxy::RobotSimEvents::BeeStemMessage::__createDelegateD() 01184 { 01185 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BeeStemMessage); 01186 } 01187 01188 ::IceProxy::Ice::Object* 01189 IceProxy::RobotSimEvents::BeeStemMessage::__newInstance() const 01190 { 01191 return new BeeStemMessage; 01192 } 01193 01194 const ::std::string& 01195 IceProxy::RobotSimEvents::ChatMessage::ice_staticId() 01196 { 01197 return ::RobotSimEvents::ChatMessage::ice_staticId(); 01198 } 01199 01200 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01201 IceProxy::RobotSimEvents::ChatMessage::__createDelegateM() 01202 { 01203 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ChatMessage); 01204 } 01205 01206 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01207 IceProxy::RobotSimEvents::ChatMessage::__createDelegateD() 01208 { 01209 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ChatMessage); 01210 } 01211 01212 ::IceProxy::Ice::Object* 01213 IceProxy::RobotSimEvents::ChatMessage::__newInstance() const 01214 { 01215 return new ChatMessage; 01216 } 01217 01218 const ::std::string& 01219 IceProxy::RobotSimEvents::RemoteControlMessage::ice_staticId() 01220 { 01221 return ::RobotSimEvents::RemoteControlMessage::ice_staticId(); 01222 } 01223 01224 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01225 IceProxy::RobotSimEvents::RemoteControlMessage::__createDelegateM() 01226 { 01227 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::RemoteControlMessage); 01228 } 01229 01230 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01231 IceProxy::RobotSimEvents::RemoteControlMessage::__createDelegateD() 01232 { 01233 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::RemoteControlMessage); 01234 } 01235 01236 ::IceProxy::Ice::Object* 01237 IceProxy::RobotSimEvents::RemoteControlMessage::__newInstance() const 01238 { 01239 return new RemoteControlMessage; 01240 } 01241 01242 const ::std::string& 01243 IceProxy::RobotSimEvents::StateMessage::ice_staticId() 01244 { 01245 return ::RobotSimEvents::StateMessage::ice_staticId(); 01246 } 01247 01248 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01249 IceProxy::RobotSimEvents::StateMessage::__createDelegateM() 01250 { 01251 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::StateMessage); 01252 } 01253 01254 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01255 IceProxy::RobotSimEvents::StateMessage::__createDelegateD() 01256 { 01257 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::StateMessage); 01258 } 01259 01260 ::IceProxy::Ice::Object* 01261 IceProxy::RobotSimEvents::StateMessage::__newInstance() const 01262 { 01263 return new StateMessage; 01264 } 01265 01266 const ::std::string& 01267 IceProxy::RobotSimEvents::GoalStateMessage::ice_staticId() 01268 { 01269 return ::RobotSimEvents::GoalStateMessage::ice_staticId(); 01270 } 01271 01272 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01273 IceProxy::RobotSimEvents::GoalStateMessage::__createDelegateM() 01274 { 01275 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::GoalStateMessage); 01276 } 01277 01278 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01279 IceProxy::RobotSimEvents::GoalStateMessage::__createDelegateD() 01280 { 01281 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::GoalStateMessage); 01282 } 01283 01284 ::IceProxy::Ice::Object* 01285 IceProxy::RobotSimEvents::GoalStateMessage::__newInstance() const 01286 { 01287 return new GoalStateMessage; 01288 } 01289 01290 const ::std::string& 01291 IceProxy::RobotSimEvents::GoalProgressMessage::ice_staticId() 01292 { 01293 return ::RobotSimEvents::GoalProgressMessage::ice_staticId(); 01294 } 01295 01296 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01297 IceProxy::RobotSimEvents::GoalProgressMessage::__createDelegateM() 01298 { 01299 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::GoalProgressMessage); 01300 } 01301 01302 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01303 IceProxy::RobotSimEvents::GoalProgressMessage::__createDelegateD() 01304 { 01305 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::GoalProgressMessage); 01306 } 01307 01308 ::IceProxy::Ice::Object* 01309 IceProxy::RobotSimEvents::GoalProgressMessage::__newInstance() const 01310 { 01311 return new GoalProgressMessage; 01312 } 01313 01314 const ::std::string& 01315 IceProxy::RobotSimEvents::AttendedRegionMessage::ice_staticId() 01316 { 01317 return ::RobotSimEvents::AttendedRegionMessage::ice_staticId(); 01318 } 01319 01320 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01321 IceProxy::RobotSimEvents::AttendedRegionMessage::__createDelegateM() 01322 { 01323 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::AttendedRegionMessage); 01324 } 01325 01326 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01327 IceProxy::RobotSimEvents::AttendedRegionMessage::__createDelegateD() 01328 { 01329 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::AttendedRegionMessage); 01330 } 01331 01332 ::IceProxy::Ice::Object* 01333 IceProxy::RobotSimEvents::AttendedRegionMessage::__newInstance() const 01334 { 01335 return new AttendedRegionMessage; 01336 } 01337 01338 const ::std::string& 01339 IceProxy::RobotSimEvents::ObjectMessage::ice_staticId() 01340 { 01341 return ::RobotSimEvents::ObjectMessage::ice_staticId(); 01342 } 01343 01344 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01345 IceProxy::RobotSimEvents::ObjectMessage::__createDelegateM() 01346 { 01347 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::ObjectMessage); 01348 } 01349 01350 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01351 IceProxy::RobotSimEvents::ObjectMessage::__createDelegateD() 01352 { 01353 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::ObjectMessage); 01354 } 01355 01356 ::IceProxy::Ice::Object* 01357 IceProxy::RobotSimEvents::ObjectMessage::__newInstance() const 01358 { 01359 return new ObjectMessage; 01360 } 01361 01362 const ::std::string& 01363 IceProxy::RobotSimEvents::SeaBeePositionMessage::ice_staticId() 01364 { 01365 return ::RobotSimEvents::SeaBeePositionMessage::ice_staticId(); 01366 } 01367 01368 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01369 IceProxy::RobotSimEvents::SeaBeePositionMessage::__createDelegateM() 01370 { 01371 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::SeaBeePositionMessage); 01372 } 01373 01374 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01375 IceProxy::RobotSimEvents::SeaBeePositionMessage::__createDelegateD() 01376 { 01377 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::SeaBeePositionMessage); 01378 } 01379 01380 ::IceProxy::Ice::Object* 01381 IceProxy::RobotSimEvents::SeaBeePositionMessage::__newInstance() const 01382 { 01383 return new SeaBeePositionMessage; 01384 } 01385 01386 const ::std::string& 01387 IceProxy::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId() 01388 { 01389 return ::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId(); 01390 } 01391 01392 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01393 IceProxy::RobotSimEvents::SeaBeeStateConditionMessage::__createDelegateM() 01394 { 01395 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::SeaBeeStateConditionMessage); 01396 } 01397 01398 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01399 IceProxy::RobotSimEvents::SeaBeeStateConditionMessage::__createDelegateD() 01400 { 01401 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::SeaBeeStateConditionMessage); 01402 } 01403 01404 ::IceProxy::Ice::Object* 01405 IceProxy::RobotSimEvents::SeaBeeStateConditionMessage::__newInstance() const 01406 { 01407 return new SeaBeeStateConditionMessage; 01408 } 01409 01410 const ::std::string& 01411 IceProxy::RobotSimEvents::VisionRectangleMessage::ice_staticId() 01412 { 01413 return ::RobotSimEvents::VisionRectangleMessage::ice_staticId(); 01414 } 01415 01416 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01417 IceProxy::RobotSimEvents::VisionRectangleMessage::__createDelegateM() 01418 { 01419 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::VisionRectangleMessage); 01420 } 01421 01422 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01423 IceProxy::RobotSimEvents::VisionRectangleMessage::__createDelegateD() 01424 { 01425 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::VisionRectangleMessage); 01426 } 01427 01428 ::IceProxy::Ice::Object* 01429 IceProxy::RobotSimEvents::VisionRectangleMessage::__newInstance() const 01430 { 01431 return new VisionRectangleMessage; 01432 } 01433 01434 const ::std::string& 01435 IceProxy::RobotSimEvents::StraightEdgeMessage::ice_staticId() 01436 { 01437 return ::RobotSimEvents::StraightEdgeMessage::ice_staticId(); 01438 } 01439 01440 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01441 IceProxy::RobotSimEvents::StraightEdgeMessage::__createDelegateM() 01442 { 01443 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::StraightEdgeMessage); 01444 } 01445 01446 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01447 IceProxy::RobotSimEvents::StraightEdgeMessage::__createDelegateD() 01448 { 01449 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::StraightEdgeMessage); 01450 } 01451 01452 ::IceProxy::Ice::Object* 01453 IceProxy::RobotSimEvents::StraightEdgeMessage::__newInstance() const 01454 { 01455 return new StraightEdgeMessage; 01456 } 01457 01458 const ::std::string& 01459 IceProxy::RobotSimEvents::VisionObjectMessage::ice_staticId() 01460 { 01461 return ::RobotSimEvents::VisionObjectMessage::ice_staticId(); 01462 } 01463 01464 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01465 IceProxy::RobotSimEvents::VisionObjectMessage::__createDelegateM() 01466 { 01467 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::VisionObjectMessage); 01468 } 01469 01470 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01471 IceProxy::RobotSimEvents::VisionObjectMessage::__createDelegateD() 01472 { 01473 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::VisionObjectMessage); 01474 } 01475 01476 ::IceProxy::Ice::Object* 01477 IceProxy::RobotSimEvents::VisionObjectMessage::__newInstance() const 01478 { 01479 return new VisionObjectMessage; 01480 } 01481 01482 const ::std::string& 01483 IceProxy::RobotSimEvents::LandmarksMessage::ice_staticId() 01484 { 01485 return ::RobotSimEvents::LandmarksMessage::ice_staticId(); 01486 } 01487 01488 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01489 IceProxy::RobotSimEvents::LandmarksMessage::__createDelegateM() 01490 { 01491 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::LandmarksMessage); 01492 } 01493 01494 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01495 IceProxy::RobotSimEvents::LandmarksMessage::__createDelegateD() 01496 { 01497 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::LandmarksMessage); 01498 } 01499 01500 ::IceProxy::Ice::Object* 01501 IceProxy::RobotSimEvents::LandmarksMessage::__newInstance() const 01502 { 01503 return new LandmarksMessage; 01504 } 01505 01506 const ::std::string& 01507 IceProxy::RobotSimEvents::CameraConfigMessage::ice_staticId() 01508 { 01509 return ::RobotSimEvents::CameraConfigMessage::ice_staticId(); 01510 } 01511 01512 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01513 IceProxy::RobotSimEvents::CameraConfigMessage::__createDelegateM() 01514 { 01515 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::CameraConfigMessage); 01516 } 01517 01518 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01519 IceProxy::RobotSimEvents::CameraConfigMessage::__createDelegateD() 01520 { 01521 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::CameraConfigMessage); 01522 } 01523 01524 ::IceProxy::Ice::Object* 01525 IceProxy::RobotSimEvents::CameraConfigMessage::__newInstance() const 01526 { 01527 return new CameraConfigMessage; 01528 } 01529 01530 const ::std::string& 01531 IceProxy::RobotSimEvents::SalientPointMessage::ice_staticId() 01532 { 01533 return ::RobotSimEvents::SalientPointMessage::ice_staticId(); 01534 } 01535 01536 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01537 IceProxy::RobotSimEvents::SalientPointMessage::__createDelegateM() 01538 { 01539 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::SalientPointMessage); 01540 } 01541 01542 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01543 IceProxy::RobotSimEvents::SalientPointMessage::__createDelegateD() 01544 { 01545 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::SalientPointMessage); 01546 } 01547 01548 ::IceProxy::Ice::Object* 01549 IceProxy::RobotSimEvents::SalientPointMessage::__newInstance() const 01550 { 01551 return new SalientPointMessage; 01552 } 01553 01554 const ::std::string& 01555 IceProxy::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId() 01556 { 01557 return ::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId(); 01558 } 01559 01560 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01561 IceProxy::RobotSimEvents::BuoyColorSegmentMessage::__createDelegateM() 01562 { 01563 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BuoyColorSegmentMessage); 01564 } 01565 01566 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01567 IceProxy::RobotSimEvents::BuoyColorSegmentMessage::__createDelegateD() 01568 { 01569 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BuoyColorSegmentMessage); 01570 } 01571 01572 ::IceProxy::Ice::Object* 01573 IceProxy::RobotSimEvents::BuoyColorSegmentMessage::__newInstance() const 01574 { 01575 return new BuoyColorSegmentMessage; 01576 } 01577 01578 const ::std::string& 01579 IceProxy::RobotSimEvents::PipeColorSegmentMessage::ice_staticId() 01580 { 01581 return ::RobotSimEvents::PipeColorSegmentMessage::ice_staticId(); 01582 } 01583 01584 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01585 IceProxy::RobotSimEvents::PipeColorSegmentMessage::__createDelegateM() 01586 { 01587 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::PipeColorSegmentMessage); 01588 } 01589 01590 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01591 IceProxy::RobotSimEvents::PipeColorSegmentMessage::__createDelegateD() 01592 { 01593 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::PipeColorSegmentMessage); 01594 } 01595 01596 ::IceProxy::Ice::Object* 01597 IceProxy::RobotSimEvents::PipeColorSegmentMessage::__newInstance() const 01598 { 01599 return new PipeColorSegmentMessage; 01600 } 01601 01602 const ::std::string& 01603 IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId() 01604 { 01605 return ::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId(); 01606 } 01607 01608 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01609 IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage::__createDelegateM() 01610 { 01611 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::BuoyColorSegmentConfigMessage); 01612 } 01613 01614 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01615 IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage::__createDelegateD() 01616 { 01617 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::BuoyColorSegmentConfigMessage); 01618 } 01619 01620 ::IceProxy::Ice::Object* 01621 IceProxy::RobotSimEvents::BuoyColorSegmentConfigMessage::__newInstance() const 01622 { 01623 return new BuoyColorSegmentConfigMessage; 01624 } 01625 01626 const ::std::string& 01627 IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId() 01628 { 01629 return ::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId(); 01630 } 01631 01632 ::IceInternal::Handle< ::IceDelegateM::Ice::Object> 01633 IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage::__createDelegateM() 01634 { 01635 return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::RobotSimEvents::PipeColorSegmentConfigMessage); 01636 } 01637 01638 ::IceInternal::Handle< ::IceDelegateD::Ice::Object> 01639 IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage::__createDelegateD() 01640 { 01641 return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::RobotSimEvents::PipeColorSegmentConfigMessage); 01642 } 01643 01644 ::IceProxy::Ice::Object* 01645 IceProxy::RobotSimEvents::PipeColorSegmentConfigMessage::__newInstance() const 01646 { 01647 return new PipeColorSegmentConfigMessage; 01648 } 01649 01650 void 01651 IceDelegateM::RobotSimEvents::Events::updateMessage(const ::RobotSimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __context) 01652 { 01653 ::IceInternal::Outgoing __og(__handler.get(), __RobotSimEvents__Events__updateMessage_name, ::Ice::Normal, __context); 01654 try 01655 { 01656 ::IceInternal::BasicStream* __os = __og.os(); 01657 __os->write(::Ice::ObjectPtr(::IceInternal::upCast(eMsg.get()))); 01658 __os->writePendingObjects(); 01659 } 01660 catch(const ::Ice::LocalException& __ex) 01661 { 01662 __og.abort(__ex); 01663 } 01664 bool __ok = __og.invoke(); 01665 if(!__og.is()->b.empty()) 01666 { 01667 try 01668 { 01669 if(!__ok) 01670 { 01671 try 01672 { 01673 __og.throwUserException(); 01674 } 01675 catch(const ::Ice::UserException& __ex) 01676 { 01677 ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); 01678 throw __uue; 01679 } 01680 } 01681 __og.is()->skipEmptyEncaps(); 01682 } 01683 catch(const ::Ice::LocalException& __ex) 01684 { 01685 throw ::IceInternal::LocalExceptionWrapper(__ex, false); 01686 } 01687 } 01688 } 01689 01690 void 01691 IceDelegateD::RobotSimEvents::Events::updateMessage(const ::RobotSimEvents::EventMessagePtr& eMsg, const ::Ice::Context* __context) 01692 { 01693 class _DirectI : public ::IceInternal::Direct 01694 { 01695 public: 01696 01697 _DirectI(const ::RobotSimEvents::EventMessagePtr& eMsg, const ::Ice::Current& __current) : 01698 ::IceInternal::Direct(__current), 01699 _m_eMsg(eMsg) 01700 { 01701 } 01702 01703 virtual ::Ice::DispatchStatus 01704 run(::Ice::Object* object) 01705 { 01706 ::RobotSimEvents::Events* servant = dynamic_cast< ::RobotSimEvents::Events*>(object); 01707 if(!servant) 01708 { 01709 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); 01710 } 01711 servant->updateMessage(_m_eMsg, _current); 01712 return ::Ice::DispatchOK; 01713 } 01714 01715 private: 01716 01717 const ::RobotSimEvents::EventMessagePtr& _m_eMsg; 01718 }; 01719 01720 ::Ice::Current __current; 01721 __initCurrent(__current, __RobotSimEvents__Events__updateMessage_name, ::Ice::Normal, __context); 01722 try 01723 { 01724 _DirectI __direct(eMsg, __current); 01725 try 01726 { 01727 __direct.servant()->__collocDispatch(__direct); 01728 } 01729 catch(...) 01730 { 01731 __direct.destroy(); 01732 throw; 01733 } 01734 __direct.destroy(); 01735 } 01736 catch(const ::Ice::SystemException&) 01737 { 01738 throw; 01739 } 01740 catch(const ::IceInternal::LocalExceptionWrapper&) 01741 { 01742 throw; 01743 } 01744 catch(const ::std::exception& __ex) 01745 { 01746 ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); 01747 } 01748 catch(...) 01749 { 01750 throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); 01751 } 01752 } 01753 01754 ::Ice::ObjectPtr 01755 RobotSimEvents::EventMessage::ice_clone() const 01756 { 01757 ::RobotSimEvents::EventMessagePtr __p = new ::RobotSimEvents::EventMessage(*this); 01758 return __p; 01759 } 01760 01761 static const ::std::string __RobotSimEvents__EventMessage_ids[2] = 01762 { 01763 "::Ice::Object", 01764 "::RobotSimEvents::EventMessage" 01765 }; 01766 01767 bool 01768 RobotSimEvents::EventMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 01769 { 01770 return ::std::binary_search(__RobotSimEvents__EventMessage_ids, __RobotSimEvents__EventMessage_ids + 2, _s); 01771 } 01772 01773 ::std::vector< ::std::string> 01774 RobotSimEvents::EventMessage::ice_ids(const ::Ice::Current&) const 01775 { 01776 return ::std::vector< ::std::string>(&__RobotSimEvents__EventMessage_ids[0], &__RobotSimEvents__EventMessage_ids[2]); 01777 } 01778 01779 const ::std::string& 01780 RobotSimEvents::EventMessage::ice_id(const ::Ice::Current&) const 01781 { 01782 return __RobotSimEvents__EventMessage_ids[1]; 01783 } 01784 01785 const ::std::string& 01786 RobotSimEvents::EventMessage::ice_staticId() 01787 { 01788 return __RobotSimEvents__EventMessage_ids[1]; 01789 } 01790 01791 void 01792 RobotSimEvents::EventMessage::__write(::IceInternal::BasicStream* __os) const 01793 { 01794 __os->writeTypeId(ice_staticId()); 01795 __os->startWriteSlice(); 01796 __os->endWriteSlice(); 01797 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01798 Object::__write(__os); 01799 #else 01800 ::Ice::Object::__write(__os); 01801 #endif 01802 } 01803 01804 void 01805 RobotSimEvents::EventMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 01806 { 01807 if(__rid) 01808 { 01809 ::std::string myId; 01810 __is->readTypeId(myId); 01811 } 01812 __is->startReadSlice(); 01813 __is->endReadSlice(); 01814 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 01815 Object::__read(__is, true); 01816 #else 01817 ::Ice::Object::__read(__is, true); 01818 #endif 01819 } 01820 01821 void 01822 RobotSimEvents::EventMessage::__write(const ::Ice::OutputStreamPtr&) const 01823 { 01824 Ice::MarshalException ex(__FILE__, __LINE__); 01825 ex.reason = "type RobotSimEvents::EventMessage was not generated with stream support"; 01826 throw ex; 01827 } 01828 01829 void 01830 RobotSimEvents::EventMessage::__read(const ::Ice::InputStreamPtr&, bool) 01831 { 01832 Ice::MarshalException ex(__FILE__, __LINE__); 01833 ex.reason = "type RobotSimEvents::EventMessage was not generated with stream support"; 01834 throw ex; 01835 } 01836 01837 class __F__RobotSimEvents__EventMessage : public ::Ice::ObjectFactory 01838 { 01839 public: 01840 01841 virtual ::Ice::ObjectPtr 01842 create(const ::std::string& type) 01843 { 01844 assert(type == ::RobotSimEvents::EventMessage::ice_staticId()); 01845 return new ::RobotSimEvents::EventMessage; 01846 } 01847 01848 virtual void 01849 destroy() 01850 { 01851 } 01852 }; 01853 01854 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__EventMessage_Ptr = new __F__RobotSimEvents__EventMessage; 01855 01856 const ::Ice::ObjectFactoryPtr& 01857 RobotSimEvents::EventMessage::ice_factory() 01858 { 01859 return __F__RobotSimEvents__EventMessage_Ptr; 01860 } 01861 01862 class __F__RobotSimEvents__EventMessage__Init 01863 { 01864 public: 01865 01866 __F__RobotSimEvents__EventMessage__Init() 01867 { 01868 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::EventMessage::ice_staticId(), ::RobotSimEvents::EventMessage::ice_factory()); 01869 } 01870 01871 ~__F__RobotSimEvents__EventMessage__Init() 01872 { 01873 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::EventMessage::ice_staticId()); 01874 } 01875 }; 01876 01877 static __F__RobotSimEvents__EventMessage__Init __F__RobotSimEvents__EventMessage__i; 01878 01879 #ifdef __APPLE__ 01880 extern "C" { void __F__RobotSimEvents__EventMessage__initializer() {} } 01881 #endif 01882 01883 void 01884 RobotSimEvents::__patch__EventMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 01885 { 01886 ::RobotSimEvents::EventMessagePtr* p = static_cast< ::RobotSimEvents::EventMessagePtr*>(__addr); 01887 assert(p); 01888 *p = ::RobotSimEvents::EventMessagePtr::dynamicCast(v); 01889 if(v && !*p) 01890 { 01891 IceInternal::Ex::throwUOE(::RobotSimEvents::EventMessage::ice_staticId(), v->ice_id()); 01892 } 01893 } 01894 01895 bool 01896 RobotSimEvents::operator==(const ::RobotSimEvents::EventMessage& l, const ::RobotSimEvents::EventMessage& r) 01897 { 01898 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 01899 } 01900 01901 bool 01902 RobotSimEvents::operator<(const ::RobotSimEvents::EventMessage& l, const ::RobotSimEvents::EventMessage& r) 01903 { 01904 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 01905 } 01906 01907 ::Ice::ObjectPtr 01908 RobotSimEvents::Events::ice_clone() const 01909 { 01910 throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); 01911 return 0; // to avoid a warning with some compilers 01912 } 01913 01914 static const ::std::string __RobotSimEvents__Events_ids[2] = 01915 { 01916 "::Ice::Object", 01917 "::RobotSimEvents::Events" 01918 }; 01919 01920 bool 01921 RobotSimEvents::Events::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 01922 { 01923 return ::std::binary_search(__RobotSimEvents__Events_ids, __RobotSimEvents__Events_ids + 2, _s); 01924 } 01925 01926 ::std::vector< ::std::string> 01927 RobotSimEvents::Events::ice_ids(const ::Ice::Current&) const 01928 { 01929 return ::std::vector< ::std::string>(&__RobotSimEvents__Events_ids[0], &__RobotSimEvents__Events_ids[2]); 01930 } 01931 01932 const ::std::string& 01933 RobotSimEvents::Events::ice_id(const ::Ice::Current&) const 01934 { 01935 return __RobotSimEvents__Events_ids[1]; 01936 } 01937 01938 const ::std::string& 01939 RobotSimEvents::Events::ice_staticId() 01940 { 01941 return __RobotSimEvents__Events_ids[1]; 01942 } 01943 01944 ::Ice::DispatchStatus 01945 RobotSimEvents::Events::___updateMessage(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) 01946 { 01947 __checkMode(::Ice::Normal, __current.mode); 01948 ::IceInternal::BasicStream* __is = __inS.is(); 01949 __is->startReadEncaps(); 01950 ::RobotSimEvents::EventMessagePtr eMsg; 01951 __is->read(::RobotSimEvents::__patch__EventMessagePtr, &eMsg); 01952 __is->readPendingObjects(); 01953 __is->endReadEncaps(); 01954 updateMessage(eMsg, __current); 01955 return ::Ice::DispatchOK; 01956 } 01957 01958 static ::std::string __RobotSimEvents__Events_all[] = 01959 { 01960 "ice_id", 01961 "ice_ids", 01962 "ice_isA", 01963 "ice_ping", 01964 "updateMessage" 01965 }; 01966 01967 ::Ice::DispatchStatus 01968 RobotSimEvents::Events::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) 01969 { 01970 ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__RobotSimEvents__Events_all, __RobotSimEvents__Events_all + 5, current.operation); 01971 if(r.first == r.second) 01972 { 01973 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 01974 } 01975 01976 switch(r.first - __RobotSimEvents__Events_all) 01977 { 01978 case 0: 01979 { 01980 return ___ice_id(in, current); 01981 } 01982 case 1: 01983 { 01984 return ___ice_ids(in, current); 01985 } 01986 case 2: 01987 { 01988 return ___ice_isA(in, current); 01989 } 01990 case 3: 01991 { 01992 return ___ice_ping(in, current); 01993 } 01994 case 4: 01995 { 01996 return ___updateMessage(in, current); 01997 } 01998 } 01999 02000 assert(false); 02001 throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); 02002 } 02003 02004 void 02005 RobotSimEvents::Events::__write(::IceInternal::BasicStream* __os) const 02006 { 02007 __os->writeTypeId(ice_staticId()); 02008 __os->startWriteSlice(); 02009 __os->endWriteSlice(); 02010 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02011 Object::__write(__os); 02012 #else 02013 ::Ice::Object::__write(__os); 02014 #endif 02015 } 02016 02017 void 02018 RobotSimEvents::Events::__read(::IceInternal::BasicStream* __is, bool __rid) 02019 { 02020 if(__rid) 02021 { 02022 ::std::string myId; 02023 __is->readTypeId(myId); 02024 } 02025 __is->startReadSlice(); 02026 __is->endReadSlice(); 02027 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02028 Object::__read(__is, true); 02029 #else 02030 ::Ice::Object::__read(__is, true); 02031 #endif 02032 } 02033 02034 void 02035 RobotSimEvents::Events::__write(const ::Ice::OutputStreamPtr&) const 02036 { 02037 Ice::MarshalException ex(__FILE__, __LINE__); 02038 ex.reason = "type RobotSimEvents::Events was not generated with stream support"; 02039 throw ex; 02040 } 02041 02042 void 02043 RobotSimEvents::Events::__read(const ::Ice::InputStreamPtr&, bool) 02044 { 02045 Ice::MarshalException ex(__FILE__, __LINE__); 02046 ex.reason = "type RobotSimEvents::Events was not generated with stream support"; 02047 throw ex; 02048 } 02049 02050 void 02051 RobotSimEvents::__patch__EventsPtr(void* __addr, ::Ice::ObjectPtr& v) 02052 { 02053 ::RobotSimEvents::EventsPtr* p = static_cast< ::RobotSimEvents::EventsPtr*>(__addr); 02054 assert(p); 02055 *p = ::RobotSimEvents::EventsPtr::dynamicCast(v); 02056 if(v && !*p) 02057 { 02058 IceInternal::Ex::throwUOE(::RobotSimEvents::Events::ice_staticId(), v->ice_id()); 02059 } 02060 } 02061 02062 bool 02063 RobotSimEvents::operator==(const ::RobotSimEvents::Events& l, const ::RobotSimEvents::Events& r) 02064 { 02065 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02066 } 02067 02068 bool 02069 RobotSimEvents::operator<(const ::RobotSimEvents::Events& l, const ::RobotSimEvents::Events& r) 02070 { 02071 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02072 } 02073 02074 RobotSimEvents::ActionMessage::ActionMessage(::Ice::Float __ice_transVel, ::Ice::Float __ice_rotVel) : 02075 transVel(__ice_transVel), 02076 rotVel(__ice_rotVel) 02077 { 02078 } 02079 02080 ::Ice::ObjectPtr 02081 RobotSimEvents::ActionMessage::ice_clone() const 02082 { 02083 ::RobotSimEvents::ActionMessagePtr __p = new ::RobotSimEvents::ActionMessage(*this); 02084 return __p; 02085 } 02086 02087 static const ::std::string __RobotSimEvents__ActionMessage_ids[3] = 02088 { 02089 "::Ice::Object", 02090 "::RobotSimEvents::ActionMessage", 02091 "::RobotSimEvents::EventMessage" 02092 }; 02093 02094 bool 02095 RobotSimEvents::ActionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02096 { 02097 return ::std::binary_search(__RobotSimEvents__ActionMessage_ids, __RobotSimEvents__ActionMessage_ids + 3, _s); 02098 } 02099 02100 ::std::vector< ::std::string> 02101 RobotSimEvents::ActionMessage::ice_ids(const ::Ice::Current&) const 02102 { 02103 return ::std::vector< ::std::string>(&__RobotSimEvents__ActionMessage_ids[0], &__RobotSimEvents__ActionMessage_ids[3]); 02104 } 02105 02106 const ::std::string& 02107 RobotSimEvents::ActionMessage::ice_id(const ::Ice::Current&) const 02108 { 02109 return __RobotSimEvents__ActionMessage_ids[1]; 02110 } 02111 02112 const ::std::string& 02113 RobotSimEvents::ActionMessage::ice_staticId() 02114 { 02115 return __RobotSimEvents__ActionMessage_ids[1]; 02116 } 02117 02118 void 02119 RobotSimEvents::ActionMessage::__write(::IceInternal::BasicStream* __os) const 02120 { 02121 __os->writeTypeId(ice_staticId()); 02122 __os->startWriteSlice(); 02123 __os->write(transVel); 02124 __os->write(rotVel); 02125 __os->endWriteSlice(); 02126 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02127 EventMessage::__write(__os); 02128 #else 02129 ::RobotSimEvents::EventMessage::__write(__os); 02130 #endif 02131 } 02132 02133 void 02134 RobotSimEvents::ActionMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02135 { 02136 if(__rid) 02137 { 02138 ::std::string myId; 02139 __is->readTypeId(myId); 02140 } 02141 __is->startReadSlice(); 02142 __is->read(transVel); 02143 __is->read(rotVel); 02144 __is->endReadSlice(); 02145 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02146 EventMessage::__read(__is, true); 02147 #else 02148 ::RobotSimEvents::EventMessage::__read(__is, true); 02149 #endif 02150 } 02151 02152 void 02153 RobotSimEvents::ActionMessage::__write(const ::Ice::OutputStreamPtr&) const 02154 { 02155 Ice::MarshalException ex(__FILE__, __LINE__); 02156 ex.reason = "type RobotSimEvents::ActionMessage was not generated with stream support"; 02157 throw ex; 02158 } 02159 02160 void 02161 RobotSimEvents::ActionMessage::__read(const ::Ice::InputStreamPtr&, bool) 02162 { 02163 Ice::MarshalException ex(__FILE__, __LINE__); 02164 ex.reason = "type RobotSimEvents::ActionMessage was not generated with stream support"; 02165 throw ex; 02166 } 02167 02168 class __F__RobotSimEvents__ActionMessage : public ::Ice::ObjectFactory 02169 { 02170 public: 02171 02172 virtual ::Ice::ObjectPtr 02173 create(const ::std::string& type) 02174 { 02175 assert(type == ::RobotSimEvents::ActionMessage::ice_staticId()); 02176 return new ::RobotSimEvents::ActionMessage; 02177 } 02178 02179 virtual void 02180 destroy() 02181 { 02182 } 02183 }; 02184 02185 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ActionMessage_Ptr = new __F__RobotSimEvents__ActionMessage; 02186 02187 const ::Ice::ObjectFactoryPtr& 02188 RobotSimEvents::ActionMessage::ice_factory() 02189 { 02190 return __F__RobotSimEvents__ActionMessage_Ptr; 02191 } 02192 02193 class __F__RobotSimEvents__ActionMessage__Init 02194 { 02195 public: 02196 02197 __F__RobotSimEvents__ActionMessage__Init() 02198 { 02199 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ActionMessage::ice_staticId(), ::RobotSimEvents::ActionMessage::ice_factory()); 02200 } 02201 02202 ~__F__RobotSimEvents__ActionMessage__Init() 02203 { 02204 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ActionMessage::ice_staticId()); 02205 } 02206 }; 02207 02208 static __F__RobotSimEvents__ActionMessage__Init __F__RobotSimEvents__ActionMessage__i; 02209 02210 #ifdef __APPLE__ 02211 extern "C" { void __F__RobotSimEvents__ActionMessage__initializer() {} } 02212 #endif 02213 02214 void 02215 RobotSimEvents::__patch__ActionMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 02216 { 02217 ::RobotSimEvents::ActionMessagePtr* p = static_cast< ::RobotSimEvents::ActionMessagePtr*>(__addr); 02218 assert(p); 02219 *p = ::RobotSimEvents::ActionMessagePtr::dynamicCast(v); 02220 if(v && !*p) 02221 { 02222 IceInternal::Ex::throwUOE(::RobotSimEvents::ActionMessage::ice_staticId(), v->ice_id()); 02223 } 02224 } 02225 02226 bool 02227 RobotSimEvents::operator==(const ::RobotSimEvents::ActionMessage& l, const ::RobotSimEvents::ActionMessage& r) 02228 { 02229 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02230 } 02231 02232 bool 02233 RobotSimEvents::operator<(const ::RobotSimEvents::ActionMessage& l, const ::RobotSimEvents::ActionMessage& r) 02234 { 02235 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02236 } 02237 02238 RobotSimEvents::GPSMessage::GPSMessage(::Ice::Float __ice_xPos, ::Ice::Float __ice_yPos, ::Ice::Float __ice_orientation) : 02239 xPos(__ice_xPos), 02240 yPos(__ice_yPos), 02241 orientation(__ice_orientation) 02242 { 02243 } 02244 02245 ::Ice::ObjectPtr 02246 RobotSimEvents::GPSMessage::ice_clone() const 02247 { 02248 ::RobotSimEvents::GPSMessagePtr __p = new ::RobotSimEvents::GPSMessage(*this); 02249 return __p; 02250 } 02251 02252 static const ::std::string __RobotSimEvents__GPSMessage_ids[3] = 02253 { 02254 "::Ice::Object", 02255 "::RobotSimEvents::EventMessage", 02256 "::RobotSimEvents::GPSMessage" 02257 }; 02258 02259 bool 02260 RobotSimEvents::GPSMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02261 { 02262 return ::std::binary_search(__RobotSimEvents__GPSMessage_ids, __RobotSimEvents__GPSMessage_ids + 3, _s); 02263 } 02264 02265 ::std::vector< ::std::string> 02266 RobotSimEvents::GPSMessage::ice_ids(const ::Ice::Current&) const 02267 { 02268 return ::std::vector< ::std::string>(&__RobotSimEvents__GPSMessage_ids[0], &__RobotSimEvents__GPSMessage_ids[3]); 02269 } 02270 02271 const ::std::string& 02272 RobotSimEvents::GPSMessage::ice_id(const ::Ice::Current&) const 02273 { 02274 return __RobotSimEvents__GPSMessage_ids[2]; 02275 } 02276 02277 const ::std::string& 02278 RobotSimEvents::GPSMessage::ice_staticId() 02279 { 02280 return __RobotSimEvents__GPSMessage_ids[2]; 02281 } 02282 02283 void 02284 RobotSimEvents::GPSMessage::__write(::IceInternal::BasicStream* __os) const 02285 { 02286 __os->writeTypeId(ice_staticId()); 02287 __os->startWriteSlice(); 02288 __os->write(xPos); 02289 __os->write(yPos); 02290 __os->write(orientation); 02291 __os->endWriteSlice(); 02292 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02293 EventMessage::__write(__os); 02294 #else 02295 ::RobotSimEvents::EventMessage::__write(__os); 02296 #endif 02297 } 02298 02299 void 02300 RobotSimEvents::GPSMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02301 { 02302 if(__rid) 02303 { 02304 ::std::string myId; 02305 __is->readTypeId(myId); 02306 } 02307 __is->startReadSlice(); 02308 __is->read(xPos); 02309 __is->read(yPos); 02310 __is->read(orientation); 02311 __is->endReadSlice(); 02312 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02313 EventMessage::__read(__is, true); 02314 #else 02315 ::RobotSimEvents::EventMessage::__read(__is, true); 02316 #endif 02317 } 02318 02319 void 02320 RobotSimEvents::GPSMessage::__write(const ::Ice::OutputStreamPtr&) const 02321 { 02322 Ice::MarshalException ex(__FILE__, __LINE__); 02323 ex.reason = "type RobotSimEvents::GPSMessage was not generated with stream support"; 02324 throw ex; 02325 } 02326 02327 void 02328 RobotSimEvents::GPSMessage::__read(const ::Ice::InputStreamPtr&, bool) 02329 { 02330 Ice::MarshalException ex(__FILE__, __LINE__); 02331 ex.reason = "type RobotSimEvents::GPSMessage was not generated with stream support"; 02332 throw ex; 02333 } 02334 02335 class __F__RobotSimEvents__GPSMessage : public ::Ice::ObjectFactory 02336 { 02337 public: 02338 02339 virtual ::Ice::ObjectPtr 02340 create(const ::std::string& type) 02341 { 02342 assert(type == ::RobotSimEvents::GPSMessage::ice_staticId()); 02343 return new ::RobotSimEvents::GPSMessage; 02344 } 02345 02346 virtual void 02347 destroy() 02348 { 02349 } 02350 }; 02351 02352 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__GPSMessage_Ptr = new __F__RobotSimEvents__GPSMessage; 02353 02354 const ::Ice::ObjectFactoryPtr& 02355 RobotSimEvents::GPSMessage::ice_factory() 02356 { 02357 return __F__RobotSimEvents__GPSMessage_Ptr; 02358 } 02359 02360 class __F__RobotSimEvents__GPSMessage__Init 02361 { 02362 public: 02363 02364 __F__RobotSimEvents__GPSMessage__Init() 02365 { 02366 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::GPSMessage::ice_staticId(), ::RobotSimEvents::GPSMessage::ice_factory()); 02367 } 02368 02369 ~__F__RobotSimEvents__GPSMessage__Init() 02370 { 02371 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::GPSMessage::ice_staticId()); 02372 } 02373 }; 02374 02375 static __F__RobotSimEvents__GPSMessage__Init __F__RobotSimEvents__GPSMessage__i; 02376 02377 #ifdef __APPLE__ 02378 extern "C" { void __F__RobotSimEvents__GPSMessage__initializer() {} } 02379 #endif 02380 02381 void 02382 RobotSimEvents::__patch__GPSMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 02383 { 02384 ::RobotSimEvents::GPSMessagePtr* p = static_cast< ::RobotSimEvents::GPSMessagePtr*>(__addr); 02385 assert(p); 02386 *p = ::RobotSimEvents::GPSMessagePtr::dynamicCast(v); 02387 if(v && !*p) 02388 { 02389 IceInternal::Ex::throwUOE(::RobotSimEvents::GPSMessage::ice_staticId(), v->ice_id()); 02390 } 02391 } 02392 02393 bool 02394 RobotSimEvents::operator==(const ::RobotSimEvents::GPSMessage& l, const ::RobotSimEvents::GPSMessage& r) 02395 { 02396 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02397 } 02398 02399 bool 02400 RobotSimEvents::operator<(const ::RobotSimEvents::GPSMessage& l, const ::RobotSimEvents::GPSMessage& r) 02401 { 02402 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02403 } 02404 02405 RobotSimEvents::MotionMessage::MotionMessage(::Ice::Float __ice_distance, ::Ice::Float __ice_angle) : 02406 distance(__ice_distance), 02407 angle(__ice_angle) 02408 { 02409 } 02410 02411 ::Ice::ObjectPtr 02412 RobotSimEvents::MotionMessage::ice_clone() const 02413 { 02414 ::RobotSimEvents::MotionMessagePtr __p = new ::RobotSimEvents::MotionMessage(*this); 02415 return __p; 02416 } 02417 02418 static const ::std::string __RobotSimEvents__MotionMessage_ids[3] = 02419 { 02420 "::Ice::Object", 02421 "::RobotSimEvents::EventMessage", 02422 "::RobotSimEvents::MotionMessage" 02423 }; 02424 02425 bool 02426 RobotSimEvents::MotionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02427 { 02428 return ::std::binary_search(__RobotSimEvents__MotionMessage_ids, __RobotSimEvents__MotionMessage_ids + 3, _s); 02429 } 02430 02431 ::std::vector< ::std::string> 02432 RobotSimEvents::MotionMessage::ice_ids(const ::Ice::Current&) const 02433 { 02434 return ::std::vector< ::std::string>(&__RobotSimEvents__MotionMessage_ids[0], &__RobotSimEvents__MotionMessage_ids[3]); 02435 } 02436 02437 const ::std::string& 02438 RobotSimEvents::MotionMessage::ice_id(const ::Ice::Current&) const 02439 { 02440 return __RobotSimEvents__MotionMessage_ids[2]; 02441 } 02442 02443 const ::std::string& 02444 RobotSimEvents::MotionMessage::ice_staticId() 02445 { 02446 return __RobotSimEvents__MotionMessage_ids[2]; 02447 } 02448 02449 void 02450 RobotSimEvents::MotionMessage::__write(::IceInternal::BasicStream* __os) const 02451 { 02452 __os->writeTypeId(ice_staticId()); 02453 __os->startWriteSlice(); 02454 __os->write(distance); 02455 __os->write(angle); 02456 __os->endWriteSlice(); 02457 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02458 EventMessage::__write(__os); 02459 #else 02460 ::RobotSimEvents::EventMessage::__write(__os); 02461 #endif 02462 } 02463 02464 void 02465 RobotSimEvents::MotionMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02466 { 02467 if(__rid) 02468 { 02469 ::std::string myId; 02470 __is->readTypeId(myId); 02471 } 02472 __is->startReadSlice(); 02473 __is->read(distance); 02474 __is->read(angle); 02475 __is->endReadSlice(); 02476 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02477 EventMessage::__read(__is, true); 02478 #else 02479 ::RobotSimEvents::EventMessage::__read(__is, true); 02480 #endif 02481 } 02482 02483 void 02484 RobotSimEvents::MotionMessage::__write(const ::Ice::OutputStreamPtr&) const 02485 { 02486 Ice::MarshalException ex(__FILE__, __LINE__); 02487 ex.reason = "type RobotSimEvents::MotionMessage was not generated with stream support"; 02488 throw ex; 02489 } 02490 02491 void 02492 RobotSimEvents::MotionMessage::__read(const ::Ice::InputStreamPtr&, bool) 02493 { 02494 Ice::MarshalException ex(__FILE__, __LINE__); 02495 ex.reason = "type RobotSimEvents::MotionMessage was not generated with stream support"; 02496 throw ex; 02497 } 02498 02499 class __F__RobotSimEvents__MotionMessage : public ::Ice::ObjectFactory 02500 { 02501 public: 02502 02503 virtual ::Ice::ObjectPtr 02504 create(const ::std::string& type) 02505 { 02506 assert(type == ::RobotSimEvents::MotionMessage::ice_staticId()); 02507 return new ::RobotSimEvents::MotionMessage; 02508 } 02509 02510 virtual void 02511 destroy() 02512 { 02513 } 02514 }; 02515 02516 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__MotionMessage_Ptr = new __F__RobotSimEvents__MotionMessage; 02517 02518 const ::Ice::ObjectFactoryPtr& 02519 RobotSimEvents::MotionMessage::ice_factory() 02520 { 02521 return __F__RobotSimEvents__MotionMessage_Ptr; 02522 } 02523 02524 class __F__RobotSimEvents__MotionMessage__Init 02525 { 02526 public: 02527 02528 __F__RobotSimEvents__MotionMessage__Init() 02529 { 02530 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::MotionMessage::ice_staticId(), ::RobotSimEvents::MotionMessage::ice_factory()); 02531 } 02532 02533 ~__F__RobotSimEvents__MotionMessage__Init() 02534 { 02535 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::MotionMessage::ice_staticId()); 02536 } 02537 }; 02538 02539 static __F__RobotSimEvents__MotionMessage__Init __F__RobotSimEvents__MotionMessage__i; 02540 02541 #ifdef __APPLE__ 02542 extern "C" { void __F__RobotSimEvents__MotionMessage__initializer() {} } 02543 #endif 02544 02545 void 02546 RobotSimEvents::__patch__MotionMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 02547 { 02548 ::RobotSimEvents::MotionMessagePtr* p = static_cast< ::RobotSimEvents::MotionMessagePtr*>(__addr); 02549 assert(p); 02550 *p = ::RobotSimEvents::MotionMessagePtr::dynamicCast(v); 02551 if(v && !*p) 02552 { 02553 IceInternal::Ex::throwUOE(::RobotSimEvents::MotionMessage::ice_staticId(), v->ice_id()); 02554 } 02555 } 02556 02557 bool 02558 RobotSimEvents::operator==(const ::RobotSimEvents::MotionMessage& l, const ::RobotSimEvents::MotionMessage& r) 02559 { 02560 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02561 } 02562 02563 bool 02564 RobotSimEvents::operator<(const ::RobotSimEvents::MotionMessage& l, const ::RobotSimEvents::MotionMessage& r) 02565 { 02566 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02567 } 02568 02569 RobotSimEvents::RetinaMessage::RetinaMessage(const ::ImageIceMod::ImageIce& __ice_img, const ::std::string& __ice_cameraID) : 02570 img(__ice_img), 02571 cameraID(__ice_cameraID) 02572 { 02573 } 02574 02575 ::Ice::ObjectPtr 02576 RobotSimEvents::RetinaMessage::ice_clone() const 02577 { 02578 ::RobotSimEvents::RetinaMessagePtr __p = new ::RobotSimEvents::RetinaMessage(*this); 02579 return __p; 02580 } 02581 02582 static const ::std::string __RobotSimEvents__RetinaMessage_ids[3] = 02583 { 02584 "::Ice::Object", 02585 "::RobotSimEvents::EventMessage", 02586 "::RobotSimEvents::RetinaMessage" 02587 }; 02588 02589 bool 02590 RobotSimEvents::RetinaMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02591 { 02592 return ::std::binary_search(__RobotSimEvents__RetinaMessage_ids, __RobotSimEvents__RetinaMessage_ids + 3, _s); 02593 } 02594 02595 ::std::vector< ::std::string> 02596 RobotSimEvents::RetinaMessage::ice_ids(const ::Ice::Current&) const 02597 { 02598 return ::std::vector< ::std::string>(&__RobotSimEvents__RetinaMessage_ids[0], &__RobotSimEvents__RetinaMessage_ids[3]); 02599 } 02600 02601 const ::std::string& 02602 RobotSimEvents::RetinaMessage::ice_id(const ::Ice::Current&) const 02603 { 02604 return __RobotSimEvents__RetinaMessage_ids[2]; 02605 } 02606 02607 const ::std::string& 02608 RobotSimEvents::RetinaMessage::ice_staticId() 02609 { 02610 return __RobotSimEvents__RetinaMessage_ids[2]; 02611 } 02612 02613 void 02614 RobotSimEvents::RetinaMessage::__write(::IceInternal::BasicStream* __os) const 02615 { 02616 __os->writeTypeId(ice_staticId()); 02617 __os->startWriteSlice(); 02618 img.__write(__os); 02619 __os->write(cameraID); 02620 __os->endWriteSlice(); 02621 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02622 EventMessage::__write(__os); 02623 #else 02624 ::RobotSimEvents::EventMessage::__write(__os); 02625 #endif 02626 } 02627 02628 void 02629 RobotSimEvents::RetinaMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02630 { 02631 if(__rid) 02632 { 02633 ::std::string myId; 02634 __is->readTypeId(myId); 02635 } 02636 __is->startReadSlice(); 02637 img.__read(__is); 02638 __is->read(cameraID); 02639 __is->endReadSlice(); 02640 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02641 EventMessage::__read(__is, true); 02642 #else 02643 ::RobotSimEvents::EventMessage::__read(__is, true); 02644 #endif 02645 } 02646 02647 void 02648 RobotSimEvents::RetinaMessage::__write(const ::Ice::OutputStreamPtr&) const 02649 { 02650 Ice::MarshalException ex(__FILE__, __LINE__); 02651 ex.reason = "type RobotSimEvents::RetinaMessage was not generated with stream support"; 02652 throw ex; 02653 } 02654 02655 void 02656 RobotSimEvents::RetinaMessage::__read(const ::Ice::InputStreamPtr&, bool) 02657 { 02658 Ice::MarshalException ex(__FILE__, __LINE__); 02659 ex.reason = "type RobotSimEvents::RetinaMessage was not generated with stream support"; 02660 throw ex; 02661 } 02662 02663 class __F__RobotSimEvents__RetinaMessage : public ::Ice::ObjectFactory 02664 { 02665 public: 02666 02667 virtual ::Ice::ObjectPtr 02668 create(const ::std::string& type) 02669 { 02670 assert(type == ::RobotSimEvents::RetinaMessage::ice_staticId()); 02671 return new ::RobotSimEvents::RetinaMessage; 02672 } 02673 02674 virtual void 02675 destroy() 02676 { 02677 } 02678 }; 02679 02680 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__RetinaMessage_Ptr = new __F__RobotSimEvents__RetinaMessage; 02681 02682 const ::Ice::ObjectFactoryPtr& 02683 RobotSimEvents::RetinaMessage::ice_factory() 02684 { 02685 return __F__RobotSimEvents__RetinaMessage_Ptr; 02686 } 02687 02688 class __F__RobotSimEvents__RetinaMessage__Init 02689 { 02690 public: 02691 02692 __F__RobotSimEvents__RetinaMessage__Init() 02693 { 02694 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::RetinaMessage::ice_staticId(), ::RobotSimEvents::RetinaMessage::ice_factory()); 02695 } 02696 02697 ~__F__RobotSimEvents__RetinaMessage__Init() 02698 { 02699 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::RetinaMessage::ice_staticId()); 02700 } 02701 }; 02702 02703 static __F__RobotSimEvents__RetinaMessage__Init __F__RobotSimEvents__RetinaMessage__i; 02704 02705 #ifdef __APPLE__ 02706 extern "C" { void __F__RobotSimEvents__RetinaMessage__initializer() {} } 02707 #endif 02708 02709 void 02710 RobotSimEvents::__patch__RetinaMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 02711 { 02712 ::RobotSimEvents::RetinaMessagePtr* p = static_cast< ::RobotSimEvents::RetinaMessagePtr*>(__addr); 02713 assert(p); 02714 *p = ::RobotSimEvents::RetinaMessagePtr::dynamicCast(v); 02715 if(v && !*p) 02716 { 02717 IceInternal::Ex::throwUOE(::RobotSimEvents::RetinaMessage::ice_staticId(), v->ice_id()); 02718 } 02719 } 02720 02721 bool 02722 RobotSimEvents::operator==(const ::RobotSimEvents::RetinaMessage& l, const ::RobotSimEvents::RetinaMessage& r) 02723 { 02724 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02725 } 02726 02727 bool 02728 RobotSimEvents::operator<(const ::RobotSimEvents::RetinaMessage& l, const ::RobotSimEvents::RetinaMessage& r) 02729 { 02730 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02731 } 02732 02733 RobotSimEvents::MovementControllerMessage::MovementControllerMessage(const ::RobotSimEvents::SensorVoteVector& __ice_votes, ::Ice::Float __ice_compositeHeading, ::Ice::Float __ice_compositeDepth) : 02734 votes(__ice_votes), 02735 compositeHeading(__ice_compositeHeading), 02736 compositeDepth(__ice_compositeDepth) 02737 { 02738 } 02739 02740 ::Ice::ObjectPtr 02741 RobotSimEvents::MovementControllerMessage::ice_clone() const 02742 { 02743 ::RobotSimEvents::MovementControllerMessagePtr __p = new ::RobotSimEvents::MovementControllerMessage(*this); 02744 return __p; 02745 } 02746 02747 static const ::std::string __RobotSimEvents__MovementControllerMessage_ids[3] = 02748 { 02749 "::Ice::Object", 02750 "::RobotSimEvents::EventMessage", 02751 "::RobotSimEvents::MovementControllerMessage" 02752 }; 02753 02754 bool 02755 RobotSimEvents::MovementControllerMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02756 { 02757 return ::std::binary_search(__RobotSimEvents__MovementControllerMessage_ids, __RobotSimEvents__MovementControllerMessage_ids + 3, _s); 02758 } 02759 02760 ::std::vector< ::std::string> 02761 RobotSimEvents::MovementControllerMessage::ice_ids(const ::Ice::Current&) const 02762 { 02763 return ::std::vector< ::std::string>(&__RobotSimEvents__MovementControllerMessage_ids[0], &__RobotSimEvents__MovementControllerMessage_ids[3]); 02764 } 02765 02766 const ::std::string& 02767 RobotSimEvents::MovementControllerMessage::ice_id(const ::Ice::Current&) const 02768 { 02769 return __RobotSimEvents__MovementControllerMessage_ids[2]; 02770 } 02771 02772 const ::std::string& 02773 RobotSimEvents::MovementControllerMessage::ice_staticId() 02774 { 02775 return __RobotSimEvents__MovementControllerMessage_ids[2]; 02776 } 02777 02778 void 02779 RobotSimEvents::MovementControllerMessage::__write(::IceInternal::BasicStream* __os) const 02780 { 02781 __os->writeTypeId(ice_staticId()); 02782 __os->startWriteSlice(); 02783 if(votes.size() == 0) 02784 { 02785 __os->writeSize(0); 02786 } 02787 else 02788 { 02789 ::RobotSimEvents::__writeSensorVoteVector(__os, &votes[0], &votes[0] + votes.size()); 02790 } 02791 __os->write(compositeHeading); 02792 __os->write(compositeDepth); 02793 __os->endWriteSlice(); 02794 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02795 EventMessage::__write(__os); 02796 #else 02797 ::RobotSimEvents::EventMessage::__write(__os); 02798 #endif 02799 } 02800 02801 void 02802 RobotSimEvents::MovementControllerMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02803 { 02804 if(__rid) 02805 { 02806 ::std::string myId; 02807 __is->readTypeId(myId); 02808 } 02809 __is->startReadSlice(); 02810 ::RobotSimEvents::__readSensorVoteVector(__is, votes); 02811 __is->read(compositeHeading); 02812 __is->read(compositeDepth); 02813 __is->endReadSlice(); 02814 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02815 EventMessage::__read(__is, true); 02816 #else 02817 ::RobotSimEvents::EventMessage::__read(__is, true); 02818 #endif 02819 } 02820 02821 void 02822 RobotSimEvents::MovementControllerMessage::__write(const ::Ice::OutputStreamPtr&) const 02823 { 02824 Ice::MarshalException ex(__FILE__, __LINE__); 02825 ex.reason = "type RobotSimEvents::MovementControllerMessage was not generated with stream support"; 02826 throw ex; 02827 } 02828 02829 void 02830 RobotSimEvents::MovementControllerMessage::__read(const ::Ice::InputStreamPtr&, bool) 02831 { 02832 Ice::MarshalException ex(__FILE__, __LINE__); 02833 ex.reason = "type RobotSimEvents::MovementControllerMessage was not generated with stream support"; 02834 throw ex; 02835 } 02836 02837 class __F__RobotSimEvents__MovementControllerMessage : public ::Ice::ObjectFactory 02838 { 02839 public: 02840 02841 virtual ::Ice::ObjectPtr 02842 create(const ::std::string& type) 02843 { 02844 assert(type == ::RobotSimEvents::MovementControllerMessage::ice_staticId()); 02845 return new ::RobotSimEvents::MovementControllerMessage; 02846 } 02847 02848 virtual void 02849 destroy() 02850 { 02851 } 02852 }; 02853 02854 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__MovementControllerMessage_Ptr = new __F__RobotSimEvents__MovementControllerMessage; 02855 02856 const ::Ice::ObjectFactoryPtr& 02857 RobotSimEvents::MovementControllerMessage::ice_factory() 02858 { 02859 return __F__RobotSimEvents__MovementControllerMessage_Ptr; 02860 } 02861 02862 class __F__RobotSimEvents__MovementControllerMessage__Init 02863 { 02864 public: 02865 02866 __F__RobotSimEvents__MovementControllerMessage__Init() 02867 { 02868 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::MovementControllerMessage::ice_staticId(), ::RobotSimEvents::MovementControllerMessage::ice_factory()); 02869 } 02870 02871 ~__F__RobotSimEvents__MovementControllerMessage__Init() 02872 { 02873 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::MovementControllerMessage::ice_staticId()); 02874 } 02875 }; 02876 02877 static __F__RobotSimEvents__MovementControllerMessage__Init __F__RobotSimEvents__MovementControllerMessage__i; 02878 02879 #ifdef __APPLE__ 02880 extern "C" { void __F__RobotSimEvents__MovementControllerMessage__initializer() {} } 02881 #endif 02882 02883 void 02884 RobotSimEvents::__patch__MovementControllerMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 02885 { 02886 ::RobotSimEvents::MovementControllerMessagePtr* p = static_cast< ::RobotSimEvents::MovementControllerMessagePtr*>(__addr); 02887 assert(p); 02888 *p = ::RobotSimEvents::MovementControllerMessagePtr::dynamicCast(v); 02889 if(v && !*p) 02890 { 02891 IceInternal::Ex::throwUOE(::RobotSimEvents::MovementControllerMessage::ice_staticId(), v->ice_id()); 02892 } 02893 } 02894 02895 bool 02896 RobotSimEvents::operator==(const ::RobotSimEvents::MovementControllerMessage& l, const ::RobotSimEvents::MovementControllerMessage& r) 02897 { 02898 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 02899 } 02900 02901 bool 02902 RobotSimEvents::operator<(const ::RobotSimEvents::MovementControllerMessage& l, const ::RobotSimEvents::MovementControllerMessage& r) 02903 { 02904 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 02905 } 02906 02907 RobotSimEvents::JoyStickControlMessage::JoyStickControlMessage(const ::std::string& __ice_axisName, ::Ice::Int __ice_axis, ::Ice::Int __ice_axisVal, ::Ice::Int __ice_button, ::Ice::Int __ice_butVal) : 02908 axisName(__ice_axisName), 02909 axis(__ice_axis), 02910 axisVal(__ice_axisVal), 02911 button(__ice_button), 02912 butVal(__ice_butVal) 02913 { 02914 } 02915 02916 ::Ice::ObjectPtr 02917 RobotSimEvents::JoyStickControlMessage::ice_clone() const 02918 { 02919 ::RobotSimEvents::JoyStickControlMessagePtr __p = new ::RobotSimEvents::JoyStickControlMessage(*this); 02920 return __p; 02921 } 02922 02923 static const ::std::string __RobotSimEvents__JoyStickControlMessage_ids[3] = 02924 { 02925 "::Ice::Object", 02926 "::RobotSimEvents::EventMessage", 02927 "::RobotSimEvents::JoyStickControlMessage" 02928 }; 02929 02930 bool 02931 RobotSimEvents::JoyStickControlMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 02932 { 02933 return ::std::binary_search(__RobotSimEvents__JoyStickControlMessage_ids, __RobotSimEvents__JoyStickControlMessage_ids + 3, _s); 02934 } 02935 02936 ::std::vector< ::std::string> 02937 RobotSimEvents::JoyStickControlMessage::ice_ids(const ::Ice::Current&) const 02938 { 02939 return ::std::vector< ::std::string>(&__RobotSimEvents__JoyStickControlMessage_ids[0], &__RobotSimEvents__JoyStickControlMessage_ids[3]); 02940 } 02941 02942 const ::std::string& 02943 RobotSimEvents::JoyStickControlMessage::ice_id(const ::Ice::Current&) const 02944 { 02945 return __RobotSimEvents__JoyStickControlMessage_ids[2]; 02946 } 02947 02948 const ::std::string& 02949 RobotSimEvents::JoyStickControlMessage::ice_staticId() 02950 { 02951 return __RobotSimEvents__JoyStickControlMessage_ids[2]; 02952 } 02953 02954 void 02955 RobotSimEvents::JoyStickControlMessage::__write(::IceInternal::BasicStream* __os) const 02956 { 02957 __os->writeTypeId(ice_staticId()); 02958 __os->startWriteSlice(); 02959 __os->write(axisName); 02960 __os->write(axis); 02961 __os->write(axisVal); 02962 __os->write(button); 02963 __os->write(butVal); 02964 __os->endWriteSlice(); 02965 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02966 EventMessage::__write(__os); 02967 #else 02968 ::RobotSimEvents::EventMessage::__write(__os); 02969 #endif 02970 } 02971 02972 void 02973 RobotSimEvents::JoyStickControlMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 02974 { 02975 if(__rid) 02976 { 02977 ::std::string myId; 02978 __is->readTypeId(myId); 02979 } 02980 __is->startReadSlice(); 02981 __is->read(axisName); 02982 __is->read(axis); 02983 __is->read(axisVal); 02984 __is->read(button); 02985 __is->read(butVal); 02986 __is->endReadSlice(); 02987 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 02988 EventMessage::__read(__is, true); 02989 #else 02990 ::RobotSimEvents::EventMessage::__read(__is, true); 02991 #endif 02992 } 02993 02994 void 02995 RobotSimEvents::JoyStickControlMessage::__write(const ::Ice::OutputStreamPtr&) const 02996 { 02997 Ice::MarshalException ex(__FILE__, __LINE__); 02998 ex.reason = "type RobotSimEvents::JoyStickControlMessage was not generated with stream support"; 02999 throw ex; 03000 } 03001 03002 void 03003 RobotSimEvents::JoyStickControlMessage::__read(const ::Ice::InputStreamPtr&, bool) 03004 { 03005 Ice::MarshalException ex(__FILE__, __LINE__); 03006 ex.reason = "type RobotSimEvents::JoyStickControlMessage was not generated with stream support"; 03007 throw ex; 03008 } 03009 03010 class __F__RobotSimEvents__JoyStickControlMessage : public ::Ice::ObjectFactory 03011 { 03012 public: 03013 03014 virtual ::Ice::ObjectPtr 03015 create(const ::std::string& type) 03016 { 03017 assert(type == ::RobotSimEvents::JoyStickControlMessage::ice_staticId()); 03018 return new ::RobotSimEvents::JoyStickControlMessage; 03019 } 03020 03021 virtual void 03022 destroy() 03023 { 03024 } 03025 }; 03026 03027 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__JoyStickControlMessage_Ptr = new __F__RobotSimEvents__JoyStickControlMessage; 03028 03029 const ::Ice::ObjectFactoryPtr& 03030 RobotSimEvents::JoyStickControlMessage::ice_factory() 03031 { 03032 return __F__RobotSimEvents__JoyStickControlMessage_Ptr; 03033 } 03034 03035 class __F__RobotSimEvents__JoyStickControlMessage__Init 03036 { 03037 public: 03038 03039 __F__RobotSimEvents__JoyStickControlMessage__Init() 03040 { 03041 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::JoyStickControlMessage::ice_staticId(), ::RobotSimEvents::JoyStickControlMessage::ice_factory()); 03042 } 03043 03044 ~__F__RobotSimEvents__JoyStickControlMessage__Init() 03045 { 03046 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::JoyStickControlMessage::ice_staticId()); 03047 } 03048 }; 03049 03050 static __F__RobotSimEvents__JoyStickControlMessage__Init __F__RobotSimEvents__JoyStickControlMessage__i; 03051 03052 #ifdef __APPLE__ 03053 extern "C" { void __F__RobotSimEvents__JoyStickControlMessage__initializer() {} } 03054 #endif 03055 03056 void 03057 RobotSimEvents::__patch__JoyStickControlMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 03058 { 03059 ::RobotSimEvents::JoyStickControlMessagePtr* p = static_cast< ::RobotSimEvents::JoyStickControlMessagePtr*>(__addr); 03060 assert(p); 03061 *p = ::RobotSimEvents::JoyStickControlMessagePtr::dynamicCast(v); 03062 if(v && !*p) 03063 { 03064 IceInternal::Ex::throwUOE(::RobotSimEvents::JoyStickControlMessage::ice_staticId(), v->ice_id()); 03065 } 03066 } 03067 03068 bool 03069 RobotSimEvents::operator==(const ::RobotSimEvents::JoyStickControlMessage& l, const ::RobotSimEvents::JoyStickControlMessage& r) 03070 { 03071 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 03072 } 03073 03074 bool 03075 RobotSimEvents::operator<(const ::RobotSimEvents::JoyStickControlMessage& l, const ::RobotSimEvents::JoyStickControlMessage& r) 03076 { 03077 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 03078 } 03079 03080 RobotSimEvents::BeeStemConfigMessage::BeeStemConfigMessage(::Ice::Int __ice_deviceToFire, ::Ice::Int __ice_desiredHeading, ::Ice::Int __ice_desiredDepth, ::Ice::Int __ice_desiredSpeed, ::Ice::Int __ice_updateDesiredValue, ::Ice::Float __ice_headingK, ::Ice::Float __ice_headingP, ::Ice::Float __ice_headingI, ::Ice::Float __ice_headingD, ::Ice::Int __ice_updateHeadingPID, ::Ice::Float __ice_depthK, ::Ice::Float __ice_depthP, ::Ice::Float __ice_depthI, ::Ice::Float __ice_depthD, ::Ice::Int __ice_updateDepthPID, ::Ice::Int __ice_enablePID, ::Ice::Int __ice_enableVal) : 03081 deviceToFire(__ice_deviceToFire), 03082 desiredHeading(__ice_desiredHeading), 03083 desiredDepth(__ice_desiredDepth), 03084 desiredSpeed(__ice_desiredSpeed), 03085 updateDesiredValue(__ice_updateDesiredValue), 03086 headingK(__ice_headingK), 03087 headingP(__ice_headingP), 03088 headingI(__ice_headingI), 03089 headingD(__ice_headingD), 03090 updateHeadingPID(__ice_updateHeadingPID), 03091 depthK(__ice_depthK), 03092 depthP(__ice_depthP), 03093 depthI(__ice_depthI), 03094 depthD(__ice_depthD), 03095 updateDepthPID(__ice_updateDepthPID), 03096 enablePID(__ice_enablePID), 03097 enableVal(__ice_enableVal) 03098 { 03099 } 03100 03101 ::Ice::ObjectPtr 03102 RobotSimEvents::BeeStemConfigMessage::ice_clone() const 03103 { 03104 ::RobotSimEvents::BeeStemConfigMessagePtr __p = new ::RobotSimEvents::BeeStemConfigMessage(*this); 03105 return __p; 03106 } 03107 03108 static const ::std::string __RobotSimEvents__BeeStemConfigMessage_ids[3] = 03109 { 03110 "::Ice::Object", 03111 "::RobotSimEvents::BeeStemConfigMessage", 03112 "::RobotSimEvents::EventMessage" 03113 }; 03114 03115 bool 03116 RobotSimEvents::BeeStemConfigMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 03117 { 03118 return ::std::binary_search(__RobotSimEvents__BeeStemConfigMessage_ids, __RobotSimEvents__BeeStemConfigMessage_ids + 3, _s); 03119 } 03120 03121 ::std::vector< ::std::string> 03122 RobotSimEvents::BeeStemConfigMessage::ice_ids(const ::Ice::Current&) const 03123 { 03124 return ::std::vector< ::std::string>(&__RobotSimEvents__BeeStemConfigMessage_ids[0], &__RobotSimEvents__BeeStemConfigMessage_ids[3]); 03125 } 03126 03127 const ::std::string& 03128 RobotSimEvents::BeeStemConfigMessage::ice_id(const ::Ice::Current&) const 03129 { 03130 return __RobotSimEvents__BeeStemConfigMessage_ids[1]; 03131 } 03132 03133 const ::std::string& 03134 RobotSimEvents::BeeStemConfigMessage::ice_staticId() 03135 { 03136 return __RobotSimEvents__BeeStemConfigMessage_ids[1]; 03137 } 03138 03139 void 03140 RobotSimEvents::BeeStemConfigMessage::__write(::IceInternal::BasicStream* __os) const 03141 { 03142 __os->writeTypeId(ice_staticId()); 03143 __os->startWriteSlice(); 03144 __os->write(deviceToFire); 03145 __os->write(desiredHeading); 03146 __os->write(desiredDepth); 03147 __os->write(desiredSpeed); 03148 __os->write(updateDesiredValue); 03149 __os->write(headingK); 03150 __os->write(headingP); 03151 __os->write(headingI); 03152 __os->write(headingD); 03153 __os->write(updateHeadingPID); 03154 __os->write(depthK); 03155 __os->write(depthP); 03156 __os->write(depthI); 03157 __os->write(depthD); 03158 __os->write(updateDepthPID); 03159 __os->write(enablePID); 03160 __os->write(enableVal); 03161 __os->endWriteSlice(); 03162 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03163 EventMessage::__write(__os); 03164 #else 03165 ::RobotSimEvents::EventMessage::__write(__os); 03166 #endif 03167 } 03168 03169 void 03170 RobotSimEvents::BeeStemConfigMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 03171 { 03172 if(__rid) 03173 { 03174 ::std::string myId; 03175 __is->readTypeId(myId); 03176 } 03177 __is->startReadSlice(); 03178 __is->read(deviceToFire); 03179 __is->read(desiredHeading); 03180 __is->read(desiredDepth); 03181 __is->read(desiredSpeed); 03182 __is->read(updateDesiredValue); 03183 __is->read(headingK); 03184 __is->read(headingP); 03185 __is->read(headingI); 03186 __is->read(headingD); 03187 __is->read(updateHeadingPID); 03188 __is->read(depthK); 03189 __is->read(depthP); 03190 __is->read(depthI); 03191 __is->read(depthD); 03192 __is->read(updateDepthPID); 03193 __is->read(enablePID); 03194 __is->read(enableVal); 03195 __is->endReadSlice(); 03196 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03197 EventMessage::__read(__is, true); 03198 #else 03199 ::RobotSimEvents::EventMessage::__read(__is, true); 03200 #endif 03201 } 03202 03203 void 03204 RobotSimEvents::BeeStemConfigMessage::__write(const ::Ice::OutputStreamPtr&) const 03205 { 03206 Ice::MarshalException ex(__FILE__, __LINE__); 03207 ex.reason = "type RobotSimEvents::BeeStemConfigMessage was not generated with stream support"; 03208 throw ex; 03209 } 03210 03211 void 03212 RobotSimEvents::BeeStemConfigMessage::__read(const ::Ice::InputStreamPtr&, bool) 03213 { 03214 Ice::MarshalException ex(__FILE__, __LINE__); 03215 ex.reason = "type RobotSimEvents::BeeStemConfigMessage was not generated with stream support"; 03216 throw ex; 03217 } 03218 03219 class __F__RobotSimEvents__BeeStemConfigMessage : public ::Ice::ObjectFactory 03220 { 03221 public: 03222 03223 virtual ::Ice::ObjectPtr 03224 create(const ::std::string& type) 03225 { 03226 assert(type == ::RobotSimEvents::BeeStemConfigMessage::ice_staticId()); 03227 return new ::RobotSimEvents::BeeStemConfigMessage; 03228 } 03229 03230 virtual void 03231 destroy() 03232 { 03233 } 03234 }; 03235 03236 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BeeStemConfigMessage_Ptr = new __F__RobotSimEvents__BeeStemConfigMessage; 03237 03238 const ::Ice::ObjectFactoryPtr& 03239 RobotSimEvents::BeeStemConfigMessage::ice_factory() 03240 { 03241 return __F__RobotSimEvents__BeeStemConfigMessage_Ptr; 03242 } 03243 03244 class __F__RobotSimEvents__BeeStemConfigMessage__Init 03245 { 03246 public: 03247 03248 __F__RobotSimEvents__BeeStemConfigMessage__Init() 03249 { 03250 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BeeStemConfigMessage::ice_staticId(), ::RobotSimEvents::BeeStemConfigMessage::ice_factory()); 03251 } 03252 03253 ~__F__RobotSimEvents__BeeStemConfigMessage__Init() 03254 { 03255 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BeeStemConfigMessage::ice_staticId()); 03256 } 03257 }; 03258 03259 static __F__RobotSimEvents__BeeStemConfigMessage__Init __F__RobotSimEvents__BeeStemConfigMessage__i; 03260 03261 #ifdef __APPLE__ 03262 extern "C" { void __F__RobotSimEvents__BeeStemConfigMessage__initializer() {} } 03263 #endif 03264 03265 void 03266 RobotSimEvents::__patch__BeeStemConfigMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 03267 { 03268 ::RobotSimEvents::BeeStemConfigMessagePtr* p = static_cast< ::RobotSimEvents::BeeStemConfigMessagePtr*>(__addr); 03269 assert(p); 03270 *p = ::RobotSimEvents::BeeStemConfigMessagePtr::dynamicCast(v); 03271 if(v && !*p) 03272 { 03273 IceInternal::Ex::throwUOE(::RobotSimEvents::BeeStemConfigMessage::ice_staticId(), v->ice_id()); 03274 } 03275 } 03276 03277 bool 03278 RobotSimEvents::operator==(const ::RobotSimEvents::BeeStemConfigMessage& l, const ::RobotSimEvents::BeeStemConfigMessage& r) 03279 { 03280 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 03281 } 03282 03283 bool 03284 RobotSimEvents::operator<(const ::RobotSimEvents::BeeStemConfigMessage& l, const ::RobotSimEvents::BeeStemConfigMessage& r) 03285 { 03286 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 03287 } 03288 03289 RobotSimEvents::IMUDataServerMessage::IMUDataServerMessage(::Ice::Double __ice_temp, const ::ImageIceMod::Point3DIce& __ice_accel, const ::ImageIceMod::Point3DIce& __ice_gyro, const ::ImageIceMod::Point3DIce& __ice_mag, ::Ice::Int __ice_angleMode, const ::RobotSimEvents::FloatVector& __ice_orientation) : 03290 temp(__ice_temp), 03291 accel(__ice_accel), 03292 gyro(__ice_gyro), 03293 mag(__ice_mag), 03294 angleMode(__ice_angleMode), 03295 orientation(__ice_orientation) 03296 { 03297 } 03298 03299 ::Ice::ObjectPtr 03300 RobotSimEvents::IMUDataServerMessage::ice_clone() const 03301 { 03302 ::RobotSimEvents::IMUDataServerMessagePtr __p = new ::RobotSimEvents::IMUDataServerMessage(*this); 03303 return __p; 03304 } 03305 03306 static const ::std::string __RobotSimEvents__IMUDataServerMessage_ids[3] = 03307 { 03308 "::Ice::Object", 03309 "::RobotSimEvents::EventMessage", 03310 "::RobotSimEvents::IMUDataServerMessage" 03311 }; 03312 03313 bool 03314 RobotSimEvents::IMUDataServerMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 03315 { 03316 return ::std::binary_search(__RobotSimEvents__IMUDataServerMessage_ids, __RobotSimEvents__IMUDataServerMessage_ids + 3, _s); 03317 } 03318 03319 ::std::vector< ::std::string> 03320 RobotSimEvents::IMUDataServerMessage::ice_ids(const ::Ice::Current&) const 03321 { 03322 return ::std::vector< ::std::string>(&__RobotSimEvents__IMUDataServerMessage_ids[0], &__RobotSimEvents__IMUDataServerMessage_ids[3]); 03323 } 03324 03325 const ::std::string& 03326 RobotSimEvents::IMUDataServerMessage::ice_id(const ::Ice::Current&) const 03327 { 03328 return __RobotSimEvents__IMUDataServerMessage_ids[2]; 03329 } 03330 03331 const ::std::string& 03332 RobotSimEvents::IMUDataServerMessage::ice_staticId() 03333 { 03334 return __RobotSimEvents__IMUDataServerMessage_ids[2]; 03335 } 03336 03337 void 03338 RobotSimEvents::IMUDataServerMessage::__write(::IceInternal::BasicStream* __os) const 03339 { 03340 __os->writeTypeId(ice_staticId()); 03341 __os->startWriteSlice(); 03342 __os->write(temp); 03343 accel.__write(__os); 03344 gyro.__write(__os); 03345 mag.__write(__os); 03346 __os->write(angleMode); 03347 if(orientation.size() == 0) 03348 { 03349 __os->writeSize(0); 03350 } 03351 else 03352 { 03353 __os->write(&orientation[0], &orientation[0] + orientation.size()); 03354 } 03355 __os->endWriteSlice(); 03356 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03357 EventMessage::__write(__os); 03358 #else 03359 ::RobotSimEvents::EventMessage::__write(__os); 03360 #endif 03361 } 03362 03363 void 03364 RobotSimEvents::IMUDataServerMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 03365 { 03366 if(__rid) 03367 { 03368 ::std::string myId; 03369 __is->readTypeId(myId); 03370 } 03371 __is->startReadSlice(); 03372 __is->read(temp); 03373 accel.__read(__is); 03374 gyro.__read(__is); 03375 mag.__read(__is); 03376 __is->read(angleMode); 03377 __is->read(orientation); 03378 __is->endReadSlice(); 03379 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03380 EventMessage::__read(__is, true); 03381 #else 03382 ::RobotSimEvents::EventMessage::__read(__is, true); 03383 #endif 03384 } 03385 03386 void 03387 RobotSimEvents::IMUDataServerMessage::__write(const ::Ice::OutputStreamPtr&) const 03388 { 03389 Ice::MarshalException ex(__FILE__, __LINE__); 03390 ex.reason = "type RobotSimEvents::IMUDataServerMessage was not generated with stream support"; 03391 throw ex; 03392 } 03393 03394 void 03395 RobotSimEvents::IMUDataServerMessage::__read(const ::Ice::InputStreamPtr&, bool) 03396 { 03397 Ice::MarshalException ex(__FILE__, __LINE__); 03398 ex.reason = "type RobotSimEvents::IMUDataServerMessage was not generated with stream support"; 03399 throw ex; 03400 } 03401 03402 class __F__RobotSimEvents__IMUDataServerMessage : public ::Ice::ObjectFactory 03403 { 03404 public: 03405 03406 virtual ::Ice::ObjectPtr 03407 create(const ::std::string& type) 03408 { 03409 assert(type == ::RobotSimEvents::IMUDataServerMessage::ice_staticId()); 03410 return new ::RobotSimEvents::IMUDataServerMessage; 03411 } 03412 03413 virtual void 03414 destroy() 03415 { 03416 } 03417 }; 03418 03419 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__IMUDataServerMessage_Ptr = new __F__RobotSimEvents__IMUDataServerMessage; 03420 03421 const ::Ice::ObjectFactoryPtr& 03422 RobotSimEvents::IMUDataServerMessage::ice_factory() 03423 { 03424 return __F__RobotSimEvents__IMUDataServerMessage_Ptr; 03425 } 03426 03427 class __F__RobotSimEvents__IMUDataServerMessage__Init 03428 { 03429 public: 03430 03431 __F__RobotSimEvents__IMUDataServerMessage__Init() 03432 { 03433 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::IMUDataServerMessage::ice_staticId(), ::RobotSimEvents::IMUDataServerMessage::ice_factory()); 03434 } 03435 03436 ~__F__RobotSimEvents__IMUDataServerMessage__Init() 03437 { 03438 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::IMUDataServerMessage::ice_staticId()); 03439 } 03440 }; 03441 03442 static __F__RobotSimEvents__IMUDataServerMessage__Init __F__RobotSimEvents__IMUDataServerMessage__i; 03443 03444 #ifdef __APPLE__ 03445 extern "C" { void __F__RobotSimEvents__IMUDataServerMessage__initializer() {} } 03446 #endif 03447 03448 void 03449 RobotSimEvents::__patch__IMUDataServerMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 03450 { 03451 ::RobotSimEvents::IMUDataServerMessagePtr* p = static_cast< ::RobotSimEvents::IMUDataServerMessagePtr*>(__addr); 03452 assert(p); 03453 *p = ::RobotSimEvents::IMUDataServerMessagePtr::dynamicCast(v); 03454 if(v && !*p) 03455 { 03456 IceInternal::Ex::throwUOE(::RobotSimEvents::IMUDataServerMessage::ice_staticId(), v->ice_id()); 03457 } 03458 } 03459 03460 bool 03461 RobotSimEvents::operator==(const ::RobotSimEvents::IMUDataServerMessage& l, const ::RobotSimEvents::IMUDataServerMessage& r) 03462 { 03463 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 03464 } 03465 03466 bool 03467 RobotSimEvents::operator<(const ::RobotSimEvents::IMUDataServerMessage& l, const ::RobotSimEvents::IMUDataServerMessage& r) 03468 { 03469 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 03470 } 03471 03472 RobotSimEvents::BeeStemMotorControllerMessage::BeeStemMotorControllerMessage(const ::RobotSimEvents::IntVector& __ice_mask, const ::RobotSimEvents::IntVector& __ice_values) : 03473 mask(__ice_mask), 03474 values(__ice_values) 03475 { 03476 } 03477 03478 ::Ice::ObjectPtr 03479 RobotSimEvents::BeeStemMotorControllerMessage::ice_clone() const 03480 { 03481 ::RobotSimEvents::BeeStemMotorControllerMessagePtr __p = new ::RobotSimEvents::BeeStemMotorControllerMessage(*this); 03482 return __p; 03483 } 03484 03485 static const ::std::string __RobotSimEvents__BeeStemMotorControllerMessage_ids[3] = 03486 { 03487 "::Ice::Object", 03488 "::RobotSimEvents::BeeStemMotorControllerMessage", 03489 "::RobotSimEvents::EventMessage" 03490 }; 03491 03492 bool 03493 RobotSimEvents::BeeStemMotorControllerMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 03494 { 03495 return ::std::binary_search(__RobotSimEvents__BeeStemMotorControllerMessage_ids, __RobotSimEvents__BeeStemMotorControllerMessage_ids + 3, _s); 03496 } 03497 03498 ::std::vector< ::std::string> 03499 RobotSimEvents::BeeStemMotorControllerMessage::ice_ids(const ::Ice::Current&) const 03500 { 03501 return ::std::vector< ::std::string>(&__RobotSimEvents__BeeStemMotorControllerMessage_ids[0], &__RobotSimEvents__BeeStemMotorControllerMessage_ids[3]); 03502 } 03503 03504 const ::std::string& 03505 RobotSimEvents::BeeStemMotorControllerMessage::ice_id(const ::Ice::Current&) const 03506 { 03507 return __RobotSimEvents__BeeStemMotorControllerMessage_ids[1]; 03508 } 03509 03510 const ::std::string& 03511 RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId() 03512 { 03513 return __RobotSimEvents__BeeStemMotorControllerMessage_ids[1]; 03514 } 03515 03516 void 03517 RobotSimEvents::BeeStemMotorControllerMessage::__write(::IceInternal::BasicStream* __os) const 03518 { 03519 __os->writeTypeId(ice_staticId()); 03520 __os->startWriteSlice(); 03521 if(mask.size() == 0) 03522 { 03523 __os->writeSize(0); 03524 } 03525 else 03526 { 03527 __os->write(&mask[0], &mask[0] + mask.size()); 03528 } 03529 if(values.size() == 0) 03530 { 03531 __os->writeSize(0); 03532 } 03533 else 03534 { 03535 __os->write(&values[0], &values[0] + values.size()); 03536 } 03537 __os->endWriteSlice(); 03538 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03539 EventMessage::__write(__os); 03540 #else 03541 ::RobotSimEvents::EventMessage::__write(__os); 03542 #endif 03543 } 03544 03545 void 03546 RobotSimEvents::BeeStemMotorControllerMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 03547 { 03548 if(__rid) 03549 { 03550 ::std::string myId; 03551 __is->readTypeId(myId); 03552 } 03553 __is->startReadSlice(); 03554 __is->read(mask); 03555 __is->read(values); 03556 __is->endReadSlice(); 03557 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03558 EventMessage::__read(__is, true); 03559 #else 03560 ::RobotSimEvents::EventMessage::__read(__is, true); 03561 #endif 03562 } 03563 03564 void 03565 RobotSimEvents::BeeStemMotorControllerMessage::__write(const ::Ice::OutputStreamPtr&) const 03566 { 03567 Ice::MarshalException ex(__FILE__, __LINE__); 03568 ex.reason = "type RobotSimEvents::BeeStemMotorControllerMessage was not generated with stream support"; 03569 throw ex; 03570 } 03571 03572 void 03573 RobotSimEvents::BeeStemMotorControllerMessage::__read(const ::Ice::InputStreamPtr&, bool) 03574 { 03575 Ice::MarshalException ex(__FILE__, __LINE__); 03576 ex.reason = "type RobotSimEvents::BeeStemMotorControllerMessage was not generated with stream support"; 03577 throw ex; 03578 } 03579 03580 class __F__RobotSimEvents__BeeStemMotorControllerMessage : public ::Ice::ObjectFactory 03581 { 03582 public: 03583 03584 virtual ::Ice::ObjectPtr 03585 create(const ::std::string& type) 03586 { 03587 assert(type == ::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId()); 03588 return new ::RobotSimEvents::BeeStemMotorControllerMessage; 03589 } 03590 03591 virtual void 03592 destroy() 03593 { 03594 } 03595 }; 03596 03597 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BeeStemMotorControllerMessage_Ptr = new __F__RobotSimEvents__BeeStemMotorControllerMessage; 03598 03599 const ::Ice::ObjectFactoryPtr& 03600 RobotSimEvents::BeeStemMotorControllerMessage::ice_factory() 03601 { 03602 return __F__RobotSimEvents__BeeStemMotorControllerMessage_Ptr; 03603 } 03604 03605 class __F__RobotSimEvents__BeeStemMotorControllerMessage__Init 03606 { 03607 public: 03608 03609 __F__RobotSimEvents__BeeStemMotorControllerMessage__Init() 03610 { 03611 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId(), ::RobotSimEvents::BeeStemMotorControllerMessage::ice_factory()); 03612 } 03613 03614 ~__F__RobotSimEvents__BeeStemMotorControllerMessage__Init() 03615 { 03616 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId()); 03617 } 03618 }; 03619 03620 static __F__RobotSimEvents__BeeStemMotorControllerMessage__Init __F__RobotSimEvents__BeeStemMotorControllerMessage__i; 03621 03622 #ifdef __APPLE__ 03623 extern "C" { void __F__RobotSimEvents__BeeStemMotorControllerMessage__initializer() {} } 03624 #endif 03625 03626 void 03627 RobotSimEvents::__patch__BeeStemMotorControllerMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 03628 { 03629 ::RobotSimEvents::BeeStemMotorControllerMessagePtr* p = static_cast< ::RobotSimEvents::BeeStemMotorControllerMessagePtr*>(__addr); 03630 assert(p); 03631 *p = ::RobotSimEvents::BeeStemMotorControllerMessagePtr::dynamicCast(v); 03632 if(v && !*p) 03633 { 03634 IceInternal::Ex::throwUOE(::RobotSimEvents::BeeStemMotorControllerMessage::ice_staticId(), v->ice_id()); 03635 } 03636 } 03637 03638 bool 03639 RobotSimEvents::operator==(const ::RobotSimEvents::BeeStemMotorControllerMessage& l, const ::RobotSimEvents::BeeStemMotorControllerMessage& r) 03640 { 03641 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 03642 } 03643 03644 bool 03645 RobotSimEvents::operator<(const ::RobotSimEvents::BeeStemMotorControllerMessage& l, const ::RobotSimEvents::BeeStemMotorControllerMessage& r) 03646 { 03647 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 03648 } 03649 03650 RobotSimEvents::LocalizationMessage::LocalizationMessage(const ::ImageIceMod::Point2DIce& __ice_pos, ::Ice::Float __ice_heading, ::Ice::Int __ice_mode, const ::ImageIceMod::WaypointIce& __ice_currentWaypoint) : 03651 pos(__ice_pos), 03652 heading(__ice_heading), 03653 mode(__ice_mode), 03654 currentWaypoint(__ice_currentWaypoint) 03655 { 03656 } 03657 03658 ::Ice::ObjectPtr 03659 RobotSimEvents::LocalizationMessage::ice_clone() const 03660 { 03661 ::RobotSimEvents::LocalizationMessagePtr __p = new ::RobotSimEvents::LocalizationMessage(*this); 03662 return __p; 03663 } 03664 03665 static const ::std::string __RobotSimEvents__LocalizationMessage_ids[3] = 03666 { 03667 "::Ice::Object", 03668 "::RobotSimEvents::EventMessage", 03669 "::RobotSimEvents::LocalizationMessage" 03670 }; 03671 03672 bool 03673 RobotSimEvents::LocalizationMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 03674 { 03675 return ::std::binary_search(__RobotSimEvents__LocalizationMessage_ids, __RobotSimEvents__LocalizationMessage_ids + 3, _s); 03676 } 03677 03678 ::std::vector< ::std::string> 03679 RobotSimEvents::LocalizationMessage::ice_ids(const ::Ice::Current&) const 03680 { 03681 return ::std::vector< ::std::string>(&__RobotSimEvents__LocalizationMessage_ids[0], &__RobotSimEvents__LocalizationMessage_ids[3]); 03682 } 03683 03684 const ::std::string& 03685 RobotSimEvents::LocalizationMessage::ice_id(const ::Ice::Current&) const 03686 { 03687 return __RobotSimEvents__LocalizationMessage_ids[2]; 03688 } 03689 03690 const ::std::string& 03691 RobotSimEvents::LocalizationMessage::ice_staticId() 03692 { 03693 return __RobotSimEvents__LocalizationMessage_ids[2]; 03694 } 03695 03696 void 03697 RobotSimEvents::LocalizationMessage::__write(::IceInternal::BasicStream* __os) const 03698 { 03699 __os->writeTypeId(ice_staticId()); 03700 __os->startWriteSlice(); 03701 pos.__write(__os); 03702 __os->write(heading); 03703 __os->write(mode); 03704 currentWaypoint.__write(__os); 03705 __os->endWriteSlice(); 03706 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03707 EventMessage::__write(__os); 03708 #else 03709 ::RobotSimEvents::EventMessage::__write(__os); 03710 #endif 03711 } 03712 03713 void 03714 RobotSimEvents::LocalizationMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 03715 { 03716 if(__rid) 03717 { 03718 ::std::string myId; 03719 __is->readTypeId(myId); 03720 } 03721 __is->startReadSlice(); 03722 pos.__read(__is); 03723 __is->read(heading); 03724 __is->read(mode); 03725 currentWaypoint.__read(__is); 03726 __is->endReadSlice(); 03727 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03728 EventMessage::__read(__is, true); 03729 #else 03730 ::RobotSimEvents::EventMessage::__read(__is, true); 03731 #endif 03732 } 03733 03734 void 03735 RobotSimEvents::LocalizationMessage::__write(const ::Ice::OutputStreamPtr&) const 03736 { 03737 Ice::MarshalException ex(__FILE__, __LINE__); 03738 ex.reason = "type RobotSimEvents::LocalizationMessage was not generated with stream support"; 03739 throw ex; 03740 } 03741 03742 void 03743 RobotSimEvents::LocalizationMessage::__read(const ::Ice::InputStreamPtr&, bool) 03744 { 03745 Ice::MarshalException ex(__FILE__, __LINE__); 03746 ex.reason = "type RobotSimEvents::LocalizationMessage was not generated with stream support"; 03747 throw ex; 03748 } 03749 03750 class __F__RobotSimEvents__LocalizationMessage : public ::Ice::ObjectFactory 03751 { 03752 public: 03753 03754 virtual ::Ice::ObjectPtr 03755 create(const ::std::string& type) 03756 { 03757 assert(type == ::RobotSimEvents::LocalizationMessage::ice_staticId()); 03758 return new ::RobotSimEvents::LocalizationMessage; 03759 } 03760 03761 virtual void 03762 destroy() 03763 { 03764 } 03765 }; 03766 03767 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__LocalizationMessage_Ptr = new __F__RobotSimEvents__LocalizationMessage; 03768 03769 const ::Ice::ObjectFactoryPtr& 03770 RobotSimEvents::LocalizationMessage::ice_factory() 03771 { 03772 return __F__RobotSimEvents__LocalizationMessage_Ptr; 03773 } 03774 03775 class __F__RobotSimEvents__LocalizationMessage__Init 03776 { 03777 public: 03778 03779 __F__RobotSimEvents__LocalizationMessage__Init() 03780 { 03781 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::LocalizationMessage::ice_staticId(), ::RobotSimEvents::LocalizationMessage::ice_factory()); 03782 } 03783 03784 ~__F__RobotSimEvents__LocalizationMessage__Init() 03785 { 03786 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::LocalizationMessage::ice_staticId()); 03787 } 03788 }; 03789 03790 static __F__RobotSimEvents__LocalizationMessage__Init __F__RobotSimEvents__LocalizationMessage__i; 03791 03792 #ifdef __APPLE__ 03793 extern "C" { void __F__RobotSimEvents__LocalizationMessage__initializer() {} } 03794 #endif 03795 03796 void 03797 RobotSimEvents::__patch__LocalizationMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 03798 { 03799 ::RobotSimEvents::LocalizationMessagePtr* p = static_cast< ::RobotSimEvents::LocalizationMessagePtr*>(__addr); 03800 assert(p); 03801 *p = ::RobotSimEvents::LocalizationMessagePtr::dynamicCast(v); 03802 if(v && !*p) 03803 { 03804 IceInternal::Ex::throwUOE(::RobotSimEvents::LocalizationMessage::ice_staticId(), v->ice_id()); 03805 } 03806 } 03807 03808 bool 03809 RobotSimEvents::operator==(const ::RobotSimEvents::LocalizationMessage& l, const ::RobotSimEvents::LocalizationMessage& r) 03810 { 03811 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 03812 } 03813 03814 bool 03815 RobotSimEvents::operator<(const ::RobotSimEvents::LocalizationMessage& l, const ::RobotSimEvents::LocalizationMessage& r) 03816 { 03817 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 03818 } 03819 03820 RobotSimEvents::BeeStemMessage::BeeStemMessage(::Ice::Int __ice_accelX, ::Ice::Int __ice_accelY, ::Ice::Int __ice_accelZ, ::Ice::Int __ice_compassHeading, ::Ice::Int __ice_compassPitch, ::Ice::Int __ice_compassRoll, ::Ice::Int __ice_internalPressure, ::Ice::Int __ice_externalPressure, ::Ice::Int __ice_desiredHeading, ::Ice::Int __ice_desiredDepth, ::Ice::Int __ice_desiredSpeed, ::Ice::Int __ice_headingK, ::Ice::Int __ice_headingP, ::Ice::Int __ice_headingD, ::Ice::Int __ice_headingI, ::Ice::Int __ice_headingOutput, ::Ice::Int __ice_depthK, ::Ice::Int __ice_depthP, ::Ice::Int __ice_depthD, ::Ice::Int __ice_depthI, ::Ice::Int __ice_depthOutput, ::Ice::Int __ice_thruster1, ::Ice::Int __ice_thruster2, ::Ice::Int __ice_thruster3, ::Ice::Int __ice_thruster4, ::Ice::Int __ice_thruster5, ::Ice::Int __ice_thruster6, ::Ice::Int __ice_killSwitch) : 03821 accelX(__ice_accelX), 03822 accelY(__ice_accelY), 03823 accelZ(__ice_accelZ), 03824 compassHeading(__ice_compassHeading), 03825 compassPitch(__ice_compassPitch), 03826 compassRoll(__ice_compassRoll), 03827 internalPressure(__ice_internalPressure), 03828 externalPressure(__ice_externalPressure), 03829 desiredHeading(__ice_desiredHeading), 03830 desiredDepth(__ice_desiredDepth), 03831 desiredSpeed(__ice_desiredSpeed), 03832 headingK(__ice_headingK), 03833 headingP(__ice_headingP), 03834 headingD(__ice_headingD), 03835 headingI(__ice_headingI), 03836 headingOutput(__ice_headingOutput), 03837 depthK(__ice_depthK), 03838 depthP(__ice_depthP), 03839 depthD(__ice_depthD), 03840 depthI(__ice_depthI), 03841 depthOutput(__ice_depthOutput), 03842 thruster1(__ice_thruster1), 03843 thruster2(__ice_thruster2), 03844 thruster3(__ice_thruster3), 03845 thruster4(__ice_thruster4), 03846 thruster5(__ice_thruster5), 03847 thruster6(__ice_thruster6), 03848 killSwitch(__ice_killSwitch) 03849 { 03850 } 03851 03852 ::Ice::ObjectPtr 03853 RobotSimEvents::BeeStemMessage::ice_clone() const 03854 { 03855 ::RobotSimEvents::BeeStemMessagePtr __p = new ::RobotSimEvents::BeeStemMessage(*this); 03856 return __p; 03857 } 03858 03859 static const ::std::string __RobotSimEvents__BeeStemMessage_ids[3] = 03860 { 03861 "::Ice::Object", 03862 "::RobotSimEvents::BeeStemMessage", 03863 "::RobotSimEvents::EventMessage" 03864 }; 03865 03866 bool 03867 RobotSimEvents::BeeStemMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 03868 { 03869 return ::std::binary_search(__RobotSimEvents__BeeStemMessage_ids, __RobotSimEvents__BeeStemMessage_ids + 3, _s); 03870 } 03871 03872 ::std::vector< ::std::string> 03873 RobotSimEvents::BeeStemMessage::ice_ids(const ::Ice::Current&) const 03874 { 03875 return ::std::vector< ::std::string>(&__RobotSimEvents__BeeStemMessage_ids[0], &__RobotSimEvents__BeeStemMessage_ids[3]); 03876 } 03877 03878 const ::std::string& 03879 RobotSimEvents::BeeStemMessage::ice_id(const ::Ice::Current&) const 03880 { 03881 return __RobotSimEvents__BeeStemMessage_ids[1]; 03882 } 03883 03884 const ::std::string& 03885 RobotSimEvents::BeeStemMessage::ice_staticId() 03886 { 03887 return __RobotSimEvents__BeeStemMessage_ids[1]; 03888 } 03889 03890 void 03891 RobotSimEvents::BeeStemMessage::__write(::IceInternal::BasicStream* __os) const 03892 { 03893 __os->writeTypeId(ice_staticId()); 03894 __os->startWriteSlice(); 03895 __os->write(accelX); 03896 __os->write(accelY); 03897 __os->write(accelZ); 03898 __os->write(compassHeading); 03899 __os->write(compassPitch); 03900 __os->write(compassRoll); 03901 __os->write(internalPressure); 03902 __os->write(externalPressure); 03903 __os->write(desiredHeading); 03904 __os->write(desiredDepth); 03905 __os->write(desiredSpeed); 03906 __os->write(headingK); 03907 __os->write(headingP); 03908 __os->write(headingD); 03909 __os->write(headingI); 03910 __os->write(headingOutput); 03911 __os->write(depthK); 03912 __os->write(depthP); 03913 __os->write(depthD); 03914 __os->write(depthI); 03915 __os->write(depthOutput); 03916 __os->write(thruster1); 03917 __os->write(thruster2); 03918 __os->write(thruster3); 03919 __os->write(thruster4); 03920 __os->write(thruster5); 03921 __os->write(thruster6); 03922 __os->write(killSwitch); 03923 __os->endWriteSlice(); 03924 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03925 EventMessage::__write(__os); 03926 #else 03927 ::RobotSimEvents::EventMessage::__write(__os); 03928 #endif 03929 } 03930 03931 void 03932 RobotSimEvents::BeeStemMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 03933 { 03934 if(__rid) 03935 { 03936 ::std::string myId; 03937 __is->readTypeId(myId); 03938 } 03939 __is->startReadSlice(); 03940 __is->read(accelX); 03941 __is->read(accelY); 03942 __is->read(accelZ); 03943 __is->read(compassHeading); 03944 __is->read(compassPitch); 03945 __is->read(compassRoll); 03946 __is->read(internalPressure); 03947 __is->read(externalPressure); 03948 __is->read(desiredHeading); 03949 __is->read(desiredDepth); 03950 __is->read(desiredSpeed); 03951 __is->read(headingK); 03952 __is->read(headingP); 03953 __is->read(headingD); 03954 __is->read(headingI); 03955 __is->read(headingOutput); 03956 __is->read(depthK); 03957 __is->read(depthP); 03958 __is->read(depthD); 03959 __is->read(depthI); 03960 __is->read(depthOutput); 03961 __is->read(thruster1); 03962 __is->read(thruster2); 03963 __is->read(thruster3); 03964 __is->read(thruster4); 03965 __is->read(thruster5); 03966 __is->read(thruster6); 03967 __is->read(killSwitch); 03968 __is->endReadSlice(); 03969 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 03970 EventMessage::__read(__is, true); 03971 #else 03972 ::RobotSimEvents::EventMessage::__read(__is, true); 03973 #endif 03974 } 03975 03976 void 03977 RobotSimEvents::BeeStemMessage::__write(const ::Ice::OutputStreamPtr&) const 03978 { 03979 Ice::MarshalException ex(__FILE__, __LINE__); 03980 ex.reason = "type RobotSimEvents::BeeStemMessage was not generated with stream support"; 03981 throw ex; 03982 } 03983 03984 void 03985 RobotSimEvents::BeeStemMessage::__read(const ::Ice::InputStreamPtr&, bool) 03986 { 03987 Ice::MarshalException ex(__FILE__, __LINE__); 03988 ex.reason = "type RobotSimEvents::BeeStemMessage was not generated with stream support"; 03989 throw ex; 03990 } 03991 03992 class __F__RobotSimEvents__BeeStemMessage : public ::Ice::ObjectFactory 03993 { 03994 public: 03995 03996 virtual ::Ice::ObjectPtr 03997 create(const ::std::string& type) 03998 { 03999 assert(type == ::RobotSimEvents::BeeStemMessage::ice_staticId()); 04000 return new ::RobotSimEvents::BeeStemMessage; 04001 } 04002 04003 virtual void 04004 destroy() 04005 { 04006 } 04007 }; 04008 04009 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BeeStemMessage_Ptr = new __F__RobotSimEvents__BeeStemMessage; 04010 04011 const ::Ice::ObjectFactoryPtr& 04012 RobotSimEvents::BeeStemMessage::ice_factory() 04013 { 04014 return __F__RobotSimEvents__BeeStemMessage_Ptr; 04015 } 04016 04017 class __F__RobotSimEvents__BeeStemMessage__Init 04018 { 04019 public: 04020 04021 __F__RobotSimEvents__BeeStemMessage__Init() 04022 { 04023 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BeeStemMessage::ice_staticId(), ::RobotSimEvents::BeeStemMessage::ice_factory()); 04024 } 04025 04026 ~__F__RobotSimEvents__BeeStemMessage__Init() 04027 { 04028 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BeeStemMessage::ice_staticId()); 04029 } 04030 }; 04031 04032 static __F__RobotSimEvents__BeeStemMessage__Init __F__RobotSimEvents__BeeStemMessage__i; 04033 04034 #ifdef __APPLE__ 04035 extern "C" { void __F__RobotSimEvents__BeeStemMessage__initializer() {} } 04036 #endif 04037 04038 void 04039 RobotSimEvents::__patch__BeeStemMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04040 { 04041 ::RobotSimEvents::BeeStemMessagePtr* p = static_cast< ::RobotSimEvents::BeeStemMessagePtr*>(__addr); 04042 assert(p); 04043 *p = ::RobotSimEvents::BeeStemMessagePtr::dynamicCast(v); 04044 if(v && !*p) 04045 { 04046 IceInternal::Ex::throwUOE(::RobotSimEvents::BeeStemMessage::ice_staticId(), v->ice_id()); 04047 } 04048 } 04049 04050 bool 04051 RobotSimEvents::operator==(const ::RobotSimEvents::BeeStemMessage& l, const ::RobotSimEvents::BeeStemMessage& r) 04052 { 04053 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04054 } 04055 04056 bool 04057 RobotSimEvents::operator<(const ::RobotSimEvents::BeeStemMessage& l, const ::RobotSimEvents::BeeStemMessage& r) 04058 { 04059 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04060 } 04061 04062 RobotSimEvents::ChatMessage::ChatMessage(const ::std::string& __ice_text, const ::std::string& __ice_from) : 04063 text(__ice_text), 04064 from(__ice_from) 04065 { 04066 } 04067 04068 ::Ice::ObjectPtr 04069 RobotSimEvents::ChatMessage::ice_clone() const 04070 { 04071 ::RobotSimEvents::ChatMessagePtr __p = new ::RobotSimEvents::ChatMessage(*this); 04072 return __p; 04073 } 04074 04075 static const ::std::string __RobotSimEvents__ChatMessage_ids[3] = 04076 { 04077 "::Ice::Object", 04078 "::RobotSimEvents::ChatMessage", 04079 "::RobotSimEvents::EventMessage" 04080 }; 04081 04082 bool 04083 RobotSimEvents::ChatMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04084 { 04085 return ::std::binary_search(__RobotSimEvents__ChatMessage_ids, __RobotSimEvents__ChatMessage_ids + 3, _s); 04086 } 04087 04088 ::std::vector< ::std::string> 04089 RobotSimEvents::ChatMessage::ice_ids(const ::Ice::Current&) const 04090 { 04091 return ::std::vector< ::std::string>(&__RobotSimEvents__ChatMessage_ids[0], &__RobotSimEvents__ChatMessage_ids[3]); 04092 } 04093 04094 const ::std::string& 04095 RobotSimEvents::ChatMessage::ice_id(const ::Ice::Current&) const 04096 { 04097 return __RobotSimEvents__ChatMessage_ids[1]; 04098 } 04099 04100 const ::std::string& 04101 RobotSimEvents::ChatMessage::ice_staticId() 04102 { 04103 return __RobotSimEvents__ChatMessage_ids[1]; 04104 } 04105 04106 void 04107 RobotSimEvents::ChatMessage::__write(::IceInternal::BasicStream* __os) const 04108 { 04109 __os->writeTypeId(ice_staticId()); 04110 __os->startWriteSlice(); 04111 __os->write(text); 04112 __os->write(from); 04113 __os->endWriteSlice(); 04114 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04115 EventMessage::__write(__os); 04116 #else 04117 ::RobotSimEvents::EventMessage::__write(__os); 04118 #endif 04119 } 04120 04121 void 04122 RobotSimEvents::ChatMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04123 { 04124 if(__rid) 04125 { 04126 ::std::string myId; 04127 __is->readTypeId(myId); 04128 } 04129 __is->startReadSlice(); 04130 __is->read(text); 04131 __is->read(from); 04132 __is->endReadSlice(); 04133 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04134 EventMessage::__read(__is, true); 04135 #else 04136 ::RobotSimEvents::EventMessage::__read(__is, true); 04137 #endif 04138 } 04139 04140 void 04141 RobotSimEvents::ChatMessage::__write(const ::Ice::OutputStreamPtr&) const 04142 { 04143 Ice::MarshalException ex(__FILE__, __LINE__); 04144 ex.reason = "type RobotSimEvents::ChatMessage was not generated with stream support"; 04145 throw ex; 04146 } 04147 04148 void 04149 RobotSimEvents::ChatMessage::__read(const ::Ice::InputStreamPtr&, bool) 04150 { 04151 Ice::MarshalException ex(__FILE__, __LINE__); 04152 ex.reason = "type RobotSimEvents::ChatMessage was not generated with stream support"; 04153 throw ex; 04154 } 04155 04156 class __F__RobotSimEvents__ChatMessage : public ::Ice::ObjectFactory 04157 { 04158 public: 04159 04160 virtual ::Ice::ObjectPtr 04161 create(const ::std::string& type) 04162 { 04163 assert(type == ::RobotSimEvents::ChatMessage::ice_staticId()); 04164 return new ::RobotSimEvents::ChatMessage; 04165 } 04166 04167 virtual void 04168 destroy() 04169 { 04170 } 04171 }; 04172 04173 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ChatMessage_Ptr = new __F__RobotSimEvents__ChatMessage; 04174 04175 const ::Ice::ObjectFactoryPtr& 04176 RobotSimEvents::ChatMessage::ice_factory() 04177 { 04178 return __F__RobotSimEvents__ChatMessage_Ptr; 04179 } 04180 04181 class __F__RobotSimEvents__ChatMessage__Init 04182 { 04183 public: 04184 04185 __F__RobotSimEvents__ChatMessage__Init() 04186 { 04187 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ChatMessage::ice_staticId(), ::RobotSimEvents::ChatMessage::ice_factory()); 04188 } 04189 04190 ~__F__RobotSimEvents__ChatMessage__Init() 04191 { 04192 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ChatMessage::ice_staticId()); 04193 } 04194 }; 04195 04196 static __F__RobotSimEvents__ChatMessage__Init __F__RobotSimEvents__ChatMessage__i; 04197 04198 #ifdef __APPLE__ 04199 extern "C" { void __F__RobotSimEvents__ChatMessage__initializer() {} } 04200 #endif 04201 04202 void 04203 RobotSimEvents::__patch__ChatMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04204 { 04205 ::RobotSimEvents::ChatMessagePtr* p = static_cast< ::RobotSimEvents::ChatMessagePtr*>(__addr); 04206 assert(p); 04207 *p = ::RobotSimEvents::ChatMessagePtr::dynamicCast(v); 04208 if(v && !*p) 04209 { 04210 IceInternal::Ex::throwUOE(::RobotSimEvents::ChatMessage::ice_staticId(), v->ice_id()); 04211 } 04212 } 04213 04214 bool 04215 RobotSimEvents::operator==(const ::RobotSimEvents::ChatMessage& l, const ::RobotSimEvents::ChatMessage& r) 04216 { 04217 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04218 } 04219 04220 bool 04221 RobotSimEvents::operator<(const ::RobotSimEvents::ChatMessage& l, const ::RobotSimEvents::ChatMessage& r) 04222 { 04223 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04224 } 04225 04226 RobotSimEvents::RemoteControlMessage::RemoteControlMessage(::Ice::Int __ice_x, ::Ice::Int __ice_y, ::Ice::Int __ice_imgStreamId) : 04227 x(__ice_x), 04228 y(__ice_y), 04229 imgStreamId(__ice_imgStreamId) 04230 { 04231 } 04232 04233 ::Ice::ObjectPtr 04234 RobotSimEvents::RemoteControlMessage::ice_clone() const 04235 { 04236 ::RobotSimEvents::RemoteControlMessagePtr __p = new ::RobotSimEvents::RemoteControlMessage(*this); 04237 return __p; 04238 } 04239 04240 static const ::std::string __RobotSimEvents__RemoteControlMessage_ids[3] = 04241 { 04242 "::Ice::Object", 04243 "::RobotSimEvents::EventMessage", 04244 "::RobotSimEvents::RemoteControlMessage" 04245 }; 04246 04247 bool 04248 RobotSimEvents::RemoteControlMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04249 { 04250 return ::std::binary_search(__RobotSimEvents__RemoteControlMessage_ids, __RobotSimEvents__RemoteControlMessage_ids + 3, _s); 04251 } 04252 04253 ::std::vector< ::std::string> 04254 RobotSimEvents::RemoteControlMessage::ice_ids(const ::Ice::Current&) const 04255 { 04256 return ::std::vector< ::std::string>(&__RobotSimEvents__RemoteControlMessage_ids[0], &__RobotSimEvents__RemoteControlMessage_ids[3]); 04257 } 04258 04259 const ::std::string& 04260 RobotSimEvents::RemoteControlMessage::ice_id(const ::Ice::Current&) const 04261 { 04262 return __RobotSimEvents__RemoteControlMessage_ids[2]; 04263 } 04264 04265 const ::std::string& 04266 RobotSimEvents::RemoteControlMessage::ice_staticId() 04267 { 04268 return __RobotSimEvents__RemoteControlMessage_ids[2]; 04269 } 04270 04271 void 04272 RobotSimEvents::RemoteControlMessage::__write(::IceInternal::BasicStream* __os) const 04273 { 04274 __os->writeTypeId(ice_staticId()); 04275 __os->startWriteSlice(); 04276 __os->write(x); 04277 __os->write(y); 04278 __os->write(imgStreamId); 04279 __os->endWriteSlice(); 04280 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04281 EventMessage::__write(__os); 04282 #else 04283 ::RobotSimEvents::EventMessage::__write(__os); 04284 #endif 04285 } 04286 04287 void 04288 RobotSimEvents::RemoteControlMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04289 { 04290 if(__rid) 04291 { 04292 ::std::string myId; 04293 __is->readTypeId(myId); 04294 } 04295 __is->startReadSlice(); 04296 __is->read(x); 04297 __is->read(y); 04298 __is->read(imgStreamId); 04299 __is->endReadSlice(); 04300 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04301 EventMessage::__read(__is, true); 04302 #else 04303 ::RobotSimEvents::EventMessage::__read(__is, true); 04304 #endif 04305 } 04306 04307 void 04308 RobotSimEvents::RemoteControlMessage::__write(const ::Ice::OutputStreamPtr&) const 04309 { 04310 Ice::MarshalException ex(__FILE__, __LINE__); 04311 ex.reason = "type RobotSimEvents::RemoteControlMessage was not generated with stream support"; 04312 throw ex; 04313 } 04314 04315 void 04316 RobotSimEvents::RemoteControlMessage::__read(const ::Ice::InputStreamPtr&, bool) 04317 { 04318 Ice::MarshalException ex(__FILE__, __LINE__); 04319 ex.reason = "type RobotSimEvents::RemoteControlMessage was not generated with stream support"; 04320 throw ex; 04321 } 04322 04323 class __F__RobotSimEvents__RemoteControlMessage : public ::Ice::ObjectFactory 04324 { 04325 public: 04326 04327 virtual ::Ice::ObjectPtr 04328 create(const ::std::string& type) 04329 { 04330 assert(type == ::RobotSimEvents::RemoteControlMessage::ice_staticId()); 04331 return new ::RobotSimEvents::RemoteControlMessage; 04332 } 04333 04334 virtual void 04335 destroy() 04336 { 04337 } 04338 }; 04339 04340 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__RemoteControlMessage_Ptr = new __F__RobotSimEvents__RemoteControlMessage; 04341 04342 const ::Ice::ObjectFactoryPtr& 04343 RobotSimEvents::RemoteControlMessage::ice_factory() 04344 { 04345 return __F__RobotSimEvents__RemoteControlMessage_Ptr; 04346 } 04347 04348 class __F__RobotSimEvents__RemoteControlMessage__Init 04349 { 04350 public: 04351 04352 __F__RobotSimEvents__RemoteControlMessage__Init() 04353 { 04354 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::RemoteControlMessage::ice_staticId(), ::RobotSimEvents::RemoteControlMessage::ice_factory()); 04355 } 04356 04357 ~__F__RobotSimEvents__RemoteControlMessage__Init() 04358 { 04359 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::RemoteControlMessage::ice_staticId()); 04360 } 04361 }; 04362 04363 static __F__RobotSimEvents__RemoteControlMessage__Init __F__RobotSimEvents__RemoteControlMessage__i; 04364 04365 #ifdef __APPLE__ 04366 extern "C" { void __F__RobotSimEvents__RemoteControlMessage__initializer() {} } 04367 #endif 04368 04369 void 04370 RobotSimEvents::__patch__RemoteControlMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04371 { 04372 ::RobotSimEvents::RemoteControlMessagePtr* p = static_cast< ::RobotSimEvents::RemoteControlMessagePtr*>(__addr); 04373 assert(p); 04374 *p = ::RobotSimEvents::RemoteControlMessagePtr::dynamicCast(v); 04375 if(v && !*p) 04376 { 04377 IceInternal::Ex::throwUOE(::RobotSimEvents::RemoteControlMessage::ice_staticId(), v->ice_id()); 04378 } 04379 } 04380 04381 bool 04382 RobotSimEvents::operator==(const ::RobotSimEvents::RemoteControlMessage& l, const ::RobotSimEvents::RemoteControlMessage& r) 04383 { 04384 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04385 } 04386 04387 bool 04388 RobotSimEvents::operator<(const ::RobotSimEvents::RemoteControlMessage& l, const ::RobotSimEvents::RemoteControlMessage& r) 04389 { 04390 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04391 } 04392 04393 RobotSimEvents::StateMessage::StateMessage(::Ice::Float __ice_xPos, ::Ice::Float __ice_yPos, ::Ice::Float __ice_orientation) : 04394 xPos(__ice_xPos), 04395 yPos(__ice_yPos), 04396 orientation(__ice_orientation) 04397 { 04398 } 04399 04400 ::Ice::ObjectPtr 04401 RobotSimEvents::StateMessage::ice_clone() const 04402 { 04403 ::RobotSimEvents::StateMessagePtr __p = new ::RobotSimEvents::StateMessage(*this); 04404 return __p; 04405 } 04406 04407 static const ::std::string __RobotSimEvents__StateMessage_ids[3] = 04408 { 04409 "::Ice::Object", 04410 "::RobotSimEvents::EventMessage", 04411 "::RobotSimEvents::StateMessage" 04412 }; 04413 04414 bool 04415 RobotSimEvents::StateMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04416 { 04417 return ::std::binary_search(__RobotSimEvents__StateMessage_ids, __RobotSimEvents__StateMessage_ids + 3, _s); 04418 } 04419 04420 ::std::vector< ::std::string> 04421 RobotSimEvents::StateMessage::ice_ids(const ::Ice::Current&) const 04422 { 04423 return ::std::vector< ::std::string>(&__RobotSimEvents__StateMessage_ids[0], &__RobotSimEvents__StateMessage_ids[3]); 04424 } 04425 04426 const ::std::string& 04427 RobotSimEvents::StateMessage::ice_id(const ::Ice::Current&) const 04428 { 04429 return __RobotSimEvents__StateMessage_ids[2]; 04430 } 04431 04432 const ::std::string& 04433 RobotSimEvents::StateMessage::ice_staticId() 04434 { 04435 return __RobotSimEvents__StateMessage_ids[2]; 04436 } 04437 04438 void 04439 RobotSimEvents::StateMessage::__write(::IceInternal::BasicStream* __os) const 04440 { 04441 __os->writeTypeId(ice_staticId()); 04442 __os->startWriteSlice(); 04443 __os->write(xPos); 04444 __os->write(yPos); 04445 __os->write(orientation); 04446 __os->endWriteSlice(); 04447 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04448 EventMessage::__write(__os); 04449 #else 04450 ::RobotSimEvents::EventMessage::__write(__os); 04451 #endif 04452 } 04453 04454 void 04455 RobotSimEvents::StateMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04456 { 04457 if(__rid) 04458 { 04459 ::std::string myId; 04460 __is->readTypeId(myId); 04461 } 04462 __is->startReadSlice(); 04463 __is->read(xPos); 04464 __is->read(yPos); 04465 __is->read(orientation); 04466 __is->endReadSlice(); 04467 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04468 EventMessage::__read(__is, true); 04469 #else 04470 ::RobotSimEvents::EventMessage::__read(__is, true); 04471 #endif 04472 } 04473 04474 void 04475 RobotSimEvents::StateMessage::__write(const ::Ice::OutputStreamPtr&) const 04476 { 04477 Ice::MarshalException ex(__FILE__, __LINE__); 04478 ex.reason = "type RobotSimEvents::StateMessage was not generated with stream support"; 04479 throw ex; 04480 } 04481 04482 void 04483 RobotSimEvents::StateMessage::__read(const ::Ice::InputStreamPtr&, bool) 04484 { 04485 Ice::MarshalException ex(__FILE__, __LINE__); 04486 ex.reason = "type RobotSimEvents::StateMessage was not generated with stream support"; 04487 throw ex; 04488 } 04489 04490 class __F__RobotSimEvents__StateMessage : public ::Ice::ObjectFactory 04491 { 04492 public: 04493 04494 virtual ::Ice::ObjectPtr 04495 create(const ::std::string& type) 04496 { 04497 assert(type == ::RobotSimEvents::StateMessage::ice_staticId()); 04498 return new ::RobotSimEvents::StateMessage; 04499 } 04500 04501 virtual void 04502 destroy() 04503 { 04504 } 04505 }; 04506 04507 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__StateMessage_Ptr = new __F__RobotSimEvents__StateMessage; 04508 04509 const ::Ice::ObjectFactoryPtr& 04510 RobotSimEvents::StateMessage::ice_factory() 04511 { 04512 return __F__RobotSimEvents__StateMessage_Ptr; 04513 } 04514 04515 class __F__RobotSimEvents__StateMessage__Init 04516 { 04517 public: 04518 04519 __F__RobotSimEvents__StateMessage__Init() 04520 { 04521 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::StateMessage::ice_staticId(), ::RobotSimEvents::StateMessage::ice_factory()); 04522 } 04523 04524 ~__F__RobotSimEvents__StateMessage__Init() 04525 { 04526 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::StateMessage::ice_staticId()); 04527 } 04528 }; 04529 04530 static __F__RobotSimEvents__StateMessage__Init __F__RobotSimEvents__StateMessage__i; 04531 04532 #ifdef __APPLE__ 04533 extern "C" { void __F__RobotSimEvents__StateMessage__initializer() {} } 04534 #endif 04535 04536 void 04537 RobotSimEvents::__patch__StateMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04538 { 04539 ::RobotSimEvents::StateMessagePtr* p = static_cast< ::RobotSimEvents::StateMessagePtr*>(__addr); 04540 assert(p); 04541 *p = ::RobotSimEvents::StateMessagePtr::dynamicCast(v); 04542 if(v && !*p) 04543 { 04544 IceInternal::Ex::throwUOE(::RobotSimEvents::StateMessage::ice_staticId(), v->ice_id()); 04545 } 04546 } 04547 04548 bool 04549 RobotSimEvents::operator==(const ::RobotSimEvents::StateMessage& l, const ::RobotSimEvents::StateMessage& r) 04550 { 04551 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04552 } 04553 04554 bool 04555 RobotSimEvents::operator<(const ::RobotSimEvents::StateMessage& l, const ::RobotSimEvents::StateMessage& r) 04556 { 04557 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04558 } 04559 04560 RobotSimEvents::GoalStateMessage::GoalStateMessage(::Ice::Float __ice_xPos, ::Ice::Float __ice_yPos, ::Ice::Float __ice_orientation) : 04561 xPos(__ice_xPos), 04562 yPos(__ice_yPos), 04563 orientation(__ice_orientation) 04564 { 04565 } 04566 04567 ::Ice::ObjectPtr 04568 RobotSimEvents::GoalStateMessage::ice_clone() const 04569 { 04570 ::RobotSimEvents::GoalStateMessagePtr __p = new ::RobotSimEvents::GoalStateMessage(*this); 04571 return __p; 04572 } 04573 04574 static const ::std::string __RobotSimEvents__GoalStateMessage_ids[3] = 04575 { 04576 "::Ice::Object", 04577 "::RobotSimEvents::EventMessage", 04578 "::RobotSimEvents::GoalStateMessage" 04579 }; 04580 04581 bool 04582 RobotSimEvents::GoalStateMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04583 { 04584 return ::std::binary_search(__RobotSimEvents__GoalStateMessage_ids, __RobotSimEvents__GoalStateMessage_ids + 3, _s); 04585 } 04586 04587 ::std::vector< ::std::string> 04588 RobotSimEvents::GoalStateMessage::ice_ids(const ::Ice::Current&) const 04589 { 04590 return ::std::vector< ::std::string>(&__RobotSimEvents__GoalStateMessage_ids[0], &__RobotSimEvents__GoalStateMessage_ids[3]); 04591 } 04592 04593 const ::std::string& 04594 RobotSimEvents::GoalStateMessage::ice_id(const ::Ice::Current&) const 04595 { 04596 return __RobotSimEvents__GoalStateMessage_ids[2]; 04597 } 04598 04599 const ::std::string& 04600 RobotSimEvents::GoalStateMessage::ice_staticId() 04601 { 04602 return __RobotSimEvents__GoalStateMessage_ids[2]; 04603 } 04604 04605 void 04606 RobotSimEvents::GoalStateMessage::__write(::IceInternal::BasicStream* __os) const 04607 { 04608 __os->writeTypeId(ice_staticId()); 04609 __os->startWriteSlice(); 04610 __os->write(xPos); 04611 __os->write(yPos); 04612 __os->write(orientation); 04613 __os->endWriteSlice(); 04614 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04615 EventMessage::__write(__os); 04616 #else 04617 ::RobotSimEvents::EventMessage::__write(__os); 04618 #endif 04619 } 04620 04621 void 04622 RobotSimEvents::GoalStateMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04623 { 04624 if(__rid) 04625 { 04626 ::std::string myId; 04627 __is->readTypeId(myId); 04628 } 04629 __is->startReadSlice(); 04630 __is->read(xPos); 04631 __is->read(yPos); 04632 __is->read(orientation); 04633 __is->endReadSlice(); 04634 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04635 EventMessage::__read(__is, true); 04636 #else 04637 ::RobotSimEvents::EventMessage::__read(__is, true); 04638 #endif 04639 } 04640 04641 void 04642 RobotSimEvents::GoalStateMessage::__write(const ::Ice::OutputStreamPtr&) const 04643 { 04644 Ice::MarshalException ex(__FILE__, __LINE__); 04645 ex.reason = "type RobotSimEvents::GoalStateMessage was not generated with stream support"; 04646 throw ex; 04647 } 04648 04649 void 04650 RobotSimEvents::GoalStateMessage::__read(const ::Ice::InputStreamPtr&, bool) 04651 { 04652 Ice::MarshalException ex(__FILE__, __LINE__); 04653 ex.reason = "type RobotSimEvents::GoalStateMessage was not generated with stream support"; 04654 throw ex; 04655 } 04656 04657 class __F__RobotSimEvents__GoalStateMessage : public ::Ice::ObjectFactory 04658 { 04659 public: 04660 04661 virtual ::Ice::ObjectPtr 04662 create(const ::std::string& type) 04663 { 04664 assert(type == ::RobotSimEvents::GoalStateMessage::ice_staticId()); 04665 return new ::RobotSimEvents::GoalStateMessage; 04666 } 04667 04668 virtual void 04669 destroy() 04670 { 04671 } 04672 }; 04673 04674 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__GoalStateMessage_Ptr = new __F__RobotSimEvents__GoalStateMessage; 04675 04676 const ::Ice::ObjectFactoryPtr& 04677 RobotSimEvents::GoalStateMessage::ice_factory() 04678 { 04679 return __F__RobotSimEvents__GoalStateMessage_Ptr; 04680 } 04681 04682 class __F__RobotSimEvents__GoalStateMessage__Init 04683 { 04684 public: 04685 04686 __F__RobotSimEvents__GoalStateMessage__Init() 04687 { 04688 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::GoalStateMessage::ice_staticId(), ::RobotSimEvents::GoalStateMessage::ice_factory()); 04689 } 04690 04691 ~__F__RobotSimEvents__GoalStateMessage__Init() 04692 { 04693 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::GoalStateMessage::ice_staticId()); 04694 } 04695 }; 04696 04697 static __F__RobotSimEvents__GoalStateMessage__Init __F__RobotSimEvents__GoalStateMessage__i; 04698 04699 #ifdef __APPLE__ 04700 extern "C" { void __F__RobotSimEvents__GoalStateMessage__initializer() {} } 04701 #endif 04702 04703 void 04704 RobotSimEvents::__patch__GoalStateMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04705 { 04706 ::RobotSimEvents::GoalStateMessagePtr* p = static_cast< ::RobotSimEvents::GoalStateMessagePtr*>(__addr); 04707 assert(p); 04708 *p = ::RobotSimEvents::GoalStateMessagePtr::dynamicCast(v); 04709 if(v && !*p) 04710 { 04711 IceInternal::Ex::throwUOE(::RobotSimEvents::GoalStateMessage::ice_staticId(), v->ice_id()); 04712 } 04713 } 04714 04715 bool 04716 RobotSimEvents::operator==(const ::RobotSimEvents::GoalStateMessage& l, const ::RobotSimEvents::GoalStateMessage& r) 04717 { 04718 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04719 } 04720 04721 bool 04722 RobotSimEvents::operator<(const ::RobotSimEvents::GoalStateMessage& l, const ::RobotSimEvents::GoalStateMessage& r) 04723 { 04724 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04725 } 04726 04727 RobotSimEvents::GoalProgressMessage::GoalProgressMessage(::Ice::Float __ice_err) : 04728 err(__ice_err) 04729 { 04730 } 04731 04732 ::Ice::ObjectPtr 04733 RobotSimEvents::GoalProgressMessage::ice_clone() const 04734 { 04735 ::RobotSimEvents::GoalProgressMessagePtr __p = new ::RobotSimEvents::GoalProgressMessage(*this); 04736 return __p; 04737 } 04738 04739 static const ::std::string __RobotSimEvents__GoalProgressMessage_ids[3] = 04740 { 04741 "::Ice::Object", 04742 "::RobotSimEvents::EventMessage", 04743 "::RobotSimEvents::GoalProgressMessage" 04744 }; 04745 04746 bool 04747 RobotSimEvents::GoalProgressMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04748 { 04749 return ::std::binary_search(__RobotSimEvents__GoalProgressMessage_ids, __RobotSimEvents__GoalProgressMessage_ids + 3, _s); 04750 } 04751 04752 ::std::vector< ::std::string> 04753 RobotSimEvents::GoalProgressMessage::ice_ids(const ::Ice::Current&) const 04754 { 04755 return ::std::vector< ::std::string>(&__RobotSimEvents__GoalProgressMessage_ids[0], &__RobotSimEvents__GoalProgressMessage_ids[3]); 04756 } 04757 04758 const ::std::string& 04759 RobotSimEvents::GoalProgressMessage::ice_id(const ::Ice::Current&) const 04760 { 04761 return __RobotSimEvents__GoalProgressMessage_ids[2]; 04762 } 04763 04764 const ::std::string& 04765 RobotSimEvents::GoalProgressMessage::ice_staticId() 04766 { 04767 return __RobotSimEvents__GoalProgressMessage_ids[2]; 04768 } 04769 04770 void 04771 RobotSimEvents::GoalProgressMessage::__write(::IceInternal::BasicStream* __os) const 04772 { 04773 __os->writeTypeId(ice_staticId()); 04774 __os->startWriteSlice(); 04775 __os->write(err); 04776 __os->endWriteSlice(); 04777 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04778 EventMessage::__write(__os); 04779 #else 04780 ::RobotSimEvents::EventMessage::__write(__os); 04781 #endif 04782 } 04783 04784 void 04785 RobotSimEvents::GoalProgressMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04786 { 04787 if(__rid) 04788 { 04789 ::std::string myId; 04790 __is->readTypeId(myId); 04791 } 04792 __is->startReadSlice(); 04793 __is->read(err); 04794 __is->endReadSlice(); 04795 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04796 EventMessage::__read(__is, true); 04797 #else 04798 ::RobotSimEvents::EventMessage::__read(__is, true); 04799 #endif 04800 } 04801 04802 void 04803 RobotSimEvents::GoalProgressMessage::__write(const ::Ice::OutputStreamPtr&) const 04804 { 04805 Ice::MarshalException ex(__FILE__, __LINE__); 04806 ex.reason = "type RobotSimEvents::GoalProgressMessage was not generated with stream support"; 04807 throw ex; 04808 } 04809 04810 void 04811 RobotSimEvents::GoalProgressMessage::__read(const ::Ice::InputStreamPtr&, bool) 04812 { 04813 Ice::MarshalException ex(__FILE__, __LINE__); 04814 ex.reason = "type RobotSimEvents::GoalProgressMessage was not generated with stream support"; 04815 throw ex; 04816 } 04817 04818 class __F__RobotSimEvents__GoalProgressMessage : public ::Ice::ObjectFactory 04819 { 04820 public: 04821 04822 virtual ::Ice::ObjectPtr 04823 create(const ::std::string& type) 04824 { 04825 assert(type == ::RobotSimEvents::GoalProgressMessage::ice_staticId()); 04826 return new ::RobotSimEvents::GoalProgressMessage; 04827 } 04828 04829 virtual void 04830 destroy() 04831 { 04832 } 04833 }; 04834 04835 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__GoalProgressMessage_Ptr = new __F__RobotSimEvents__GoalProgressMessage; 04836 04837 const ::Ice::ObjectFactoryPtr& 04838 RobotSimEvents::GoalProgressMessage::ice_factory() 04839 { 04840 return __F__RobotSimEvents__GoalProgressMessage_Ptr; 04841 } 04842 04843 class __F__RobotSimEvents__GoalProgressMessage__Init 04844 { 04845 public: 04846 04847 __F__RobotSimEvents__GoalProgressMessage__Init() 04848 { 04849 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::GoalProgressMessage::ice_staticId(), ::RobotSimEvents::GoalProgressMessage::ice_factory()); 04850 } 04851 04852 ~__F__RobotSimEvents__GoalProgressMessage__Init() 04853 { 04854 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::GoalProgressMessage::ice_staticId()); 04855 } 04856 }; 04857 04858 static __F__RobotSimEvents__GoalProgressMessage__Init __F__RobotSimEvents__GoalProgressMessage__i; 04859 04860 #ifdef __APPLE__ 04861 extern "C" { void __F__RobotSimEvents__GoalProgressMessage__initializer() {} } 04862 #endif 04863 04864 void 04865 RobotSimEvents::__patch__GoalProgressMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 04866 { 04867 ::RobotSimEvents::GoalProgressMessagePtr* p = static_cast< ::RobotSimEvents::GoalProgressMessagePtr*>(__addr); 04868 assert(p); 04869 *p = ::RobotSimEvents::GoalProgressMessagePtr::dynamicCast(v); 04870 if(v && !*p) 04871 { 04872 IceInternal::Ex::throwUOE(::RobotSimEvents::GoalProgressMessage::ice_staticId(), v->ice_id()); 04873 } 04874 } 04875 04876 bool 04877 RobotSimEvents::operator==(const ::RobotSimEvents::GoalProgressMessage& l, const ::RobotSimEvents::GoalProgressMessage& r) 04878 { 04879 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 04880 } 04881 04882 bool 04883 RobotSimEvents::operator<(const ::RobotSimEvents::GoalProgressMessage& l, const ::RobotSimEvents::GoalProgressMessage& r) 04884 { 04885 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 04886 } 04887 04888 RobotSimEvents::AttendedRegionMessage::AttendedRegionMessage(const ::ImageIceMod::ImageIce& __ice_img, ::Ice::Int __ice_objId, const ::std::string& __ice_name, ::Ice::Float __ice_objWidth, ::Ice::Float __ice_objHeight, const ::ImageIceMod::Point2DIce& __ice_attTopLeft, ::Ice::Int __ice_attWidth, ::Ice::Int __ice_attHeight) : 04889 img(__ice_img), 04890 objId(__ice_objId), 04891 name(__ice_name), 04892 objWidth(__ice_objWidth), 04893 objHeight(__ice_objHeight), 04894 attTopLeft(__ice_attTopLeft), 04895 attWidth(__ice_attWidth), 04896 attHeight(__ice_attHeight) 04897 { 04898 } 04899 04900 ::Ice::ObjectPtr 04901 RobotSimEvents::AttendedRegionMessage::ice_clone() const 04902 { 04903 ::RobotSimEvents::AttendedRegionMessagePtr __p = new ::RobotSimEvents::AttendedRegionMessage(*this); 04904 return __p; 04905 } 04906 04907 static const ::std::string __RobotSimEvents__AttendedRegionMessage_ids[3] = 04908 { 04909 "::Ice::Object", 04910 "::RobotSimEvents::AttendedRegionMessage", 04911 "::RobotSimEvents::EventMessage" 04912 }; 04913 04914 bool 04915 RobotSimEvents::AttendedRegionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 04916 { 04917 return ::std::binary_search(__RobotSimEvents__AttendedRegionMessage_ids, __RobotSimEvents__AttendedRegionMessage_ids + 3, _s); 04918 } 04919 04920 ::std::vector< ::std::string> 04921 RobotSimEvents::AttendedRegionMessage::ice_ids(const ::Ice::Current&) const 04922 { 04923 return ::std::vector< ::std::string>(&__RobotSimEvents__AttendedRegionMessage_ids[0], &__RobotSimEvents__AttendedRegionMessage_ids[3]); 04924 } 04925 04926 const ::std::string& 04927 RobotSimEvents::AttendedRegionMessage::ice_id(const ::Ice::Current&) const 04928 { 04929 return __RobotSimEvents__AttendedRegionMessage_ids[1]; 04930 } 04931 04932 const ::std::string& 04933 RobotSimEvents::AttendedRegionMessage::ice_staticId() 04934 { 04935 return __RobotSimEvents__AttendedRegionMessage_ids[1]; 04936 } 04937 04938 void 04939 RobotSimEvents::AttendedRegionMessage::__write(::IceInternal::BasicStream* __os) const 04940 { 04941 __os->writeTypeId(ice_staticId()); 04942 __os->startWriteSlice(); 04943 img.__write(__os); 04944 __os->write(objId); 04945 __os->write(name); 04946 __os->write(objWidth); 04947 __os->write(objHeight); 04948 attTopLeft.__write(__os); 04949 __os->write(attWidth); 04950 __os->write(attHeight); 04951 __os->endWriteSlice(); 04952 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04953 EventMessage::__write(__os); 04954 #else 04955 ::RobotSimEvents::EventMessage::__write(__os); 04956 #endif 04957 } 04958 04959 void 04960 RobotSimEvents::AttendedRegionMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 04961 { 04962 if(__rid) 04963 { 04964 ::std::string myId; 04965 __is->readTypeId(myId); 04966 } 04967 __is->startReadSlice(); 04968 img.__read(__is); 04969 __is->read(objId); 04970 __is->read(name); 04971 __is->read(objWidth); 04972 __is->read(objHeight); 04973 attTopLeft.__read(__is); 04974 __is->read(attWidth); 04975 __is->read(attHeight); 04976 __is->endReadSlice(); 04977 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 04978 EventMessage::__read(__is, true); 04979 #else 04980 ::RobotSimEvents::EventMessage::__read(__is, true); 04981 #endif 04982 } 04983 04984 void 04985 RobotSimEvents::AttendedRegionMessage::__write(const ::Ice::OutputStreamPtr&) const 04986 { 04987 Ice::MarshalException ex(__FILE__, __LINE__); 04988 ex.reason = "type RobotSimEvents::AttendedRegionMessage was not generated with stream support"; 04989 throw ex; 04990 } 04991 04992 void 04993 RobotSimEvents::AttendedRegionMessage::__read(const ::Ice::InputStreamPtr&, bool) 04994 { 04995 Ice::MarshalException ex(__FILE__, __LINE__); 04996 ex.reason = "type RobotSimEvents::AttendedRegionMessage was not generated with stream support"; 04997 throw ex; 04998 } 04999 05000 class __F__RobotSimEvents__AttendedRegionMessage : public ::Ice::ObjectFactory 05001 { 05002 public: 05003 05004 virtual ::Ice::ObjectPtr 05005 create(const ::std::string& type) 05006 { 05007 assert(type == ::RobotSimEvents::AttendedRegionMessage::ice_staticId()); 05008 return new ::RobotSimEvents::AttendedRegionMessage; 05009 } 05010 05011 virtual void 05012 destroy() 05013 { 05014 } 05015 }; 05016 05017 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__AttendedRegionMessage_Ptr = new __F__RobotSimEvents__AttendedRegionMessage; 05018 05019 const ::Ice::ObjectFactoryPtr& 05020 RobotSimEvents::AttendedRegionMessage::ice_factory() 05021 { 05022 return __F__RobotSimEvents__AttendedRegionMessage_Ptr; 05023 } 05024 05025 class __F__RobotSimEvents__AttendedRegionMessage__Init 05026 { 05027 public: 05028 05029 __F__RobotSimEvents__AttendedRegionMessage__Init() 05030 { 05031 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::AttendedRegionMessage::ice_staticId(), ::RobotSimEvents::AttendedRegionMessage::ice_factory()); 05032 } 05033 05034 ~__F__RobotSimEvents__AttendedRegionMessage__Init() 05035 { 05036 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::AttendedRegionMessage::ice_staticId()); 05037 } 05038 }; 05039 05040 static __F__RobotSimEvents__AttendedRegionMessage__Init __F__RobotSimEvents__AttendedRegionMessage__i; 05041 05042 #ifdef __APPLE__ 05043 extern "C" { void __F__RobotSimEvents__AttendedRegionMessage__initializer() {} } 05044 #endif 05045 05046 void 05047 RobotSimEvents::__patch__AttendedRegionMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05048 { 05049 ::RobotSimEvents::AttendedRegionMessagePtr* p = static_cast< ::RobotSimEvents::AttendedRegionMessagePtr*>(__addr); 05050 assert(p); 05051 *p = ::RobotSimEvents::AttendedRegionMessagePtr::dynamicCast(v); 05052 if(v && !*p) 05053 { 05054 IceInternal::Ex::throwUOE(::RobotSimEvents::AttendedRegionMessage::ice_staticId(), v->ice_id()); 05055 } 05056 } 05057 05058 bool 05059 RobotSimEvents::operator==(const ::RobotSimEvents::AttendedRegionMessage& l, const ::RobotSimEvents::AttendedRegionMessage& r) 05060 { 05061 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05062 } 05063 05064 bool 05065 RobotSimEvents::operator<(const ::RobotSimEvents::AttendedRegionMessage& l, const ::RobotSimEvents::AttendedRegionMessage& r) 05066 { 05067 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05068 } 05069 05070 RobotSimEvents::ObjectMessage::ObjectMessage(::Ice::Int __ice_id, const ::std::string& __ice_name, ::Ice::Float __ice_score, ::Ice::Int __ice_nKeyp, ::Ice::Float __ice_dist, const ::ImageIceMod::Point2DIce& __ice_tl, const ::ImageIceMod::Point2DIce& __ice_tr, const ::ImageIceMod::Point2DIce& __ice_br, const ::ImageIceMod::Point2DIce& __ice_bl) : 05071 id(__ice_id), 05072 name(__ice_name), 05073 score(__ice_score), 05074 nKeyp(__ice_nKeyp), 05075 dist(__ice_dist), 05076 tl(__ice_tl), 05077 tr(__ice_tr), 05078 br(__ice_br), 05079 bl(__ice_bl) 05080 { 05081 } 05082 05083 ::Ice::ObjectPtr 05084 RobotSimEvents::ObjectMessage::ice_clone() const 05085 { 05086 ::RobotSimEvents::ObjectMessagePtr __p = new ::RobotSimEvents::ObjectMessage(*this); 05087 return __p; 05088 } 05089 05090 static const ::std::string __RobotSimEvents__ObjectMessage_ids[3] = 05091 { 05092 "::Ice::Object", 05093 "::RobotSimEvents::EventMessage", 05094 "::RobotSimEvents::ObjectMessage" 05095 }; 05096 05097 bool 05098 RobotSimEvents::ObjectMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05099 { 05100 return ::std::binary_search(__RobotSimEvents__ObjectMessage_ids, __RobotSimEvents__ObjectMessage_ids + 3, _s); 05101 } 05102 05103 ::std::vector< ::std::string> 05104 RobotSimEvents::ObjectMessage::ice_ids(const ::Ice::Current&) const 05105 { 05106 return ::std::vector< ::std::string>(&__RobotSimEvents__ObjectMessage_ids[0], &__RobotSimEvents__ObjectMessage_ids[3]); 05107 } 05108 05109 const ::std::string& 05110 RobotSimEvents::ObjectMessage::ice_id(const ::Ice::Current&) const 05111 { 05112 return __RobotSimEvents__ObjectMessage_ids[2]; 05113 } 05114 05115 const ::std::string& 05116 RobotSimEvents::ObjectMessage::ice_staticId() 05117 { 05118 return __RobotSimEvents__ObjectMessage_ids[2]; 05119 } 05120 05121 void 05122 RobotSimEvents::ObjectMessage::__write(::IceInternal::BasicStream* __os) const 05123 { 05124 __os->writeTypeId(ice_staticId()); 05125 __os->startWriteSlice(); 05126 __os->write(id); 05127 __os->write(name); 05128 __os->write(score); 05129 __os->write(nKeyp); 05130 __os->write(dist); 05131 tl.__write(__os); 05132 tr.__write(__os); 05133 br.__write(__os); 05134 bl.__write(__os); 05135 __os->endWriteSlice(); 05136 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05137 EventMessage::__write(__os); 05138 #else 05139 ::RobotSimEvents::EventMessage::__write(__os); 05140 #endif 05141 } 05142 05143 void 05144 RobotSimEvents::ObjectMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 05145 { 05146 if(__rid) 05147 { 05148 ::std::string myId; 05149 __is->readTypeId(myId); 05150 } 05151 __is->startReadSlice(); 05152 __is->read(id); 05153 __is->read(name); 05154 __is->read(score); 05155 __is->read(nKeyp); 05156 __is->read(dist); 05157 tl.__read(__is); 05158 tr.__read(__is); 05159 br.__read(__is); 05160 bl.__read(__is); 05161 __is->endReadSlice(); 05162 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05163 EventMessage::__read(__is, true); 05164 #else 05165 ::RobotSimEvents::EventMessage::__read(__is, true); 05166 #endif 05167 } 05168 05169 void 05170 RobotSimEvents::ObjectMessage::__write(const ::Ice::OutputStreamPtr&) const 05171 { 05172 Ice::MarshalException ex(__FILE__, __LINE__); 05173 ex.reason = "type RobotSimEvents::ObjectMessage was not generated with stream support"; 05174 throw ex; 05175 } 05176 05177 void 05178 RobotSimEvents::ObjectMessage::__read(const ::Ice::InputStreamPtr&, bool) 05179 { 05180 Ice::MarshalException ex(__FILE__, __LINE__); 05181 ex.reason = "type RobotSimEvents::ObjectMessage was not generated with stream support"; 05182 throw ex; 05183 } 05184 05185 class __F__RobotSimEvents__ObjectMessage : public ::Ice::ObjectFactory 05186 { 05187 public: 05188 05189 virtual ::Ice::ObjectPtr 05190 create(const ::std::string& type) 05191 { 05192 assert(type == ::RobotSimEvents::ObjectMessage::ice_staticId()); 05193 return new ::RobotSimEvents::ObjectMessage; 05194 } 05195 05196 virtual void 05197 destroy() 05198 { 05199 } 05200 }; 05201 05202 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__ObjectMessage_Ptr = new __F__RobotSimEvents__ObjectMessage; 05203 05204 const ::Ice::ObjectFactoryPtr& 05205 RobotSimEvents::ObjectMessage::ice_factory() 05206 { 05207 return __F__RobotSimEvents__ObjectMessage_Ptr; 05208 } 05209 05210 class __F__RobotSimEvents__ObjectMessage__Init 05211 { 05212 public: 05213 05214 __F__RobotSimEvents__ObjectMessage__Init() 05215 { 05216 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::ObjectMessage::ice_staticId(), ::RobotSimEvents::ObjectMessage::ice_factory()); 05217 } 05218 05219 ~__F__RobotSimEvents__ObjectMessage__Init() 05220 { 05221 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::ObjectMessage::ice_staticId()); 05222 } 05223 }; 05224 05225 static __F__RobotSimEvents__ObjectMessage__Init __F__RobotSimEvents__ObjectMessage__i; 05226 05227 #ifdef __APPLE__ 05228 extern "C" { void __F__RobotSimEvents__ObjectMessage__initializer() {} } 05229 #endif 05230 05231 void 05232 RobotSimEvents::__patch__ObjectMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05233 { 05234 ::RobotSimEvents::ObjectMessagePtr* p = static_cast< ::RobotSimEvents::ObjectMessagePtr*>(__addr); 05235 assert(p); 05236 *p = ::RobotSimEvents::ObjectMessagePtr::dynamicCast(v); 05237 if(v && !*p) 05238 { 05239 IceInternal::Ex::throwUOE(::RobotSimEvents::ObjectMessage::ice_staticId(), v->ice_id()); 05240 } 05241 } 05242 05243 bool 05244 RobotSimEvents::operator==(const ::RobotSimEvents::ObjectMessage& l, const ::RobotSimEvents::ObjectMessage& r) 05245 { 05246 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05247 } 05248 05249 bool 05250 RobotSimEvents::operator<(const ::RobotSimEvents::ObjectMessage& l, const ::RobotSimEvents::ObjectMessage& r) 05251 { 05252 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05253 } 05254 05255 RobotSimEvents::SeaBeePositionMessage::SeaBeePositionMessage(::Ice::Float __ice_x, ::Ice::Float __ice_y, ::Ice::Float __ice_orientation, ::Ice::Float __ice_xVar, ::Ice::Float __ice_yVar) : 05256 x(__ice_x), 05257 y(__ice_y), 05258 orientation(__ice_orientation), 05259 xVar(__ice_xVar), 05260 yVar(__ice_yVar) 05261 { 05262 } 05263 05264 ::Ice::ObjectPtr 05265 RobotSimEvents::SeaBeePositionMessage::ice_clone() const 05266 { 05267 ::RobotSimEvents::SeaBeePositionMessagePtr __p = new ::RobotSimEvents::SeaBeePositionMessage(*this); 05268 return __p; 05269 } 05270 05271 static const ::std::string __RobotSimEvents__SeaBeePositionMessage_ids[3] = 05272 { 05273 "::Ice::Object", 05274 "::RobotSimEvents::EventMessage", 05275 "::RobotSimEvents::SeaBeePositionMessage" 05276 }; 05277 05278 bool 05279 RobotSimEvents::SeaBeePositionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05280 { 05281 return ::std::binary_search(__RobotSimEvents__SeaBeePositionMessage_ids, __RobotSimEvents__SeaBeePositionMessage_ids + 3, _s); 05282 } 05283 05284 ::std::vector< ::std::string> 05285 RobotSimEvents::SeaBeePositionMessage::ice_ids(const ::Ice::Current&) const 05286 { 05287 return ::std::vector< ::std::string>(&__RobotSimEvents__SeaBeePositionMessage_ids[0], &__RobotSimEvents__SeaBeePositionMessage_ids[3]); 05288 } 05289 05290 const ::std::string& 05291 RobotSimEvents::SeaBeePositionMessage::ice_id(const ::Ice::Current&) const 05292 { 05293 return __RobotSimEvents__SeaBeePositionMessage_ids[2]; 05294 } 05295 05296 const ::std::string& 05297 RobotSimEvents::SeaBeePositionMessage::ice_staticId() 05298 { 05299 return __RobotSimEvents__SeaBeePositionMessage_ids[2]; 05300 } 05301 05302 void 05303 RobotSimEvents::SeaBeePositionMessage::__write(::IceInternal::BasicStream* __os) const 05304 { 05305 __os->writeTypeId(ice_staticId()); 05306 __os->startWriteSlice(); 05307 __os->write(x); 05308 __os->write(y); 05309 __os->write(orientation); 05310 __os->write(xVar); 05311 __os->write(yVar); 05312 __os->endWriteSlice(); 05313 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05314 EventMessage::__write(__os); 05315 #else 05316 ::RobotSimEvents::EventMessage::__write(__os); 05317 #endif 05318 } 05319 05320 void 05321 RobotSimEvents::SeaBeePositionMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 05322 { 05323 if(__rid) 05324 { 05325 ::std::string myId; 05326 __is->readTypeId(myId); 05327 } 05328 __is->startReadSlice(); 05329 __is->read(x); 05330 __is->read(y); 05331 __is->read(orientation); 05332 __is->read(xVar); 05333 __is->read(yVar); 05334 __is->endReadSlice(); 05335 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05336 EventMessage::__read(__is, true); 05337 #else 05338 ::RobotSimEvents::EventMessage::__read(__is, true); 05339 #endif 05340 } 05341 05342 void 05343 RobotSimEvents::SeaBeePositionMessage::__write(const ::Ice::OutputStreamPtr&) const 05344 { 05345 Ice::MarshalException ex(__FILE__, __LINE__); 05346 ex.reason = "type RobotSimEvents::SeaBeePositionMessage was not generated with stream support"; 05347 throw ex; 05348 } 05349 05350 void 05351 RobotSimEvents::SeaBeePositionMessage::__read(const ::Ice::InputStreamPtr&, bool) 05352 { 05353 Ice::MarshalException ex(__FILE__, __LINE__); 05354 ex.reason = "type RobotSimEvents::SeaBeePositionMessage was not generated with stream support"; 05355 throw ex; 05356 } 05357 05358 class __F__RobotSimEvents__SeaBeePositionMessage : public ::Ice::ObjectFactory 05359 { 05360 public: 05361 05362 virtual ::Ice::ObjectPtr 05363 create(const ::std::string& type) 05364 { 05365 assert(type == ::RobotSimEvents::SeaBeePositionMessage::ice_staticId()); 05366 return new ::RobotSimEvents::SeaBeePositionMessage; 05367 } 05368 05369 virtual void 05370 destroy() 05371 { 05372 } 05373 }; 05374 05375 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__SeaBeePositionMessage_Ptr = new __F__RobotSimEvents__SeaBeePositionMessage; 05376 05377 const ::Ice::ObjectFactoryPtr& 05378 RobotSimEvents::SeaBeePositionMessage::ice_factory() 05379 { 05380 return __F__RobotSimEvents__SeaBeePositionMessage_Ptr; 05381 } 05382 05383 class __F__RobotSimEvents__SeaBeePositionMessage__Init 05384 { 05385 public: 05386 05387 __F__RobotSimEvents__SeaBeePositionMessage__Init() 05388 { 05389 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::SeaBeePositionMessage::ice_staticId(), ::RobotSimEvents::SeaBeePositionMessage::ice_factory()); 05390 } 05391 05392 ~__F__RobotSimEvents__SeaBeePositionMessage__Init() 05393 { 05394 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::SeaBeePositionMessage::ice_staticId()); 05395 } 05396 }; 05397 05398 static __F__RobotSimEvents__SeaBeePositionMessage__Init __F__RobotSimEvents__SeaBeePositionMessage__i; 05399 05400 #ifdef __APPLE__ 05401 extern "C" { void __F__RobotSimEvents__SeaBeePositionMessage__initializer() {} } 05402 #endif 05403 05404 void 05405 RobotSimEvents::__patch__SeaBeePositionMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05406 { 05407 ::RobotSimEvents::SeaBeePositionMessagePtr* p = static_cast< ::RobotSimEvents::SeaBeePositionMessagePtr*>(__addr); 05408 assert(p); 05409 *p = ::RobotSimEvents::SeaBeePositionMessagePtr::dynamicCast(v); 05410 if(v && !*p) 05411 { 05412 IceInternal::Ex::throwUOE(::RobotSimEvents::SeaBeePositionMessage::ice_staticId(), v->ice_id()); 05413 } 05414 } 05415 05416 bool 05417 RobotSimEvents::operator==(const ::RobotSimEvents::SeaBeePositionMessage& l, const ::RobotSimEvents::SeaBeePositionMessage& r) 05418 { 05419 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05420 } 05421 05422 bool 05423 RobotSimEvents::operator<(const ::RobotSimEvents::SeaBeePositionMessage& l, const ::RobotSimEvents::SeaBeePositionMessage& r) 05424 { 05425 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05426 } 05427 05428 RobotSimEvents::SeaBeeStateConditionMessage::SeaBeeStateConditionMessage(::Ice::Int __ice_StartOver, ::Ice::Int __ice_InitDone, ::Ice::Int __ice_GateFound, ::Ice::Int __ice_GateDone, ::Ice::Int __ice_ContourFoundFlare, ::Ice::Int __ice_FlareDone, ::Ice::Int __ice_ContourFoundBarbwire, ::Ice::Int __ice_BarbwireDone, ::Ice::Int __ice_ContourFoundBoxes, ::Ice::Int __ice_BombingRunDone, ::Ice::Int __ice_BriefcaseFound, ::Ice::Int __ice_TimeUp, ::Ice::Int __ice_PathFollowFinished) : 05429 StartOver(__ice_StartOver), 05430 InitDone(__ice_InitDone), 05431 GateFound(__ice_GateFound), 05432 GateDone(__ice_GateDone), 05433 ContourFoundFlare(__ice_ContourFoundFlare), 05434 FlareDone(__ice_FlareDone), 05435 ContourFoundBarbwire(__ice_ContourFoundBarbwire), 05436 BarbwireDone(__ice_BarbwireDone), 05437 ContourFoundBoxes(__ice_ContourFoundBoxes), 05438 BombingRunDone(__ice_BombingRunDone), 05439 BriefcaseFound(__ice_BriefcaseFound), 05440 TimeUp(__ice_TimeUp), 05441 PathFollowFinished(__ice_PathFollowFinished) 05442 { 05443 } 05444 05445 ::Ice::ObjectPtr 05446 RobotSimEvents::SeaBeeStateConditionMessage::ice_clone() const 05447 { 05448 ::RobotSimEvents::SeaBeeStateConditionMessagePtr __p = new ::RobotSimEvents::SeaBeeStateConditionMessage(*this); 05449 return __p; 05450 } 05451 05452 static const ::std::string __RobotSimEvents__SeaBeeStateConditionMessage_ids[3] = 05453 { 05454 "::Ice::Object", 05455 "::RobotSimEvents::EventMessage", 05456 "::RobotSimEvents::SeaBeeStateConditionMessage" 05457 }; 05458 05459 bool 05460 RobotSimEvents::SeaBeeStateConditionMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05461 { 05462 return ::std::binary_search(__RobotSimEvents__SeaBeeStateConditionMessage_ids, __RobotSimEvents__SeaBeeStateConditionMessage_ids + 3, _s); 05463 } 05464 05465 ::std::vector< ::std::string> 05466 RobotSimEvents::SeaBeeStateConditionMessage::ice_ids(const ::Ice::Current&) const 05467 { 05468 return ::std::vector< ::std::string>(&__RobotSimEvents__SeaBeeStateConditionMessage_ids[0], &__RobotSimEvents__SeaBeeStateConditionMessage_ids[3]); 05469 } 05470 05471 const ::std::string& 05472 RobotSimEvents::SeaBeeStateConditionMessage::ice_id(const ::Ice::Current&) const 05473 { 05474 return __RobotSimEvents__SeaBeeStateConditionMessage_ids[2]; 05475 } 05476 05477 const ::std::string& 05478 RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId() 05479 { 05480 return __RobotSimEvents__SeaBeeStateConditionMessage_ids[2]; 05481 } 05482 05483 void 05484 RobotSimEvents::SeaBeeStateConditionMessage::__write(::IceInternal::BasicStream* __os) const 05485 { 05486 __os->writeTypeId(ice_staticId()); 05487 __os->startWriteSlice(); 05488 __os->write(StartOver); 05489 __os->write(InitDone); 05490 __os->write(GateFound); 05491 __os->write(GateDone); 05492 __os->write(ContourFoundFlare); 05493 __os->write(FlareDone); 05494 __os->write(ContourFoundBarbwire); 05495 __os->write(BarbwireDone); 05496 __os->write(ContourFoundBoxes); 05497 __os->write(BombingRunDone); 05498 __os->write(BriefcaseFound); 05499 __os->write(TimeUp); 05500 __os->write(PathFollowFinished); 05501 __os->endWriteSlice(); 05502 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05503 EventMessage::__write(__os); 05504 #else 05505 ::RobotSimEvents::EventMessage::__write(__os); 05506 #endif 05507 } 05508 05509 void 05510 RobotSimEvents::SeaBeeStateConditionMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 05511 { 05512 if(__rid) 05513 { 05514 ::std::string myId; 05515 __is->readTypeId(myId); 05516 } 05517 __is->startReadSlice(); 05518 __is->read(StartOver); 05519 __is->read(InitDone); 05520 __is->read(GateFound); 05521 __is->read(GateDone); 05522 __is->read(ContourFoundFlare); 05523 __is->read(FlareDone); 05524 __is->read(ContourFoundBarbwire); 05525 __is->read(BarbwireDone); 05526 __is->read(ContourFoundBoxes); 05527 __is->read(BombingRunDone); 05528 __is->read(BriefcaseFound); 05529 __is->read(TimeUp); 05530 __is->read(PathFollowFinished); 05531 __is->endReadSlice(); 05532 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05533 EventMessage::__read(__is, true); 05534 #else 05535 ::RobotSimEvents::EventMessage::__read(__is, true); 05536 #endif 05537 } 05538 05539 void 05540 RobotSimEvents::SeaBeeStateConditionMessage::__write(const ::Ice::OutputStreamPtr&) const 05541 { 05542 Ice::MarshalException ex(__FILE__, __LINE__); 05543 ex.reason = "type RobotSimEvents::SeaBeeStateConditionMessage was not generated with stream support"; 05544 throw ex; 05545 } 05546 05547 void 05548 RobotSimEvents::SeaBeeStateConditionMessage::__read(const ::Ice::InputStreamPtr&, bool) 05549 { 05550 Ice::MarshalException ex(__FILE__, __LINE__); 05551 ex.reason = "type RobotSimEvents::SeaBeeStateConditionMessage was not generated with stream support"; 05552 throw ex; 05553 } 05554 05555 class __F__RobotSimEvents__SeaBeeStateConditionMessage : public ::Ice::ObjectFactory 05556 { 05557 public: 05558 05559 virtual ::Ice::ObjectPtr 05560 create(const ::std::string& type) 05561 { 05562 assert(type == ::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId()); 05563 return new ::RobotSimEvents::SeaBeeStateConditionMessage; 05564 } 05565 05566 virtual void 05567 destroy() 05568 { 05569 } 05570 }; 05571 05572 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__SeaBeeStateConditionMessage_Ptr = new __F__RobotSimEvents__SeaBeeStateConditionMessage; 05573 05574 const ::Ice::ObjectFactoryPtr& 05575 RobotSimEvents::SeaBeeStateConditionMessage::ice_factory() 05576 { 05577 return __F__RobotSimEvents__SeaBeeStateConditionMessage_Ptr; 05578 } 05579 05580 class __F__RobotSimEvents__SeaBeeStateConditionMessage__Init 05581 { 05582 public: 05583 05584 __F__RobotSimEvents__SeaBeeStateConditionMessage__Init() 05585 { 05586 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId(), ::RobotSimEvents::SeaBeeStateConditionMessage::ice_factory()); 05587 } 05588 05589 ~__F__RobotSimEvents__SeaBeeStateConditionMessage__Init() 05590 { 05591 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId()); 05592 } 05593 }; 05594 05595 static __F__RobotSimEvents__SeaBeeStateConditionMessage__Init __F__RobotSimEvents__SeaBeeStateConditionMessage__i; 05596 05597 #ifdef __APPLE__ 05598 extern "C" { void __F__RobotSimEvents__SeaBeeStateConditionMessage__initializer() {} } 05599 #endif 05600 05601 void 05602 RobotSimEvents::__patch__SeaBeeStateConditionMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05603 { 05604 ::RobotSimEvents::SeaBeeStateConditionMessagePtr* p = static_cast< ::RobotSimEvents::SeaBeeStateConditionMessagePtr*>(__addr); 05605 assert(p); 05606 *p = ::RobotSimEvents::SeaBeeStateConditionMessagePtr::dynamicCast(v); 05607 if(v && !*p) 05608 { 05609 IceInternal::Ex::throwUOE(::RobotSimEvents::SeaBeeStateConditionMessage::ice_staticId(), v->ice_id()); 05610 } 05611 } 05612 05613 bool 05614 RobotSimEvents::operator==(const ::RobotSimEvents::SeaBeeStateConditionMessage& l, const ::RobotSimEvents::SeaBeeStateConditionMessage& r) 05615 { 05616 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05617 } 05618 05619 bool 05620 RobotSimEvents::operator<(const ::RobotSimEvents::SeaBeeStateConditionMessage& l, const ::RobotSimEvents::SeaBeeStateConditionMessage& r) 05621 { 05622 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05623 } 05624 05625 RobotSimEvents::VisionRectangleMessage::VisionRectangleMessage(const ::RobotSimEvents::QuadrilateralIceVector& __ice_quads, bool __ice_isFwdCamera) : 05626 quads(__ice_quads), 05627 isFwdCamera(__ice_isFwdCamera) 05628 { 05629 } 05630 05631 ::Ice::ObjectPtr 05632 RobotSimEvents::VisionRectangleMessage::ice_clone() const 05633 { 05634 ::RobotSimEvents::VisionRectangleMessagePtr __p = new ::RobotSimEvents::VisionRectangleMessage(*this); 05635 return __p; 05636 } 05637 05638 static const ::std::string __RobotSimEvents__VisionRectangleMessage_ids[3] = 05639 { 05640 "::Ice::Object", 05641 "::RobotSimEvents::EventMessage", 05642 "::RobotSimEvents::VisionRectangleMessage" 05643 }; 05644 05645 bool 05646 RobotSimEvents::VisionRectangleMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05647 { 05648 return ::std::binary_search(__RobotSimEvents__VisionRectangleMessage_ids, __RobotSimEvents__VisionRectangleMessage_ids + 3, _s); 05649 } 05650 05651 ::std::vector< ::std::string> 05652 RobotSimEvents::VisionRectangleMessage::ice_ids(const ::Ice::Current&) const 05653 { 05654 return ::std::vector< ::std::string>(&__RobotSimEvents__VisionRectangleMessage_ids[0], &__RobotSimEvents__VisionRectangleMessage_ids[3]); 05655 } 05656 05657 const ::std::string& 05658 RobotSimEvents::VisionRectangleMessage::ice_id(const ::Ice::Current&) const 05659 { 05660 return __RobotSimEvents__VisionRectangleMessage_ids[2]; 05661 } 05662 05663 const ::std::string& 05664 RobotSimEvents::VisionRectangleMessage::ice_staticId() 05665 { 05666 return __RobotSimEvents__VisionRectangleMessage_ids[2]; 05667 } 05668 05669 void 05670 RobotSimEvents::VisionRectangleMessage::__write(::IceInternal::BasicStream* __os) const 05671 { 05672 __os->writeTypeId(ice_staticId()); 05673 __os->startWriteSlice(); 05674 if(quads.size() == 0) 05675 { 05676 __os->writeSize(0); 05677 } 05678 else 05679 { 05680 ::RobotSimEvents::__writeQuadrilateralIceVector(__os, &quads[0], &quads[0] + quads.size()); 05681 } 05682 __os->write(isFwdCamera); 05683 __os->endWriteSlice(); 05684 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05685 EventMessage::__write(__os); 05686 #else 05687 ::RobotSimEvents::EventMessage::__write(__os); 05688 #endif 05689 } 05690 05691 void 05692 RobotSimEvents::VisionRectangleMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 05693 { 05694 if(__rid) 05695 { 05696 ::std::string myId; 05697 __is->readTypeId(myId); 05698 } 05699 __is->startReadSlice(); 05700 ::RobotSimEvents::__readQuadrilateralIceVector(__is, quads); 05701 __is->read(isFwdCamera); 05702 __is->endReadSlice(); 05703 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05704 EventMessage::__read(__is, true); 05705 #else 05706 ::RobotSimEvents::EventMessage::__read(__is, true); 05707 #endif 05708 } 05709 05710 void 05711 RobotSimEvents::VisionRectangleMessage::__write(const ::Ice::OutputStreamPtr&) const 05712 { 05713 Ice::MarshalException ex(__FILE__, __LINE__); 05714 ex.reason = "type RobotSimEvents::VisionRectangleMessage was not generated with stream support"; 05715 throw ex; 05716 } 05717 05718 void 05719 RobotSimEvents::VisionRectangleMessage::__read(const ::Ice::InputStreamPtr&, bool) 05720 { 05721 Ice::MarshalException ex(__FILE__, __LINE__); 05722 ex.reason = "type RobotSimEvents::VisionRectangleMessage was not generated with stream support"; 05723 throw ex; 05724 } 05725 05726 class __F__RobotSimEvents__VisionRectangleMessage : public ::Ice::ObjectFactory 05727 { 05728 public: 05729 05730 virtual ::Ice::ObjectPtr 05731 create(const ::std::string& type) 05732 { 05733 assert(type == ::RobotSimEvents::VisionRectangleMessage::ice_staticId()); 05734 return new ::RobotSimEvents::VisionRectangleMessage; 05735 } 05736 05737 virtual void 05738 destroy() 05739 { 05740 } 05741 }; 05742 05743 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__VisionRectangleMessage_Ptr = new __F__RobotSimEvents__VisionRectangleMessage; 05744 05745 const ::Ice::ObjectFactoryPtr& 05746 RobotSimEvents::VisionRectangleMessage::ice_factory() 05747 { 05748 return __F__RobotSimEvents__VisionRectangleMessage_Ptr; 05749 } 05750 05751 class __F__RobotSimEvents__VisionRectangleMessage__Init 05752 { 05753 public: 05754 05755 __F__RobotSimEvents__VisionRectangleMessage__Init() 05756 { 05757 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::VisionRectangleMessage::ice_staticId(), ::RobotSimEvents::VisionRectangleMessage::ice_factory()); 05758 } 05759 05760 ~__F__RobotSimEvents__VisionRectangleMessage__Init() 05761 { 05762 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::VisionRectangleMessage::ice_staticId()); 05763 } 05764 }; 05765 05766 static __F__RobotSimEvents__VisionRectangleMessage__Init __F__RobotSimEvents__VisionRectangleMessage__i; 05767 05768 #ifdef __APPLE__ 05769 extern "C" { void __F__RobotSimEvents__VisionRectangleMessage__initializer() {} } 05770 #endif 05771 05772 void 05773 RobotSimEvents::__patch__VisionRectangleMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05774 { 05775 ::RobotSimEvents::VisionRectangleMessagePtr* p = static_cast< ::RobotSimEvents::VisionRectangleMessagePtr*>(__addr); 05776 assert(p); 05777 *p = ::RobotSimEvents::VisionRectangleMessagePtr::dynamicCast(v); 05778 if(v && !*p) 05779 { 05780 IceInternal::Ex::throwUOE(::RobotSimEvents::VisionRectangleMessage::ice_staticId(), v->ice_id()); 05781 } 05782 } 05783 05784 bool 05785 RobotSimEvents::operator==(const ::RobotSimEvents::VisionRectangleMessage& l, const ::RobotSimEvents::VisionRectangleMessage& r) 05786 { 05787 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05788 } 05789 05790 bool 05791 RobotSimEvents::operator<(const ::RobotSimEvents::VisionRectangleMessage& l, const ::RobotSimEvents::VisionRectangleMessage& r) 05792 { 05793 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05794 } 05795 05796 RobotSimEvents::StraightEdgeMessage::StraightEdgeMessage(const ::ImageIceMod::LineIce& __ice_line, bool __ice_isFwdCamera) : 05797 line(__ice_line), 05798 isFwdCamera(__ice_isFwdCamera) 05799 { 05800 } 05801 05802 ::Ice::ObjectPtr 05803 RobotSimEvents::StraightEdgeMessage::ice_clone() const 05804 { 05805 ::RobotSimEvents::StraightEdgeMessagePtr __p = new ::RobotSimEvents::StraightEdgeMessage(*this); 05806 return __p; 05807 } 05808 05809 static const ::std::string __RobotSimEvents__StraightEdgeMessage_ids[3] = 05810 { 05811 "::Ice::Object", 05812 "::RobotSimEvents::EventMessage", 05813 "::RobotSimEvents::StraightEdgeMessage" 05814 }; 05815 05816 bool 05817 RobotSimEvents::StraightEdgeMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05818 { 05819 return ::std::binary_search(__RobotSimEvents__StraightEdgeMessage_ids, __RobotSimEvents__StraightEdgeMessage_ids + 3, _s); 05820 } 05821 05822 ::std::vector< ::std::string> 05823 RobotSimEvents::StraightEdgeMessage::ice_ids(const ::Ice::Current&) const 05824 { 05825 return ::std::vector< ::std::string>(&__RobotSimEvents__StraightEdgeMessage_ids[0], &__RobotSimEvents__StraightEdgeMessage_ids[3]); 05826 } 05827 05828 const ::std::string& 05829 RobotSimEvents::StraightEdgeMessage::ice_id(const ::Ice::Current&) const 05830 { 05831 return __RobotSimEvents__StraightEdgeMessage_ids[2]; 05832 } 05833 05834 const ::std::string& 05835 RobotSimEvents::StraightEdgeMessage::ice_staticId() 05836 { 05837 return __RobotSimEvents__StraightEdgeMessage_ids[2]; 05838 } 05839 05840 void 05841 RobotSimEvents::StraightEdgeMessage::__write(::IceInternal::BasicStream* __os) const 05842 { 05843 __os->writeTypeId(ice_staticId()); 05844 __os->startWriteSlice(); 05845 line.__write(__os); 05846 __os->write(isFwdCamera); 05847 __os->endWriteSlice(); 05848 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05849 EventMessage::__write(__os); 05850 #else 05851 ::RobotSimEvents::EventMessage::__write(__os); 05852 #endif 05853 } 05854 05855 void 05856 RobotSimEvents::StraightEdgeMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 05857 { 05858 if(__rid) 05859 { 05860 ::std::string myId; 05861 __is->readTypeId(myId); 05862 } 05863 __is->startReadSlice(); 05864 line.__read(__is); 05865 __is->read(isFwdCamera); 05866 __is->endReadSlice(); 05867 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 05868 EventMessage::__read(__is, true); 05869 #else 05870 ::RobotSimEvents::EventMessage::__read(__is, true); 05871 #endif 05872 } 05873 05874 void 05875 RobotSimEvents::StraightEdgeMessage::__write(const ::Ice::OutputStreamPtr&) const 05876 { 05877 Ice::MarshalException ex(__FILE__, __LINE__); 05878 ex.reason = "type RobotSimEvents::StraightEdgeMessage was not generated with stream support"; 05879 throw ex; 05880 } 05881 05882 void 05883 RobotSimEvents::StraightEdgeMessage::__read(const ::Ice::InputStreamPtr&, bool) 05884 { 05885 Ice::MarshalException ex(__FILE__, __LINE__); 05886 ex.reason = "type RobotSimEvents::StraightEdgeMessage was not generated with stream support"; 05887 throw ex; 05888 } 05889 05890 class __F__RobotSimEvents__StraightEdgeMessage : public ::Ice::ObjectFactory 05891 { 05892 public: 05893 05894 virtual ::Ice::ObjectPtr 05895 create(const ::std::string& type) 05896 { 05897 assert(type == ::RobotSimEvents::StraightEdgeMessage::ice_staticId()); 05898 return new ::RobotSimEvents::StraightEdgeMessage; 05899 } 05900 05901 virtual void 05902 destroy() 05903 { 05904 } 05905 }; 05906 05907 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__StraightEdgeMessage_Ptr = new __F__RobotSimEvents__StraightEdgeMessage; 05908 05909 const ::Ice::ObjectFactoryPtr& 05910 RobotSimEvents::StraightEdgeMessage::ice_factory() 05911 { 05912 return __F__RobotSimEvents__StraightEdgeMessage_Ptr; 05913 } 05914 05915 class __F__RobotSimEvents__StraightEdgeMessage__Init 05916 { 05917 public: 05918 05919 __F__RobotSimEvents__StraightEdgeMessage__Init() 05920 { 05921 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::StraightEdgeMessage::ice_staticId(), ::RobotSimEvents::StraightEdgeMessage::ice_factory()); 05922 } 05923 05924 ~__F__RobotSimEvents__StraightEdgeMessage__Init() 05925 { 05926 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::StraightEdgeMessage::ice_staticId()); 05927 } 05928 }; 05929 05930 static __F__RobotSimEvents__StraightEdgeMessage__Init __F__RobotSimEvents__StraightEdgeMessage__i; 05931 05932 #ifdef __APPLE__ 05933 extern "C" { void __F__RobotSimEvents__StraightEdgeMessage__initializer() {} } 05934 #endif 05935 05936 void 05937 RobotSimEvents::__patch__StraightEdgeMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 05938 { 05939 ::RobotSimEvents::StraightEdgeMessagePtr* p = static_cast< ::RobotSimEvents::StraightEdgeMessagePtr*>(__addr); 05940 assert(p); 05941 *p = ::RobotSimEvents::StraightEdgeMessagePtr::dynamicCast(v); 05942 if(v && !*p) 05943 { 05944 IceInternal::Ex::throwUOE(::RobotSimEvents::StraightEdgeMessage::ice_staticId(), v->ice_id()); 05945 } 05946 } 05947 05948 bool 05949 RobotSimEvents::operator==(const ::RobotSimEvents::StraightEdgeMessage& l, const ::RobotSimEvents::StraightEdgeMessage& r) 05950 { 05951 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 05952 } 05953 05954 bool 05955 RobotSimEvents::operator<(const ::RobotSimEvents::StraightEdgeMessage& l, const ::RobotSimEvents::StraightEdgeMessage& r) 05956 { 05957 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 05958 } 05959 05960 RobotSimEvents::VisionObjectMessage::VisionObjectMessage(::RobotSimEvents::SeaBeeObjectType __ice_objectType, bool __ice_forwardCamera, const ::ImageIceMod::Point3DIce& __ice_objectPosition, const ::ImageIceMod::Point3DIce& __ice_objectVariance) : 05961 objectType(__ice_objectType), 05962 forwardCamera(__ice_forwardCamera), 05963 objectPosition(__ice_objectPosition), 05964 objectVariance(__ice_objectVariance) 05965 { 05966 } 05967 05968 ::Ice::ObjectPtr 05969 RobotSimEvents::VisionObjectMessage::ice_clone() const 05970 { 05971 ::RobotSimEvents::VisionObjectMessagePtr __p = new ::RobotSimEvents::VisionObjectMessage(*this); 05972 return __p; 05973 } 05974 05975 static const ::std::string __RobotSimEvents__VisionObjectMessage_ids[3] = 05976 { 05977 "::Ice::Object", 05978 "::RobotSimEvents::EventMessage", 05979 "::RobotSimEvents::VisionObjectMessage" 05980 }; 05981 05982 bool 05983 RobotSimEvents::VisionObjectMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 05984 { 05985 return ::std::binary_search(__RobotSimEvents__VisionObjectMessage_ids, __RobotSimEvents__VisionObjectMessage_ids + 3, _s); 05986 } 05987 05988 ::std::vector< ::std::string> 05989 RobotSimEvents::VisionObjectMessage::ice_ids(const ::Ice::Current&) const 05990 { 05991 return ::std::vector< ::std::string>(&__RobotSimEvents__VisionObjectMessage_ids[0], &__RobotSimEvents__VisionObjectMessage_ids[3]); 05992 } 05993 05994 const ::std::string& 05995 RobotSimEvents::VisionObjectMessage::ice_id(const ::Ice::Current&) const 05996 { 05997 return __RobotSimEvents__VisionObjectMessage_ids[2]; 05998 } 05999 06000 const ::std::string& 06001 RobotSimEvents::VisionObjectMessage::ice_staticId() 06002 { 06003 return __RobotSimEvents__VisionObjectMessage_ids[2]; 06004 } 06005 06006 void 06007 RobotSimEvents::VisionObjectMessage::__write(::IceInternal::BasicStream* __os) const 06008 { 06009 __os->writeTypeId(ice_staticId()); 06010 __os->startWriteSlice(); 06011 ::RobotSimEvents::__write(__os, objectType); 06012 __os->write(forwardCamera); 06013 objectPosition.__write(__os); 06014 objectVariance.__write(__os); 06015 __os->endWriteSlice(); 06016 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06017 EventMessage::__write(__os); 06018 #else 06019 ::RobotSimEvents::EventMessage::__write(__os); 06020 #endif 06021 } 06022 06023 void 06024 RobotSimEvents::VisionObjectMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06025 { 06026 if(__rid) 06027 { 06028 ::std::string myId; 06029 __is->readTypeId(myId); 06030 } 06031 __is->startReadSlice(); 06032 ::RobotSimEvents::__read(__is, objectType); 06033 __is->read(forwardCamera); 06034 objectPosition.__read(__is); 06035 objectVariance.__read(__is); 06036 __is->endReadSlice(); 06037 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06038 EventMessage::__read(__is, true); 06039 #else 06040 ::RobotSimEvents::EventMessage::__read(__is, true); 06041 #endif 06042 } 06043 06044 void 06045 RobotSimEvents::VisionObjectMessage::__write(const ::Ice::OutputStreamPtr&) const 06046 { 06047 Ice::MarshalException ex(__FILE__, __LINE__); 06048 ex.reason = "type RobotSimEvents::VisionObjectMessage was not generated with stream support"; 06049 throw ex; 06050 } 06051 06052 void 06053 RobotSimEvents::VisionObjectMessage::__read(const ::Ice::InputStreamPtr&, bool) 06054 { 06055 Ice::MarshalException ex(__FILE__, __LINE__); 06056 ex.reason = "type RobotSimEvents::VisionObjectMessage was not generated with stream support"; 06057 throw ex; 06058 } 06059 06060 class __F__RobotSimEvents__VisionObjectMessage : public ::Ice::ObjectFactory 06061 { 06062 public: 06063 06064 virtual ::Ice::ObjectPtr 06065 create(const ::std::string& type) 06066 { 06067 assert(type == ::RobotSimEvents::VisionObjectMessage::ice_staticId()); 06068 return new ::RobotSimEvents::VisionObjectMessage; 06069 } 06070 06071 virtual void 06072 destroy() 06073 { 06074 } 06075 }; 06076 06077 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__VisionObjectMessage_Ptr = new __F__RobotSimEvents__VisionObjectMessage; 06078 06079 const ::Ice::ObjectFactoryPtr& 06080 RobotSimEvents::VisionObjectMessage::ice_factory() 06081 { 06082 return __F__RobotSimEvents__VisionObjectMessage_Ptr; 06083 } 06084 06085 class __F__RobotSimEvents__VisionObjectMessage__Init 06086 { 06087 public: 06088 06089 __F__RobotSimEvents__VisionObjectMessage__Init() 06090 { 06091 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::VisionObjectMessage::ice_staticId(), ::RobotSimEvents::VisionObjectMessage::ice_factory()); 06092 } 06093 06094 ~__F__RobotSimEvents__VisionObjectMessage__Init() 06095 { 06096 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::VisionObjectMessage::ice_staticId()); 06097 } 06098 }; 06099 06100 static __F__RobotSimEvents__VisionObjectMessage__Init __F__RobotSimEvents__VisionObjectMessage__i; 06101 06102 #ifdef __APPLE__ 06103 extern "C" { void __F__RobotSimEvents__VisionObjectMessage__initializer() {} } 06104 #endif 06105 06106 void 06107 RobotSimEvents::__patch__VisionObjectMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06108 { 06109 ::RobotSimEvents::VisionObjectMessagePtr* p = static_cast< ::RobotSimEvents::VisionObjectMessagePtr*>(__addr); 06110 assert(p); 06111 *p = ::RobotSimEvents::VisionObjectMessagePtr::dynamicCast(v); 06112 if(v && !*p) 06113 { 06114 IceInternal::Ex::throwUOE(::RobotSimEvents::VisionObjectMessage::ice_staticId(), v->ice_id()); 06115 } 06116 } 06117 06118 bool 06119 RobotSimEvents::operator==(const ::RobotSimEvents::VisionObjectMessage& l, const ::RobotSimEvents::VisionObjectMessage& r) 06120 { 06121 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06122 } 06123 06124 bool 06125 RobotSimEvents::operator<(const ::RobotSimEvents::VisionObjectMessage& l, const ::RobotSimEvents::VisionObjectMessage& r) 06126 { 06127 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06128 } 06129 06130 RobotSimEvents::LandmarksMessage::LandmarksMessage(const ::RobotSimEvents::LandmarksInfo& __ice_landmarks) : 06131 landmarks(__ice_landmarks) 06132 { 06133 } 06134 06135 ::Ice::ObjectPtr 06136 RobotSimEvents::LandmarksMessage::ice_clone() const 06137 { 06138 ::RobotSimEvents::LandmarksMessagePtr __p = new ::RobotSimEvents::LandmarksMessage(*this); 06139 return __p; 06140 } 06141 06142 static const ::std::string __RobotSimEvents__LandmarksMessage_ids[3] = 06143 { 06144 "::Ice::Object", 06145 "::RobotSimEvents::EventMessage", 06146 "::RobotSimEvents::LandmarksMessage" 06147 }; 06148 06149 bool 06150 RobotSimEvents::LandmarksMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06151 { 06152 return ::std::binary_search(__RobotSimEvents__LandmarksMessage_ids, __RobotSimEvents__LandmarksMessage_ids + 3, _s); 06153 } 06154 06155 ::std::vector< ::std::string> 06156 RobotSimEvents::LandmarksMessage::ice_ids(const ::Ice::Current&) const 06157 { 06158 return ::std::vector< ::std::string>(&__RobotSimEvents__LandmarksMessage_ids[0], &__RobotSimEvents__LandmarksMessage_ids[3]); 06159 } 06160 06161 const ::std::string& 06162 RobotSimEvents::LandmarksMessage::ice_id(const ::Ice::Current&) const 06163 { 06164 return __RobotSimEvents__LandmarksMessage_ids[2]; 06165 } 06166 06167 const ::std::string& 06168 RobotSimEvents::LandmarksMessage::ice_staticId() 06169 { 06170 return __RobotSimEvents__LandmarksMessage_ids[2]; 06171 } 06172 06173 void 06174 RobotSimEvents::LandmarksMessage::__write(::IceInternal::BasicStream* __os) const 06175 { 06176 __os->writeTypeId(ice_staticId()); 06177 __os->startWriteSlice(); 06178 if(landmarks.size() == 0) 06179 { 06180 __os->writeSize(0); 06181 } 06182 else 06183 { 06184 ::RobotSimEvents::__writeLandmarksInfo(__os, &landmarks[0], &landmarks[0] + landmarks.size()); 06185 } 06186 __os->endWriteSlice(); 06187 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06188 EventMessage::__write(__os); 06189 #else 06190 ::RobotSimEvents::EventMessage::__write(__os); 06191 #endif 06192 } 06193 06194 void 06195 RobotSimEvents::LandmarksMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06196 { 06197 if(__rid) 06198 { 06199 ::std::string myId; 06200 __is->readTypeId(myId); 06201 } 06202 __is->startReadSlice(); 06203 ::RobotSimEvents::__readLandmarksInfo(__is, landmarks); 06204 __is->endReadSlice(); 06205 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06206 EventMessage::__read(__is, true); 06207 #else 06208 ::RobotSimEvents::EventMessage::__read(__is, true); 06209 #endif 06210 } 06211 06212 void 06213 RobotSimEvents::LandmarksMessage::__write(const ::Ice::OutputStreamPtr&) const 06214 { 06215 Ice::MarshalException ex(__FILE__, __LINE__); 06216 ex.reason = "type RobotSimEvents::LandmarksMessage was not generated with stream support"; 06217 throw ex; 06218 } 06219 06220 void 06221 RobotSimEvents::LandmarksMessage::__read(const ::Ice::InputStreamPtr&, bool) 06222 { 06223 Ice::MarshalException ex(__FILE__, __LINE__); 06224 ex.reason = "type RobotSimEvents::LandmarksMessage was not generated with stream support"; 06225 throw ex; 06226 } 06227 06228 class __F__RobotSimEvents__LandmarksMessage : public ::Ice::ObjectFactory 06229 { 06230 public: 06231 06232 virtual ::Ice::ObjectPtr 06233 create(const ::std::string& type) 06234 { 06235 assert(type == ::RobotSimEvents::LandmarksMessage::ice_staticId()); 06236 return new ::RobotSimEvents::LandmarksMessage; 06237 } 06238 06239 virtual void 06240 destroy() 06241 { 06242 } 06243 }; 06244 06245 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__LandmarksMessage_Ptr = new __F__RobotSimEvents__LandmarksMessage; 06246 06247 const ::Ice::ObjectFactoryPtr& 06248 RobotSimEvents::LandmarksMessage::ice_factory() 06249 { 06250 return __F__RobotSimEvents__LandmarksMessage_Ptr; 06251 } 06252 06253 class __F__RobotSimEvents__LandmarksMessage__Init 06254 { 06255 public: 06256 06257 __F__RobotSimEvents__LandmarksMessage__Init() 06258 { 06259 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::LandmarksMessage::ice_staticId(), ::RobotSimEvents::LandmarksMessage::ice_factory()); 06260 } 06261 06262 ~__F__RobotSimEvents__LandmarksMessage__Init() 06263 { 06264 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::LandmarksMessage::ice_staticId()); 06265 } 06266 }; 06267 06268 static __F__RobotSimEvents__LandmarksMessage__Init __F__RobotSimEvents__LandmarksMessage__i; 06269 06270 #ifdef __APPLE__ 06271 extern "C" { void __F__RobotSimEvents__LandmarksMessage__initializer() {} } 06272 #endif 06273 06274 void 06275 RobotSimEvents::__patch__LandmarksMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06276 { 06277 ::RobotSimEvents::LandmarksMessagePtr* p = static_cast< ::RobotSimEvents::LandmarksMessagePtr*>(__addr); 06278 assert(p); 06279 *p = ::RobotSimEvents::LandmarksMessagePtr::dynamicCast(v); 06280 if(v && !*p) 06281 { 06282 IceInternal::Ex::throwUOE(::RobotSimEvents::LandmarksMessage::ice_staticId(), v->ice_id()); 06283 } 06284 } 06285 06286 bool 06287 RobotSimEvents::operator==(const ::RobotSimEvents::LandmarksMessage& l, const ::RobotSimEvents::LandmarksMessage& r) 06288 { 06289 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06290 } 06291 06292 bool 06293 RobotSimEvents::operator<(const ::RobotSimEvents::LandmarksMessage& l, const ::RobotSimEvents::LandmarksMessage& r) 06294 { 06295 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06296 } 06297 06298 RobotSimEvents::CameraConfigMessage::CameraConfigMessage(const ::std::string& __ice_cameraID, bool __ice_active) : 06299 cameraID(__ice_cameraID), 06300 active(__ice_active) 06301 { 06302 } 06303 06304 ::Ice::ObjectPtr 06305 RobotSimEvents::CameraConfigMessage::ice_clone() const 06306 { 06307 ::RobotSimEvents::CameraConfigMessagePtr __p = new ::RobotSimEvents::CameraConfigMessage(*this); 06308 return __p; 06309 } 06310 06311 static const ::std::string __RobotSimEvents__CameraConfigMessage_ids[3] = 06312 { 06313 "::Ice::Object", 06314 "::RobotSimEvents::CameraConfigMessage", 06315 "::RobotSimEvents::EventMessage" 06316 }; 06317 06318 bool 06319 RobotSimEvents::CameraConfigMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06320 { 06321 return ::std::binary_search(__RobotSimEvents__CameraConfigMessage_ids, __RobotSimEvents__CameraConfigMessage_ids + 3, _s); 06322 } 06323 06324 ::std::vector< ::std::string> 06325 RobotSimEvents::CameraConfigMessage::ice_ids(const ::Ice::Current&) const 06326 { 06327 return ::std::vector< ::std::string>(&__RobotSimEvents__CameraConfigMessage_ids[0], &__RobotSimEvents__CameraConfigMessage_ids[3]); 06328 } 06329 06330 const ::std::string& 06331 RobotSimEvents::CameraConfigMessage::ice_id(const ::Ice::Current&) const 06332 { 06333 return __RobotSimEvents__CameraConfigMessage_ids[1]; 06334 } 06335 06336 const ::std::string& 06337 RobotSimEvents::CameraConfigMessage::ice_staticId() 06338 { 06339 return __RobotSimEvents__CameraConfigMessage_ids[1]; 06340 } 06341 06342 void 06343 RobotSimEvents::CameraConfigMessage::__write(::IceInternal::BasicStream* __os) const 06344 { 06345 __os->writeTypeId(ice_staticId()); 06346 __os->startWriteSlice(); 06347 __os->write(cameraID); 06348 __os->write(active); 06349 __os->endWriteSlice(); 06350 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06351 EventMessage::__write(__os); 06352 #else 06353 ::RobotSimEvents::EventMessage::__write(__os); 06354 #endif 06355 } 06356 06357 void 06358 RobotSimEvents::CameraConfigMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06359 { 06360 if(__rid) 06361 { 06362 ::std::string myId; 06363 __is->readTypeId(myId); 06364 } 06365 __is->startReadSlice(); 06366 __is->read(cameraID); 06367 __is->read(active); 06368 __is->endReadSlice(); 06369 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06370 EventMessage::__read(__is, true); 06371 #else 06372 ::RobotSimEvents::EventMessage::__read(__is, true); 06373 #endif 06374 } 06375 06376 void 06377 RobotSimEvents::CameraConfigMessage::__write(const ::Ice::OutputStreamPtr&) const 06378 { 06379 Ice::MarshalException ex(__FILE__, __LINE__); 06380 ex.reason = "type RobotSimEvents::CameraConfigMessage was not generated with stream support"; 06381 throw ex; 06382 } 06383 06384 void 06385 RobotSimEvents::CameraConfigMessage::__read(const ::Ice::InputStreamPtr&, bool) 06386 { 06387 Ice::MarshalException ex(__FILE__, __LINE__); 06388 ex.reason = "type RobotSimEvents::CameraConfigMessage was not generated with stream support"; 06389 throw ex; 06390 } 06391 06392 class __F__RobotSimEvents__CameraConfigMessage : public ::Ice::ObjectFactory 06393 { 06394 public: 06395 06396 virtual ::Ice::ObjectPtr 06397 create(const ::std::string& type) 06398 { 06399 assert(type == ::RobotSimEvents::CameraConfigMessage::ice_staticId()); 06400 return new ::RobotSimEvents::CameraConfigMessage; 06401 } 06402 06403 virtual void 06404 destroy() 06405 { 06406 } 06407 }; 06408 06409 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__CameraConfigMessage_Ptr = new __F__RobotSimEvents__CameraConfigMessage; 06410 06411 const ::Ice::ObjectFactoryPtr& 06412 RobotSimEvents::CameraConfigMessage::ice_factory() 06413 { 06414 return __F__RobotSimEvents__CameraConfigMessage_Ptr; 06415 } 06416 06417 class __F__RobotSimEvents__CameraConfigMessage__Init 06418 { 06419 public: 06420 06421 __F__RobotSimEvents__CameraConfigMessage__Init() 06422 { 06423 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::CameraConfigMessage::ice_staticId(), ::RobotSimEvents::CameraConfigMessage::ice_factory()); 06424 } 06425 06426 ~__F__RobotSimEvents__CameraConfigMessage__Init() 06427 { 06428 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::CameraConfigMessage::ice_staticId()); 06429 } 06430 }; 06431 06432 static __F__RobotSimEvents__CameraConfigMessage__Init __F__RobotSimEvents__CameraConfigMessage__i; 06433 06434 #ifdef __APPLE__ 06435 extern "C" { void __F__RobotSimEvents__CameraConfigMessage__initializer() {} } 06436 #endif 06437 06438 void 06439 RobotSimEvents::__patch__CameraConfigMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06440 { 06441 ::RobotSimEvents::CameraConfigMessagePtr* p = static_cast< ::RobotSimEvents::CameraConfigMessagePtr*>(__addr); 06442 assert(p); 06443 *p = ::RobotSimEvents::CameraConfigMessagePtr::dynamicCast(v); 06444 if(v && !*p) 06445 { 06446 IceInternal::Ex::throwUOE(::RobotSimEvents::CameraConfigMessage::ice_staticId(), v->ice_id()); 06447 } 06448 } 06449 06450 bool 06451 RobotSimEvents::operator==(const ::RobotSimEvents::CameraConfigMessage& l, const ::RobotSimEvents::CameraConfigMessage& r) 06452 { 06453 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06454 } 06455 06456 bool 06457 RobotSimEvents::operator<(const ::RobotSimEvents::CameraConfigMessage& l, const ::RobotSimEvents::CameraConfigMessage& r) 06458 { 06459 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06460 } 06461 06462 RobotSimEvents::SalientPointMessage::SalientPointMessage(::Ice::Float __ice_x, ::Ice::Float __ice_y, ::Ice::Int __ice_saliency, const ::std::string& __ice_imageDescr) : 06463 x(__ice_x), 06464 y(__ice_y), 06465 saliency(__ice_saliency), 06466 imageDescr(__ice_imageDescr) 06467 { 06468 } 06469 06470 ::Ice::ObjectPtr 06471 RobotSimEvents::SalientPointMessage::ice_clone() const 06472 { 06473 ::RobotSimEvents::SalientPointMessagePtr __p = new ::RobotSimEvents::SalientPointMessage(*this); 06474 return __p; 06475 } 06476 06477 static const ::std::string __RobotSimEvents__SalientPointMessage_ids[3] = 06478 { 06479 "::Ice::Object", 06480 "::RobotSimEvents::EventMessage", 06481 "::RobotSimEvents::SalientPointMessage" 06482 }; 06483 06484 bool 06485 RobotSimEvents::SalientPointMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06486 { 06487 return ::std::binary_search(__RobotSimEvents__SalientPointMessage_ids, __RobotSimEvents__SalientPointMessage_ids + 3, _s); 06488 } 06489 06490 ::std::vector< ::std::string> 06491 RobotSimEvents::SalientPointMessage::ice_ids(const ::Ice::Current&) const 06492 { 06493 return ::std::vector< ::std::string>(&__RobotSimEvents__SalientPointMessage_ids[0], &__RobotSimEvents__SalientPointMessage_ids[3]); 06494 } 06495 06496 const ::std::string& 06497 RobotSimEvents::SalientPointMessage::ice_id(const ::Ice::Current&) const 06498 { 06499 return __RobotSimEvents__SalientPointMessage_ids[2]; 06500 } 06501 06502 const ::std::string& 06503 RobotSimEvents::SalientPointMessage::ice_staticId() 06504 { 06505 return __RobotSimEvents__SalientPointMessage_ids[2]; 06506 } 06507 06508 void 06509 RobotSimEvents::SalientPointMessage::__write(::IceInternal::BasicStream* __os) const 06510 { 06511 __os->writeTypeId(ice_staticId()); 06512 __os->startWriteSlice(); 06513 __os->write(x); 06514 __os->write(y); 06515 __os->write(saliency); 06516 __os->write(imageDescr); 06517 __os->endWriteSlice(); 06518 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06519 EventMessage::__write(__os); 06520 #else 06521 ::RobotSimEvents::EventMessage::__write(__os); 06522 #endif 06523 } 06524 06525 void 06526 RobotSimEvents::SalientPointMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06527 { 06528 if(__rid) 06529 { 06530 ::std::string myId; 06531 __is->readTypeId(myId); 06532 } 06533 __is->startReadSlice(); 06534 __is->read(x); 06535 __is->read(y); 06536 __is->read(saliency); 06537 __is->read(imageDescr); 06538 __is->endReadSlice(); 06539 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06540 EventMessage::__read(__is, true); 06541 #else 06542 ::RobotSimEvents::EventMessage::__read(__is, true); 06543 #endif 06544 } 06545 06546 void 06547 RobotSimEvents::SalientPointMessage::__write(const ::Ice::OutputStreamPtr&) const 06548 { 06549 Ice::MarshalException ex(__FILE__, __LINE__); 06550 ex.reason = "type RobotSimEvents::SalientPointMessage was not generated with stream support"; 06551 throw ex; 06552 } 06553 06554 void 06555 RobotSimEvents::SalientPointMessage::__read(const ::Ice::InputStreamPtr&, bool) 06556 { 06557 Ice::MarshalException ex(__FILE__, __LINE__); 06558 ex.reason = "type RobotSimEvents::SalientPointMessage was not generated with stream support"; 06559 throw ex; 06560 } 06561 06562 class __F__RobotSimEvents__SalientPointMessage : public ::Ice::ObjectFactory 06563 { 06564 public: 06565 06566 virtual ::Ice::ObjectPtr 06567 create(const ::std::string& type) 06568 { 06569 assert(type == ::RobotSimEvents::SalientPointMessage::ice_staticId()); 06570 return new ::RobotSimEvents::SalientPointMessage; 06571 } 06572 06573 virtual void 06574 destroy() 06575 { 06576 } 06577 }; 06578 06579 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__SalientPointMessage_Ptr = new __F__RobotSimEvents__SalientPointMessage; 06580 06581 const ::Ice::ObjectFactoryPtr& 06582 RobotSimEvents::SalientPointMessage::ice_factory() 06583 { 06584 return __F__RobotSimEvents__SalientPointMessage_Ptr; 06585 } 06586 06587 class __F__RobotSimEvents__SalientPointMessage__Init 06588 { 06589 public: 06590 06591 __F__RobotSimEvents__SalientPointMessage__Init() 06592 { 06593 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::SalientPointMessage::ice_staticId(), ::RobotSimEvents::SalientPointMessage::ice_factory()); 06594 } 06595 06596 ~__F__RobotSimEvents__SalientPointMessage__Init() 06597 { 06598 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::SalientPointMessage::ice_staticId()); 06599 } 06600 }; 06601 06602 static __F__RobotSimEvents__SalientPointMessage__Init __F__RobotSimEvents__SalientPointMessage__i; 06603 06604 #ifdef __APPLE__ 06605 extern "C" { void __F__RobotSimEvents__SalientPointMessage__initializer() {} } 06606 #endif 06607 06608 void 06609 RobotSimEvents::__patch__SalientPointMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06610 { 06611 ::RobotSimEvents::SalientPointMessagePtr* p = static_cast< ::RobotSimEvents::SalientPointMessagePtr*>(__addr); 06612 assert(p); 06613 *p = ::RobotSimEvents::SalientPointMessagePtr::dynamicCast(v); 06614 if(v && !*p) 06615 { 06616 IceInternal::Ex::throwUOE(::RobotSimEvents::SalientPointMessage::ice_staticId(), v->ice_id()); 06617 } 06618 } 06619 06620 bool 06621 RobotSimEvents::operator==(const ::RobotSimEvents::SalientPointMessage& l, const ::RobotSimEvents::SalientPointMessage& r) 06622 { 06623 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06624 } 06625 06626 bool 06627 RobotSimEvents::operator<(const ::RobotSimEvents::SalientPointMessage& l, const ::RobotSimEvents::SalientPointMessage& r) 06628 { 06629 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06630 } 06631 06632 RobotSimEvents::BuoyColorSegmentMessage::BuoyColorSegmentMessage(::Ice::Float __ice_x, ::Ice::Float __ice_y, ::Ice::Float __ice_size) : 06633 x(__ice_x), 06634 y(__ice_y), 06635 size(__ice_size) 06636 { 06637 } 06638 06639 ::Ice::ObjectPtr 06640 RobotSimEvents::BuoyColorSegmentMessage::ice_clone() const 06641 { 06642 ::RobotSimEvents::BuoyColorSegmentMessagePtr __p = new ::RobotSimEvents::BuoyColorSegmentMessage(*this); 06643 return __p; 06644 } 06645 06646 static const ::std::string __RobotSimEvents__BuoyColorSegmentMessage_ids[3] = 06647 { 06648 "::Ice::Object", 06649 "::RobotSimEvents::BuoyColorSegmentMessage", 06650 "::RobotSimEvents::EventMessage" 06651 }; 06652 06653 bool 06654 RobotSimEvents::BuoyColorSegmentMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06655 { 06656 return ::std::binary_search(__RobotSimEvents__BuoyColorSegmentMessage_ids, __RobotSimEvents__BuoyColorSegmentMessage_ids + 3, _s); 06657 } 06658 06659 ::std::vector< ::std::string> 06660 RobotSimEvents::BuoyColorSegmentMessage::ice_ids(const ::Ice::Current&) const 06661 { 06662 return ::std::vector< ::std::string>(&__RobotSimEvents__BuoyColorSegmentMessage_ids[0], &__RobotSimEvents__BuoyColorSegmentMessage_ids[3]); 06663 } 06664 06665 const ::std::string& 06666 RobotSimEvents::BuoyColorSegmentMessage::ice_id(const ::Ice::Current&) const 06667 { 06668 return __RobotSimEvents__BuoyColorSegmentMessage_ids[1]; 06669 } 06670 06671 const ::std::string& 06672 RobotSimEvents::BuoyColorSegmentMessage::ice_staticId() 06673 { 06674 return __RobotSimEvents__BuoyColorSegmentMessage_ids[1]; 06675 } 06676 06677 void 06678 RobotSimEvents::BuoyColorSegmentMessage::__write(::IceInternal::BasicStream* __os) const 06679 { 06680 __os->writeTypeId(ice_staticId()); 06681 __os->startWriteSlice(); 06682 __os->write(x); 06683 __os->write(y); 06684 __os->write(size); 06685 __os->endWriteSlice(); 06686 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06687 EventMessage::__write(__os); 06688 #else 06689 ::RobotSimEvents::EventMessage::__write(__os); 06690 #endif 06691 } 06692 06693 void 06694 RobotSimEvents::BuoyColorSegmentMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06695 { 06696 if(__rid) 06697 { 06698 ::std::string myId; 06699 __is->readTypeId(myId); 06700 } 06701 __is->startReadSlice(); 06702 __is->read(x); 06703 __is->read(y); 06704 __is->read(size); 06705 __is->endReadSlice(); 06706 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06707 EventMessage::__read(__is, true); 06708 #else 06709 ::RobotSimEvents::EventMessage::__read(__is, true); 06710 #endif 06711 } 06712 06713 void 06714 RobotSimEvents::BuoyColorSegmentMessage::__write(const ::Ice::OutputStreamPtr&) const 06715 { 06716 Ice::MarshalException ex(__FILE__, __LINE__); 06717 ex.reason = "type RobotSimEvents::BuoyColorSegmentMessage was not generated with stream support"; 06718 throw ex; 06719 } 06720 06721 void 06722 RobotSimEvents::BuoyColorSegmentMessage::__read(const ::Ice::InputStreamPtr&, bool) 06723 { 06724 Ice::MarshalException ex(__FILE__, __LINE__); 06725 ex.reason = "type RobotSimEvents::BuoyColorSegmentMessage was not generated with stream support"; 06726 throw ex; 06727 } 06728 06729 class __F__RobotSimEvents__BuoyColorSegmentMessage : public ::Ice::ObjectFactory 06730 { 06731 public: 06732 06733 virtual ::Ice::ObjectPtr 06734 create(const ::std::string& type) 06735 { 06736 assert(type == ::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId()); 06737 return new ::RobotSimEvents::BuoyColorSegmentMessage; 06738 } 06739 06740 virtual void 06741 destroy() 06742 { 06743 } 06744 }; 06745 06746 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BuoyColorSegmentMessage_Ptr = new __F__RobotSimEvents__BuoyColorSegmentMessage; 06747 06748 const ::Ice::ObjectFactoryPtr& 06749 RobotSimEvents::BuoyColorSegmentMessage::ice_factory() 06750 { 06751 return __F__RobotSimEvents__BuoyColorSegmentMessage_Ptr; 06752 } 06753 06754 class __F__RobotSimEvents__BuoyColorSegmentMessage__Init 06755 { 06756 public: 06757 06758 __F__RobotSimEvents__BuoyColorSegmentMessage__Init() 06759 { 06760 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId(), ::RobotSimEvents::BuoyColorSegmentMessage::ice_factory()); 06761 } 06762 06763 ~__F__RobotSimEvents__BuoyColorSegmentMessage__Init() 06764 { 06765 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId()); 06766 } 06767 }; 06768 06769 static __F__RobotSimEvents__BuoyColorSegmentMessage__Init __F__RobotSimEvents__BuoyColorSegmentMessage__i; 06770 06771 #ifdef __APPLE__ 06772 extern "C" { void __F__RobotSimEvents__BuoyColorSegmentMessage__initializer() {} } 06773 #endif 06774 06775 void 06776 RobotSimEvents::__patch__BuoyColorSegmentMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06777 { 06778 ::RobotSimEvents::BuoyColorSegmentMessagePtr* p = static_cast< ::RobotSimEvents::BuoyColorSegmentMessagePtr*>(__addr); 06779 assert(p); 06780 *p = ::RobotSimEvents::BuoyColorSegmentMessagePtr::dynamicCast(v); 06781 if(v && !*p) 06782 { 06783 IceInternal::Ex::throwUOE(::RobotSimEvents::BuoyColorSegmentMessage::ice_staticId(), v->ice_id()); 06784 } 06785 } 06786 06787 bool 06788 RobotSimEvents::operator==(const ::RobotSimEvents::BuoyColorSegmentMessage& l, const ::RobotSimEvents::BuoyColorSegmentMessage& r) 06789 { 06790 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06791 } 06792 06793 bool 06794 RobotSimEvents::operator<(const ::RobotSimEvents::BuoyColorSegmentMessage& l, const ::RobotSimEvents::BuoyColorSegmentMessage& r) 06795 { 06796 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06797 } 06798 06799 RobotSimEvents::PipeColorSegmentMessage::PipeColorSegmentMessage(::Ice::Float __ice_x, ::Ice::Float __ice_y, ::Ice::Float __ice_size) : 06800 x(__ice_x), 06801 y(__ice_y), 06802 size(__ice_size) 06803 { 06804 } 06805 06806 ::Ice::ObjectPtr 06807 RobotSimEvents::PipeColorSegmentMessage::ice_clone() const 06808 { 06809 ::RobotSimEvents::PipeColorSegmentMessagePtr __p = new ::RobotSimEvents::PipeColorSegmentMessage(*this); 06810 return __p; 06811 } 06812 06813 static const ::std::string __RobotSimEvents__PipeColorSegmentMessage_ids[3] = 06814 { 06815 "::Ice::Object", 06816 "::RobotSimEvents::EventMessage", 06817 "::RobotSimEvents::PipeColorSegmentMessage" 06818 }; 06819 06820 bool 06821 RobotSimEvents::PipeColorSegmentMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06822 { 06823 return ::std::binary_search(__RobotSimEvents__PipeColorSegmentMessage_ids, __RobotSimEvents__PipeColorSegmentMessage_ids + 3, _s); 06824 } 06825 06826 ::std::vector< ::std::string> 06827 RobotSimEvents::PipeColorSegmentMessage::ice_ids(const ::Ice::Current&) const 06828 { 06829 return ::std::vector< ::std::string>(&__RobotSimEvents__PipeColorSegmentMessage_ids[0], &__RobotSimEvents__PipeColorSegmentMessage_ids[3]); 06830 } 06831 06832 const ::std::string& 06833 RobotSimEvents::PipeColorSegmentMessage::ice_id(const ::Ice::Current&) const 06834 { 06835 return __RobotSimEvents__PipeColorSegmentMessage_ids[2]; 06836 } 06837 06838 const ::std::string& 06839 RobotSimEvents::PipeColorSegmentMessage::ice_staticId() 06840 { 06841 return __RobotSimEvents__PipeColorSegmentMessage_ids[2]; 06842 } 06843 06844 void 06845 RobotSimEvents::PipeColorSegmentMessage::__write(::IceInternal::BasicStream* __os) const 06846 { 06847 __os->writeTypeId(ice_staticId()); 06848 __os->startWriteSlice(); 06849 __os->write(x); 06850 __os->write(y); 06851 __os->write(size); 06852 __os->endWriteSlice(); 06853 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06854 EventMessage::__write(__os); 06855 #else 06856 ::RobotSimEvents::EventMessage::__write(__os); 06857 #endif 06858 } 06859 06860 void 06861 RobotSimEvents::PipeColorSegmentMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 06862 { 06863 if(__rid) 06864 { 06865 ::std::string myId; 06866 __is->readTypeId(myId); 06867 } 06868 __is->startReadSlice(); 06869 __is->read(x); 06870 __is->read(y); 06871 __is->read(size); 06872 __is->endReadSlice(); 06873 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 06874 EventMessage::__read(__is, true); 06875 #else 06876 ::RobotSimEvents::EventMessage::__read(__is, true); 06877 #endif 06878 } 06879 06880 void 06881 RobotSimEvents::PipeColorSegmentMessage::__write(const ::Ice::OutputStreamPtr&) const 06882 { 06883 Ice::MarshalException ex(__FILE__, __LINE__); 06884 ex.reason = "type RobotSimEvents::PipeColorSegmentMessage was not generated with stream support"; 06885 throw ex; 06886 } 06887 06888 void 06889 RobotSimEvents::PipeColorSegmentMessage::__read(const ::Ice::InputStreamPtr&, bool) 06890 { 06891 Ice::MarshalException ex(__FILE__, __LINE__); 06892 ex.reason = "type RobotSimEvents::PipeColorSegmentMessage was not generated with stream support"; 06893 throw ex; 06894 } 06895 06896 class __F__RobotSimEvents__PipeColorSegmentMessage : public ::Ice::ObjectFactory 06897 { 06898 public: 06899 06900 virtual ::Ice::ObjectPtr 06901 create(const ::std::string& type) 06902 { 06903 assert(type == ::RobotSimEvents::PipeColorSegmentMessage::ice_staticId()); 06904 return new ::RobotSimEvents::PipeColorSegmentMessage; 06905 } 06906 06907 virtual void 06908 destroy() 06909 { 06910 } 06911 }; 06912 06913 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__PipeColorSegmentMessage_Ptr = new __F__RobotSimEvents__PipeColorSegmentMessage; 06914 06915 const ::Ice::ObjectFactoryPtr& 06916 RobotSimEvents::PipeColorSegmentMessage::ice_factory() 06917 { 06918 return __F__RobotSimEvents__PipeColorSegmentMessage_Ptr; 06919 } 06920 06921 class __F__RobotSimEvents__PipeColorSegmentMessage__Init 06922 { 06923 public: 06924 06925 __F__RobotSimEvents__PipeColorSegmentMessage__Init() 06926 { 06927 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::PipeColorSegmentMessage::ice_staticId(), ::RobotSimEvents::PipeColorSegmentMessage::ice_factory()); 06928 } 06929 06930 ~__F__RobotSimEvents__PipeColorSegmentMessage__Init() 06931 { 06932 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::PipeColorSegmentMessage::ice_staticId()); 06933 } 06934 }; 06935 06936 static __F__RobotSimEvents__PipeColorSegmentMessage__Init __F__RobotSimEvents__PipeColorSegmentMessage__i; 06937 06938 #ifdef __APPLE__ 06939 extern "C" { void __F__RobotSimEvents__PipeColorSegmentMessage__initializer() {} } 06940 #endif 06941 06942 void 06943 RobotSimEvents::__patch__PipeColorSegmentMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 06944 { 06945 ::RobotSimEvents::PipeColorSegmentMessagePtr* p = static_cast< ::RobotSimEvents::PipeColorSegmentMessagePtr*>(__addr); 06946 assert(p); 06947 *p = ::RobotSimEvents::PipeColorSegmentMessagePtr::dynamicCast(v); 06948 if(v && !*p) 06949 { 06950 IceInternal::Ex::throwUOE(::RobotSimEvents::PipeColorSegmentMessage::ice_staticId(), v->ice_id()); 06951 } 06952 } 06953 06954 bool 06955 RobotSimEvents::operator==(const ::RobotSimEvents::PipeColorSegmentMessage& l, const ::RobotSimEvents::PipeColorSegmentMessage& r) 06956 { 06957 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 06958 } 06959 06960 bool 06961 RobotSimEvents::operator<(const ::RobotSimEvents::PipeColorSegmentMessage& l, const ::RobotSimEvents::PipeColorSegmentMessage& r) 06962 { 06963 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 06964 } 06965 06966 RobotSimEvents::BuoyColorSegmentConfigMessage::BuoyColorSegmentConfigMessage(::Ice::Double __ice_HUT, ::Ice::Double __ice_HLT, ::Ice::Double __ice_SUT, ::Ice::Double __ice_SLT, ::Ice::Double __ice_VUT, ::Ice::Double __ice_VLT) : 06967 HUT(__ice_HUT), 06968 HLT(__ice_HLT), 06969 SUT(__ice_SUT), 06970 SLT(__ice_SLT), 06971 VUT(__ice_VUT), 06972 VLT(__ice_VLT) 06973 { 06974 } 06975 06976 ::Ice::ObjectPtr 06977 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_clone() const 06978 { 06979 ::RobotSimEvents::BuoyColorSegmentConfigMessagePtr __p = new ::RobotSimEvents::BuoyColorSegmentConfigMessage(*this); 06980 return __p; 06981 } 06982 06983 static const ::std::string __RobotSimEvents__BuoyColorSegmentConfigMessage_ids[3] = 06984 { 06985 "::Ice::Object", 06986 "::RobotSimEvents::BuoyColorSegmentConfigMessage", 06987 "::RobotSimEvents::EventMessage" 06988 }; 06989 06990 bool 06991 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 06992 { 06993 return ::std::binary_search(__RobotSimEvents__BuoyColorSegmentConfigMessage_ids, __RobotSimEvents__BuoyColorSegmentConfigMessage_ids + 3, _s); 06994 } 06995 06996 ::std::vector< ::std::string> 06997 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_ids(const ::Ice::Current&) const 06998 { 06999 return ::std::vector< ::std::string>(&__RobotSimEvents__BuoyColorSegmentConfigMessage_ids[0], &__RobotSimEvents__BuoyColorSegmentConfigMessage_ids[3]); 07000 } 07001 07002 const ::std::string& 07003 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_id(const ::Ice::Current&) const 07004 { 07005 return __RobotSimEvents__BuoyColorSegmentConfigMessage_ids[1]; 07006 } 07007 07008 const ::std::string& 07009 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId() 07010 { 07011 return __RobotSimEvents__BuoyColorSegmentConfigMessage_ids[1]; 07012 } 07013 07014 void 07015 RobotSimEvents::BuoyColorSegmentConfigMessage::__write(::IceInternal::BasicStream* __os) const 07016 { 07017 __os->writeTypeId(ice_staticId()); 07018 __os->startWriteSlice(); 07019 __os->write(HUT); 07020 __os->write(HLT); 07021 __os->write(SUT); 07022 __os->write(SLT); 07023 __os->write(VUT); 07024 __os->write(VLT); 07025 __os->endWriteSlice(); 07026 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 07027 EventMessage::__write(__os); 07028 #else 07029 ::RobotSimEvents::EventMessage::__write(__os); 07030 #endif 07031 } 07032 07033 void 07034 RobotSimEvents::BuoyColorSegmentConfigMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 07035 { 07036 if(__rid) 07037 { 07038 ::std::string myId; 07039 __is->readTypeId(myId); 07040 } 07041 __is->startReadSlice(); 07042 __is->read(HUT); 07043 __is->read(HLT); 07044 __is->read(SUT); 07045 __is->read(SLT); 07046 __is->read(VUT); 07047 __is->read(VLT); 07048 __is->endReadSlice(); 07049 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 07050 EventMessage::__read(__is, true); 07051 #else 07052 ::RobotSimEvents::EventMessage::__read(__is, true); 07053 #endif 07054 } 07055 07056 void 07057 RobotSimEvents::BuoyColorSegmentConfigMessage::__write(const ::Ice::OutputStreamPtr&) const 07058 { 07059 Ice::MarshalException ex(__FILE__, __LINE__); 07060 ex.reason = "type RobotSimEvents::BuoyColorSegmentConfigMessage was not generated with stream support"; 07061 throw ex; 07062 } 07063 07064 void 07065 RobotSimEvents::BuoyColorSegmentConfigMessage::__read(const ::Ice::InputStreamPtr&, bool) 07066 { 07067 Ice::MarshalException ex(__FILE__, __LINE__); 07068 ex.reason = "type RobotSimEvents::BuoyColorSegmentConfigMessage was not generated with stream support"; 07069 throw ex; 07070 } 07071 07072 class __F__RobotSimEvents__BuoyColorSegmentConfigMessage : public ::Ice::ObjectFactory 07073 { 07074 public: 07075 07076 virtual ::Ice::ObjectPtr 07077 create(const ::std::string& type) 07078 { 07079 assert(type == ::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId()); 07080 return new ::RobotSimEvents::BuoyColorSegmentConfigMessage; 07081 } 07082 07083 virtual void 07084 destroy() 07085 { 07086 } 07087 }; 07088 07089 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__BuoyColorSegmentConfigMessage_Ptr = new __F__RobotSimEvents__BuoyColorSegmentConfigMessage; 07090 07091 const ::Ice::ObjectFactoryPtr& 07092 RobotSimEvents::BuoyColorSegmentConfigMessage::ice_factory() 07093 { 07094 return __F__RobotSimEvents__BuoyColorSegmentConfigMessage_Ptr; 07095 } 07096 07097 class __F__RobotSimEvents__BuoyColorSegmentConfigMessage__Init 07098 { 07099 public: 07100 07101 __F__RobotSimEvents__BuoyColorSegmentConfigMessage__Init() 07102 { 07103 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId(), ::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_factory()); 07104 } 07105 07106 ~__F__RobotSimEvents__BuoyColorSegmentConfigMessage__Init() 07107 { 07108 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId()); 07109 } 07110 }; 07111 07112 static __F__RobotSimEvents__BuoyColorSegmentConfigMessage__Init __F__RobotSimEvents__BuoyColorSegmentConfigMessage__i; 07113 07114 #ifdef __APPLE__ 07115 extern "C" { void __F__RobotSimEvents__BuoyColorSegmentConfigMessage__initializer() {} } 07116 #endif 07117 07118 void 07119 RobotSimEvents::__patch__BuoyColorSegmentConfigMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 07120 { 07121 ::RobotSimEvents::BuoyColorSegmentConfigMessagePtr* p = static_cast< ::RobotSimEvents::BuoyColorSegmentConfigMessagePtr*>(__addr); 07122 assert(p); 07123 *p = ::RobotSimEvents::BuoyColorSegmentConfigMessagePtr::dynamicCast(v); 07124 if(v && !*p) 07125 { 07126 IceInternal::Ex::throwUOE(::RobotSimEvents::BuoyColorSegmentConfigMessage::ice_staticId(), v->ice_id()); 07127 } 07128 } 07129 07130 bool 07131 RobotSimEvents::operator==(const ::RobotSimEvents::BuoyColorSegmentConfigMessage& l, const ::RobotSimEvents::BuoyColorSegmentConfigMessage& r) 07132 { 07133 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 07134 } 07135 07136 bool 07137 RobotSimEvents::operator<(const ::RobotSimEvents::BuoyColorSegmentConfigMessage& l, const ::RobotSimEvents::BuoyColorSegmentConfigMessage& r) 07138 { 07139 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 07140 } 07141 07142 RobotSimEvents::PipeColorSegmentConfigMessage::PipeColorSegmentConfigMessage(::Ice::Double __ice_HUT, ::Ice::Double __ice_HLT, ::Ice::Double __ice_SUT, ::Ice::Double __ice_SLT, ::Ice::Double __ice_VUT, ::Ice::Double __ice_VLT) : 07143 HUT(__ice_HUT), 07144 HLT(__ice_HLT), 07145 SUT(__ice_SUT), 07146 SLT(__ice_SLT), 07147 VUT(__ice_VUT), 07148 VLT(__ice_VLT) 07149 { 07150 } 07151 07152 ::Ice::ObjectPtr 07153 RobotSimEvents::PipeColorSegmentConfigMessage::ice_clone() const 07154 { 07155 ::RobotSimEvents::PipeColorSegmentConfigMessagePtr __p = new ::RobotSimEvents::PipeColorSegmentConfigMessage(*this); 07156 return __p; 07157 } 07158 07159 static const ::std::string __RobotSimEvents__PipeColorSegmentConfigMessage_ids[3] = 07160 { 07161 "::Ice::Object", 07162 "::RobotSimEvents::EventMessage", 07163 "::RobotSimEvents::PipeColorSegmentConfigMessage" 07164 }; 07165 07166 bool 07167 RobotSimEvents::PipeColorSegmentConfigMessage::ice_isA(const ::std::string& _s, const ::Ice::Current&) const 07168 { 07169 return ::std::binary_search(__RobotSimEvents__PipeColorSegmentConfigMessage_ids, __RobotSimEvents__PipeColorSegmentConfigMessage_ids + 3, _s); 07170 } 07171 07172 ::std::vector< ::std::string> 07173 RobotSimEvents::PipeColorSegmentConfigMessage::ice_ids(const ::Ice::Current&) const 07174 { 07175 return ::std::vector< ::std::string>(&__RobotSimEvents__PipeColorSegmentConfigMessage_ids[0], &__RobotSimEvents__PipeColorSegmentConfigMessage_ids[3]); 07176 } 07177 07178 const ::std::string& 07179 RobotSimEvents::PipeColorSegmentConfigMessage::ice_id(const ::Ice::Current&) const 07180 { 07181 return __RobotSimEvents__PipeColorSegmentConfigMessage_ids[2]; 07182 } 07183 07184 const ::std::string& 07185 RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId() 07186 { 07187 return __RobotSimEvents__PipeColorSegmentConfigMessage_ids[2]; 07188 } 07189 07190 void 07191 RobotSimEvents::PipeColorSegmentConfigMessage::__write(::IceInternal::BasicStream* __os) const 07192 { 07193 __os->writeTypeId(ice_staticId()); 07194 __os->startWriteSlice(); 07195 __os->write(HUT); 07196 __os->write(HLT); 07197 __os->write(SUT); 07198 __os->write(SLT); 07199 __os->write(VUT); 07200 __os->write(VLT); 07201 __os->endWriteSlice(); 07202 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 07203 EventMessage::__write(__os); 07204 #else 07205 ::RobotSimEvents::EventMessage::__write(__os); 07206 #endif 07207 } 07208 07209 void 07210 RobotSimEvents::PipeColorSegmentConfigMessage::__read(::IceInternal::BasicStream* __is, bool __rid) 07211 { 07212 if(__rid) 07213 { 07214 ::std::string myId; 07215 __is->readTypeId(myId); 07216 } 07217 __is->startReadSlice(); 07218 __is->read(HUT); 07219 __is->read(HLT); 07220 __is->read(SUT); 07221 __is->read(SLT); 07222 __is->read(VUT); 07223 __is->read(VLT); 07224 __is->endReadSlice(); 07225 #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug 07226 EventMessage::__read(__is, true); 07227 #else 07228 ::RobotSimEvents::EventMessage::__read(__is, true); 07229 #endif 07230 } 07231 07232 void 07233 RobotSimEvents::PipeColorSegmentConfigMessage::__write(const ::Ice::OutputStreamPtr&) const 07234 { 07235 Ice::MarshalException ex(__FILE__, __LINE__); 07236 ex.reason = "type RobotSimEvents::PipeColorSegmentConfigMessage was not generated with stream support"; 07237 throw ex; 07238 } 07239 07240 void 07241 RobotSimEvents::PipeColorSegmentConfigMessage::__read(const ::Ice::InputStreamPtr&, bool) 07242 { 07243 Ice::MarshalException ex(__FILE__, __LINE__); 07244 ex.reason = "type RobotSimEvents::PipeColorSegmentConfigMessage was not generated with stream support"; 07245 throw ex; 07246 } 07247 07248 class __F__RobotSimEvents__PipeColorSegmentConfigMessage : public ::Ice::ObjectFactory 07249 { 07250 public: 07251 07252 virtual ::Ice::ObjectPtr 07253 create(const ::std::string& type) 07254 { 07255 assert(type == ::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId()); 07256 return new ::RobotSimEvents::PipeColorSegmentConfigMessage; 07257 } 07258 07259 virtual void 07260 destroy() 07261 { 07262 } 07263 }; 07264 07265 static ::Ice::ObjectFactoryPtr __F__RobotSimEvents__PipeColorSegmentConfigMessage_Ptr = new __F__RobotSimEvents__PipeColorSegmentConfigMessage; 07266 07267 const ::Ice::ObjectFactoryPtr& 07268 RobotSimEvents::PipeColorSegmentConfigMessage::ice_factory() 07269 { 07270 return __F__RobotSimEvents__PipeColorSegmentConfigMessage_Ptr; 07271 } 07272 07273 class __F__RobotSimEvents__PipeColorSegmentConfigMessage__Init 07274 { 07275 public: 07276 07277 __F__RobotSimEvents__PipeColorSegmentConfigMessage__Init() 07278 { 07279 ::IceInternal::factoryTable->addObjectFactory(::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId(), ::RobotSimEvents::PipeColorSegmentConfigMessage::ice_factory()); 07280 } 07281 07282 ~__F__RobotSimEvents__PipeColorSegmentConfigMessage__Init() 07283 { 07284 ::IceInternal::factoryTable->removeObjectFactory(::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId()); 07285 } 07286 }; 07287 07288 static __F__RobotSimEvents__PipeColorSegmentConfigMessage__Init __F__RobotSimEvents__PipeColorSegmentConfigMessage__i; 07289 07290 #ifdef __APPLE__ 07291 extern "C" { void __F__RobotSimEvents__PipeColorSegmentConfigMessage__initializer() {} } 07292 #endif 07293 07294 void 07295 RobotSimEvents::__patch__PipeColorSegmentConfigMessagePtr(void* __addr, ::Ice::ObjectPtr& v) 07296 { 07297 ::RobotSimEvents::PipeColorSegmentConfigMessagePtr* p = static_cast< ::RobotSimEvents::PipeColorSegmentConfigMessagePtr*>(__addr); 07298 assert(p); 07299 *p = ::RobotSimEvents::PipeColorSegmentConfigMessagePtr::dynamicCast(v); 07300 if(v && !*p) 07301 { 07302 IceInternal::Ex::throwUOE(::RobotSimEvents::PipeColorSegmentConfigMessage::ice_staticId(), v->ice_id()); 07303 } 07304 } 07305 07306 bool 07307 RobotSimEvents::operator==(const ::RobotSimEvents::PipeColorSegmentConfigMessage& l, const ::RobotSimEvents::PipeColorSegmentConfigMessage& r) 07308 { 07309 return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r); 07310 } 07311 07312 bool 07313 RobotSimEvents::operator<(const ::RobotSimEvents::PipeColorSegmentConfigMessage& l, const ::RobotSimEvents::PipeColorSegmentConfigMessage& r) 07314 { 07315 return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r); 07316 }