IRobot.ice.H

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 `IRobot.ice'
00012 
00013 #ifndef __src_Ice__IRobot_ice_H__
00014 #define __src_Ice__IRobot_ice_H__
00015 
00016 #include <Ice/LocalObjectF.h>
00017 #include <Ice/ProxyF.h>
00018 #include <Ice/ObjectF.h>
00019 #include <Ice/Exception.h>
00020 #include <Ice/LocalObject.h>
00021 #include <Ice/Proxy.h>
00022 #include <Ice/Object.h>
00023 #include <Ice/Outgoing.h>
00024 #include <Ice/Incoming.h>
00025 #include <Ice/Direct.h>
00026 #include <Ice/StreamF.h>
00027 #include <Ice/ImageIce.ice.H>
00028 #include <Ice/UndefSysMacros.h>
00029 
00030 #ifndef ICE_IGNORE_VERSION
00031 #   if ICE_INT_VERSION / 100 != 303
00032 #       error Ice version mismatch!
00033 #   endif
00034 #   if ICE_INT_VERSION % 100 > 50
00035 #       error Beta header file detected
00036 #   endif
00037 #   if ICE_INT_VERSION % 100 < 1
00038 #       error Ice patch level mismatch!
00039 #   endif
00040 #endif
00041 
00042 namespace IceProxy
00043 {
00044 
00045 namespace Robots
00046 {
00047 
00048 class IRobot;
00049 
00050 }
00051 
00052 }
00053 
00054 namespace Robots
00055 {
00056 
00057 class IRobot;
00058 bool operator==(const IRobot&, const IRobot&);
00059 bool operator<(const IRobot&, const IRobot&);
00060 
00061 }
00062 
00063 namespace IceInternal
00064 {
00065 
00066 ::Ice::Object* upCast(::Robots::IRobot*);
00067 ::IceProxy::Ice::Object* upCast(::IceProxy::Robots::IRobot*);
00068 
00069 }
00070 
00071 namespace Robots
00072 {
00073 
00074 typedef ::IceInternal::Handle< ::Robots::IRobot> IRobotPtr;
00075 typedef ::IceInternal::ProxyHandle< ::IceProxy::Robots::IRobot> IRobotPrx;
00076 
00077 void __read(::IceInternal::BasicStream*, IRobotPrx&);
00078 void __patch__IRobotPtr(void*, ::Ice::ObjectPtr&);
00079 
00080 }
00081 
00082 namespace Robots
00083 {
00084 
00085 enum IRobotModes
00086 {
00087     SafeMode,
00088     FullMode,
00089     SpotMode,
00090     CoverMode,
00091     CoverAndDockMode
00092 };
00093 
00094 void __write(::IceInternal::BasicStream*, IRobotModes);
00095 void __read(::IceInternal::BasicStream*, IRobotModes&);
00096 
00097 }
00098 
00099 namespace IceProxy
00100 {
00101 
00102 namespace Robots
00103 {
00104 
00105 class IRobot : virtual public ::IceProxy::Ice::Object
00106 {
00107 public:
00108 
00109     ::Ice::Float getSpeed()
00110     {
00111         return getSpeed(0);
00112     }
00113     ::Ice::Float getSpeed(const ::Ice::Context& __ctx)
00114     {
00115         return getSpeed(&__ctx);
00116     }
00117 
00118 private:
00119 
00120     ::Ice::Float getSpeed(const ::Ice::Context*);
00121 
00122 public:
00123 
00124     ::Ice::Short setSpeed(::Ice::Float speed)
00125     {
00126         return setSpeed(speed, 0);
00127     }
00128     ::Ice::Short setSpeed(::Ice::Float speed, const ::Ice::Context& __ctx)
00129     {
00130         return setSpeed(speed, &__ctx);
00131     }
00132 
00133 private:
00134 
00135     ::Ice::Short setSpeed(::Ice::Float, const ::Ice::Context*);
00136 
00137 public:
00138 
00139     ::Ice::Float getSteering()
00140     {
00141         return getSteering(0);
00142     }
00143     ::Ice::Float getSteering(const ::Ice::Context& __ctx)
00144     {
00145         return getSteering(&__ctx);
00146     }
00147 
00148 private:
00149 
00150     ::Ice::Float getSteering(const ::Ice::Context*);
00151 
00152 public:
00153 
00154     ::Ice::Short setSteering(::Ice::Float steeringPos)
00155     {
00156         return setSteering(steeringPos, 0);
00157     }
00158     ::Ice::Short setSteering(::Ice::Float steeringPos, const ::Ice::Context& __ctx)
00159     {
00160         return setSteering(steeringPos, &__ctx);
00161     }
00162 
00163 private:
00164 
00165     ::Ice::Short setSteering(::Ice::Float, const ::Ice::Context*);
00166 
00167 public:
00168 
00169     ::ImageIceMod::ImageIce getImageSensor(::Ice::Short i, bool useColor)
00170     {
00171         return getImageSensor(i, useColor, 0);
00172     }
00173     ::ImageIceMod::ImageIce getImageSensor(::Ice::Short i, bool useColor, const ::Ice::Context& __ctx)
00174     {
00175         return getImageSensor(i, useColor, &__ctx);
00176     }
00177 
00178 private:
00179 
00180     ::ImageIceMod::ImageIce getImageSensor(::Ice::Short, bool, const ::Ice::Context*);
00181 
00182 public:
00183 
00184     ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short i)
00185     {
00186         return getImageSensorDims(i, 0);
00187     }
00188     ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short i, const ::Ice::Context& __ctx)
00189     {
00190         return getImageSensorDims(i, &__ctx);
00191     }
00192 
00193 private:
00194 
00195     ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short, const ::Ice::Context*);
00196 
00197 public:
00198 
00199     ::Ice::Float getSensorValue(::Ice::Short i)
00200     {
00201         return getSensorValue(i, 0);
00202     }
00203     ::Ice::Float getSensorValue(::Ice::Short i, const ::Ice::Context& __ctx)
00204     {
00205         return getSensorValue(i, &__ctx);
00206     }
00207 
00208 private:
00209 
00210     ::Ice::Float getSensorValue(::Ice::Short, const ::Ice::Context*);
00211 
00212 public:
00213 
00214     bool getSensors(::Ice::Float& xPos, ::Ice::Float& yPos, ::Ice::Float& ori)
00215     {
00216         return getSensors(xPos, yPos, ori, 0);
00217     }
00218     bool getSensors(::Ice::Float& xPos, ::Ice::Float& yPos, ::Ice::Float& ori, const ::Ice::Context& __ctx)
00219     {
00220         return getSensors(xPos, yPos, ori, &__ctx);
00221     }
00222 
00223 private:
00224 
00225     bool getSensors(::Ice::Float&, ::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00226 
00227 public:
00228 
00229     bool getDistanceAngle(::Ice::Float& dist, ::Ice::Float& ang)
00230     {
00231         return getDistanceAngle(dist, ang, 0);
00232     }
00233     bool getDistanceAngle(::Ice::Float& dist, ::Ice::Float& ang, const ::Ice::Context& __ctx)
00234     {
00235         return getDistanceAngle(dist, ang, &__ctx);
00236     }
00237 
00238 private:
00239 
00240     bool getDistanceAngle(::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00241 
00242 public:
00243 
00244     void motorsOff(::Ice::Short i)
00245     {
00246         motorsOff(i, 0);
00247     }
00248     void motorsOff(::Ice::Short i, const ::Ice::Context& __ctx)
00249     {
00250         motorsOff(i, &__ctx);
00251     }
00252 
00253 private:
00254 
00255     void motorsOff(::Ice::Short, const ::Ice::Context*);
00256 
00257 public:
00258 
00259     void setMotor(::Ice::Short i, ::Ice::Float val)
00260     {
00261         setMotor(i, val, 0);
00262     }
00263     void setMotor(::Ice::Short i, ::Ice::Float val, const ::Ice::Context& __ctx)
00264     {
00265         setMotor(i, val, &__ctx);
00266     }
00267 
00268 private:
00269 
00270     void setMotor(::Ice::Short, ::Ice::Float, const ::Ice::Context*);
00271 
00272 public:
00273 
00274     ::Ice::Short sendRawCmd(const ::std::string& data)
00275     {
00276         return sendRawCmd(data, 0);
00277     }
00278     ::Ice::Short sendRawCmd(const ::std::string& data, const ::Ice::Context& __ctx)
00279     {
00280         return sendRawCmd(data, &__ctx);
00281     }
00282 
00283 private:
00284 
00285     ::Ice::Short sendRawCmd(const ::std::string&, const ::Ice::Context*);
00286 
00287 public:
00288 
00289     void playSong(::Ice::Short song)
00290     {
00291         playSong(song, 0);
00292     }
00293     void playSong(::Ice::Short song, const ::Ice::Context& __ctx)
00294     {
00295         playSong(song, &__ctx);
00296     }
00297 
00298 private:
00299 
00300     void playSong(::Ice::Short, const ::Ice::Context*);
00301 
00302 public:
00303 
00304     void sendStart()
00305     {
00306         sendStart(0);
00307     }
00308     void sendStart(const ::Ice::Context& __ctx)
00309     {
00310         sendStart(&__ctx);
00311     }
00312 
00313 private:
00314 
00315     void sendStart(const ::Ice::Context*);
00316 
00317 public:
00318 
00319     void setMode(::Robots::IRobotModes mode)
00320     {
00321         setMode(mode, 0);
00322     }
00323     void setMode(::Robots::IRobotModes mode, const ::Ice::Context& __ctx)
00324     {
00325         setMode(mode, &__ctx);
00326     }
00327 
00328 private:
00329 
00330     void setMode(::Robots::IRobotModes, const ::Ice::Context*);
00331 
00332 public:
00333 
00334     void setDemo(::Ice::Short demo)
00335     {
00336         setDemo(demo, 0);
00337     }
00338     void setDemo(::Ice::Short demo, const ::Ice::Context& __ctx)
00339     {
00340         setDemo(demo, &__ctx);
00341     }
00342 
00343 private:
00344 
00345     void setDemo(::Ice::Short, const ::Ice::Context*);
00346 
00347 public:
00348 
00349     void setLED(::Ice::Short led, ::Ice::Short color, ::Ice::Short intensity)
00350     {
00351         setLED(led, color, intensity, 0);
00352     }
00353     void setLED(::Ice::Short led, ::Ice::Short color, ::Ice::Short intensity, const ::Ice::Context& __ctx)
00354     {
00355         setLED(led, color, intensity, &__ctx);
00356     }
00357 
00358 private:
00359 
00360     void setLED(::Ice::Short, ::Ice::Short, ::Ice::Short, const ::Ice::Context*);
00361 
00362 public:
00363 
00364     void shutdown()
00365     {
00366         shutdown(0);
00367     }
00368     void shutdown(const ::Ice::Context& __ctx)
00369     {
00370         shutdown(&__ctx);
00371     }
00372 
00373 private:
00374 
00375     void shutdown(const ::Ice::Context*);
00376 
00377 public:
00378 
00379     ::IceInternal::ProxyHandle<IRobot> ice_context(const ::Ice::Context& __context) const
00380     {
00381     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00382         typedef ::IceProxy::Ice::Object _Base;
00383         return dynamic_cast<IRobot*>(_Base::ice_context(__context).get());
00384     #else
00385         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_context(__context).get());
00386     #endif
00387     }
00388 
00389     ::IceInternal::ProxyHandle<IRobot> ice_adapterId(const std::string& __id) const
00390     {
00391     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00392         typedef ::IceProxy::Ice::Object _Base;
00393         return dynamic_cast<IRobot*>(_Base::ice_adapterId(__id).get());
00394     #else
00395         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
00396     #endif
00397     }
00398 
00399     ::IceInternal::ProxyHandle<IRobot> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
00400     {
00401     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00402         typedef ::IceProxy::Ice::Object _Base;
00403         return dynamic_cast<IRobot*>(_Base::ice_endpoints(__endpoints).get());
00404     #else
00405         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
00406     #endif
00407     }
00408 
00409     ::IceInternal::ProxyHandle<IRobot> ice_locatorCacheTimeout(int __timeout) const
00410     {
00411     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00412         typedef ::IceProxy::Ice::Object _Base;
00413         return dynamic_cast<IRobot*>(_Base::ice_locatorCacheTimeout(__timeout).get());
00414     #else
00415         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
00416     #endif
00417     }
00418 
00419     ::IceInternal::ProxyHandle<IRobot> ice_connectionCached(bool __cached) const
00420     {
00421     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00422         typedef ::IceProxy::Ice::Object _Base;
00423         return dynamic_cast<IRobot*>(_Base::ice_connectionCached(__cached).get());
00424     #else
00425         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
00426     #endif
00427     }
00428 
00429     ::IceInternal::ProxyHandle<IRobot> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
00430     {
00431     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00432         typedef ::IceProxy::Ice::Object _Base;
00433         return dynamic_cast<IRobot*>(_Base::ice_endpointSelection(__est).get());
00434     #else
00435         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
00436     #endif
00437     }
00438 
00439     ::IceInternal::ProxyHandle<IRobot> ice_secure(bool __secure) const
00440     {
00441     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00442         typedef ::IceProxy::Ice::Object _Base;
00443         return dynamic_cast<IRobot*>(_Base::ice_secure(__secure).get());
00444     #else
00445         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
00446     #endif
00447     }
00448 
00449     ::IceInternal::ProxyHandle<IRobot> ice_preferSecure(bool __preferSecure) const
00450     {
00451     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00452         typedef ::IceProxy::Ice::Object _Base;
00453         return dynamic_cast<IRobot*>(_Base::ice_preferSecure(__preferSecure).get());
00454     #else
00455         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
00456     #endif
00457     }
00458 
00459     ::IceInternal::ProxyHandle<IRobot> ice_router(const ::Ice::RouterPrx& __router) const
00460     {
00461     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00462         typedef ::IceProxy::Ice::Object _Base;
00463         return dynamic_cast<IRobot*>(_Base::ice_router(__router).get());
00464     #else
00465         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_router(__router).get());
00466     #endif
00467     }
00468 
00469     ::IceInternal::ProxyHandle<IRobot> ice_locator(const ::Ice::LocatorPrx& __locator) const
00470     {
00471     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00472         typedef ::IceProxy::Ice::Object _Base;
00473         return dynamic_cast<IRobot*>(_Base::ice_locator(__locator).get());
00474     #else
00475         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
00476     #endif
00477     }
00478 
00479     ::IceInternal::ProxyHandle<IRobot> ice_collocationOptimized(bool __co) const
00480     {
00481     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00482         typedef ::IceProxy::Ice::Object _Base;
00483         return dynamic_cast<IRobot*>(_Base::ice_collocationOptimized(__co).get());
00484     #else
00485         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
00486     #endif
00487     }
00488 
00489     ::IceInternal::ProxyHandle<IRobot> ice_twoway() const
00490     {
00491     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00492         typedef ::IceProxy::Ice::Object _Base;
00493         return dynamic_cast<IRobot*>(_Base::ice_twoway().get());
00494     #else
00495         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_twoway().get());
00496     #endif
00497     }
00498 
00499     ::IceInternal::ProxyHandle<IRobot> ice_oneway() const
00500     {
00501     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00502         typedef ::IceProxy::Ice::Object _Base;
00503         return dynamic_cast<IRobot*>(_Base::ice_oneway().get());
00504     #else
00505         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_oneway().get());
00506     #endif
00507     }
00508 
00509     ::IceInternal::ProxyHandle<IRobot> ice_batchOneway() const
00510     {
00511     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00512         typedef ::IceProxy::Ice::Object _Base;
00513         return dynamic_cast<IRobot*>(_Base::ice_batchOneway().get());
00514     #else
00515         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_batchOneway().get());
00516     #endif
00517     }
00518 
00519     ::IceInternal::ProxyHandle<IRobot> ice_datagram() const
00520     {
00521     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00522         typedef ::IceProxy::Ice::Object _Base;
00523         return dynamic_cast<IRobot*>(_Base::ice_datagram().get());
00524     #else
00525         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_datagram().get());
00526     #endif
00527     }
00528 
00529     ::IceInternal::ProxyHandle<IRobot> ice_batchDatagram() const
00530     {
00531     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00532         typedef ::IceProxy::Ice::Object _Base;
00533         return dynamic_cast<IRobot*>(_Base::ice_batchDatagram().get());
00534     #else
00535         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
00536     #endif
00537     }
00538 
00539     ::IceInternal::ProxyHandle<IRobot> ice_compress(bool __compress) const
00540     {
00541     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00542         typedef ::IceProxy::Ice::Object _Base;
00543         return dynamic_cast<IRobot*>(_Base::ice_compress(__compress).get());
00544     #else
00545         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
00546     #endif
00547     }
00548 
00549     ::IceInternal::ProxyHandle<IRobot> ice_timeout(int __timeout) const
00550     {
00551     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00552         typedef ::IceProxy::Ice::Object _Base;
00553         return dynamic_cast<IRobot*>(_Base::ice_timeout(__timeout).get());
00554     #else
00555         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
00556     #endif
00557     }
00558 
00559     ::IceInternal::ProxyHandle<IRobot> ice_connectionId(const std::string& __id) const
00560     {
00561     #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
00562         typedef ::IceProxy::Ice::Object _Base;
00563         return dynamic_cast<IRobot*>(_Base::ice_connectionId(__id).get());
00564     #else
00565         return dynamic_cast<IRobot*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
00566     #endif
00567     }
00568 
00569     static const ::std::string& ice_staticId();
00570 
00571 private:
00572 
00573     virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
00574     virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
00575     virtual ::IceProxy::Ice::Object* __newInstance() const;
00576 };
00577 
00578 }
00579 
00580 }
00581 
00582 namespace IceDelegate
00583 {
00584 
00585 namespace Robots
00586 {
00587 
00588 class IRobot : virtual public ::IceDelegate::Ice::Object
00589 {
00590 public:
00591 
00592     virtual ::Ice::Float getSpeed(const ::Ice::Context*) = 0;
00593 
00594     virtual ::Ice::Short setSpeed(::Ice::Float, const ::Ice::Context*) = 0;
00595 
00596     virtual ::Ice::Float getSteering(const ::Ice::Context*) = 0;
00597 
00598     virtual ::Ice::Short setSteering(::Ice::Float, const ::Ice::Context*) = 0;
00599 
00600     virtual ::ImageIceMod::ImageIce getImageSensor(::Ice::Short, bool, const ::Ice::Context*) = 0;
00601 
00602     virtual ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short, const ::Ice::Context*) = 0;
00603 
00604     virtual ::Ice::Float getSensorValue(::Ice::Short, const ::Ice::Context*) = 0;
00605 
00606     virtual bool getSensors(::Ice::Float&, ::Ice::Float&, ::Ice::Float&, const ::Ice::Context*) = 0;
00607 
00608     virtual bool getDistanceAngle(::Ice::Float&, ::Ice::Float&, const ::Ice::Context*) = 0;
00609 
00610     virtual void motorsOff(::Ice::Short, const ::Ice::Context*) = 0;
00611 
00612     virtual void setMotor(::Ice::Short, ::Ice::Float, const ::Ice::Context*) = 0;
00613 
00614     virtual ::Ice::Short sendRawCmd(const ::std::string&, const ::Ice::Context*) = 0;
00615 
00616     virtual void playSong(::Ice::Short, const ::Ice::Context*) = 0;
00617 
00618     virtual void sendStart(const ::Ice::Context*) = 0;
00619 
00620     virtual void setMode(::Robots::IRobotModes, const ::Ice::Context*) = 0;
00621 
00622     virtual void setDemo(::Ice::Short, const ::Ice::Context*) = 0;
00623 
00624     virtual void setLED(::Ice::Short, ::Ice::Short, ::Ice::Short, const ::Ice::Context*) = 0;
00625 
00626     virtual void shutdown(const ::Ice::Context*) = 0;
00627 };
00628 
00629 }
00630 
00631 }
00632 
00633 namespace IceDelegateM
00634 {
00635 
00636 namespace Robots
00637 {
00638 
00639 class IRobot : virtual public ::IceDelegate::Robots::IRobot,
00640                virtual public ::IceDelegateM::Ice::Object
00641 {
00642 public:
00643 
00644     virtual ::Ice::Float getSpeed(const ::Ice::Context*);
00645 
00646     virtual ::Ice::Short setSpeed(::Ice::Float, const ::Ice::Context*);
00647 
00648     virtual ::Ice::Float getSteering(const ::Ice::Context*);
00649 
00650     virtual ::Ice::Short setSteering(::Ice::Float, const ::Ice::Context*);
00651 
00652     virtual ::ImageIceMod::ImageIce getImageSensor(::Ice::Short, bool, const ::Ice::Context*);
00653 
00654     virtual ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short, const ::Ice::Context*);
00655 
00656     virtual ::Ice::Float getSensorValue(::Ice::Short, const ::Ice::Context*);
00657 
00658     virtual bool getSensors(::Ice::Float&, ::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00659 
00660     virtual bool getDistanceAngle(::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00661 
00662     virtual void motorsOff(::Ice::Short, const ::Ice::Context*);
00663 
00664     virtual void setMotor(::Ice::Short, ::Ice::Float, const ::Ice::Context*);
00665 
00666     virtual ::Ice::Short sendRawCmd(const ::std::string&, const ::Ice::Context*);
00667 
00668     virtual void playSong(::Ice::Short, const ::Ice::Context*);
00669 
00670     virtual void sendStart(const ::Ice::Context*);
00671 
00672     virtual void setMode(::Robots::IRobotModes, const ::Ice::Context*);
00673 
00674     virtual void setDemo(::Ice::Short, const ::Ice::Context*);
00675 
00676     virtual void setLED(::Ice::Short, ::Ice::Short, ::Ice::Short, const ::Ice::Context*);
00677 
00678     virtual void shutdown(const ::Ice::Context*);
00679 };
00680 
00681 }
00682 
00683 }
00684 
00685 namespace IceDelegateD
00686 {
00687 
00688 namespace Robots
00689 {
00690 
00691 class IRobot : virtual public ::IceDelegate::Robots::IRobot,
00692                virtual public ::IceDelegateD::Ice::Object
00693 {
00694 public:
00695 
00696     virtual ::Ice::Float getSpeed(const ::Ice::Context*);
00697 
00698     virtual ::Ice::Short setSpeed(::Ice::Float, const ::Ice::Context*);
00699 
00700     virtual ::Ice::Float getSteering(const ::Ice::Context*);
00701 
00702     virtual ::Ice::Short setSteering(::Ice::Float, const ::Ice::Context*);
00703 
00704     virtual ::ImageIceMod::ImageIce getImageSensor(::Ice::Short, bool, const ::Ice::Context*);
00705 
00706     virtual ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short, const ::Ice::Context*);
00707 
00708     virtual ::Ice::Float getSensorValue(::Ice::Short, const ::Ice::Context*);
00709 
00710     virtual bool getSensors(::Ice::Float&, ::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00711 
00712     virtual bool getDistanceAngle(::Ice::Float&, ::Ice::Float&, const ::Ice::Context*);
00713 
00714     virtual void motorsOff(::Ice::Short, const ::Ice::Context*);
00715 
00716     virtual void setMotor(::Ice::Short, ::Ice::Float, const ::Ice::Context*);
00717 
00718     virtual ::Ice::Short sendRawCmd(const ::std::string&, const ::Ice::Context*);
00719 
00720     virtual void playSong(::Ice::Short, const ::Ice::Context*);
00721 
00722     virtual void sendStart(const ::Ice::Context*);
00723 
00724     virtual void setMode(::Robots::IRobotModes, const ::Ice::Context*);
00725 
00726     virtual void setDemo(::Ice::Short, const ::Ice::Context*);
00727 
00728     virtual void setLED(::Ice::Short, ::Ice::Short, ::Ice::Short, const ::Ice::Context*);
00729 
00730     virtual void shutdown(const ::Ice::Context*);
00731 };
00732 
00733 }
00734 
00735 }
00736 
00737 namespace Robots
00738 {
00739 
00740 class IRobot : virtual public ::Ice::Object
00741 {
00742 public:
00743 
00744     typedef IRobotPrx ProxyType;
00745     typedef IRobotPtr PointerType;
00746 
00747     virtual ::Ice::ObjectPtr ice_clone() const;
00748 
00749     virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
00750     virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
00751     virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
00752     static const ::std::string& ice_staticId();
00753 
00754     virtual ::Ice::Float getSpeed(const ::Ice::Current& = ::Ice::Current()) = 0;
00755     ::Ice::DispatchStatus ___getSpeed(::IceInternal::Incoming&, const ::Ice::Current&);
00756 
00757     virtual ::Ice::Short setSpeed(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
00758     ::Ice::DispatchStatus ___setSpeed(::IceInternal::Incoming&, const ::Ice::Current&);
00759 
00760     virtual ::Ice::Float getSteering(const ::Ice::Current& = ::Ice::Current()) = 0;
00761     ::Ice::DispatchStatus ___getSteering(::IceInternal::Incoming&, const ::Ice::Current&);
00762 
00763     virtual ::Ice::Short setSteering(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
00764     ::Ice::DispatchStatus ___setSteering(::IceInternal::Incoming&, const ::Ice::Current&);
00765 
00766     virtual ::ImageIceMod::ImageIce getImageSensor(::Ice::Short, bool, const ::Ice::Current& = ::Ice::Current()) = 0;
00767     ::Ice::DispatchStatus ___getImageSensor(::IceInternal::Incoming&, const ::Ice::Current&);
00768 
00769     virtual ::ImageIceMod::DimsIce getImageSensorDims(::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00770     ::Ice::DispatchStatus ___getImageSensorDims(::IceInternal::Incoming&, const ::Ice::Current&);
00771 
00772     virtual ::Ice::Float getSensorValue(::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00773     ::Ice::DispatchStatus ___getSensorValue(::IceInternal::Incoming&, const ::Ice::Current&);
00774 
00775     virtual bool getSensors(::Ice::Float&, ::Ice::Float&, ::Ice::Float&, const ::Ice::Current& = ::Ice::Current()) = 0;
00776     ::Ice::DispatchStatus ___getSensors(::IceInternal::Incoming&, const ::Ice::Current&);
00777 
00778     virtual bool getDistanceAngle(::Ice::Float&, ::Ice::Float&, const ::Ice::Current& = ::Ice::Current()) = 0;
00779     ::Ice::DispatchStatus ___getDistanceAngle(::IceInternal::Incoming&, const ::Ice::Current&);
00780 
00781     virtual void motorsOff(::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00782     ::Ice::DispatchStatus ___motorsOff(::IceInternal::Incoming&, const ::Ice::Current&);
00783 
00784     virtual void setMotor(::Ice::Short, ::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
00785     ::Ice::DispatchStatus ___setMotor(::IceInternal::Incoming&, const ::Ice::Current&);
00786 
00787     virtual ::Ice::Short sendRawCmd(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
00788     ::Ice::DispatchStatus ___sendRawCmd(::IceInternal::Incoming&, const ::Ice::Current&);
00789 
00790     virtual void playSong(::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00791     ::Ice::DispatchStatus ___playSong(::IceInternal::Incoming&, const ::Ice::Current&);
00792 
00793     virtual void sendStart(const ::Ice::Current& = ::Ice::Current()) = 0;
00794     ::Ice::DispatchStatus ___sendStart(::IceInternal::Incoming&, const ::Ice::Current&);
00795 
00796     virtual void setMode(::Robots::IRobotModes, const ::Ice::Current& = ::Ice::Current()) = 0;
00797     ::Ice::DispatchStatus ___setMode(::IceInternal::Incoming&, const ::Ice::Current&);
00798 
00799     virtual void setDemo(::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00800     ::Ice::DispatchStatus ___setDemo(::IceInternal::Incoming&, const ::Ice::Current&);
00801 
00802     virtual void setLED(::Ice::Short, ::Ice::Short, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0;
00803     ::Ice::DispatchStatus ___setLED(::IceInternal::Incoming&, const ::Ice::Current&);
00804 
00805     virtual void shutdown(const ::Ice::Current& = ::Ice::Current()) = 0;
00806     ::Ice::DispatchStatus ___shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
00807 
00808     virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
00809 
00810     virtual void __write(::IceInternal::BasicStream*) const;
00811     virtual void __read(::IceInternal::BasicStream*, bool);
00812     virtual void __write(const ::Ice::OutputStreamPtr&) const;
00813     virtual void __read(const ::Ice::InputStreamPtr&, bool);
00814 };
00815 
00816 }
00817 
00818 #endif
Generated on Sun May 8 08:40:45 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3