hpp-corbaserver: src/hpp/core_idl/distances-idl.hh Source File

hpp-corbaserver 9.0.2 Corba server for Humanoid Path Planner applications

Loading...
Searching...
No Matches
distances-idl.hh
Go to the documentation of this file.
1// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
2#ifndef pp_core_idl__distances_hh__
3#define pp_core_idl__distances_hh__
4
5#ifndef __CORBA_H_EXTERNAL_GUARD__
6#include <omniORB4/CORBA.h>
7#endif
8
9#ifndef USE_stub_in_nt_dll
10# define USE_stub_in_nt_dll_NOT_DEFINED_distances
11#endif
12#ifndef USE_core_stub_in_nt_dll
13# define USE_core_stub_in_nt_dll_NOT_DEFINED_distances
14#endif
15#ifndef USE_dyn_stub_in_nt_dll
16# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances
17#endif
18
19
20
21#ifndef pp_core_idl__common_hh_EXTERNAL_GUARD__
22#define pp_core_idl__common_hh_EXTERNAL_GUARD__
23#include <hpp/common-idl.hh>
24#endif
25
26
27
28#ifdef USE_stub_in_nt_dll
29# ifndef USE_core_stub_in_nt_dll
30# define USE_core_stub_in_nt_dll
31# endif
32# ifndef USE_dyn_stub_in_nt_dll
33# define USE_dyn_stub_in_nt_dll
34# endif
35#endif
36
37#ifdef _core_attr
38# error "A local CPP macro _core_attr has already been defined."
39#else
40# ifdef USE_core_stub_in_nt_dll
41# define _core_attr _OMNIORB_NTDLL_IMPORT
42# else
43# define _core_attr
44# endif
45#endif
46
47#ifdef _dyn_attr
48# error "A local CPP macro _dyn_attr has already been defined."
49#else
50# ifdef USE_dyn_stub_in_nt_dll
51# define _dyn_attr _OMNIORB_NTDLL_IMPORT
52# else
53# define _dyn_attr
54# endif
55#endif
56
57
58
59_CORBA_MODULE hpp
60
61_CORBA_MODULE_BEG
62
63 _CORBA_MODULE core_idl
64
65 _CORBA_MODULE_BEG
66
67#ifndef __hpp_mcore__idl_mDistance__
68#define __hpp_mcore__idl_mDistance__
69 class Distance;
70 class _objref_Distance;
71 class _impl_Distance;
72
73 typedef _objref_Distance* Distance_ptr;
74 typedef Distance_ptr DistanceRef;
75
76 class Distance_Helper {
77 public:
78 typedef Distance_ptr _ptr_type;
79
80 static _ptr_type _nil();
81 static _CORBA_Boolean is_nil(_ptr_type);
82 static void release(_ptr_type);
83 static void duplicate(_ptr_type);
84 static void marshalObjRef(_ptr_type, cdrStream&);
85 static _ptr_type unmarshalObjRef(cdrStream&);
86 };
87
88 typedef _CORBA_ObjRef_Var<_objref_Distance, Distance_Helper> Distance_var;
89 typedef _CORBA_ObjRef_OUT_arg<_objref_Distance,Distance_Helper > Distance_out;
90
91#endif
92
93 // interface Distance
94 class Distance {
95 public:
96 // Declarations for this interface type.
97 typedef Distance_ptr _ptr_type;
98 typedef Distance_var _var_type;
99
100 static _ptr_type _duplicate(_ptr_type);
101 static _ptr_type _narrow(::CORBA::Object_ptr);
102 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
103
104 static _ptr_type _nil();
105
106 static inline void _marshalObjRef(_ptr_type, cdrStream&);
107
108 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
109 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
110 if (o)
111 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
112 else
113 return _nil();
114 }
115
116 static inline _ptr_type _fromObjRef(omniObjRef* o) {
117 if (o)
118 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
119 else
120 return _nil();
121 }
122
123 static _core_attr const char* _PD_repoId;
124
125 // Other IDL defined within this scope.
126
127 };
128
129 class _objref_Distance :
130 public virtual ::CORBA::Object,
131 public virtual omniObjRef
132 {
133 public:
134 // IDL operations
135 void deleteThis();
136 ::CORBA::Boolean deleteIfExpired();
137 void persistantStorage(::CORBA::Boolean persistant);
138 value_type call(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2);
139
140 // Constructors
141 inline _objref_Distance() { _PR_setobj(0); } // nil
142 _objref_Distance(omniIOR*, omniIdentity*);
143
144 protected:
145 virtual ~_objref_Distance();
146
147
148 private:
149 virtual void* _ptrToObjRef(const char*);
150
151 _objref_Distance(const _objref_Distance&);
152 _objref_Distance& operator = (const _objref_Distance&);
153 // not implemented
154
155 friend class Distance;
156 };
157
158 class _pof_Distance : public _OMNI_NS(proxyObjectFactory) {
159 public:
160 inline _pof_Distance() : _OMNI_NS(proxyObjectFactory)(Distance::_PD_repoId) {}
161 virtual ~_pof_Distance();
162
163 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
164 virtual _CORBA_Boolean is_a(const char*) const;
165 };
166
167 class _impl_Distance :
168 public virtual omniServant
169 {
170 public:
171 virtual ~_impl_Distance();
172
173 virtual void deleteThis() = 0;
174 virtual ::CORBA::Boolean deleteIfExpired() = 0;
175 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
176 virtual value_type call(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2) = 0;
177
178 public: // Really protected, workaround for xlC
179 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
180
181 private:
182 virtual void* _ptrToInterface(const char*);
183 virtual const char* _mostDerivedRepoId();
184
185 };
186
187
188#ifndef __hpp_mcore__idl_mWeighedDistance__
189#define __hpp_mcore__idl_mWeighedDistance__
190 class WeighedDistance;
191 class _objref_WeighedDistance;
192 class _impl_WeighedDistance;
193
194 typedef _objref_WeighedDistance* WeighedDistance_ptr;
195 typedef WeighedDistance_ptr WeighedDistanceRef;
196
197 class WeighedDistance_Helper {
198 public:
199 typedef WeighedDistance_ptr _ptr_type;
200
201 static _ptr_type _nil();
202 static _CORBA_Boolean is_nil(_ptr_type);
203 static void release(_ptr_type);
204 static void duplicate(_ptr_type);
205 static void marshalObjRef(_ptr_type, cdrStream&);
206 static _ptr_type unmarshalObjRef(cdrStream&);
207 };
208
209 typedef _CORBA_ObjRef_Var<_objref_WeighedDistance, WeighedDistance_Helper> WeighedDistance_var;
210 typedef _CORBA_ObjRef_OUT_arg<_objref_WeighedDistance,WeighedDistance_Helper > WeighedDistance_out;
211
212#endif
213
214 // interface WeighedDistance
215 class WeighedDistance {
216 public:
217 // Declarations for this interface type.
218 typedef WeighedDistance_ptr _ptr_type;
219 typedef WeighedDistance_var _var_type;
220
221 static _ptr_type _duplicate(_ptr_type);
222 static _ptr_type _narrow(::CORBA::Object_ptr);
223 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
224
225 static _ptr_type _nil();
226
227 static inline void _marshalObjRef(_ptr_type, cdrStream&);
228
229 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
230 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
231 if (o)
232 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
233 else
234 return _nil();
235 }
236
237 static inline _ptr_type _fromObjRef(omniObjRef* o) {
238 if (o)
239 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
240 else
241 return _nil();
242 }
243
244 static _core_attr const char* _PD_repoId;
245
246 // Other IDL defined within this scope.
247
248 };
249
250 class _objref_WeighedDistance :
251 public virtual _objref_Distance
252 {
253 public:
254 // IDL operations
255 floatSeq* getWeights();
256 void setWeights(const ::hpp::floatSeq& weights);
257
258 // Constructors
259 inline _objref_WeighedDistance() { _PR_setobj(0); } // nil
260 _objref_WeighedDistance(omniIOR*, omniIdentity*);
261
262 protected:
263 virtual ~_objref_WeighedDistance();
264
265
266 private:
267 virtual void* _ptrToObjRef(const char*);
268
269 _objref_WeighedDistance(const _objref_WeighedDistance&);
270 _objref_WeighedDistance& operator = (const _objref_WeighedDistance&);
271 // not implemented
272
273 friend class WeighedDistance;
274 };
275
276 class _pof_WeighedDistance : public _OMNI_NS(proxyObjectFactory) {
277 public:
278 inline _pof_WeighedDistance() : _OMNI_NS(proxyObjectFactory)(WeighedDistance::_PD_repoId) {}
279 virtual ~_pof_WeighedDistance();
280
281 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
282 virtual _CORBA_Boolean is_a(const char*) const;
283 };
284
285 class _impl_WeighedDistance :
286 public virtual _impl_Distance
287 {
288 public:
289 virtual ~_impl_WeighedDistance();
290
291 virtual floatSeq* getWeights() = 0;
292 virtual void setWeights(const ::hpp::floatSeq& weights) = 0;
293
294 public: // Really protected, workaround for xlC
295 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
296
297 private:
298 virtual void* _ptrToInterface(const char*);
299 virtual const char* _mostDerivedRepoId();
300
301 };
302
303
304 _CORBA_MODULE_END
305
306_CORBA_MODULE_END
307
308
309
310_CORBA_MODULE POA_hpp
311_CORBA_MODULE_BEG
312
313 _CORBA_MODULE core_idl
314 _CORBA_MODULE_BEG
315
316 class Distance :
317 public virtual hpp::core_idl::_impl_Distance,
318 public virtual ::PortableServer::ServantBase
319 {
320 public:
321 virtual ~Distance();
322
323 inline ::hpp::core_idl::Distance_ptr _this() {
324 return (::hpp::core_idl::Distance_ptr) _do_this(::hpp::core_idl::Distance::_PD_repoId);
325 }
326 };
327
328 class WeighedDistance :
329 public virtual hpp::core_idl::_impl_WeighedDistance,
330 public virtual Distance
331 {
332 public:
333 virtual ~WeighedDistance();
334
335 inline ::hpp::core_idl::WeighedDistance_ptr _this() {
336 return (::hpp::core_idl::WeighedDistance_ptr) _do_this(::hpp::core_idl::WeighedDistance::_PD_repoId);
337 }
338 };
339
340 _CORBA_MODULE_END
341
342_CORBA_MODULE_END
343
344
345
346_CORBA_MODULE OBV_hpp
347_CORBA_MODULE_BEG
348
349 _CORBA_MODULE core_idl
350 _CORBA_MODULE_BEG
351
352 _CORBA_MODULE_END
353
354_CORBA_MODULE_END
355
356
357
358
359
360#undef _core_attr
361#undef _dyn_attr
362
363
364
365 inline void
366hpp::core_idl::Distance::_marshalObjRef(::hpp::core_idl::Distance_ptr obj, cdrStream& s) {
367 omniObjRef::_marshal(obj->_PR_getobj(),s);
368}
369
370 inline void
371hpp::core_idl::WeighedDistance::_marshalObjRef(::hpp::core_idl::WeighedDistance_ptr obj, cdrStream& s) {
372 omniObjRef::_marshal(obj->_PR_getobj(),s);
373}
374
375
376
377#ifdef USE_stub_in_nt_dll_NOT_DEFINED_distances
378# undef USE_stub_in_nt_dll
379# undef USE_stub_in_nt_dll_NOT_DEFINED_distances
380#endif
381#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_distances
382# undef USE_core_stub_in_nt_dll
383# undef USE_core_stub_in_nt_dll_NOT_DEFINED_distances
384#endif
385#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances
386# undef USE_dyn_stub_in_nt_dll
387# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances
388#endif
389
390#endif // __distances_hh__
391
Distance_Helper
Definition _problem-idl.hh:170
Distance_Helper::duplicate
static void duplicate(_ptr_type)
Distance_Helper::_nil
static _ptr_type _nil()
Distance_Helper::is_nil
static _CORBA_Boolean is_nil(_ptr_type)
Distance_Helper::_ptr_type
Distance_ptr _ptr_type
Definition distances-idl.hh:78
Distance_Helper::marshalObjRef
static void marshalObjRef(_ptr_type, cdrStream &)
Distance_Helper::unmarshalObjRef
static _ptr_type unmarshalObjRef(cdrStream &)
Distance_Helper::release
static void release(_ptr_type)
Distance
Definition distances-idl.hh:94
Distance::_unchecked_narrow
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
Distance::_unmarshalObjRef
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition distances-idl.hh:108
Distance::_ptr_type
Distance_ptr _ptr_type
Definition distances-idl.hh:97
Distance::_duplicate
static _ptr_type _duplicate(_ptr_type)
Distance::_PD_repoId
static _core_attr const char * _PD_repoId
Definition distances-idl.hh:123
Distance::_marshalObjRef
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition distances-idl.hh:366
Distance::_this
inline ::hpp::core_idl::Distance_ptr _this()
Definition distances-idl.hh:323
Distance::_fromObjRef
static _ptr_type _fromObjRef(omniObjRef *o)
Definition distances-idl.hh:116
Distance::_nil
static _ptr_type _nil()
Distance::_narrow
static _ptr_type _narrow(::CORBA::Object_ptr)
Distance::~Distance
virtual ~Distance()
Distance::_var_type
Distance_var _var_type
Definition distances-idl.hh:98
WeighedDistance_Helper
Definition distances-idl.hh:197
WeighedDistance_Helper::unmarshalObjRef
static _ptr_type unmarshalObjRef(cdrStream &)
WeighedDistance_Helper::is_nil
static _CORBA_Boolean is_nil(_ptr_type)
WeighedDistance_Helper::_nil
static _ptr_type _nil()
WeighedDistance_Helper::duplicate
static void duplicate(_ptr_type)
WeighedDistance_Helper::marshalObjRef
static void marshalObjRef(_ptr_type, cdrStream &)
WeighedDistance_Helper::_ptr_type
WeighedDistance_ptr _ptr_type
Definition distances-idl.hh:199
WeighedDistance_Helper::release
static void release(_ptr_type)
WeighedDistance
Definition distances-idl.hh:215
WeighedDistance::_unmarshalObjRef
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition distances-idl.hh:229
WeighedDistance::_fromObjRef
static _ptr_type _fromObjRef(omniObjRef *o)
Definition distances-idl.hh:237
WeighedDistance::_unchecked_narrow
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
WeighedDistance::_duplicate
static _ptr_type _duplicate(_ptr_type)
WeighedDistance::_ptr_type
WeighedDistance_ptr _ptr_type
Definition distances-idl.hh:218
WeighedDistance::_nil
static _ptr_type _nil()
WeighedDistance::_var_type
WeighedDistance_var _var_type
Definition distances-idl.hh:219
WeighedDistance::_this
inline ::hpp::core_idl::WeighedDistance_ptr _this()
Definition distances-idl.hh:335
WeighedDistance::~WeighedDistance
virtual ~WeighedDistance()
WeighedDistance::_narrow
static _ptr_type _narrow(::CORBA::Object_ptr)
WeighedDistance::_PD_repoId
static _core_attr const char * _PD_repoId
Definition distances-idl.hh:244
WeighedDistance::_marshalObjRef
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition distances-idl.hh:371
_impl_Distance
Definition distances-idl.hh:169
_impl_Distance::_dispatch
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
_impl_Distance::call
virtual value_type call(const ::hpp::floatSeq &q1, const ::hpp::floatSeq &q2)=0
_impl_Distance::deleteIfExpired
virtual ::CORBA::Boolean deleteIfExpired()=0
_impl_Distance::deleteThis
virtual void deleteThis()=0
_impl_Distance::persistantStorage
virtual void persistantStorage(::CORBA::Boolean persistant)=0
_impl_Distance::~_impl_Distance
virtual ~_impl_Distance()
_impl_WeighedDistance
Definition distances-idl.hh:287
_impl_WeighedDistance::getWeights
virtual floatSeq * getWeights()=0
_impl_WeighedDistance::_dispatch
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
_impl_WeighedDistance::setWeights
virtual void setWeights(const ::hpp::floatSeq &weights)=0
_impl_WeighedDistance::~_impl_WeighedDistance
virtual ~_impl_WeighedDistance()
_objref_Distance
Definition distances-idl.hh:132
_objref_Distance::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
_objref_Distance::_objref_Distance
_objref_Distance(omniIOR *, omniIdentity *)
_objref_Distance::deleteThis
void deleteThis()
_objref_Distance::_objref_Distance
_objref_Distance()
Definition distances-idl.hh:141
_objref_Distance::~_objref_Distance
virtual ~_objref_Distance()
_objref_Distance::persistantStorage
void persistantStorage(::CORBA::Boolean persistant)
_objref_Distance::call
value_type call(const ::hpp::floatSeq &q1, const ::hpp::floatSeq &q2)
_objref_WeighedDistance
Definition distances-idl.hh:252
_objref_WeighedDistance::_objref_WeighedDistance
_objref_WeighedDistance(omniIOR *, omniIdentity *)
_objref_WeighedDistance::getWeights
floatSeq * getWeights()
_objref_WeighedDistance::setWeights
void setWeights(const ::hpp::floatSeq &weights)
_objref_WeighedDistance::_objref_WeighedDistance
_objref_WeighedDistance()
Definition distances-idl.hh:259
_objref_WeighedDistance::~_objref_WeighedDistance
virtual ~_objref_WeighedDistance()
_pof_Distance
Definition distances-idl.hh:158
_pof_Distance::_pof_Distance
_pof_Distance()
Definition distances-idl.hh:160
_pof_Distance::~_pof_Distance
virtual ~_pof_Distance()
_pof_Distance::is_a
virtual _CORBA_Boolean is_a(const char *) const
_pof_Distance::newObjRef
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
_pof_WeighedDistance
Definition distances-idl.hh:276
_pof_WeighedDistance::_pof_WeighedDistance
_pof_WeighedDistance()
Definition distances-idl.hh:278
_pof_WeighedDistance::newObjRef
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
_pof_WeighedDistance::~_pof_WeighedDistance
virtual ~_pof_WeighedDistance()
_pof_WeighedDistance::is_a
virtual _CORBA_Boolean is_a(const char *) const
floatSeq
Definition common-idl.hh:689
common-idl.hh
value_type
::CORBA::Double value_type
Definition common-idl.hh:61
DistanceRef
Distance_ptr DistanceRef
Definition distances-idl.hh:74
WeighedDistanceRef
WeighedDistance_ptr WeighedDistanceRef
Definition distances-idl.hh:195
Distance_ptr
_objref_Distance * Distance_ptr
Definition distances-idl.hh:73
WeighedDistance_out
_CORBA_ObjRef_OUT_arg< _objref_WeighedDistance, WeighedDistance_Helper > WeighedDistance_out
Definition distances-idl.hh:210
Distance_out
_CORBA_ObjRef_OUT_arg< _objref_Distance, Distance_Helper > Distance_out
Definition distances-idl.hh:89
_core_attr
#define _core_attr
Definition distances-idl.hh:43
WeighedDistance_var
_CORBA_ObjRef_Var< _objref_WeighedDistance, WeighedDistance_Helper > WeighedDistance_var
Definition distances-idl.hh:209
WeighedDistance_ptr
_objref_WeighedDistance * WeighedDistance_ptr
Definition distances-idl.hh:194
Distance_var
_CORBA_ObjRef_Var< _objref_Distance, Distance_Helper > Distance_var
Definition distances-idl.hh:88
hpp
Implement CORBA interface `‘Obstacle’'.