EchoSample.h
Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Copyright (c) 2003-2007 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.2.1
00011 // Generated from file `EchoSample.ice'
00012 
00013 #ifndef __EchoSample_h__
00014 #define __EchoSample_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/UndefSysMacros.h>
00028 
00029 #ifndef ICE_IGNORE_VERSION
00030 #   if ICE_INT_VERSION / 100 != 302
00031 #       error Ice version mismatch!
00032 #   endif
00033 #   if ICE_INT_VERSION % 100 > 50
00034 #       error Beta header file detected
00035 #   endif
00036 #   if ICE_INT_VERSION % 100 < 1
00037 #       error Ice patch level mismatch!
00038 #   endif
00039 #endif
00040 
00041 namespace IceProxy
00042 {
00043 
00044 namespace Demo
00045 {
00046 
00047 class EchoSample;
00048 bool operator==(const EchoSample&, const EchoSample&);
00049 bool operator!=(const EchoSample&, const EchoSample&);
00050 bool operator<(const EchoSample&, const EchoSample&);
00051 bool operator<=(const EchoSample&, const EchoSample&);
00052 bool operator>(const EchoSample&, const EchoSample&);
00053 bool operator>=(const EchoSample&, const EchoSample&);
00054 
00055 }
00056 
00057 }
00058 
00059 namespace Demo
00060 {
00061 
00062 class EchoSample;
00063 bool operator==(const EchoSample&, const EchoSample&);
00064 bool operator!=(const EchoSample&, const EchoSample&);
00065 bool operator<(const EchoSample&, const EchoSample&);
00066 bool operator<=(const EchoSample&, const EchoSample&);
00067 bool operator>(const EchoSample&, const EchoSample&);
00068 bool operator>=(const EchoSample&, const EchoSample&);
00069 
00070 }
00071 
00072 namespace IceInternal
00073 {
00074 
00075 void incRef(::Demo::EchoSample*);
00076 void decRef(::Demo::EchoSample*);
00077 
00078 void incRef(::IceProxy::Demo::EchoSample*);
00079 void decRef(::IceProxy::Demo::EchoSample*);
00080 
00081 }
00082 
00083 namespace Demo
00084 {
00085 
00086 typedef ::IceInternal::Handle< ::Demo::EchoSample> EchoSamplePtr;
00087 typedef ::IceInternal::ProxyHandle< ::IceProxy::Demo::EchoSample> EchoSamplePrx;
00088 
00089 void __write(::IceInternal::BasicStream*, const EchoSamplePrx&);
00090 void __read(::IceInternal::BasicStream*, EchoSamplePrx&);
00091 void __write(::IceInternal::BasicStream*, const EchoSamplePtr&);
00092 void __patch__EchoSamplePtr(void*, ::Ice::ObjectPtr&);
00093 
00094 void __addObject(const EchoSamplePtr&, ::IceInternal::GCCountMap&);
00095 bool __usesClasses(const EchoSamplePtr&);
00096 void __decRefUnsafe(const EchoSamplePtr&);
00097 void __clearHandleUnsafe(EchoSamplePtr&);
00098 
00099 }
00100 
00101 namespace Demo
00102 {
00103 
00104 }
00105 
00106 namespace IceProxy
00107 {
00108 
00109 namespace Demo
00110 {
00111 
00112 class EchoSample : virtual public ::IceProxy::Ice::Object
00113 {
00114 public:
00115 
00116     void echo(const ::std::string& msg)
00117     {
00118         echo(msg, 0);
00119     }
00120     void echo(const ::std::string& msg, const ::Ice::Context& __ctx)
00121     {
00122         echo(msg, &__ctx);
00123     }
00124     
00125 private:
00126 
00127     void echo(const ::std::string&, const ::Ice::Context*);
00128     
00129 public:
00130     
00131     static const ::std::string& ice_staticId();
00132 
00133 private: 
00134 
00135     virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
00136     virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
00137 };
00138 
00139 }
00140 
00141 }
00142 
00143 namespace IceDelegate
00144 {
00145 
00146 namespace Demo
00147 {
00148 
00149 class EchoSample : virtual public ::IceDelegate::Ice::Object
00150 {
00151 public:
00152 
00153     virtual void echo(const ::std::string&, const ::Ice::Context*) = 0;
00154 };
00155 
00156 }
00157 
00158 }
00159 
00160 namespace IceDelegateM
00161 {
00162 
00163 namespace Demo
00164 {
00165 
00166 class EchoSample : virtual public ::IceDelegate::Demo::EchoSample,
00167                    virtual public ::IceDelegateM::Ice::Object
00168 {
00169 public:
00170 
00171     virtual void echo(const ::std::string&, const ::Ice::Context*);
00172 };
00173 
00174 }
00175 
00176 }
00177 
00178 namespace IceDelegateD
00179 {
00180 
00181 namespace Demo
00182 {
00183 
00184 class EchoSample : virtual public ::IceDelegate::Demo::EchoSample,
00185                    virtual public ::IceDelegateD::Ice::Object
00186 {
00187 public:
00188 
00189     virtual void echo(const ::std::string&, const ::Ice::Context*);
00190 };
00191 
00192 }
00193 
00194 }
00195 
00196 namespace Demo
00197 {
00198 
00199 class EchoSample : virtual public ::Ice::Object
00200 {
00201 public:
00202 
00203     typedef EchoSamplePrx ProxyType;
00204     typedef EchoSamplePtr PointerType;
00205     
00206     virtual ::Ice::ObjectPtr ice_clone() const;
00207 
00208     virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
00209     virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
00210     virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
00211     static const ::std::string& ice_staticId();
00212 
00213     virtual void echo(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
00214     ::IceInternal::DispatchStatus ___echo(::IceInternal::Incoming&, const ::Ice::Current&);
00215 
00216     virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
00217 
00218     virtual void __write(::IceInternal::BasicStream*) const;
00219     virtual void __read(::IceInternal::BasicStream*, bool);
00220     virtual void __write(const ::Ice::OutputStreamPtr&) const;
00221     virtual void __read(const ::Ice::InputStreamPtr&, bool);
00222 };
00223 
00224 void __patch__EchoSamplePtr(void*, ::Ice::ObjectPtr&);
00225 
00226 }
00227 
00228 #endif


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:04