Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
2 |
|
|
#ifndef pp_manipulation_corba_idl__problem_hh__ |
3 |
|
|
#define pp_manipulation_corba_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_manipulation_corba_idl__gcommon_hh_EXTERNAL_GUARD__ |
22 |
|
|
#define pp_manipulation_corba_idl__gcommon_hh_EXTERNAL_GUARD__ |
23 |
|
|
#include <hpp/corbaserver/manipulation/gcommon-idl.hh> |
24 |
|
|
#endif |
25 |
|
|
#ifndef pp_manipulation_corba_idl__common_hh_EXTERNAL_GUARD__ |
26 |
|
|
#define pp_manipulation_corba_idl__common_hh_EXTERNAL_GUARD__ |
27 |
|
|
#include <hpp/common-idl.hh> |
28 |
|
|
#endif |
29 |
|
|
#ifndef pp_manipulation_corba_idl__robots_hh_EXTERNAL_GUARD__ |
30 |
|
|
#define pp_manipulation_corba_idl__robots_hh_EXTERNAL_GUARD__ |
31 |
|
|
#include <hpp/pinocchio_idl/robots-idl.hh> |
32 |
|
|
#endif |
33 |
|
|
#ifndef pp_manipulation_corba_idl__paths_hh_EXTERNAL_GUARD__ |
34 |
|
|
#define pp_manipulation_corba_idl__paths_hh_EXTERNAL_GUARD__ |
35 |
|
|
#include <hpp/core_idl/paths-idl.hh> |
36 |
|
|
#endif |
37 |
|
|
#ifndef pp_manipulation_corba_idl__constraints_hh_EXTERNAL_GUARD__ |
38 |
|
|
#define pp_manipulation_corba_idl__constraints_hh_EXTERNAL_GUARD__ |
39 |
|
|
#include <hpp/constraints_idl/constraints-idl.hh> |
40 |
|
|
#endif |
41 |
|
|
#ifndef pp_manipulation_corba_idl____constraints_hh_EXTERNAL_GUARD__ |
42 |
|
|
#define pp_manipulation_corba_idl____constraints_hh_EXTERNAL_GUARD__ |
43 |
|
|
#include <hpp/core_idl/_constraints-idl.hh> |
44 |
|
|
#endif |
45 |
|
|
#ifndef pp_manipulation_corba_idl__path__planners_hh_EXTERNAL_GUARD__ |
46 |
|
|
#define pp_manipulation_corba_idl__path__planners_hh_EXTERNAL_GUARD__ |
47 |
|
|
#include <hpp/core_idl/path_planners-idl.hh> |
48 |
|
|
#endif |
49 |
|
|
#ifndef pp_manipulation_corba_idl__distances_hh_EXTERNAL_GUARD__ |
50 |
|
|
#define pp_manipulation_corba_idl__distances_hh_EXTERNAL_GUARD__ |
51 |
|
|
#include <hpp/core_idl/distances-idl.hh> |
52 |
|
|
#endif |
53 |
|
|
#ifndef pp_manipulation_corba_idl__steering__methods_hh_EXTERNAL_GUARD__ |
54 |
|
|
#define pp_manipulation_corba_idl__steering__methods_hh_EXTERNAL_GUARD__ |
55 |
|
|
#include <hpp/core_idl/steering_methods-idl.hh> |
56 |
|
|
#endif |
57 |
|
|
#ifndef pp_manipulation_corba_idl__path__validations_hh_EXTERNAL_GUARD__ |
58 |
|
|
#define pp_manipulation_corba_idl__path__validations_hh_EXTERNAL_GUARD__ |
59 |
|
|
#include <hpp/core_idl/path_validations-idl.hh> |
60 |
|
|
#endif |
61 |
|
|
#ifndef pp_manipulation_corba_idl____graph_hh_EXTERNAL_GUARD__ |
62 |
|
|
#define pp_manipulation_corba_idl____graph_hh_EXTERNAL_GUARD__ |
63 |
|
|
#include <hpp/manipulation_idl/_graph-idl.hh> |
64 |
|
|
#endif |
65 |
|
|
#ifndef pp_manipulation_corba_idl____path__planners_hh_EXTERNAL_GUARD__ |
66 |
|
|
#define pp_manipulation_corba_idl____path__planners_hh_EXTERNAL_GUARD__ |
67 |
|
|
#include <hpp/manipulation_idl/_path_planners-idl.hh> |
68 |
|
|
#endif |
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
#ifdef USE_stub_in_nt_dll |
73 |
|
|
# ifndef USE_core_stub_in_nt_dll |
74 |
|
|
# define USE_core_stub_in_nt_dll |
75 |
|
|
# endif |
76 |
|
|
# ifndef USE_dyn_stub_in_nt_dll |
77 |
|
|
# define USE_dyn_stub_in_nt_dll |
78 |
|
|
# endif |
79 |
|
|
#endif |
80 |
|
|
|
81 |
|
|
#ifdef _core_attr |
82 |
|
|
# error "A local CPP macro _core_attr has already been defined." |
83 |
|
|
#else |
84 |
|
|
# ifdef USE_core_stub_in_nt_dll |
85 |
|
|
# define _core_attr _OMNIORB_NTDLL_IMPORT |
86 |
|
|
# else |
87 |
|
|
# define _core_attr |
88 |
|
|
# endif |
89 |
|
|
#endif |
90 |
|
|
|
91 |
|
|
#ifdef _dyn_attr |
92 |
|
|
# error "A local CPP macro _dyn_attr has already been defined." |
93 |
|
|
#else |
94 |
|
|
# ifdef USE_dyn_stub_in_nt_dll |
95 |
|
|
# define _dyn_attr _OMNIORB_NTDLL_IMPORT |
96 |
|
|
# else |
97 |
|
|
# define _dyn_attr |
98 |
|
|
# endif |
99 |
|
|
#endif |
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
_CORBA_MODULE hpp |
104 |
|
|
|
105 |
|
|
_CORBA_MODULE_BEG |
106 |
|
|
|
107 |
|
|
_CORBA_MODULE corbaserver |
108 |
|
|
|
109 |
|
|
_CORBA_MODULE_BEG |
110 |
|
|
|
111 |
|
|
_CORBA_MODULE manipulation |
112 |
|
|
|
113 |
|
|
_CORBA_MODULE_BEG |
114 |
|
|
|
115 |
|
|
#ifndef __hpp_mcorbaserver_mmanipulation_mProblem__ |
116 |
|
|
#define __hpp_mcorbaserver_mmanipulation_mProblem__ |
117 |
|
|
class Problem; |
118 |
|
|
class _objref_Problem; |
119 |
|
|
class _impl_Problem; |
120 |
|
|
|
121 |
|
|
typedef _objref_Problem* Problem_ptr; |
122 |
|
|
typedef Problem_ptr ProblemRef; |
123 |
|
|
|
124 |
|
|
class Problem_Helper { |
125 |
|
|
public: |
126 |
|
|
typedef Problem_ptr _ptr_type; |
127 |
|
|
|
128 |
|
|
static _ptr_type _nil(); |
129 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
130 |
|
|
static void release(_ptr_type); |
131 |
|
|
static void duplicate(_ptr_type); |
132 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
133 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
134 |
|
|
}; |
135 |
|
|
|
136 |
|
|
typedef _CORBA_ObjRef_Var<_objref_Problem, Problem_Helper> Problem_var; |
137 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Problem,Problem_Helper > Problem_out; |
138 |
|
|
|
139 |
|
|
#endif |
140 |
|
|
|
141 |
|
|
// interface Problem |
142 |
|
|
class Problem { |
143 |
|
|
public: |
144 |
|
|
// Declarations for this interface type. |
145 |
|
|
typedef Problem_ptr _ptr_type; |
146 |
|
|
typedef Problem_var _var_type; |
147 |
|
|
|
148 |
|
|
static _ptr_type _duplicate(_ptr_type); |
149 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
150 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
151 |
|
|
|
152 |
|
|
static _ptr_type _nil(); |
153 |
|
|
|
154 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
155 |
|
|
|
156 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
157 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
158 |
|
✗ |
if (o) |
159 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
160 |
|
|
else |
161 |
|
✗ |
return _nil(); |
162 |
|
|
} |
163 |
|
|
|
164 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
165 |
|
|
if (o) |
166 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
167 |
|
|
else |
168 |
|
|
return _nil(); |
169 |
|
|
} |
170 |
|
|
|
171 |
|
|
static _core_attr const char* _PD_repoId; |
172 |
|
|
|
173 |
|
|
// Other IDL defined within this scope. |
174 |
|
|
|
175 |
|
|
}; |
176 |
|
|
|
177 |
|
|
class _objref_Problem : |
178 |
|
|
public virtual ::CORBA::Object, |
179 |
|
|
public virtual omniObjRef |
180 |
|
|
{ |
181 |
|
|
public: |
182 |
|
|
// IDL operations |
183 |
|
|
::CORBA::Boolean selectProblem(const char* name); |
184 |
|
|
void resetProblem(); |
185 |
|
|
Names_t* getAvailable(const char* type); |
186 |
|
|
Names_t* getSelected(const char* type); |
187 |
|
|
void loadRoadmap(const char* filename); |
188 |
|
|
void createGrasp(const char* graspName, const char* gripperName, const char* handleName); |
189 |
|
|
void createPreGrasp(const char* name, const char* gripper, const char* handle); |
190 |
|
|
Names_t* getEnvironmentContactNames(); |
191 |
|
|
Names_t* getRobotContactNames(); |
192 |
|
|
Names_t* getEnvironmentContact(const char* name, ::hpp::intSeq_out indices, ::hpp::floatSeqSeq_out points); |
193 |
|
|
Names_t* getRobotContact(const char* name, ::hpp::intSeq_out indexes, ::hpp::floatSeqSeq_out points); |
194 |
|
|
void createPlacementConstraint(const char* placementName, const ::hpp::Names_t& shapeName, const ::hpp::Names_t& envContactName); |
195 |
|
|
void createPrePlacementConstraint(const char* placementName, const ::hpp::Names_t& shapeName, const ::hpp::Names_t& envContactName, ::CORBA::Double witdh); |
196 |
|
|
void createQPStabilityConstraint(const char* constraintName, const char* comRootJointName, const ::hpp::Names_t& shapesName); |
197 |
|
|
::CORBA::Boolean setConstraints(::hpp::ID idComp, ::CORBA::Boolean target); |
198 |
|
|
void registerConstraints(const char* constraint, const char* complement, const char* both); |
199 |
|
|
::CORBA::Boolean applyConstraints(::hpp::ID idComp, const ::hpp::floatSeq& input, ::hpp::floatSeq_out output, ::CORBA::Double& residualError); |
200 |
|
|
::CORBA::Boolean applyConstraintsWithOffset(::hpp::ID IDedge, const ::hpp::floatSeq& qnear, const ::hpp::floatSeq& input, ::hpp::floatSeq_out output, ::CORBA::Double& residualError); |
201 |
|
|
::CORBA::Boolean buildAndProjectPath(::hpp::ID IDedge, const ::hpp::floatSeq& qb, const ::hpp::floatSeq& qe, ::CORBA::Long& indexNotProj, ::CORBA::Long& indexProj); |
202 |
|
|
void setTargetState(::hpp::ID IDstate); |
203 |
|
|
ID edgeAtParam(::CORBA::ULong inPathId, ::CORBA::Double atDistance, ::CORBA::String_out graphName); |
204 |
|
|
manipulation_idl::graph_idl::Validation_ptr createGraphValidation(); |
205 |
|
|
core_idl::Roadmap_ptr readRoadmap(const char* filename, ::hpp::pinocchio_idl::Device_ptr robot, ::hpp::manipulation_idl::graph_idl::Graph_ptr graph); |
206 |
|
|
void writeRoadmap(const char* filename, ::hpp::core_idl::Roadmap_ptr roadmap, ::hpp::pinocchio_idl::Device_ptr robot, ::hpp::manipulation_idl::graph_idl::Graph_ptr graph); |
207 |
|
|
core_idl::Roadmap_ptr createRoadmap(::hpp::core_idl::Distance_ptr distance, ::hpp::pinocchio_idl::Device_ptr robot); |
208 |
|
|
core_idl::PathPlanner_ptr createTransitionPlanner(); |
209 |
|
|
|
210 |
|
|
// Constructors |
211 |
|
✗ |
inline _objref_Problem() { _PR_setobj(0); } // nil |
212 |
|
|
_objref_Problem(omniIOR*, omniIdentity*); |
213 |
|
|
|
214 |
|
|
protected: |
215 |
|
|
virtual ~_objref_Problem(); |
216 |
|
|
|
217 |
|
|
|
218 |
|
|
private: |
219 |
|
|
virtual void* _ptrToObjRef(const char*); |
220 |
|
|
|
221 |
|
|
_objref_Problem(const _objref_Problem&); |
222 |
|
|
_objref_Problem& operator = (const _objref_Problem&); |
223 |
|
|
// not implemented |
224 |
|
|
|
225 |
|
|
friend class Problem; |
226 |
|
|
}; |
227 |
|
|
|
228 |
|
|
class _pof_Problem : public _OMNI_NS(proxyObjectFactory) { |
229 |
|
|
public: |
230 |
|
✗ |
inline _pof_Problem() : _OMNI_NS(proxyObjectFactory)(Problem::_PD_repoId) {} |
231 |
|
|
virtual ~_pof_Problem(); |
232 |
|
|
|
233 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
234 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
235 |
|
|
}; |
236 |
|
|
|
237 |
|
|
class _impl_Problem : |
238 |
|
|
public virtual omniServant |
239 |
|
|
{ |
240 |
|
|
public: |
241 |
|
|
virtual ~_impl_Problem(); |
242 |
|
|
|
243 |
|
|
virtual ::CORBA::Boolean selectProblem(const char* name) = 0; |
244 |
|
|
virtual void resetProblem() = 0; |
245 |
|
|
virtual Names_t* getAvailable(const char* type) = 0; |
246 |
|
|
virtual Names_t* getSelected(const char* type) = 0; |
247 |
|
|
virtual void loadRoadmap(const char* filename) = 0; |
248 |
|
|
virtual void createGrasp(const char* graspName, const char* gripperName, const char* handleName) = 0; |
249 |
|
|
virtual void createPreGrasp(const char* name, const char* gripper, const char* handle) = 0; |
250 |
|
|
virtual Names_t* getEnvironmentContactNames() = 0; |
251 |
|
|
virtual Names_t* getRobotContactNames() = 0; |
252 |
|
|
virtual Names_t* getEnvironmentContact(const char* name, ::hpp::intSeq_out indices, ::hpp::floatSeqSeq_out points) = 0; |
253 |
|
|
virtual Names_t* getRobotContact(const char* name, ::hpp::intSeq_out indexes, ::hpp::floatSeqSeq_out points) = 0; |
254 |
|
|
virtual void createPlacementConstraint(const char* placementName, const ::hpp::Names_t& shapeName, const ::hpp::Names_t& envContactName) = 0; |
255 |
|
|
virtual void createPrePlacementConstraint(const char* placementName, const ::hpp::Names_t& shapeName, const ::hpp::Names_t& envContactName, ::CORBA::Double witdh) = 0; |
256 |
|
|
virtual void createQPStabilityConstraint(const char* constraintName, const char* comRootJointName, const ::hpp::Names_t& shapesName) = 0; |
257 |
|
|
virtual ::CORBA::Boolean setConstraints(::hpp::ID idComp, ::CORBA::Boolean target) = 0; |
258 |
|
|
virtual void registerConstraints(const char* constraint, const char* complement, const char* both) = 0; |
259 |
|
|
virtual ::CORBA::Boolean applyConstraints(::hpp::ID idComp, const ::hpp::floatSeq& input, ::hpp::floatSeq_out output, ::CORBA::Double& residualError) = 0; |
260 |
|
|
virtual ::CORBA::Boolean applyConstraintsWithOffset(::hpp::ID IDedge, const ::hpp::floatSeq& qnear, const ::hpp::floatSeq& input, ::hpp::floatSeq_out output, ::CORBA::Double& residualError) = 0; |
261 |
|
|
virtual ::CORBA::Boolean buildAndProjectPath(::hpp::ID IDedge, const ::hpp::floatSeq& qb, const ::hpp::floatSeq& qe, ::CORBA::Long& indexNotProj, ::CORBA::Long& indexProj) = 0; |
262 |
|
|
virtual void setTargetState(::hpp::ID IDstate) = 0; |
263 |
|
|
virtual ID edgeAtParam(::CORBA::ULong inPathId, ::CORBA::Double atDistance, ::CORBA::String_out graphName) = 0; |
264 |
|
|
virtual manipulation_idl::graph_idl::Validation_ptr createGraphValidation() = 0; |
265 |
|
|
virtual core_idl::Roadmap_ptr readRoadmap(const char* filename, ::hpp::pinocchio_idl::Device_ptr robot, ::hpp::manipulation_idl::graph_idl::Graph_ptr graph) = 0; |
266 |
|
|
virtual void writeRoadmap(const char* filename, ::hpp::core_idl::Roadmap_ptr roadmap, ::hpp::pinocchio_idl::Device_ptr robot, ::hpp::manipulation_idl::graph_idl::Graph_ptr graph) = 0; |
267 |
|
|
virtual core_idl::Roadmap_ptr createRoadmap(::hpp::core_idl::Distance_ptr distance, ::hpp::pinocchio_idl::Device_ptr robot) = 0; |
268 |
|
|
virtual core_idl::PathPlanner_ptr createTransitionPlanner() = 0; |
269 |
|
|
|
270 |
|
|
public: // Really protected, workaround for xlC |
271 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
272 |
|
|
|
273 |
|
|
private: |
274 |
|
|
virtual void* _ptrToInterface(const char*); |
275 |
|
|
virtual const char* _mostDerivedRepoId(); |
276 |
|
|
|
277 |
|
|
}; |
278 |
|
|
|
279 |
|
|
|
280 |
|
|
_CORBA_MODULE_END |
281 |
|
|
|
282 |
|
|
_CORBA_MODULE_END |
283 |
|
|
|
284 |
|
|
_CORBA_MODULE_END |
285 |
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
|
|
_CORBA_MODULE POA_hpp |
289 |
|
|
_CORBA_MODULE_BEG |
290 |
|
|
|
291 |
|
|
_CORBA_MODULE corbaserver |
292 |
|
|
_CORBA_MODULE_BEG |
293 |
|
|
|
294 |
|
|
_CORBA_MODULE manipulation |
295 |
|
|
_CORBA_MODULE_BEG |
296 |
|
|
|
297 |
|
|
class Problem : |
298 |
|
|
public virtual hpp::corbaserver::manipulation::_impl_Problem, |
299 |
|
|
public virtual ::PortableServer::ServantBase |
300 |
|
|
{ |
301 |
|
|
public: |
302 |
|
|
virtual ~Problem(); |
303 |
|
|
|
304 |
|
✗ |
inline ::hpp::corbaserver::manipulation::Problem_ptr _this() { |
305 |
|
✗ |
return (::hpp::corbaserver::manipulation::Problem_ptr) _do_this(::hpp::corbaserver::manipulation::Problem::_PD_repoId); |
306 |
|
|
} |
307 |
|
|
}; |
308 |
|
|
|
309 |
|
|
_CORBA_MODULE_END |
310 |
|
|
|
311 |
|
|
_CORBA_MODULE_END |
312 |
|
|
|
313 |
|
|
_CORBA_MODULE_END |
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
_CORBA_MODULE OBV_hpp |
318 |
|
|
_CORBA_MODULE_BEG |
319 |
|
|
|
320 |
|
|
_CORBA_MODULE corbaserver |
321 |
|
|
_CORBA_MODULE_BEG |
322 |
|
|
|
323 |
|
|
_CORBA_MODULE manipulation |
324 |
|
|
_CORBA_MODULE_BEG |
325 |
|
|
|
326 |
|
|
_CORBA_MODULE_END |
327 |
|
|
|
328 |
|
|
_CORBA_MODULE_END |
329 |
|
|
|
330 |
|
|
_CORBA_MODULE_END |
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
#undef _core_attr |
337 |
|
|
#undef _dyn_attr |
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
inline void |
342 |
|
✗ |
hpp::corbaserver::manipulation::Problem::_marshalObjRef(::hpp::corbaserver::manipulation::Problem_ptr obj, cdrStream& s) { |
343 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
344 |
|
|
} |
345 |
|
|
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_problem |
349 |
|
|
# undef USE_stub_in_nt_dll |
350 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_problem |
351 |
|
|
#endif |
352 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_problem |
353 |
|
|
# undef USE_core_stub_in_nt_dll |
354 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_problem |
355 |
|
|
#endif |
356 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_problem |
357 |
|
|
# undef USE_dyn_stub_in_nt_dll |
358 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_problem |
359 |
|
|
#endif |
360 |
|
|
|
361 |
|
|
#endif // __problem_hh__ |
362 |
|
|
|
363 |
|
|
|