hpp-corbaserver  4.15.1
Corba server for Humanoid Path Planner applications
paths-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__paths_hh__
3 #define pp_core_idl__paths_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_paths
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_paths
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
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 #ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
28 #endif
29 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
30 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
32 #endif
33 
34 
35 
36 #ifdef USE_stub_in_nt_dll
37 # ifndef USE_core_stub_in_nt_dll
38 # define USE_core_stub_in_nt_dll
39 # endif
40 # ifndef USE_dyn_stub_in_nt_dll
41 # define USE_dyn_stub_in_nt_dll
42 # endif
43 #endif
44 
45 #ifdef _core_attr
46 # error "A local CPP macro _core_attr has already been defined."
47 #else
48 # ifdef USE_core_stub_in_nt_dll
49 # define _core_attr _OMNIORB_NTDLL_IMPORT
50 # else
51 # define _core_attr
52 # endif
53 #endif
54 
55 #ifdef _dyn_attr
56 # error "A local CPP macro _dyn_attr has already been defined."
57 #else
58 # ifdef USE_dyn_stub_in_nt_dll
59 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
60 # else
61 # define _dyn_attr
62 # endif
63 #endif
64 
65 
66 
67 _CORBA_MODULE hpp
68 
69 _CORBA_MODULE_BEG
70 
71  _CORBA_MODULE core_idl
72 
73  _CORBA_MODULE_BEG
74 
75  typedef ::CORBA::ULongLong size_t;
76  typedef ::CORBA::ULongLong_out size_t_out;
77 
78 #ifndef __hpp_mcore__idl_mPathVector__
79 #define __hpp_mcore__idl_mPathVector__
80  class PathVector;
81  class _objref_PathVector;
83 
86 
88  public:
90 
91  static _ptr_type _nil();
92  static _CORBA_Boolean is_nil(_ptr_type);
93  static void release(_ptr_type);
94  static void duplicate(_ptr_type);
95  static void marshalObjRef(_ptr_type, cdrStream&);
96  static _ptr_type unmarshalObjRef(cdrStream&);
97  };
98 
99  typedef _CORBA_ObjRef_Var<_objref_PathVector, PathVector_Helper> PathVector_var;
100  typedef _CORBA_ObjRef_OUT_arg<_objref_PathVector,PathVector_Helper > PathVector_out;
101 
102 #endif
103 
104 #ifndef __hpp_mcore__idl_mConstraintSet__
105 #define __hpp_mcore__idl_mConstraintSet__
106  class ConstraintSet;
107  class _objref_ConstraintSet;
109 
112 
113  class ConstraintSet_Helper {
114  public:
116 
117  static _ptr_type _nil();
118  static _CORBA_Boolean is_nil(_ptr_type);
119  static void release(_ptr_type);
120  static void duplicate(_ptr_type);
121  static void marshalObjRef(_ptr_type, cdrStream&);
122  static _ptr_type unmarshalObjRef(cdrStream&);
123  };
124 
125  typedef _CORBA_ObjRef_Var<_objref_ConstraintSet, ConstraintSet_Helper> ConstraintSet_var;
126  typedef _CORBA_ObjRef_OUT_arg<_objref_ConstraintSet,ConstraintSet_Helper > ConstraintSet_out;
127 
128 #endif
129 
130 #ifndef __hpp_mcore__idl_mPath__
131 #define __hpp_mcore__idl_mPath__
132  class Path;
133  class _objref_Path;
134  class _impl_Path;
135 
136  typedef _objref_Path* Path_ptr;
137  typedef Path_ptr PathRef;
138 
139  class Path_Helper {
140  public:
142 
143  static _ptr_type _nil();
144  static _CORBA_Boolean is_nil(_ptr_type);
145  static void release(_ptr_type);
146  static void duplicate(_ptr_type);
147  static void marshalObjRef(_ptr_type, cdrStream&);
148  static _ptr_type unmarshalObjRef(cdrStream&);
149  };
150 
151  typedef _CORBA_ObjRef_Var<_objref_Path, Path_Helper> Path_var;
152  typedef _CORBA_ObjRef_OUT_arg<_objref_Path,Path_Helper > Path_out;
153 
154 #endif
155 
156  // interface Path
157  class Path {
158  public:
159  // Declarations for this interface type.
162 
163  static _ptr_type _duplicate(_ptr_type);
164  static _ptr_type _narrow(::CORBA::Object_ptr);
165  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
166 
167  static _ptr_type _nil();
168 
169  static inline void _marshalObjRef(_ptr_type, cdrStream&);
170 
171  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
172  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
173  if (o)
174  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
175  else
176  return _nil();
177  }
178 
179  static inline _ptr_type _fromObjRef(omniObjRef* o) {
180  if (o)
181  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
182  else
183  return _nil();
184  }
185 
186  static _core_attr const char* _PD_repoId;
187 
188  // Other IDL defined within this scope.
189 
190  };
191 
192  class _objref_Path :
193  public virtual ::CORBA::Object,
194  public virtual omniObjRef
195  {
196  public:
197  // IDL operations
198  void deleteThis();
199  size_type outputSize();
200  size_type outputDerivativeSize();
201  value_type length();
202  floatSeq* initial();
203  floatSeq* end();
204  ConstraintSet_ptr constraints();
205  char* str();
206  floatSeq* call(::hpp::value_type t, ::CORBA::Boolean& success);
207  floatSeq* at(::hpp::value_type t, ::CORBA::Boolean& success);
208  floatSeq* derivative(::hpp::value_type t, ::CORBA::Short order);
209  Path_ptr extract(::hpp::value_type tmin, ::hpp::value_type tmax);
210  PathVector_ptr asVector();
211  Path_ptr reverse();
212 
213  // Constructors
214  inline _objref_Path() { _PR_setobj(0); } // nil
215  _objref_Path(omniIOR*, omniIdentity*);
216 
217  protected:
218  virtual ~_objref_Path();
219 
220 
221  private:
222  virtual void* _ptrToObjRef(const char*);
223 
224  _objref_Path(const _objref_Path&);
225  _objref_Path& operator = (const _objref_Path&);
226  // not implemented
227 
228  friend class Path;
229  };
230 
231  class _pof_Path : public _OMNI_NS(proxyObjectFactory) {
232  public:
233  inline _pof_Path() : _OMNI_NS(proxyObjectFactory)(Path::_PD_repoId) {}
234  virtual ~_pof_Path();
235 
236  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
237  virtual _CORBA_Boolean is_a(const char*) const;
238  };
239 
240  class _impl_Path :
241  public virtual omniServant
242  {
243  public:
244  virtual ~_impl_Path();
245 
246  virtual void deleteThis() = 0;
247  virtual size_type outputSize() = 0;
248  virtual size_type outputDerivativeSize() = 0;
249  virtual value_type length() = 0;
250  virtual floatSeq* initial() = 0;
251  virtual floatSeq* end() = 0;
252  virtual ConstraintSet_ptr constraints() = 0;
253  virtual char* str() = 0;
254  virtual floatSeq* call(::hpp::value_type t, ::CORBA::Boolean& success) = 0;
255  virtual floatSeq* at(::hpp::value_type t, ::CORBA::Boolean& success) = 0;
256  virtual floatSeq* derivative(::hpp::value_type t, ::CORBA::Short order) = 0;
257  virtual Path_ptr extract(::hpp::value_type tmin, ::hpp::value_type tmax) = 0;
258  virtual PathVector_ptr asVector() = 0;
259  virtual Path_ptr reverse() = 0;
260 
261  public: // Really protected, workaround for xlC
262  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
263 
264  private:
265  virtual void* _ptrToInterface(const char*);
266  virtual const char* _mostDerivedRepoId();
267 
268  };
269 
270 
271 #ifndef __hpp_mcore__idl_mPathVector__
272 #define __hpp_mcore__idl_mPathVector__
273  class PathVector;
274  class _objref_PathVector;
275  class _impl_PathVector;
276 
279 
280  class PathVector_Helper {
281  public:
282  typedef PathVector_ptr _ptr_type;
283 
284  static _ptr_type _nil();
285  static _CORBA_Boolean is_nil(_ptr_type);
286  static void release(_ptr_type);
287  static void duplicate(_ptr_type);
288  static void marshalObjRef(_ptr_type, cdrStream&);
289  static _ptr_type unmarshalObjRef(cdrStream&);
290  };
291 
292  typedef _CORBA_ObjRef_Var<_objref_PathVector, PathVector_Helper> PathVector_var;
293  typedef _CORBA_ObjRef_OUT_arg<_objref_PathVector,PathVector_Helper > PathVector_out;
294 
295 #endif
296 
297  // interface PathVector
298  class PathVector {
299  public:
300  // Declarations for this interface type.
303 
304  static _ptr_type _duplicate(_ptr_type);
305  static _ptr_type _narrow(::CORBA::Object_ptr);
306  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
307 
308  static _ptr_type _nil();
309 
310  static inline void _marshalObjRef(_ptr_type, cdrStream&);
311 
312  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
313  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
314  if (o)
315  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
316  else
317  return _nil();
318  }
319 
320  static inline _ptr_type _fromObjRef(omniObjRef* o) {
321  if (o)
322  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
323  else
324  return _nil();
325  }
326 
327  static _core_attr const char* _PD_repoId;
328 
329  // Other IDL defined within this scope.
330 
331  };
332 
334  public virtual _objref_Path
335  {
336  public:
337  // IDL operations
338  size_t numberPaths();
339  size_t rankAtParam(::hpp::value_type param, ::hpp::value_type& localParam);
340  Path_ptr pathAtRank(::hpp::core_idl::size_t rank);
341  void appendPath(::hpp::core_idl::Path_ptr p);
342  void concatenate(::hpp::core_idl::PathVector_ptr p);
343  PathVector_ptr flatten();
344 
345  // Constructors
346  inline _objref_PathVector() { _PR_setobj(0); } // nil
347  _objref_PathVector(omniIOR*, omniIdentity*);
348 
349  protected:
350  virtual ~_objref_PathVector();
351 
352 
353  private:
354  virtual void* _ptrToObjRef(const char*);
355 
357  _objref_PathVector& operator = (const _objref_PathVector&);
358  // not implemented
359 
360  friend class PathVector;
361  };
362 
363  class _pof_PathVector : public _OMNI_NS(proxyObjectFactory) {
364  public:
365  inline _pof_PathVector() : _OMNI_NS(proxyObjectFactory)(PathVector::_PD_repoId) {}
366  virtual ~_pof_PathVector();
367 
368  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
369  virtual _CORBA_Boolean is_a(const char*) const;
370  };
371 
373  public virtual _impl_Path
374  {
375  public:
376  virtual ~_impl_PathVector();
377 
378  virtual size_t numberPaths() = 0;
379  virtual size_t rankAtParam(::hpp::value_type param, ::hpp::value_type& localParam) = 0;
380  virtual Path_ptr pathAtRank(::hpp::core_idl::size_t rank) = 0;
381  virtual void appendPath(::hpp::core_idl::Path_ptr p) = 0;
382  virtual void concatenate(::hpp::core_idl::PathVector_ptr p) = 0;
383  virtual PathVector_ptr flatten() = 0;
384 
385  public: // Really protected, workaround for xlC
386  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
387 
388  private:
389  virtual void* _ptrToInterface(const char*);
390  virtual const char* _mostDerivedRepoId();
391 
392  };
393 
394 
395  _CORBA_MODULE_END
396 
397 _CORBA_MODULE_END
398 
399 
400 
401 _CORBA_MODULE POA_hpp
402 _CORBA_MODULE_BEG
403 
404  _CORBA_MODULE core_idl
405  _CORBA_MODULE_BEG
406 
407  class Path :
408  public virtual hpp::core_idl::_impl_Path,
409  public virtual ::PortableServer::ServantBase
410  {
411  public:
412  virtual ~Path();
413 
415  return (::hpp::core_idl::Path_ptr) _do_this(::hpp::core_idl::Path::_PD_repoId);
416  }
417  };
418 
419  class PathVector :
420  public virtual hpp::core_idl::_impl_PathVector,
421  public virtual Path
422  {
423  public:
424  virtual ~PathVector();
425 
427  return (::hpp::core_idl::PathVector_ptr) _do_this(::hpp::core_idl::PathVector::_PD_repoId);
428  }
429  };
430 
431  _CORBA_MODULE_END
432 
433 _CORBA_MODULE_END
434 
435 
436 
437 _CORBA_MODULE OBV_hpp
438 _CORBA_MODULE_BEG
439 
440  _CORBA_MODULE core_idl
441  _CORBA_MODULE_BEG
442 
443  _CORBA_MODULE_END
444 
445 _CORBA_MODULE_END
446 
447 
448 
449 
450 
451 #undef _core_attr
452 #undef _dyn_attr
453 
454 
455 
456 inline void
457 hpp::core_idl::Path::_marshalObjRef(::hpp::core_idl::Path_ptr obj, cdrStream& s) {
458  omniObjRef::_marshal(obj->_PR_getobj(),s);
459 }
460 
461 inline void
462 hpp::core_idl::PathVector::_marshalObjRef(::hpp::core_idl::PathVector_ptr obj, cdrStream& s) {
463  omniObjRef::_marshal(obj->_PR_getobj(),s);
464 }
465 
466 
467 
468 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_paths
469 # undef USE_stub_in_nt_dll
470 # undef USE_stub_in_nt_dll_NOT_DEFINED_paths
471 #endif
472 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_paths
473 # undef USE_core_stub_in_nt_dll
474 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_paths
475 #endif
476 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
477 # undef USE_dyn_stub_in_nt_dll
478 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_paths
479 #endif
480 
481 #endif // __paths_hh__
482 
Definition: paths-idl.hh:333
_CORBA_ObjRef_OUT_arg< _objref_ConstraintSet, ConstraintSet_Helper > ConstraintSet_out
Definition: paths-idl.hh:126
Definition: _constraints-idl.hh:485
_CORBA_ObjRef_Var< _objref_Path, Path_Helper > Path_var
Definition: path_planners-idl.hh:100
static _core_attr const char * _PD_repoId
Definition: paths-idl.hh:327
Definition: _constraints-idl.hh:538
_objref_ConstraintSet * ConstraintSet_ptr
Definition: paths-idl.hh:108
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: client.hh:46
Definition: paths-idl.hh:87
Definition: paths-idl.hh:192
double value_type
Definition: common.idl:18
unsigned long long size_t
Definition: paths.idl:18
PathVector_ptr _ptr_type
Definition: paths-idl.hh:301
_CORBA_ObjRef_OUT_arg< _objref_Path, Path_Helper > Path_out
Definition: paths-idl.hh:152
::CORBA::LongLong size_type
Definition: common-idl.hh:66
_objref_Path()
Definition: paths-idl.hh:214
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: paths-idl.hh:171
inline ::hpp::core_idl::PathVector_ptr _this()
Definition: paths-idl.hh:426
Path_var _var_type
Definition: paths-idl.hh:161
::CORBA::ULongLong_out size_t_out
Definition: paths-idl.hh:76
#define _core_attr
Definition: paths-idl.hh:51
_pof_PathVector()
Definition: paths-idl.hh:365
Definition: _constraints-idl.hh:572
_objref_Path * Path_ptr
Definition: paths-idl.hh:134
Path_ptr _ptr_type
Definition: paths-idl.hh:160
static _ptr_type unmarshalObjRef(cdrStream &)
Path_ptr _ptr_type
Definition: paths-idl.hh:141
Path_ptr PathRef
Definition: paths-idl.hh:137
Definition: paths-idl.hh:157
_pof_Path()
Definition: paths-idl.hh:233
Definition: _constraints-idl.hh:503
static _CORBA_Boolean is_nil(_ptr_type)
ConstraintSet_ptr ConstraintSetRef
Definition: paths-idl.hh:111
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: paths-idl.hh:179
ConstraintSet_ptr _ptr_type
Definition: paths-idl.hh:115
static _core_attr const char * _PD_repoId
Definition: paths-idl.hh:186
static void duplicate(_ptr_type)
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: paths-idl.hh:312
static _ptr_type _nil()
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:82
Definition: paths-idl.hh:240
Definition: paths-idl.hh:372
Definition: paths-idl.hh:298
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: paths-idl.hh:320
_objref_PathVector()
Definition: paths-idl.hh:346
PathVector_var _var_type
Definition: paths-idl.hh:302
Definition: paths-idl.hh:231
_CORBA_ObjRef_Var< _objref_Path, Path_Helper > Path_var
Definition: paths-idl.hh:151
static void release(_ptr_type)
_CORBA_ObjRef_OUT_arg< _objref_PathVector, PathVector_Helper > PathVector_out
Definition: paths-idl.hh:100
_CORBA_MODULE hpp _CORBA_MODULE_BEG _CORBA_MODULE core_idl _CORBA_MODULE_BEG typedef ::CORBA::ULongLong size_t
Definition: paths-idl.hh:75
_CORBA_ObjRef_Var< _objref_ConstraintSet, ConstraintSet_Helper > ConstraintSet_var
Definition: paths-idl.hh:125
_CORBA_ObjRef_Var< _objref_PathVector, PathVector_Helper > PathVector_var
Definition: paths-idl.hh:99
inline ::hpp::core_idl::Path_ptr _this()
Definition: paths-idl.hh:414
PathVector_ptr _ptr_type
Definition: paths-idl.hh:89
::CORBA::Double value_type
Definition: common-idl.hh:61
Definition: common-idl.hh:689
static void marshalObjRef(_ptr_type, cdrStream &)
Definition: paths-idl.hh:363
Definition: path_planners-idl.hh:88
PathVector_ptr PathVectorRef
Definition: paths-idl.hh:85