hpp-corbaserver  4.10.1
Corba server for Humanoid Path Planner applications
robots-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_pinocchio_idl__robots_hh__
3 #define pp_pinocchio_idl__robots_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_robots
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_robots
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_robots
17 #endif
18 
19 
20 
21 #ifndef pp_pinocchio_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_pinocchio_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 pinocchio_idl
64 
65  _CORBA_MODULE_BEG
66 
67 #ifndef __hpp_mpinocchio__idl_mCenterOfMassComputation__
68 #define __hpp_mpinocchio__idl_mCenterOfMassComputation__
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_CenterOfMassComputation, CenterOfMassComputation_Helper> CenterOfMassComputation_var;
89  typedef _CORBA_ObjRef_OUT_arg<_objref_CenterOfMassComputation,CenterOfMassComputation_Helper > CenterOfMassComputation_out;
90 
91 #endif
92 
93  // interface CenterOfMassComputation
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  void deleteThis();
136  void compute();
137  floatSeq* com();
138  value_type mass();
139  floatSeqSeq* jacobian();
140 
141  // Constructors
142  inline _objref_CenterOfMassComputation() { _PR_setobj(0); } // nil
143  _objref_CenterOfMassComputation(omniIOR*, omniIdentity*);
144 
145  protected:
147 
148 
149  private:
150  virtual void* _ptrToObjRef(const char*);
151 
154  // not implemented
155 
157  };
158 
159  class _pof_CenterOfMassComputation : public _OMNI_NS(proxyObjectFactory) {
160  public:
161  inline _pof_CenterOfMassComputation() : _OMNI_NS(proxyObjectFactory)(CenterOfMassComputation::_PD_repoId) {}
162  virtual ~_pof_CenterOfMassComputation();
163 
164  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
165  virtual _CORBA_Boolean is_a(const char*) const;
166  };
167 
169  public virtual omniServant
170  {
171  public:
173 
174  virtual void deleteThis() = 0;
175  virtual void compute() = 0;
176  virtual floatSeq* com() = 0;
177  virtual value_type mass() = 0;
178  virtual floatSeqSeq* jacobian() = 0;
179 
180  public: // Really protected, workaround for xlC
181  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
182 
183  private:
184  virtual void* _ptrToInterface(const char*);
185  virtual const char* _mostDerivedRepoId();
186 
187  };
188 
189 
190 #ifndef __hpp_mpinocchio__idl_mDevice__
191 #define __hpp_mpinocchio__idl_mDevice__
192  class Device;
193  class _objref_Device;
195 
196  typedef _objref_Device* Device_ptr;
198 
199  class Device_Helper {
200  public:
202 
203  static _ptr_type _nil();
204  static _CORBA_Boolean is_nil(_ptr_type);
205  static void release(_ptr_type);
206  static void duplicate(_ptr_type);
207  static void marshalObjRef(_ptr_type, cdrStream&);
208  static _ptr_type unmarshalObjRef(cdrStream&);
209  };
210 
211  typedef _CORBA_ObjRef_Var<_objref_Device, Device_Helper> Device_var;
212  typedef _CORBA_ObjRef_OUT_arg<_objref_Device,Device_Helper > Device_out;
213 
214 #endif
215 
216  // interface Device
217  class Device {
218  public:
219  // Declarations for this interface type.
222 
223  static _ptr_type _duplicate(_ptr_type);
224  static _ptr_type _narrow(::CORBA::Object_ptr);
225  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
226 
227  static _ptr_type _nil();
228 
229  static inline void _marshalObjRef(_ptr_type, cdrStream&);
230 
231  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
232  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
233  if (o)
234  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
235  else
236  return _nil();
237  }
238 
239  static inline _ptr_type _fromObjRef(omniObjRef* o) {
240  if (o)
241  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
242  else
243  return _nil();
244  }
245 
246  static _core_attr const char* _PD_repoId;
247 
248  // Other IDL defined within this scope.
249 
250  };
251 
253  public virtual ::CORBA::Object,
254  public virtual omniObjRef
255  {
256  public:
257  // IDL operations
258  char* name();
259  void integrate(const ::hpp::floatSeq& config_in, const ::hpp::floatSeq& velocity, ::hpp::floatSeq_out result);
260  void difference(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::hpp::floatSeq_out result);
261  void interpolate(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::CORBA::Float u, ::hpp::floatSeq_out result);
262  void saturate(const ::hpp::floatSeq& qin, ::hpp::floatSeq_out qout, ::hpp::boolSeq_out saturation);
263  void replaceGeometryByConvexHull(const ::hpp::Names_t& geometryNames);
264 
265  // Constructors
266  inline _objref_Device() { _PR_setobj(0); } // nil
267  _objref_Device(omniIOR*, omniIdentity*);
268 
269  protected:
270  virtual ~_objref_Device();
271 
272 
273  private:
274  virtual void* _ptrToObjRef(const char*);
275 
277  _objref_Device& operator = (const _objref_Device&);
278  // not implemented
279 
280  friend class Device;
281  };
282 
283  class _pof_Device : public _OMNI_NS(proxyObjectFactory) {
284  public:
285  inline _pof_Device() : _OMNI_NS(proxyObjectFactory)(Device::_PD_repoId) {}
286  virtual ~_pof_Device();
287 
288  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
289  virtual _CORBA_Boolean is_a(const char*) const;
290  };
291 
292  class _impl_Device :
293  public virtual omniServant
294  {
295  public:
296  virtual ~_impl_Device();
297 
298  virtual char* name() = 0;
299  virtual void integrate(const ::hpp::floatSeq& config_in, const ::hpp::floatSeq& velocity, ::hpp::floatSeq_out result) = 0;
300  virtual void difference(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::hpp::floatSeq_out result) = 0;
301  virtual void interpolate(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::CORBA::Float u, ::hpp::floatSeq_out result) = 0;
302  virtual void saturate(const ::hpp::floatSeq& qin, ::hpp::floatSeq_out qout, ::hpp::boolSeq_out saturation) = 0;
303  virtual void replaceGeometryByConvexHull(const ::hpp::Names_t& geometryNames) = 0;
304 
305  public: // Really protected, workaround for xlC
306  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
307 
308  private:
309  virtual void* _ptrToInterface(const char*);
310  virtual const char* _mostDerivedRepoId();
311 
312  };
313 
314 
315  _CORBA_MODULE_END
316 
317 _CORBA_MODULE_END
318 
319 
320 
321 _CORBA_MODULE POA_hpp
322 _CORBA_MODULE_BEG
323 
324  _CORBA_MODULE pinocchio_idl
325  _CORBA_MODULE_BEG
326 
328  public virtual hpp::pinocchio_idl::_impl_CenterOfMassComputation,
329  public virtual ::PortableServer::ServantBase
330  {
331  public:
332  virtual ~CenterOfMassComputation();
333 
335  return (::hpp::pinocchio_idl::CenterOfMassComputation_ptr) _do_this(::hpp::pinocchio_idl::CenterOfMassComputation::_PD_repoId);
336  }
337  };
338 
339  class Device :
340  public virtual hpp::pinocchio_idl::_impl_Device,
341  public virtual ::PortableServer::ServantBase
342  {
343  public:
344  virtual ~Device();
345 
347  return (::hpp::pinocchio_idl::Device_ptr) _do_this(::hpp::pinocchio_idl::Device::_PD_repoId);
348  }
349  };
350 
351  _CORBA_MODULE_END
352 
353 _CORBA_MODULE_END
354 
355 
356 
357 _CORBA_MODULE OBV_hpp
358 _CORBA_MODULE_BEG
359 
360  _CORBA_MODULE pinocchio_idl
361  _CORBA_MODULE_BEG
362 
363  _CORBA_MODULE_END
364 
365 _CORBA_MODULE_END
366 
367 
368 
369 
370 
371 #undef _core_attr
372 #undef _dyn_attr
373 
374 
375 
376 inline void
377 hpp::pinocchio_idl::CenterOfMassComputation::_marshalObjRef(::hpp::pinocchio_idl::CenterOfMassComputation_ptr obj, cdrStream& s) {
378  omniObjRef::_marshal(obj->_PR_getobj(),s);
379 }
380 
381 inline void
382 hpp::pinocchio_idl::Device::_marshalObjRef(::hpp::pinocchio_idl::Device_ptr obj, cdrStream& s) {
383  omniObjRef::_marshal(obj->_PR_getobj(),s);
384 }
385 
386 
387 
388 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_robots
389 # undef USE_stub_in_nt_dll
390 # undef USE_stub_in_nt_dll_NOT_DEFINED_robots
391 #endif
392 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_robots
393 # undef USE_core_stub_in_nt_dll
394 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_robots
395 #endif
396 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_robots
397 # undef USE_dyn_stub_in_nt_dll
398 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_robots
399 #endif
400 
401 #endif // __robots_hh__
402 
inline ::hpp::pinocchio_idl::Device_ptr _this()
Definition: robots-idl.hh:346
Device_var _var_type
Definition: robots-idl.hh:221
Definition: robots-idl.hh:292
_objref_Device * Device_ptr
Definition: robots-idl.hh:194
_CORBA_ObjRef_OUT_arg< _objref_Device, Device_Helper > Device_out
Definition: robots-idl.hh:212
static _core_attr const char * _PD_repoId
Definition: robots-idl.hh:246
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
static void marshalObjRef(_ptr_type, cdrStream &)
static _ptr_type unmarshalObjRef(cdrStream &)
Device_ptr _ptr_type
Definition: robots-idl.hh:220
static void release(_ptr_type)
Device_ptr _ptr_type
Definition: robots-idl.hh:201
CenterOfMassComputation_ptr _ptr_type
Definition: robots-idl.hh:78
_objref_CenterOfMassComputation()
Definition: robots-idl.hh:142
_CORBA_ObjRef_Var< _objref_Device, Device_Helper > Device_var
Definition: _problem-idl.hh:120
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: robots-idl.hh:239
#define _core_attr
Definition: robots-idl.hh:43
sequence< string > Names_t
Sequence of names.
Definition: common.idl:22
Definition: robots-idl.hh:217
inline ::hpp::pinocchio_idl::CenterOfMassComputation_ptr _this()
Definition: robots-idl.hh:334
Definition: robots-idl.hh:168
CenterOfMassComputation_ptr _ptr_type
Definition: robots-idl.hh:97
Definition: robots-idl.hh:252
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: robots-idl.hh:116
Definition: common-idl.hh:684
static _core_attr const char * _PD_repoId
Definition: robots-idl.hh:123
_pof_CenterOfMassComputation()
Definition: robots-idl.hh:161
Device_ptr DeviceRef
Definition: robots-idl.hh:197
_objref_CenterOfMassComputation * CenterOfMassComputation_ptr
Definition: robots-idl.hh:71
Definition: robots-idl.hh:159
_objref_Device()
Definition: robots-idl.hh:266
Definition: robots-idl.hh:129
_CORBA_ObjRef_OUT_arg< _objref_CenterOfMassComputation, CenterOfMassComputation_Helper > CenterOfMassComputation_out
Definition: robots-idl.hh:89
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: robots-idl.hh:108
CenterOfMassComputation_ptr CenterOfMassComputationRef
Definition: robots-idl.hh:74
_pof_Device()
Definition: robots-idl.hh:285
Definition: robots-idl.hh:94
_CORBA_ObjRef_Var< _objref_Device, Device_Helper > Device_var
Definition: robots-idl.hh:211
::CORBA::Double value_type
Definition: common-idl.hh:61
Definition: common-idl.hh:570
static _CORBA_Boolean is_nil(_ptr_type)
_CORBA_ObjRef_Var< _objref_CenterOfMassComputation, CenterOfMassComputation_Helper > CenterOfMassComputation_var
Definition: robots-idl.hh:88
Definition: robots-idl.hh:283
static void duplicate(_ptr_type)
CenterOfMassComputation_var _var_type
Definition: robots-idl.hh:98
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: robots-idl.hh:231
Definition: _problem-idl.hh:108
Definition: robots-idl.hh:76