hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
_problem-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____problem_hh__
3 #define pp_core_idl____problem_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___problem
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED___problem
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED___problem
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__robots_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__robots_hh_EXTERNAL_GUARD__
28 #endif
29 #ifndef pp_core_idl__distances_hh_EXTERNAL_GUARD__
30 #define pp_core_idl__distances_hh_EXTERNAL_GUARD__
32 #endif
33 #ifndef pp_core_idl__paths_hh_EXTERNAL_GUARD__
34 #define pp_core_idl__paths_hh_EXTERNAL_GUARD__
36 #endif
37 #ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
38 #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
40 #endif
41 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
42 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
44 #endif
45 #ifndef pp_core_idl__steering__methods_hh_EXTERNAL_GUARD__
46 #define pp_core_idl__steering__methods_hh_EXTERNAL_GUARD__
48 #endif
49 #ifndef pp_core_idl__path__validations_hh_EXTERNAL_GUARD__
50 #define pp_core_idl__path__validations_hh_EXTERNAL_GUARD__
52 #endif
53 #ifndef pp_core_idl__configuration__shooters_hh_EXTERNAL_GUARD__
54 #define pp_core_idl__configuration__shooters_hh_EXTERNAL_GUARD__
56 #endif
57 
58 
59 
60 #ifdef USE_stub_in_nt_dll
61 # ifndef USE_core_stub_in_nt_dll
62 # define USE_core_stub_in_nt_dll
63 # endif
64 # ifndef USE_dyn_stub_in_nt_dll
65 # define USE_dyn_stub_in_nt_dll
66 # endif
67 #endif
68 
69 #ifdef _core_attr
70 # error "A local CPP macro _core_attr has already been defined."
71 #else
72 # ifdef USE_core_stub_in_nt_dll
73 # define _core_attr _OMNIORB_NTDLL_IMPORT
74 # else
75 # define _core_attr
76 # endif
77 #endif
78 
79 #ifdef _dyn_attr
80 # error "A local CPP macro _dyn_attr has already been defined."
81 #else
82 # ifdef USE_dyn_stub_in_nt_dll
83 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
84 # else
85 # define _dyn_attr
86 # endif
87 #endif
88 
89 
90 
91 _CORBA_MODULE hpp
92 
93 _CORBA_MODULE_BEG
94 
95  _CORBA_MODULE pinocchio_idl
96 
97  _CORBA_MODULE_BEG
98 
99 #ifndef __hpp_mpinocchio__idl_mDevice__
100 #define __hpp_mpinocchio__idl_mDevice__
101  class Device;
102  class _objref_Device;
104 
105  typedef _objref_Device* Device_ptr;
107 
109  public:
111 
112  static _ptr_type _nil();
113  static _CORBA_Boolean is_nil(_ptr_type);
114  static void release(_ptr_type);
115  static void duplicate(_ptr_type);
116  static void marshalObjRef(_ptr_type, cdrStream&);
117  static _ptr_type unmarshalObjRef(cdrStream&);
118  };
119 
120  typedef _CORBA_ObjRef_Var<_objref_Device, Device_Helper> Device_var;
121  typedef _CORBA_ObjRef_OUT_arg<_objref_Device,Device_Helper > Device_out;
122 
123 #endif
124 
125  _CORBA_MODULE_END
126 
127  _CORBA_MODULE core_idl
128 
129  _CORBA_MODULE_BEG
130 
131 #ifndef __hpp_mcore__idl_mDistance__
132 #define __hpp_mcore__idl_mDistance__
133  class Distance;
134  class _objref_Distance;
136 
139 
141  public:
143 
144  static _ptr_type _nil();
145  static _CORBA_Boolean is_nil(_ptr_type);
146  static void release(_ptr_type);
147  static void duplicate(_ptr_type);
148  static void marshalObjRef(_ptr_type, cdrStream&);
149  static _ptr_type unmarshalObjRef(cdrStream&);
150  };
151 
152  typedef _CORBA_ObjRef_Var<_objref_Distance, Distance_Helper> Distance_var;
153  typedef _CORBA_ObjRef_OUT_arg<_objref_Distance,Distance_Helper > Distance_out;
154 
155 #endif
156 
157 #ifndef __hpp_mcore__idl_mSteeringMethod__
158 #define __hpp_mcore__idl_mSteeringMethod__
159  class SteeringMethod;
162 
165 
167  public:
169 
170  static _ptr_type _nil();
171  static _CORBA_Boolean is_nil(_ptr_type);
172  static void release(_ptr_type);
173  static void duplicate(_ptr_type);
174  static void marshalObjRef(_ptr_type, cdrStream&);
175  static _ptr_type unmarshalObjRef(cdrStream&);
176  };
177 
178  typedef _CORBA_ObjRef_Var<_objref_SteeringMethod, SteeringMethod_Helper> SteeringMethod_var;
179  typedef _CORBA_ObjRef_OUT_arg<_objref_SteeringMethod,SteeringMethod_Helper > SteeringMethod_out;
180 
181 #endif
182 
183 #ifndef __hpp_mcore__idl_mPathValidation__
184 #define __hpp_mcore__idl_mPathValidation__
185  class PathValidation;
188 
191 
193  public:
195 
196  static _ptr_type _nil();
197  static _CORBA_Boolean is_nil(_ptr_type);
198  static void release(_ptr_type);
199  static void duplicate(_ptr_type);
200  static void marshalObjRef(_ptr_type, cdrStream&);
201  static _ptr_type unmarshalObjRef(cdrStream&);
202  };
203 
204  typedef _CORBA_ObjRef_Var<_objref_PathValidation, PathValidation_Helper> PathValidation_var;
205  typedef _CORBA_ObjRef_OUT_arg<_objref_PathValidation,PathValidation_Helper > PathValidation_out;
206 
207 #endif
208 
209 #ifndef __hpp_mcore__idl_mConfigurationShooter__
210 #define __hpp_mcore__idl_mConfigurationShooter__
211  class ConfigurationShooter;
214 
217 
219  public:
221 
222  static _ptr_type _nil();
223  static _CORBA_Boolean is_nil(_ptr_type);
224  static void release(_ptr_type);
225  static void duplicate(_ptr_type);
226  static void marshalObjRef(_ptr_type, cdrStream&);
227  static _ptr_type unmarshalObjRef(cdrStream&);
228  };
229 
230  typedef _CORBA_ObjRef_Var<_objref_ConfigurationShooter, ConfigurationShooter_Helper> ConfigurationShooter_var;
231  typedef _CORBA_ObjRef_OUT_arg<_objref_ConfigurationShooter,ConfigurationShooter_Helper > ConfigurationShooter_out;
232 
233 #endif
234 
235 #ifndef __hpp_mcore__idl_mConstraint__
236 #define __hpp_mcore__idl_mConstraint__
237  class Constraint;
238  class _objref_Constraint;
240 
243 
244  class Constraint_Helper {
245  public:
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_Constraint, Constraint_Helper> Constraint_var;
257  typedef _CORBA_ObjRef_OUT_arg<_objref_Constraint,Constraint_Helper > Constraint_out;
258 
259 #endif
260 
261 #ifndef __hpp_mcore__idl_mProblem__
262 #define __hpp_mcore__idl_mProblem__
263  class Problem;
264  class _objref_Problem;
266 
267  typedef _objref_Problem* Problem_ptr;
269 
270  class Problem_Helper {
271  public:
273 
274  static _ptr_type _nil();
275  static _CORBA_Boolean is_nil(_ptr_type);
276  static void release(_ptr_type);
277  static void duplicate(_ptr_type);
278  static void marshalObjRef(_ptr_type, cdrStream&);
279  static _ptr_type unmarshalObjRef(cdrStream&);
280  };
281 
282  typedef _CORBA_ObjRef_Var<_objref_Problem, Problem_Helper> Problem_var;
283  typedef _CORBA_ObjRef_OUT_arg<_objref_Problem,Problem_Helper > Problem_out;
284 
285 #endif
286 
287  // interface Problem
288  class Problem {
289  public:
290  // Declarations for this interface type.
293 
294  static _ptr_type _duplicate(_ptr_type);
295  static _ptr_type _narrow(::CORBA::Object_ptr);
296  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
297 
298  static _ptr_type _nil();
299 
300  static inline void _marshalObjRef(_ptr_type, cdrStream&);
301 
302  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
303  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
304  if (o)
305  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
306  else
307  return _nil();
308  }
309 
310  static inline _ptr_type _fromObjRef(omniObjRef* o) {
311  if (o)
312  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
313  else
314  return _nil();
315  }
316 
317  static _core_attr const char* _PD_repoId;
318 
319  // Other IDL defined within this scope.
320 
321  };
322 
323  class _objref_Problem :
324  public virtual ::CORBA::Object,
325  public virtual omniObjRef
326  {
327  public:
328  // IDL operations
329  void deleteThis();
331  void setInitConfig(const ::hpp::floatSeq& init);
332  floatSeq* getInitConfig();
333  void resetGoalConfigs();
334  Constraint_ptr getConstraints();
335  Distance_ptr getDistance();
336  void setDistance(::hpp::core_idl::Distance_ptr d);
337  SteeringMethod_ptr getSteeringMethod();
338  void setSteeringMethod(::hpp::core_idl::SteeringMethod_ptr d);
339  PathValidation_ptr getPathValidation();
340  void setPathValidation(::hpp::core_idl::PathValidation_ptr d);
341  ConfigurationShooter_ptr getConfigurationShooter();
342  void setConfigurationShooter(::hpp::core_idl::ConfigurationShooter_ptr d);
343 
344  // Constructors
345  inline _objref_Problem() { _PR_setobj(0); } // nil
346  _objref_Problem(omniIOR*, omniIdentity*);
347 
348  protected:
349  virtual ~_objref_Problem();
350 
351 
352  private:
353  virtual void* _ptrToObjRef(const char*);
354 
356  _objref_Problem& operator = (const _objref_Problem&);
357  // not implemented
358 
359  friend class Problem;
360  };
361 
362  class _pof_Problem : public _OMNI_NS(proxyObjectFactory) {
363  public:
364  inline _pof_Problem() : _OMNI_NS(proxyObjectFactory)(Problem::_PD_repoId) {}
365  virtual ~_pof_Problem();
366 
367  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
368  virtual _CORBA_Boolean is_a(const char*) const;
369  };
370 
371  class _impl_Problem :
372  public virtual omniServant
373  {
374  public:
375  virtual ~_impl_Problem();
376 
377  virtual void deleteThis() = 0;
378  virtual pinocchio_idl::Device_ptr robot() = 0;
379  virtual void setInitConfig(const ::hpp::floatSeq& init) = 0;
380  virtual floatSeq* getInitConfig() = 0;
381  virtual void resetGoalConfigs() = 0;
382  virtual Constraint_ptr getConstraints() = 0;
383  virtual Distance_ptr getDistance() = 0;
384  virtual void setDistance(::hpp::core_idl::Distance_ptr d) = 0;
385  virtual SteeringMethod_ptr getSteeringMethod() = 0;
386  virtual void setSteeringMethod(::hpp::core_idl::SteeringMethod_ptr d) = 0;
387  virtual PathValidation_ptr getPathValidation() = 0;
388  virtual void setPathValidation(::hpp::core_idl::PathValidation_ptr d) = 0;
389  virtual ConfigurationShooter_ptr getConfigurationShooter() = 0;
390  virtual void setConfigurationShooter(::hpp::core_idl::ConfigurationShooter_ptr d) = 0;
391 
392  public: // Really protected, workaround for xlC
393  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
394 
395  private:
396  virtual void* _ptrToInterface(const char*);
397  virtual const char* _mostDerivedRepoId();
398 
399  };
400 
401 
402  _CORBA_MODULE_END
403 
404 _CORBA_MODULE_END
405 
406 
407 
408 _CORBA_MODULE POA_hpp
409 _CORBA_MODULE_BEG
410 
411  _CORBA_MODULE pinocchio_idl
412  _CORBA_MODULE_BEG
413 
414  _CORBA_MODULE_END
415 
416  _CORBA_MODULE core_idl
417  _CORBA_MODULE_BEG
418 
419  class Problem :
420  public virtual hpp::core_idl::_impl_Problem,
421  public virtual ::PortableServer::ServantBase
422  {
423  public:
424  virtual ~Problem();
425 
427  return (::hpp::core_idl::Problem_ptr) _do_this(::hpp::core_idl::Problem::_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 pinocchio_idl
441  _CORBA_MODULE_BEG
442 
443  _CORBA_MODULE_END
444 
445  _CORBA_MODULE core_idl
446  _CORBA_MODULE_BEG
447 
448  _CORBA_MODULE_END
449 
450 _CORBA_MODULE_END
451 
452 
453 
454 
455 
456 #undef _core_attr
457 #undef _dyn_attr
458 
459 
460 
461 inline void
462 hpp::core_idl::Problem::_marshalObjRef(::hpp::core_idl::Problem_ptr obj, cdrStream& s) {
463  omniObjRef::_marshal(obj->_PR_getobj(),s);
464 }
465 
466 
467 
468 #ifdef USE_stub_in_nt_dll_NOT_DEFINED___problem
469 # undef USE_stub_in_nt_dll
470 # undef USE_stub_in_nt_dll_NOT_DEFINED___problem
471 #endif
472 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED___problem
473 # undef USE_core_stub_in_nt_dll
474 # undef USE_core_stub_in_nt_dll_NOT_DEFINED___problem
475 #endif
476 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED___problem
477 # undef USE_dyn_stub_in_nt_dll
478 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED___problem
479 #endif
480 
481 #endif // ____problem_hh__
482 
Definition: steering_methods-idl.hh:106
Definition: configuration_shooters-idl.hh:129
Definition: robots-idl.hh:291
_CORBA_ObjRef_OUT_arg< _objref_PathValidation, PathValidation_Helper > PathValidation_out
Definition: _problem-idl.hh:205
Constraint_ptr _ptr_type
Definition: _problem-idl.hh:246
Definition: problem-idl.hh:320
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: _problem-idl.hh:302
SteeringMethod_ptr _ptr_type
Definition: _problem-idl.hh:168
_objref_Problem()
Definition: _problem-idl.hh:345
inline ::hpp::core_idl::Problem_ptr _this()
Definition: _problem-idl.hh:426
_objref_SteeringMethod * SteeringMethod_ptr
Definition: _problem-idl.hh:161
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
Device_ptr DeviceRef
Definition: _problem-idl.hh:106
_CORBA_ObjRef_OUT_arg< _objref_Constraint, Constraint_Helper > Constraint_out
Definition: _problem-idl.hh:257
_objref_PathValidation * PathValidation_ptr
Definition: _problem-idl.hh:187
Definition: _constraints-idl.hh:242
_CORBA_ObjRef_Var< _objref_Problem, Problem_Helper > Problem_var
Definition: _problem-idl.hh:282
Device_ptr _ptr_type
Definition: _problem-idl.hh:110
Problem_ptr _ptr_type
Definition: _problem-idl.hh:291
Definition: problem-idl.hh:134
_CORBA_ObjRef_Var< _objref_Device, Device_Helper > Device_var
Definition: _problem-idl.hh:120
Definition: configuration_shooters-idl.hh:94
Distance_ptr _ptr_type
Definition: _problem-idl.hh:142
ConfigurationShooter_ptr ConfigurationShooterRef
Definition: _problem-idl.hh:216
_CORBA_ObjRef_Var< _objref_PathValidation, PathValidation_Helper > PathValidation_var
Definition: _problem-idl.hh:204
_CORBA_ObjRef_OUT_arg< _objref_ConfigurationShooter, ConfigurationShooter_Helper > ConfigurationShooter_out
Definition: _problem-idl.hh:231
SteeringMethod_ptr SteeringMethodRef
Definition: _problem-idl.hh:164
static void release(_ptr_type)
Definition: robots-idl.hh:217
static _ptr_type _nil()
Distance_ptr DistanceRef
Definition: _problem-idl.hh:138
Definition: _problem-idl.hh:166
Definition: robots-idl.hh:252
ConfigurationShooter_ptr _ptr_type
Definition: _problem-idl.hh:220
_CORBA_ObjRef_Var< _objref_Constraint, Constraint_Helper > Constraint_var
Definition: _problem-idl.hh:256
Definition: distances-idl.hh:129
Definition: steering_methods-idl.hh:178
Definition: _constraints-idl.hh:224
_objref_ConfigurationShooter * ConfigurationShooter_ptr
Definition: _problem-idl.hh:213
Definition: distances-idl.hh:94
_CORBA_ObjRef_OUT_arg< _objref_Device, Device_Helper > Device_out
Definition: _problem-idl.hh:121
PathValidation_ptr _ptr_type
Definition: _problem-idl.hh:194
Definition: _problem-idl.hh:140
_objref_Problem * Problem_ptr
Definition: _problem-idl.hh:265
_objref_Constraint * Constraint_ptr
Definition: _problem-idl.hh:239
_CORBA_ObjRef_Var< _objref_ConfigurationShooter, ConfigurationShooter_Helper > ConfigurationShooter_var
Definition: _problem-idl.hh:230
Definition: problem-idl.hh:116
Definition: problem-idl.hh:169
Constraint_ptr ConstraintRef
Definition: _problem-idl.hh:242
_pof_Problem()
Definition: _problem-idl.hh:364
_CORBA_ObjRef_OUT_arg< _objref_Distance, Distance_Helper > Distance_out
Definition: _problem-idl.hh:153
Definition: _constraints-idl.hh:315
Definition: steering_methods-idl.hh:141
_CORBA_ObjRef_Var< _objref_Distance, Distance_Helper > Distance_var
Definition: _problem-idl.hh:152
Problem_var _var_type
Definition: _problem-idl.hh:292
static _CORBA_Boolean is_nil(_ptr_type)
Problem_ptr _ptr_type
Definition: _problem-idl.hh:272
_CORBA_ObjRef_Var< _objref_Problem, Problem_Helper > Problem_var
Definition: problem-idl.hh:128
Definition: path_validations-idl.hh:172
Definition: _problem-idl.hh:218
static void marshalObjRef(_ptr_type, cdrStream &)
static void duplicate(_ptr_type)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: _problem-idl.hh:310
_CORBA_ObjRef_Var< _objref_SteeringMethod, SteeringMethod_Helper > SteeringMethod_var
Definition: _problem-idl.hh:178
Definition: common-idl.hh:570
Problem_ptr ProblemRef
Definition: _problem-idl.hh:268
Definition: _problem-idl.hh:192
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
_objref_Device * Device_ptr
Definition: _problem-idl.hh:103
static _ptr_type unmarshalObjRef(cdrStream &)
Definition: path_validations-idl.hh:137
#define _core_attr
Definition: _problem-idl.hh:75
Definition: path_validations-idl.hh:102
Definition: _constraints-idl.hh:277
Definition: problem-idl.hh:311
_CORBA_ObjRef_OUT_arg< _objref_SteeringMethod, SteeringMethod_Helper > SteeringMethod_out
Definition: _problem-idl.hh:179
Definition: _problem-idl.hh:108
Definition: distances-idl.hh:164
_objref_Distance * Distance_ptr
Definition: _problem-idl.hh:135
Definition: configuration_shooters-idl.hh:164
PathValidation_ptr PathValidationRef
Definition: _problem-idl.hh:190
_CORBA_ObjRef_OUT_arg< _objref_Problem, Problem_Helper > Problem_out
Definition: _problem-idl.hh:283