hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
constraints-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_constraints_idl__constraints_hh__
3 #define pp_constraints_idl__constraints_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_constraints
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
17 #endif
18 
19 
20 
21 #ifndef pp_constraints_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_constraints_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 constraints_idl
64 
65  _CORBA_MODULE_BEG
66 
67 #ifndef __hpp_mconstraints__idl_mDifferentiableFunction__
68 #define __hpp_mconstraints__idl_mDifferentiableFunction__
72 
75 
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_DifferentiableFunction, DifferentiableFunction_Helper> DifferentiableFunction_var;
89  typedef _CORBA_ObjRef_OUT_arg<_objref_DifferentiableFunction,DifferentiableFunction_Helper > DifferentiableFunction_out;
90 
91 #endif
92 
93  // interface DifferentiableFunction
95  public:
96  // Declarations for this interface 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 
130  public virtual ::CORBA::Object,
131  public virtual omniObjRef
132  {
133  public:
134  // IDL operations
135  floatSeq* value(const ::hpp::floatSeq& arg);
136  floatSeqSeq* jacobian(const ::hpp::floatSeq& arg);
137  size_type inputSize();
138  size_type inputDerivativeSize();
139  size_type outputSize();
140  size_type outputDerivativeSize();
141  char* name();
142  char* str();
143 
144  // Constructors
145  inline _objref_DifferentiableFunction() { _PR_setobj(0); } // nil
146  _objref_DifferentiableFunction(omniIOR*, omniIdentity*);
147 
148  protected:
150 
151 
152  private:
153  virtual void* _ptrToObjRef(const char*);
154 
157  // not implemented
158 
160  };
161 
162  class _pof_DifferentiableFunction : public _OMNI_NS(proxyObjectFactory) {
163  public:
164  inline _pof_DifferentiableFunction() : _OMNI_NS(proxyObjectFactory)(DifferentiableFunction::_PD_repoId) {}
165  virtual ~_pof_DifferentiableFunction();
166 
167  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
168  virtual _CORBA_Boolean is_a(const char*) const;
169  };
170 
172  public virtual omniServant
173  {
174  public:
175  virtual ~_impl_DifferentiableFunction();
176 
177  virtual floatSeq* value(const ::hpp::floatSeq& arg) = 0;
178  virtual floatSeqSeq* jacobian(const ::hpp::floatSeq& arg) = 0;
179  virtual size_type inputSize() = 0;
180  virtual size_type inputDerivativeSize() = 0;
181  virtual size_type outputSize() = 0;
182  virtual size_type outputDerivativeSize() = 0;
183  virtual char* name() = 0;
184  virtual char* str() = 0;
185 
186  public: // Really protected, workaround for xlC
187  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
188 
189  private:
190  virtual void* _ptrToInterface(const char*);
191  virtual const char* _mostDerivedRepoId();
192 
193  };
194 
195 
196 #ifndef __hpp_mconstraints__idl_mImplicit__
197 #define __hpp_mconstraints__idl_mImplicit__
198  class Implicit;
199  class _objref_Implicit;
201 
204 
206  public:
208 
209  static _ptr_type _nil();
210  static _CORBA_Boolean is_nil(_ptr_type);
211  static void release(_ptr_type);
212  static void duplicate(_ptr_type);
213  static void marshalObjRef(_ptr_type, cdrStream&);
214  static _ptr_type unmarshalObjRef(cdrStream&);
215  };
216 
217  typedef _CORBA_ObjRef_Var<_objref_Implicit, Implicit_Helper> Implicit_var;
218  typedef _CORBA_ObjRef_OUT_arg<_objref_Implicit,Implicit_Helper > Implicit_out;
219 
220 #endif
221 
222  // interface Implicit
223  class Implicit {
224  public:
225  // Declarations for this interface type.
228 
229  static _ptr_type _duplicate(_ptr_type);
230  static _ptr_type _narrow(::CORBA::Object_ptr);
231  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
232 
233  static _ptr_type _nil();
234 
235  static inline void _marshalObjRef(_ptr_type, cdrStream&);
236 
237  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
238  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
239  if (o)
240  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
241  else
242  return _nil();
243  }
244 
245  static inline _ptr_type _fromObjRef(omniObjRef* o) {
246  if (o)
247  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
248  else
249  return _nil();
250  }
251 
252  static _core_attr const char* _PD_repoId;
253 
254  // Other IDL defined within this scope.
255 
256  };
257 
259  public virtual ::CORBA::Object,
260  public virtual omniObjRef
261  {
262  public:
263  // IDL operations
264  DifferentiableFunction_ptr function();
265  void setRightHandSideFromConfig(const ::hpp::floatSeq& config);
266  void setRightHandSide(const ::hpp::floatSeq& rhs);
267  floatSeq* getRightHandSide();
268  size_type rightHandSideSize();
269  size_type parameterSize();
270  floatSeq* rightHandSideAt(::hpp::value_type s);
271 
272  // Constructors
273  inline _objref_Implicit() { _PR_setobj(0); } // nil
274  _objref_Implicit(omniIOR*, omniIdentity*);
275 
276  protected:
277  virtual ~_objref_Implicit();
278 
279 
280  private:
281  virtual void* _ptrToObjRef(const char*);
282 
284  _objref_Implicit& operator = (const _objref_Implicit&);
285  // not implemented
286 
287  friend class Implicit;
288  };
289 
290  class _pof_Implicit : public _OMNI_NS(proxyObjectFactory) {
291  public:
292  inline _pof_Implicit() : _OMNI_NS(proxyObjectFactory)(Implicit::_PD_repoId) {}
293  virtual ~_pof_Implicit();
294 
295  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
296  virtual _CORBA_Boolean is_a(const char*) const;
297  };
298 
300  public virtual omniServant
301  {
302  public:
303  virtual ~_impl_Implicit();
304 
305  virtual DifferentiableFunction_ptr function() = 0;
306  virtual void setRightHandSideFromConfig(const ::hpp::floatSeq& config) = 0;
307  virtual void setRightHandSide(const ::hpp::floatSeq& rhs) = 0;
308  virtual floatSeq* getRightHandSide() = 0;
309  virtual size_type rightHandSideSize() = 0;
310  virtual size_type parameterSize() = 0;
311  virtual floatSeq* rightHandSideAt(::hpp::value_type s) = 0;
312 
313  public: // Really protected, workaround for xlC
314  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
315 
316  private:
317  virtual void* _ptrToInterface(const char*);
318  virtual const char* _mostDerivedRepoId();
319 
320  };
321 
322 
323 #ifndef __hpp_mconstraints__idl_mLockedJoint__
324 #define __hpp_mconstraints__idl_mLockedJoint__
325  class LockedJoint;
326  class _objref_LockedJoint;
328 
331 
333  public:
335 
336  static _ptr_type _nil();
337  static _CORBA_Boolean is_nil(_ptr_type);
338  static void release(_ptr_type);
339  static void duplicate(_ptr_type);
340  static void marshalObjRef(_ptr_type, cdrStream&);
341  static _ptr_type unmarshalObjRef(cdrStream&);
342  };
343 
344  typedef _CORBA_ObjRef_Var<_objref_LockedJoint, LockedJoint_Helper> LockedJoint_var;
345  typedef _CORBA_ObjRef_OUT_arg<_objref_LockedJoint,LockedJoint_Helper > LockedJoint_out;
346 
347 #endif
348 
349  // interface LockedJoint
350  class LockedJoint {
351  public:
352  // Declarations for this interface type.
355 
356  static _ptr_type _duplicate(_ptr_type);
357  static _ptr_type _narrow(::CORBA::Object_ptr);
358  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
359 
360  static _ptr_type _nil();
361 
362  static inline void _marshalObjRef(_ptr_type, cdrStream&);
363 
364  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
365  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
366  if (o)
367  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
368  else
369  return _nil();
370  }
371 
372  static inline _ptr_type _fromObjRef(omniObjRef* o) {
373  if (o)
374  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
375  else
376  return _nil();
377  }
378 
379  static _core_attr const char* _PD_repoId;
380 
381  // Other IDL defined within this scope.
382 
383  };
384 
386  public virtual _objref_Implicit
387  {
388  public:
389  // IDL operations
390  char* jointName();
391 
392  // Constructors
393  inline _objref_LockedJoint() { _PR_setobj(0); } // nil
394  _objref_LockedJoint(omniIOR*, omniIdentity*);
395 
396  protected:
397  virtual ~_objref_LockedJoint();
398 
399 
400  private:
401  virtual void* _ptrToObjRef(const char*);
402 
404  _objref_LockedJoint& operator = (const _objref_LockedJoint&);
405  // not implemented
406 
407  friend class LockedJoint;
408  };
409 
410  class _pof_LockedJoint : public _OMNI_NS(proxyObjectFactory) {
411  public:
412  inline _pof_LockedJoint() : _OMNI_NS(proxyObjectFactory)(LockedJoint::_PD_repoId) {}
413  virtual ~_pof_LockedJoint();
414 
415  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
416  virtual _CORBA_Boolean is_a(const char*) const;
417  };
418 
420  public virtual _impl_Implicit
421  {
422  public:
423  virtual ~_impl_LockedJoint();
424 
425  virtual char* jointName() = 0;
426 
427  public: // Really protected, workaround for xlC
428  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
429 
430  private:
431  virtual void* _ptrToInterface(const char*);
432  virtual const char* _mostDerivedRepoId();
433 
434  };
435 
436 
437  _CORBA_MODULE_END
438 
439 _CORBA_MODULE_END
440 
441 
442 
443 _CORBA_MODULE POA_hpp
444 _CORBA_MODULE_BEG
445 
446  _CORBA_MODULE constraints_idl
447  _CORBA_MODULE_BEG
448 
449  class DifferentiableFunction :
450  public virtual hpp::constraints_idl::_impl_DifferentiableFunction,
451  public virtual ::PortableServer::ServantBase
452  {
453  public:
454  virtual ~DifferentiableFunction();
455 
457  return (::hpp::constraints_idl::DifferentiableFunction_ptr) _do_this(::hpp::constraints_idl::DifferentiableFunction::_PD_repoId);
458  }
459  };
460 
461  class Implicit :
462  public virtual hpp::constraints_idl::_impl_Implicit,
463  public virtual ::PortableServer::ServantBase
464  {
465  public:
466  virtual ~Implicit();
467 
469  return (::hpp::constraints_idl::Implicit_ptr) _do_this(::hpp::constraints_idl::Implicit::_PD_repoId);
470  }
471  };
472 
473  class LockedJoint :
474  public virtual hpp::constraints_idl::_impl_LockedJoint,
475  public virtual Implicit
476  {
477  public:
478  virtual ~LockedJoint();
479 
481  return (::hpp::constraints_idl::LockedJoint_ptr) _do_this(::hpp::constraints_idl::LockedJoint::_PD_repoId);
482  }
483  };
484 
485  _CORBA_MODULE_END
486 
487 _CORBA_MODULE_END
488 
489 
490 
491 _CORBA_MODULE OBV_hpp
492 _CORBA_MODULE_BEG
493 
494  _CORBA_MODULE constraints_idl
495  _CORBA_MODULE_BEG
496 
497  _CORBA_MODULE_END
498 
499 _CORBA_MODULE_END
500 
501 
502 
503 
504 
505 #undef _core_attr
506 #undef _dyn_attr
507 
508 
509 
510 inline void
511 hpp::constraints_idl::DifferentiableFunction::_marshalObjRef(::hpp::constraints_idl::DifferentiableFunction_ptr obj, cdrStream& s) {
512  omniObjRef::_marshal(obj->_PR_getobj(),s);
513 }
514 
515 inline void
516 hpp::constraints_idl::Implicit::_marshalObjRef(::hpp::constraints_idl::Implicit_ptr obj, cdrStream& s) {
517  omniObjRef::_marshal(obj->_PR_getobj(),s);
518 }
519 
520 inline void
521 hpp::constraints_idl::LockedJoint::_marshalObjRef(::hpp::constraints_idl::LockedJoint_ptr obj, cdrStream& s) {
522  omniObjRef::_marshal(obj->_PR_getobj(),s);
523 }
524 
525 
526 
527 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_constraints
528 # undef USE_stub_in_nt_dll
529 # undef USE_stub_in_nt_dll_NOT_DEFINED_constraints
530 #endif
531 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
532 # undef USE_core_stub_in_nt_dll
533 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
534 #endif
535 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
536 # undef USE_dyn_stub_in_nt_dll
537 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
538 #endif
539 
540 #endif // __constraints_hh__
541 
Definition: constraints-idl.hh:419
Definition: constraints-idl.hh:129
static void marshalObjRef(_ptr_type, cdrStream &)
DifferentiableFunction_var _var_type
Definition: constraints-idl.hh:98
_objref_Implicit()
Definition: constraints-idl.hh:273
Definition: constraints-idl.hh:94
_pof_LockedJoint()
Definition: constraints-idl.hh:412
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: constraints-idl.hh:108
DifferentiableFunction_ptr _ptr_type
Definition: constraints-idl.hh:78
_CORBA_ObjRef_Var< _objref_LockedJoint, LockedJoint_Helper > LockedJoint_var
Definition: constraints-idl.hh:344
Definition: constraints-idl.hh:332
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
#define _core_attr
Definition: constraints-idl.hh:43
Definition: constraints-idl.hh:76
static void duplicate(_ptr_type)
double value_type
Definition: common.idl:18
_CORBA_ObjRef_OUT_arg< _objref_LockedJoint, LockedJoint_Helper > LockedJoint_out
Definition: constraints-idl.hh:345
Implicit_ptr _ptr_type
Definition: constraints-idl.hh:207
Definition: constraints-idl.hh:223
::CORBA::LongLong size_type
Definition: common-idl.hh:66
_CORBA_ObjRef_OUT_arg< _objref_DifferentiableFunction, DifferentiableFunction_Helper > DifferentiableFunction_out
Definition: constraints-idl.hh:89
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: constraints-idl.hh:245
inline ::hpp::constraints_idl::Implicit_ptr _this()
Definition: constraints-idl.hh:468
inline ::hpp::constraints_idl::DifferentiableFunction_ptr _this()
Definition: constraints-idl.hh:456
static _ptr_type unmarshalObjRef(cdrStream &)
Implicit_ptr ImplicitRef
Definition: constraints-idl.hh:203
Definition: constraints-idl.hh:205
LockedJoint_ptr LockedJointRef
Definition: constraints-idl.hh:330
static _core_attr const char * _PD_repoId
Definition: constraints-idl.hh:379
_CORBA_ObjRef_OUT_arg< _objref_Implicit, Implicit_Helper > Implicit_out
Definition: constraints-idl.hh:218
Definition: constraints-idl.hh:162
Definition: constraints-idl.hh:171
LockedJoint_ptr _ptr_type
Definition: constraints-idl.hh:334
Definition: common-idl.hh:684
Definition: constraints-idl.hh:350
_objref_DifferentiableFunction * DifferentiableFunction_ptr
Definition: constraints-idl.hh:71
Definition: constraints-idl.hh:299
DifferentiableFunction_ptr DifferentiableFunctionRef
Definition: constraints-idl.hh:74
static void release(_ptr_type)
Definition: constraints-idl.hh:290
Definition: constraints-idl.hh:258
static _core_attr const char * _PD_repoId
Definition: constraints-idl.hh:123
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: constraints-idl.hh:364
_objref_DifferentiableFunction()
Definition: constraints-idl.hh:145
_objref_LockedJoint * LockedJoint_ptr
Definition: constraints-idl.hh:327
Definition: constraints-idl.hh:410
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: constraints-idl.hh:116
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: constraints-idl.hh:237
Definition: constraints-idl.hh:385
static _core_attr const char * _PD_repoId
Definition: constraints-idl.hh:252
static _CORBA_Boolean is_nil(_ptr_type)
Implicit_var _var_type
Definition: constraints-idl.hh:227
_objref_Implicit * Implicit_ptr
Definition: constraints-idl.hh:200
Implicit_ptr _ptr_type
Definition: constraints-idl.hh:226
Definition: common-idl.hh:570
inline ::hpp::constraints_idl::LockedJoint_ptr _this()
Definition: constraints-idl.hh:480
_CORBA_ObjRef_Var< _objref_DifferentiableFunction, DifferentiableFunction_Helper > DifferentiableFunction_var
Definition: constraints-idl.hh:88
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: constraints-idl.hh:372
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
LockedJoint_ptr _ptr_type
Definition: constraints-idl.hh:353
_pof_DifferentiableFunction()
Definition: constraints-idl.hh:164
_objref_LockedJoint()
Definition: constraints-idl.hh:393
DifferentiableFunction_ptr _ptr_type
Definition: constraints-idl.hh:97
_pof_Implicit()
Definition: constraints-idl.hh:292
LockedJoint_var _var_type
Definition: constraints-idl.hh:354
_CORBA_ObjRef_Var< _objref_Implicit, Implicit_Helper > Implicit_var
Definition: constraints-idl.hh:217