hpp-corbaserver  5.0.0
Corba server for Humanoid Path Planner applications
distances-idl.hh
Go to the documentation of this file.
1 // This file is generated by omniidl (C++ backend)- omniORB_4_2. 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;
72 
75 
76  class Distance_Helper {
77  public:
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.
99 
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 
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);
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 
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 
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;
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;
193 
196 
198  public:
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
216  public:
217  // Declarations for this interface type.
220 
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 
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 
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 
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 
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 
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
366 hpp::core_idl::Distance::_marshalObjRef(::hpp::core_idl::Distance_ptr obj, cdrStream& s) {
367  omniObjRef::_marshal(obj->_PR_getobj(),s);
368 }
369 
370 inline void
371 hpp::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 
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: distances-idl.hh:237
static _ptr_type _narrow(::CORBA::Object_ptr)
_CORBA_ObjRef_Var< _objref_Distance, Distance_Helper > Distance_var
Definition: distances-idl.hh:88
static _ptr_type _nil()
virtual void setWeights(const ::hpp::floatSeq &weights)=0
virtual ~_impl_WeighedDistance()
static void duplicate(_ptr_type)
inline ::hpp::core_idl::Distance_ptr _this()
Definition: distances-idl.hh:323
Implement CORBA interface `‘Obstacle’&#39;.
Definition: client.hh:46
_pof_WeighedDistance()
Definition: distances-idl.hh:278
virtual ~_impl_Distance()
void persistantStorage(::CORBA::Boolean persistant)
Definition: distances-idl.hh:158
virtual ~_objref_Distance()
virtual void persistantStorage(::CORBA::Boolean persistant)=0
virtual ::CORBA::Boolean deleteIfExpired()=0
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: distances-idl.hh:229
Definition: distances-idl.hh:285
Distance_ptr _ptr_type
Definition: distances-idl.hh:78
_objref_Distance()
Definition: distances-idl.hh:141
static _ptr_type _nil()
static _CORBA_Boolean is_nil(_ptr_type)
virtual floatSeq * getWeights()=0
Definition: distances-idl.hh:215
WeighedDistance_ptr _ptr_type
Definition: distances-idl.hh:199
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
static _ptr_type _nil()
virtual _CORBA_Boolean is_a(const char *) const
virtual ~_pof_Distance()
_CORBA_ObjRef_OUT_arg< _objref_Distance, Distance_Helper > Distance_out
Definition: distances-idl.hh:89
static _ptr_type _nil()
static _ptr_type _duplicate(_ptr_type)
Definition: distances-idl.hh:197
#define _core_attr
Definition: distances-idl.hh:43
static void marshalObjRef(_ptr_type, cdrStream &)
virtual ~_objref_WeighedDistance()
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition: distances-idl.hh:371
::CORBA::Boolean deleteIfExpired()
Definition: distances-idl.hh:129
static _ptr_type unmarshalObjRef(cdrStream &)
inline ::hpp::core_idl::WeighedDistance_ptr _this()
Definition: distances-idl.hh:335
static _core_attr const char * _PD_repoId
Definition: distances-idl.hh:244
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition: distances-idl.hh:366
void setWeights(const ::hpp::floatSeq &weights)
Definition: distances-idl.hh:94
WeighedDistance_ptr _ptr_type
Definition: distances-idl.hh:218
WeighedDistance_ptr WeighedDistanceRef
Definition: distances-idl.hh:195
static _ptr_type unmarshalObjRef(cdrStream &)
virtual ~WeighedDistance()
Definition: _problem-idl.hh:170
Distance_ptr DistanceRef
Definition: distances-idl.hh:74
static void release(_ptr_type)
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
Distance_ptr _ptr_type
Definition: distances-idl.hh:97
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
static _ptr_type _narrow(::CORBA::Object_ptr)
_objref_WeighedDistance()
Definition: distances-idl.hh:259
static void marshalObjRef(_ptr_type, cdrStream &)
_pof_Distance()
Definition: distances-idl.hh:160
static void release(_ptr_type)
_CORBA_ObjRef_Var< _objref_Distance, Distance_Helper > Distance_var
Definition: _problem-idl.hh:182
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
static void duplicate(_ptr_type)
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
WeighedDistance_var _var_type
Definition: distances-idl.hh:219
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: distances-idl.hh:116
Distance_var _var_type
Definition: distances-idl.hh:98
virtual void deleteThis()=0
static _ptr_type _duplicate(_ptr_type)
_objref_WeighedDistance * WeighedDistance_ptr
Definition: distances-idl.hh:192
Definition: distances-idl.hh:250
::CORBA::Double value_type
Definition: common-idl.hh:61
Definition: distances-idl.hh:276
Definition: common-idl.hh:689
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: distances-idl.hh:108
virtual ~_pof_WeighedDistance()
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
virtual ~Distance()
static _CORBA_Boolean is_nil(_ptr_type)
value_type call(const ::hpp::floatSeq &q1, const ::hpp::floatSeq &q2)
_CORBA_ObjRef_Var< _objref_WeighedDistance, WeighedDistance_Helper > WeighedDistance_var
Definition: distances-idl.hh:209
_CORBA_ObjRef_OUT_arg< _objref_WeighedDistance, WeighedDistance_Helper > WeighedDistance_out
Definition: distances-idl.hh:210
Definition: distances-idl.hh:167
_objref_Distance * Distance_ptr
Definition: distances-idl.hh:71
virtual _CORBA_Boolean is_a(const char *) const
static _core_attr const char * _PD_repoId
Definition: distances-idl.hh:123
virtual value_type call(const ::hpp::floatSeq &q1, const ::hpp::floatSeq &q2)=0
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)