EchoSample.h
Go to the documentation of this file.
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
9 
10 // Ice version 3.2.1
11 // Generated from file `EchoSample.ice'
12 
13 #ifndef __EchoSample_h__
14 #define __EchoSample_h__
15 
16 #include <Ice/LocalObjectF.h>
17 #include <Ice/ProxyF.h>
18 #include <Ice/ObjectF.h>
19 #include <Ice/Exception.h>
20 #include <Ice/LocalObject.h>
21 #include <Ice/Proxy.h>
22 #include <Ice/Object.h>
23 #include <Ice/Outgoing.h>
24 #include <Ice/Incoming.h>
25 #include <Ice/Direct.h>
26 #include <Ice/StreamF.h>
27 #include <Ice/UndefSysMacros.h>
28 
29 #ifndef ICE_IGNORE_VERSION
30 # if ICE_INT_VERSION / 100 != 302
31 # error Ice version mismatch!
32 # endif
33 # if ICE_INT_VERSION % 100 > 50
34 # error Beta header file detected
35 # endif
36 # if ICE_INT_VERSION % 100 < 1
37 # error Ice patch level mismatch!
38 # endif
39 #endif
40 
41 namespace IceProxy
42 {
43 
44 namespace Demo
45 {
46 
47 class EchoSample;
48 bool operator==(const EchoSample&, const EchoSample&);
49 bool operator!=(const EchoSample&, const EchoSample&);
50 bool operator<(const EchoSample&, const EchoSample&);
51 bool operator<=(const EchoSample&, const EchoSample&);
52 bool operator>(const EchoSample&, const EchoSample&);
53 bool operator>=(const EchoSample&, const EchoSample&);
54 
55 }
56 
57 }
58 
59 namespace Demo
60 {
61 
62 class EchoSample;
63 bool operator==(const EchoSample&, const EchoSample&);
64 bool operator!=(const EchoSample&, const EchoSample&);
65 bool operator<(const EchoSample&, const EchoSample&);
66 bool operator<=(const EchoSample&, const EchoSample&);
67 bool operator>(const EchoSample&, const EchoSample&);
68 bool operator>=(const EchoSample&, const EchoSample&);
69 
70 }
71 
72 namespace IceInternal
73 {
74 
75 void incRef(::Demo::EchoSample*);
76 void decRef(::Demo::EchoSample*);
77 
80 
81 }
82 
83 namespace Demo
84 {
85 
86 typedef ::IceInternal::Handle< ::Demo::EchoSample> EchoSamplePtr;
87 typedef ::IceInternal::ProxyHandle< ::IceProxy::Demo::EchoSample> EchoSamplePrx;
88 
89 void __write(::IceInternal::BasicStream*, const EchoSamplePrx&);
90 void __read(::IceInternal::BasicStream*, EchoSamplePrx&);
91 void __write(::IceInternal::BasicStream*, const EchoSamplePtr&);
92 void __patch__EchoSamplePtr(void*, ::Ice::ObjectPtr&);
93 
94 void __addObject(const EchoSamplePtr&, ::IceInternal::GCCountMap&);
95 bool __usesClasses(const EchoSamplePtr&);
96 void __decRefUnsafe(const EchoSamplePtr&);
97 void __clearHandleUnsafe(EchoSamplePtr&);
98 
99 }
100 
101 namespace Demo
102 {
103 
104 }
105 
106 namespace IceProxy
107 {
108 
109 namespace Demo
110 {
111 
112 class EchoSample : virtual public ::IceProxy::Ice::Object
113 {
114 public:
115 
116  void echo(const ::std::string& msg)
117  {
118  echo(msg, 0);
119  }
120  void echo(const ::std::string& msg, const ::Ice::Context& __ctx)
121  {
122  echo(msg, &__ctx);
123  }
124 
125 private:
126 
127  void echo(const ::std::string&, const ::Ice::Context*);
128 
129 public:
130 
131  static const ::std::string& ice_staticId();
132 
133 private:
134 
135  virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
136  virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
137 };
138 
139 }
140 
141 }
142 
143 namespace IceDelegate
144 {
145 
146 namespace Demo
147 {
148 
149 class EchoSample : virtual public ::IceDelegate::Ice::Object
150 {
151 public:
152 
153  virtual void echo(const ::std::string&, const ::Ice::Context*) = 0;
154 };
155 
156 }
157 
158 }
159 
160 namespace IceDelegateM
161 {
162 
163 namespace Demo
164 {
165 
167  virtual public ::IceDelegateM::Ice::Object
168 {
169 public:
170 
171  virtual void echo(const ::std::string&, const ::Ice::Context*);
172 };
173 
174 }
175 
176 }
177 
178 namespace IceDelegateD
179 {
180 
181 namespace Demo
182 {
183 
185  virtual public ::IceDelegateD::Ice::Object
186 {
187 public:
188 
189  virtual void echo(const ::std::string&, const ::Ice::Context*);
190 };
191 
192 }
193 
194 }
195 
196 namespace Demo
197 {
198 
199 class EchoSample : virtual public ::Ice::Object
200 {
201 public:
202 
205 
206  virtual ::Ice::ObjectPtr ice_clone() const;
207 
208  virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
209  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
210  virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
211  static const ::std::string& ice_staticId();
212 
213  virtual void echo(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
214  ::IceInternal::DispatchStatus ___echo(::IceInternal::Incoming&, const ::Ice::Current&);
215 
216  virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);
217 
218  virtual void __write(::IceInternal::BasicStream*) const;
219  virtual void __read(::IceInternal::BasicStream*, bool);
220  virtual void __write(const ::Ice::OutputStreamPtr&) const;
221  virtual void __read(const ::Ice::InputStreamPtr&, bool);
222 };
223 
224 void __patch__EchoSamplePtr(void*, ::Ice::ObjectPtr&);
225 
226 }
227 
228 #endif
bool __usesClasses(const EchoSamplePtr &)
Definition: EchoSample.cpp:94
bool operator>=(const EchoSample &, const EchoSample &)
void __write(::IceInternal::BasicStream *, const EchoSamplePtr &)
::IceInternal::ProxyHandle< ::IceProxy::Demo::EchoSample > EchoSamplePrx
Definition: EchoSample.h:87
bool operator!=(const EchoSample &, const EchoSample &)
void __patch__EchoSamplePtr(void *, ::Ice::ObjectPtr &)
Definition: EchoSample.cpp:404
bool operator<(const EchoSample &, const EchoSample &)
bool operator==(const EchoSample &, const EchoSample &)
void echo(const ::std::string &msg)
Definition: EchoSample.h:116
void __clearHandleUnsafe(EchoSamplePtr &)
Definition: EchoSample.cpp:106
void __decRefUnsafe(const EchoSamplePtr &)
Definition: EchoSample.cpp:100
void __read(::IceInternal::BasicStream *, EchoSamplePrx &)
void __addObject(const EchoSamplePtr &, ::IceInternal::GCCountMap &)
Definition: EchoSample.cpp:88
bool operator<=(const EchoSample &, const EchoSample &)
void incRef(::IceProxy::Demo::EchoSample *)
Definition: EchoSample.cpp:48
EchoSamplePrx ProxyType
Definition: EchoSample.h:203
void echo(const ::std::string &msg, const ::Ice::Context &__ctx)
Definition: EchoSample.h:120
bool operator>(const EchoSample &, const EchoSample &)
void decRef(::IceProxy::Demo::EchoSample *)
Definition: EchoSample.cpp:54
EchoSamplePtr PointerType
Definition: EchoSample.h:204
::IceInternal::Handle< ::Demo::EchoSample > EchoSamplePtr
Definition: EchoSample.h:86


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43