hpp-corbaserver  4.14.0
Corba server for Humanoid Path Planner applications
steering_methods-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__steering__methods_hh__
3 #define pp_core_idl__steering__methods_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_steering__methods
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_steering__methods
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_steering__methods
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__paths_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__paths_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 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
34 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
36 #endif
37 
38 
39 
40 #ifdef USE_stub_in_nt_dll
41 # ifndef USE_core_stub_in_nt_dll
42 # define USE_core_stub_in_nt_dll
43 # endif
44 # ifndef USE_dyn_stub_in_nt_dll
45 # define USE_dyn_stub_in_nt_dll
46 # endif
47 #endif
48 
49 #ifdef _core_attr
50 # error "A local CPP macro _core_attr has already been defined."
51 #else
52 # ifdef USE_core_stub_in_nt_dll
53 # define _core_attr _OMNIORB_NTDLL_IMPORT
54 # else
55 # define _core_attr
56 # endif
57 #endif
58 
59 #ifdef _dyn_attr
60 # error "A local CPP macro _dyn_attr has already been defined."
61 #else
62 # ifdef USE_dyn_stub_in_nt_dll
63 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
64 # else
65 # define _dyn_attr
66 # endif
67 #endif
68 
69 
70 
71 _CORBA_MODULE hpp
72 
73 _CORBA_MODULE_BEG
74 
75  _CORBA_MODULE core_idl
76 
77  _CORBA_MODULE_BEG
78 
79 #ifndef __hpp_mcore__idl_mSteeringMethod__
80 #define __hpp_mcore__idl_mSteeringMethod__
81  class SteeringMethod;
84 
87 
88  class SteeringMethod_Helper {
89  public:
91 
92  static _ptr_type _nil();
93  static _CORBA_Boolean is_nil(_ptr_type);
94  static void release(_ptr_type);
95  static void duplicate(_ptr_type);
96  static void marshalObjRef(_ptr_type, cdrStream&);
97  static _ptr_type unmarshalObjRef(cdrStream&);
98  };
99 
100  typedef _CORBA_ObjRef_Var<_objref_SteeringMethod, SteeringMethod_Helper> SteeringMethod_var;
101  typedef _CORBA_ObjRef_OUT_arg<_objref_SteeringMethod,SteeringMethod_Helper > SteeringMethod_out;
102 
103 #endif
104 
105  // interface SteeringMethod
107  public:
108  // Declarations for this interface type.
111 
112  static _ptr_type _duplicate(_ptr_type);
113  static _ptr_type _narrow(::CORBA::Object_ptr);
114  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
115 
116  static _ptr_type _nil();
117 
118  static inline void _marshalObjRef(_ptr_type, cdrStream&);
119 
120  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
121  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
122  if (o)
123  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
124  else
125  return _nil();
126  }
127 
128  static inline _ptr_type _fromObjRef(omniObjRef* o) {
129  if (o)
130  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
131  else
132  return _nil();
133  }
134 
135  static _core_attr const char* _PD_repoId;
136 
137  // Other IDL defined within this scope.
138 
139  };
140 
142  public virtual ::CORBA::Object,
143  public virtual omniObjRef
144  {
145  public:
146  // IDL operations
148  void setConstraints(::hpp::core_idl::ConstraintSet_ptr constraints);
149  Constraint_ptr getConstraints();
150 
151  // Constructors
152  inline _objref_SteeringMethod() { _PR_setobj(0); } // nil
153  _objref_SteeringMethod(omniIOR*, omniIdentity*);
154 
155  protected:
156  virtual ~_objref_SteeringMethod();
157 
158 
159  private:
160  virtual void* _ptrToObjRef(const char*);
161 
163  _objref_SteeringMethod& operator = (const _objref_SteeringMethod&);
164  // not implemented
165 
166  friend class SteeringMethod;
167  };
168 
169  class _pof_SteeringMethod : public _OMNI_NS(proxyObjectFactory) {
170  public:
171  inline _pof_SteeringMethod() : _OMNI_NS(proxyObjectFactory)(SteeringMethod::_PD_repoId) {}
172  virtual ~_pof_SteeringMethod();
173 
174  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
175  virtual _CORBA_Boolean is_a(const char*) const;
176  };
177 
179  public virtual omniServant
180  {
181  public:
182  virtual ~_impl_SteeringMethod();
183 
184  virtual Path_ptr call(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2) = 0;
185  virtual void setConstraints(::hpp::core_idl::ConstraintSet_ptr constraints) = 0;
186  virtual Constraint_ptr getConstraints() = 0;
187 
188  public: // Really protected, workaround for xlC
189  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
190 
191  private:
192  virtual void* _ptrToInterface(const char*);
193  virtual const char* _mostDerivedRepoId();
194 
195  };
196 
197 
198  _CORBA_MODULE_END
199 
200 _CORBA_MODULE_END
201 
202 
203 
204 _CORBA_MODULE POA_hpp
205 _CORBA_MODULE_BEG
206 
207  _CORBA_MODULE core_idl
208  _CORBA_MODULE_BEG
209 
210  class SteeringMethod :
211  public virtual hpp::core_idl::_impl_SteeringMethod,
212  public virtual ::PortableServer::ServantBase
213  {
214  public:
215  virtual ~SteeringMethod();
216 
218  return (::hpp::core_idl::SteeringMethod_ptr) _do_this(::hpp::core_idl::SteeringMethod::_PD_repoId);
219  }
220  };
221 
222  _CORBA_MODULE_END
223 
224 _CORBA_MODULE_END
225 
226 
227 
228 _CORBA_MODULE OBV_hpp
229 _CORBA_MODULE_BEG
230 
231  _CORBA_MODULE core_idl
232  _CORBA_MODULE_BEG
233 
234  _CORBA_MODULE_END
235 
236 _CORBA_MODULE_END
237 
238 
239 
240 
241 
242 #undef _core_attr
243 #undef _dyn_attr
244 
245 
246 
247 inline void
248 hpp::core_idl::SteeringMethod::_marshalObjRef(::hpp::core_idl::SteeringMethod_ptr obj, cdrStream& s) {
249  omniObjRef::_marshal(obj->_PR_getobj(),s);
250 }
251 
252 
253 
254 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_steering__methods
255 # undef USE_stub_in_nt_dll
256 # undef USE_stub_in_nt_dll_NOT_DEFINED_steering__methods
257 #endif
258 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_steering__methods
259 # undef USE_core_stub_in_nt_dll
260 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_steering__methods
261 #endif
262 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_steering__methods
263 # undef USE_dyn_stub_in_nt_dll
264 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_steering__methods
265 #endif
266 
267 #endif // __steering__methods_hh__
268 
Definition: steering_methods-idl.hh:106
static _ptr_type unmarshalObjRef(cdrStream &)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: steering_methods-idl.hh:128
SteeringMethod_ptr _ptr_type
Definition: steering_methods-idl.hh:90
SteeringMethod_ptr _ptr_type
Definition: steering_methods-idl.hh:109
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:35
Definition: paths-idl.hh:192
static _core_attr const char * _PD_repoId
Definition: steering_methods-idl.hh:135
static void release(_ptr_type)
SteeringMethod_var _var_type
Definition: steering_methods-idl.hh:110
static _ptr_type _nil()
static void duplicate(_ptr_type)
Definition: _problem-idl.hh:196
#define _core_attr
Definition: steering_methods-idl.hh:55
SteeringMethod_ptr SteeringMethodRef
Definition: steering_methods-idl.hh:86
Definition: steering_methods-idl.hh:178
Definition: steering_methods-idl.hh:169
static void marshalObjRef(_ptr_type, cdrStream &)
_objref_SteeringMethod * SteeringMethod_ptr
Definition: steering_methods-idl.hh:83
_CORBA_ObjRef_OUT_arg< _objref_SteeringMethod, SteeringMethod_Helper > SteeringMethod_out
Definition: steering_methods-idl.hh:101
Definition: steering_methods-idl.hh:141
static _CORBA_Boolean is_nil(_ptr_type)
inline ::hpp::core_idl::SteeringMethod_ptr _this()
Definition: steering_methods-idl.hh:217
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: steering_methods-idl.hh:120
_objref_ConstraintSet * ConstraintSet_ptr
Definition: _constraints-idl.hh:480
_objref_SteeringMethod()
Definition: steering_methods-idl.hh:152
_CORBA_ObjRef_Var< _objref_SteeringMethod, SteeringMethod_Helper > SteeringMethod_var
Definition: _problem-idl.hh:208
_CORBA_ObjRef_Var< _objref_SteeringMethod, SteeringMethod_Helper > SteeringMethod_var
Definition: steering_methods-idl.hh:100
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
_pof_SteeringMethod()
Definition: steering_methods-idl.hh:171
Definition: _constraints-idl.hh:277