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