Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
2 |
|
|
|
3 |
|
|
#include "_path_planners-idl.hh" |
4 |
|
|
#include <omniORB4/IOP_S.h> |
5 |
|
|
#include <omniORB4/IOP_C.h> |
6 |
|
|
#include <omniORB4/callDescriptor.h> |
7 |
|
|
#include <omniORB4/callHandle.h> |
8 |
|
|
#include <omniORB4/objTracker.h> |
9 |
|
|
|
10 |
|
|
|
11 |
|
|
OMNI_USING_NAMESPACE(omni) |
12 |
|
|
|
13 |
|
|
OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3; |
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
✗ |
hpp::manipulation_idl::Roadmap_ptr hpp::manipulation_idl::Roadmap_Helper::_nil() { |
18 |
|
✗ |
return ::hpp::manipulation_idl::Roadmap::_nil(); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::Roadmap_Helper::is_nil(::hpp::manipulation_idl::Roadmap_ptr p) { |
22 |
|
✗ |
return ::CORBA::is_nil(p); |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
✗ |
void hpp::manipulation_idl::Roadmap_Helper::release(::hpp::manipulation_idl::Roadmap_ptr p) { |
27 |
|
✗ |
::CORBA::release(p); |
28 |
|
|
} |
29 |
|
|
|
30 |
|
✗ |
void hpp::manipulation_idl::Roadmap_Helper::marshalObjRef(::hpp::manipulation_idl::Roadmap_ptr obj, cdrStream& s) { |
31 |
|
✗ |
::hpp::manipulation_idl::Roadmap::_marshalObjRef(obj, s); |
32 |
|
|
} |
33 |
|
|
|
34 |
|
✗ |
hpp::manipulation_idl::Roadmap_ptr hpp::manipulation_idl::Roadmap_Helper::unmarshalObjRef(cdrStream& s) { |
35 |
|
✗ |
return ::hpp::manipulation_idl::Roadmap::_unmarshalObjRef(s); |
36 |
|
|
} |
37 |
|
|
|
38 |
|
✗ |
void hpp::manipulation_idl::Roadmap_Helper::duplicate(::hpp::manipulation_idl::Roadmap_ptr obj) { |
39 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
40 |
|
|
} |
41 |
|
|
|
42 |
|
|
hpp::manipulation_idl::Roadmap_ptr |
43 |
|
✗ |
hpp::manipulation_idl::Roadmap::_duplicate(::hpp::manipulation_idl::Roadmap_ptr obj) |
44 |
|
|
{ |
45 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
46 |
|
✗ |
return obj; |
47 |
|
|
} |
48 |
|
|
|
49 |
|
|
hpp::manipulation_idl::Roadmap_ptr |
50 |
|
✗ |
hpp::manipulation_idl::Roadmap::_narrow(::CORBA::Object_ptr obj) |
51 |
|
|
{ |
52 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
53 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
54 |
|
✗ |
return e ? e : _nil(); |
55 |
|
|
} |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
hpp::manipulation_idl::Roadmap_ptr |
59 |
|
✗ |
hpp::manipulation_idl::Roadmap::_unchecked_narrow(::CORBA::Object_ptr obj) |
60 |
|
|
{ |
61 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
62 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
63 |
|
✗ |
return e ? e : _nil(); |
64 |
|
|
} |
65 |
|
|
|
66 |
|
|
hpp::manipulation_idl::Roadmap_ptr |
67 |
|
✗ |
hpp::manipulation_idl::Roadmap::_nil() |
68 |
|
|
{ |
69 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
70 |
|
|
static _objref_Roadmap _the_nil_obj; |
71 |
|
|
return &_the_nil_obj; |
72 |
|
|
#else |
73 |
|
|
static _objref_Roadmap* _the_nil_ptr = 0; |
74 |
|
✗ |
if (!_the_nil_ptr) { |
75 |
|
✗ |
omni::nilRefLock().lock(); |
76 |
|
✗ |
if (!_the_nil_ptr) { |
77 |
|
✗ |
_the_nil_ptr = new _objref_Roadmap; |
78 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
79 |
|
|
} |
80 |
|
✗ |
omni::nilRefLock().unlock(); |
81 |
|
|
} |
82 |
|
✗ |
return _the_nil_ptr; |
83 |
|
|
#endif |
84 |
|
|
} |
85 |
|
|
|
86 |
|
|
const char* hpp::manipulation_idl::Roadmap::_PD_repoId = "IDL:hpp/manipulation_idl/Roadmap:1.0"; |
87 |
|
|
|
88 |
|
|
|
89 |
|
|
typedef hpp::core_idl::Roadmap hpp_core_idl_Roadmap; |
90 |
|
|
typedef hpp::core_idl::_impl_Roadmap hpp_core_idl__impl_Roadmap; |
91 |
|
|
typedef hpp::core_idl::_objref_Roadmap hpp_core_idl__objref_Roadmap; |
92 |
|
|
|
93 |
|
✗ |
hpp::manipulation_idl::_objref_Roadmap::~_objref_Roadmap() { |
94 |
|
|
|
95 |
|
|
} |
96 |
|
|
|
97 |
|
|
|
98 |
|
✗ |
hpp::manipulation_idl::_objref_Roadmap::_objref_Roadmap(omniIOR* ior, omniIdentity* id) : |
99 |
|
|
omniObjRef(::hpp::manipulation_idl::Roadmap::_PD_repoId, ior, id, 1), |
100 |
|
✗ |
hpp_core_idl__objref_Roadmap(ior, id) |
101 |
|
|
|
102 |
|
|
{ |
103 |
|
✗ |
_PR_setobj(this); |
104 |
|
|
} |
105 |
|
|
|
106 |
|
|
void* |
107 |
|
✗ |
hpp::manipulation_idl::_objref_Roadmap::_ptrToObjRef(const char* id) |
108 |
|
|
{ |
109 |
|
✗ |
if (id == ::hpp::manipulation_idl::Roadmap::_PD_repoId) |
110 |
|
✗ |
return (::hpp::manipulation_idl::Roadmap_ptr) this; |
111 |
|
✗ |
if (id == ::hpp::core_idl::Roadmap::_PD_repoId) |
112 |
|
✗ |
return (::hpp::core_idl::Roadmap_ptr) this; |
113 |
|
|
|
114 |
|
|
|
115 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
116 |
|
✗ |
return (::CORBA::Object_ptr) this; |
117 |
|
|
|
118 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::Roadmap::_PD_repoId)) |
119 |
|
✗ |
return (::hpp::manipulation_idl::Roadmap_ptr) this; |
120 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::Roadmap::_PD_repoId)) |
121 |
|
✗ |
return (::hpp::core_idl::Roadmap_ptr) this; |
122 |
|
|
|
123 |
|
|
|
124 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
125 |
|
✗ |
return (::CORBA::Object_ptr) this; |
126 |
|
|
|
127 |
|
✗ |
return 0; |
128 |
|
|
} |
129 |
|
|
|
130 |
|
|
|
131 |
|
|
// |
132 |
|
|
// Code for hpp::manipulation_idl::Roadmap::constraintGraph |
133 |
|
|
|
134 |
|
|
// Proxy call descriptor class. Mangled signature: |
135 |
|
|
// void_i_chpp_mmanipulation__idl_mgraph__idl_mGraph_e_chpp_mError |
136 |
|
|
class _0RL_cd_112036bc814a51c8_00000000 |
137 |
|
|
: public omniCallDescriptor |
138 |
|
|
{ |
139 |
|
|
public: |
140 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
141 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
142 |
|
|
{ |
143 |
|
|
|
144 |
|
|
} |
145 |
|
|
|
146 |
|
|
void marshalArguments(cdrStream&); |
147 |
|
|
void unmarshalArguments(cdrStream&); |
148 |
|
|
|
149 |
|
|
|
150 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
151 |
|
|
static const char* const _user_exns[]; |
152 |
|
|
|
153 |
|
|
hpp::manipulation_idl::graph_idl::Graph_var arg_0_; |
154 |
|
|
hpp::manipulation_idl::graph_idl::Graph_ptr arg_0; |
155 |
|
|
}; |
156 |
|
|
|
157 |
|
✗ |
void _0RL_cd_112036bc814a51c8_00000000::marshalArguments(cdrStream& _n) |
158 |
|
|
{ |
159 |
|
✗ |
hpp::manipulation_idl::graph_idl::Graph_Helper::marshalObjRef(arg_0,_n); |
160 |
|
|
|
161 |
|
|
} |
162 |
|
|
|
163 |
|
✗ |
void _0RL_cd_112036bc814a51c8_00000000::unmarshalArguments(cdrStream& _n) |
164 |
|
|
{ |
165 |
|
✗ |
arg_0_ = hpp::manipulation_idl::graph_idl::Graph_Helper::unmarshalObjRef(_n); |
166 |
|
✗ |
arg_0 = arg_0_.in(); |
167 |
|
|
|
168 |
|
|
} |
169 |
|
|
|
170 |
|
|
const char* const _0RL_cd_112036bc814a51c8_00000000::_user_exns[] = { |
171 |
|
|
hpp::Error::_PD_repoId |
172 |
|
|
}; |
173 |
|
|
|
174 |
|
✗ |
void _0RL_cd_112036bc814a51c8_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
175 |
|
|
{ |
176 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
177 |
|
✗ |
hpp::Error _ex; |
178 |
|
✗ |
_ex <<= s; |
179 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
180 |
|
✗ |
throw _ex; |
181 |
|
|
} |
182 |
|
|
|
183 |
|
|
|
184 |
|
|
else { |
185 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
186 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
187 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
188 |
|
|
} |
189 |
|
|
} |
190 |
|
|
|
191 |
|
|
// Local call call-back function. |
192 |
|
|
static void |
193 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_10000000(omniCallDescriptor* cd, omniServant* svnt) |
194 |
|
|
{ |
195 |
|
✗ |
_0RL_cd_112036bc814a51c8_00000000* tcd = (_0RL_cd_112036bc814a51c8_00000000*)cd; |
196 |
|
✗ |
hpp::manipulation_idl::_impl_Roadmap* impl = (hpp::manipulation_idl::_impl_Roadmap*) svnt->_ptrToInterface(hpp::manipulation_idl::Roadmap::_PD_repoId); |
197 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
198 |
|
✗ |
impl->constraintGraph(tcd->arg_0); |
199 |
|
|
#else |
200 |
|
|
if (!cd->is_upcall()) |
201 |
|
|
impl->constraintGraph(tcd->arg_0); |
202 |
|
|
else { |
203 |
|
|
try { |
204 |
|
|
impl->constraintGraph(tcd->arg_0); |
205 |
|
|
} |
206 |
|
|
catch(hpp::Error& ex) { |
207 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
208 |
|
|
} |
209 |
|
|
|
210 |
|
|
|
211 |
|
|
} |
212 |
|
|
#endif |
213 |
|
|
|
214 |
|
|
|
215 |
|
|
} |
216 |
|
|
|
217 |
|
✗ |
void hpp::manipulation_idl::_objref_Roadmap::constraintGraph(::hpp::manipulation_idl::graph_idl::Graph_ptr graph) |
218 |
|
|
{ |
219 |
|
✗ |
_0RL_cd_112036bc814a51c8_00000000 _call_desc(_0RL_lcfn_112036bc814a51c8_10000000, "constraintGraph", 16); |
220 |
|
✗ |
_call_desc.arg_0 = graph; |
221 |
|
|
|
222 |
|
✗ |
_invoke(_call_desc); |
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
} |
227 |
|
|
|
228 |
|
✗ |
hpp::manipulation_idl::_pof_Roadmap::~_pof_Roadmap() {} |
229 |
|
|
|
230 |
|
|
|
231 |
|
|
omniObjRef* |
232 |
|
✗ |
hpp::manipulation_idl::_pof_Roadmap::newObjRef(omniIOR* ior, omniIdentity* id) |
233 |
|
|
{ |
234 |
|
✗ |
return new ::hpp::manipulation_idl::_objref_Roadmap(ior, id); |
235 |
|
|
} |
236 |
|
|
|
237 |
|
|
|
238 |
|
|
::CORBA::Boolean |
239 |
|
✗ |
hpp::manipulation_idl::_pof_Roadmap::is_a(const char* id) const |
240 |
|
|
{ |
241 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::Roadmap::_PD_repoId)) |
242 |
|
✗ |
return 1; |
243 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::Roadmap::_PD_repoId)) |
244 |
|
✗ |
return 1; |
245 |
|
|
|
246 |
|
|
|
247 |
|
✗ |
return 0; |
248 |
|
|
} |
249 |
|
|
|
250 |
|
|
const hpp::manipulation_idl::_pof_Roadmap _the_pof_hpp_mmanipulation__idl_mRoadmap; |
251 |
|
|
|
252 |
|
✗ |
hpp::manipulation_idl::_impl_Roadmap::~_impl_Roadmap() {} |
253 |
|
|
|
254 |
|
|
|
255 |
|
|
::CORBA::Boolean |
256 |
|
✗ |
hpp::manipulation_idl::_impl_Roadmap::_dispatch(omniCallHandle& _handle) |
257 |
|
|
{ |
258 |
|
✗ |
const char* op = _handle.operation_name(); |
259 |
|
|
|
260 |
|
✗ |
if (omni::strMatch(op, "constraintGraph")) { |
261 |
|
|
|
262 |
|
✗ |
_0RL_cd_112036bc814a51c8_00000000 _call_desc(_0RL_lcfn_112036bc814a51c8_10000000, "constraintGraph", 16, 1); |
263 |
|
|
|
264 |
|
✗ |
_handle.upcall(this,_call_desc); |
265 |
|
✗ |
return 1; |
266 |
|
|
} |
267 |
|
|
|
268 |
|
|
|
269 |
|
|
#ifndef _MSC_VER |
270 |
|
✗ |
if (hpp_core_idl__impl_Roadmap::_dispatch(_handle)) { |
271 |
|
✗ |
return 1; |
272 |
|
|
} |
273 |
|
|
#else |
274 |
|
|
// Work-around for incorrect MSVC code generation. |
275 |
|
|
if (((hpp_core_idl__impl_Roadmap*)this)-> |
276 |
|
|
hpp_core_idl__impl_Roadmap::_dispatch(_handle)) { |
277 |
|
|
return 1; |
278 |
|
|
} |
279 |
|
|
#endif |
280 |
|
|
|
281 |
|
|
|
282 |
|
✗ |
return 0; |
283 |
|
|
} |
284 |
|
|
|
285 |
|
|
void* |
286 |
|
✗ |
hpp::manipulation_idl::_impl_Roadmap::_ptrToInterface(const char* id) |
287 |
|
|
{ |
288 |
|
✗ |
if (id == ::hpp::manipulation_idl::Roadmap::_PD_repoId) |
289 |
|
✗ |
return (::hpp::manipulation_idl::_impl_Roadmap*) this; |
290 |
|
✗ |
if (id == ::hpp::core_idl::Roadmap::_PD_repoId) |
291 |
|
✗ |
return (::hpp::core_idl::_impl_Roadmap*) this; |
292 |
|
|
|
293 |
|
|
|
294 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
295 |
|
✗ |
return (void*) 1; |
296 |
|
|
|
297 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::Roadmap::_PD_repoId)) |
298 |
|
✗ |
return (::hpp::manipulation_idl::_impl_Roadmap*) this; |
299 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::Roadmap::_PD_repoId)) |
300 |
|
✗ |
return (::hpp::core_idl::_impl_Roadmap*) this; |
301 |
|
|
|
302 |
|
|
|
303 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
304 |
|
✗ |
return (void*) 1; |
305 |
|
✗ |
return 0; |
306 |
|
|
} |
307 |
|
|
|
308 |
|
|
const char* |
309 |
|
✗ |
hpp::manipulation_idl::_impl_Roadmap::_mostDerivedRepoId() |
310 |
|
|
{ |
311 |
|
✗ |
return ::hpp::manipulation_idl::Roadmap::_PD_repoId; |
312 |
|
|
} |
313 |
|
|
|
314 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::_nil() { |
315 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_nil(); |
316 |
|
|
} |
317 |
|
|
|
318 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::is_nil(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr p) { |
319 |
|
✗ |
return ::CORBA::is_nil(p); |
320 |
|
|
|
321 |
|
|
} |
322 |
|
|
|
323 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::release(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr p) { |
324 |
|
✗ |
::CORBA::release(p); |
325 |
|
|
} |
326 |
|
|
|
327 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::marshalObjRef(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr obj, cdrStream& s) { |
328 |
|
✗ |
::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_marshalObjRef(obj, s); |
329 |
|
|
} |
330 |
|
|
|
331 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::unmarshalObjRef(cdrStream& s) { |
332 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_unmarshalObjRef(s); |
333 |
|
|
} |
334 |
|
|
|
335 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_Helper::duplicate(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr obj) { |
336 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
337 |
|
|
} |
338 |
|
|
|
339 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr |
340 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_duplicate(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr obj) |
341 |
|
|
{ |
342 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
343 |
|
✗ |
return obj; |
344 |
|
|
} |
345 |
|
|
|
346 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr |
347 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_narrow(::CORBA::Object_ptr obj) |
348 |
|
|
{ |
349 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
350 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
351 |
|
✗ |
return e ? e : _nil(); |
352 |
|
|
} |
353 |
|
|
|
354 |
|
|
|
355 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr |
356 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_unchecked_narrow(::CORBA::Object_ptr obj) |
357 |
|
|
{ |
358 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
359 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
360 |
|
✗ |
return e ? e : _nil(); |
361 |
|
|
} |
362 |
|
|
|
363 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr |
364 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_nil() |
365 |
|
|
{ |
366 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
367 |
|
|
static _objref_IkSolverInitialization _the_nil_obj; |
368 |
|
|
return &_the_nil_obj; |
369 |
|
|
#else |
370 |
|
|
static _objref_IkSolverInitialization* _the_nil_ptr = 0; |
371 |
|
✗ |
if (!_the_nil_ptr) { |
372 |
|
✗ |
omni::nilRefLock().lock(); |
373 |
|
✗ |
if (!_the_nil_ptr) { |
374 |
|
✗ |
_the_nil_ptr = new _objref_IkSolverInitialization; |
375 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
376 |
|
|
} |
377 |
|
✗ |
omni::nilRefLock().unlock(); |
378 |
|
|
} |
379 |
|
✗ |
return _the_nil_ptr; |
380 |
|
|
#endif |
381 |
|
|
} |
382 |
|
|
|
383 |
|
|
const char* hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId = "IDL:hpp/manipulation_idl/pathPlanner_idl/IkSolverInitialization:1.0"; |
384 |
|
|
|
385 |
|
|
|
386 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_IkSolverInitialization::~_objref_IkSolverInitialization() { |
387 |
|
|
|
388 |
|
|
} |
389 |
|
|
|
390 |
|
|
|
391 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_IkSolverInitialization::_objref_IkSolverInitialization(omniIOR* ior, omniIdentity* id) : |
392 |
|
✗ |
omniObjRef(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId, ior, id, 1) |
393 |
|
|
|
394 |
|
|
|
395 |
|
|
{ |
396 |
|
✗ |
_PR_setobj(this); |
397 |
|
|
} |
398 |
|
|
|
399 |
|
|
void* |
400 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_IkSolverInitialization::_ptrToObjRef(const char* id) |
401 |
|
|
{ |
402 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId) |
403 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr) this; |
404 |
|
|
|
405 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
406 |
|
✗ |
return (::CORBA::Object_ptr) this; |
407 |
|
|
|
408 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId)) |
409 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr) this; |
410 |
|
|
|
411 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
412 |
|
✗ |
return (::CORBA::Object_ptr) this; |
413 |
|
|
|
414 |
|
✗ |
return 0; |
415 |
|
|
} |
416 |
|
|
|
417 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_IkSolverInitialization::~_pof_IkSolverInitialization() {} |
418 |
|
|
|
419 |
|
|
|
420 |
|
|
omniObjRef* |
421 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_IkSolverInitialization::newObjRef(omniIOR* ior, omniIdentity* id) |
422 |
|
|
{ |
423 |
|
✗ |
return new ::hpp::manipulation_idl::pathPlanner_idl::_objref_IkSolverInitialization(ior, id); |
424 |
|
|
} |
425 |
|
|
|
426 |
|
|
|
427 |
|
|
::CORBA::Boolean |
428 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_IkSolverInitialization::is_a(const char* id) const |
429 |
|
|
{ |
430 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId)) |
431 |
|
✗ |
return 1; |
432 |
|
|
|
433 |
|
✗ |
return 0; |
434 |
|
|
} |
435 |
|
|
|
436 |
|
|
const hpp::manipulation_idl::pathPlanner_idl::_pof_IkSolverInitialization _the_pof_hpp_mmanipulation__idl_mpathPlanner__idl_mIkSolverInitialization; |
437 |
|
|
|
438 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization::~_impl_IkSolverInitialization() {} |
439 |
|
|
|
440 |
|
|
|
441 |
|
|
::CORBA::Boolean |
442 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization::_dispatch(omniCallHandle& _handle) |
443 |
|
|
{ |
444 |
|
|
|
445 |
|
|
|
446 |
|
|
|
447 |
|
✗ |
return 0; |
448 |
|
|
} |
449 |
|
|
|
450 |
|
|
void* |
451 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization::_ptrToInterface(const char* id) |
452 |
|
|
{ |
453 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId) |
454 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization*) this; |
455 |
|
|
|
456 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
457 |
|
✗ |
return (void*) 1; |
458 |
|
|
|
459 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId)) |
460 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization*) this; |
461 |
|
|
|
462 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
463 |
|
✗ |
return (void*) 1; |
464 |
|
✗ |
return 0; |
465 |
|
|
} |
466 |
|
|
|
467 |
|
|
const char* |
468 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_IkSolverInitialization::_mostDerivedRepoId() |
469 |
|
|
{ |
470 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_PD_repoId; |
471 |
|
|
} |
472 |
|
|
|
473 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::_nil() { |
474 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_nil(); |
475 |
|
|
} |
476 |
|
|
|
477 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::is_nil(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr p) { |
478 |
|
✗ |
return ::CORBA::is_nil(p); |
479 |
|
|
|
480 |
|
|
} |
481 |
|
|
|
482 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::release(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr p) { |
483 |
|
✗ |
::CORBA::release(p); |
484 |
|
|
} |
485 |
|
|
|
486 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::marshalObjRef(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr obj, cdrStream& s) { |
487 |
|
✗ |
::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_marshalObjRef(obj, s); |
488 |
|
|
} |
489 |
|
|
|
490 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::unmarshalObjRef(cdrStream& s) { |
491 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_unmarshalObjRef(s); |
492 |
|
|
} |
493 |
|
|
|
494 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_Helper::duplicate(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr obj) { |
495 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
496 |
|
|
} |
497 |
|
|
|
498 |
|
|
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr |
499 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_duplicate(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr obj) |
500 |
|
|
{ |
501 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
502 |
|
✗ |
return obj; |
503 |
|
|
} |
504 |
|
|
|
505 |
|
|
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr |
506 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_narrow(::CORBA::Object_ptr obj) |
507 |
|
|
{ |
508 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
509 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
510 |
|
✗ |
return e ? e : _nil(); |
511 |
|
|
} |
512 |
|
|
|
513 |
|
|
|
514 |
|
|
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr |
515 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_unchecked_narrow(::CORBA::Object_ptr obj) |
516 |
|
|
{ |
517 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
518 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
519 |
|
✗ |
return e ? e : _nil(); |
520 |
|
|
} |
521 |
|
|
|
522 |
|
|
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr |
523 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_nil() |
524 |
|
|
{ |
525 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
526 |
|
|
static _objref_EndEffectorTrajectory _the_nil_obj; |
527 |
|
|
return &_the_nil_obj; |
528 |
|
|
#else |
529 |
|
|
static _objref_EndEffectorTrajectory* _the_nil_ptr = 0; |
530 |
|
✗ |
if (!_the_nil_ptr) { |
531 |
|
✗ |
omni::nilRefLock().lock(); |
532 |
|
✗ |
if (!_the_nil_ptr) { |
533 |
|
✗ |
_the_nil_ptr = new _objref_EndEffectorTrajectory; |
534 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
535 |
|
|
} |
536 |
|
✗ |
omni::nilRefLock().unlock(); |
537 |
|
|
} |
538 |
|
✗ |
return _the_nil_ptr; |
539 |
|
|
#endif |
540 |
|
|
} |
541 |
|
|
|
542 |
|
|
const char* hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId = "IDL:hpp/manipulation_idl/pathPlanner_idl/EndEffectorTrajectory:1.0"; |
543 |
|
|
|
544 |
|
|
|
545 |
|
|
typedef hpp::core_idl::PathPlanner hpp_core_idl_PathPlanner; |
546 |
|
|
typedef hpp::core_idl::_impl_PathPlanner hpp_core_idl__impl_PathPlanner; |
547 |
|
|
typedef hpp::core_idl::_objref_PathPlanner hpp_core_idl__objref_PathPlanner; |
548 |
|
|
|
549 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::~_objref_EndEffectorTrajectory() { |
550 |
|
|
|
551 |
|
|
} |
552 |
|
|
|
553 |
|
|
|
554 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::_objref_EndEffectorTrajectory(omniIOR* ior, omniIdentity* id) : |
555 |
|
|
omniObjRef(::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId, ior, id, 1), |
556 |
|
✗ |
hpp_core_idl__objref_PathPlanner(ior, id) |
557 |
|
|
|
558 |
|
|
{ |
559 |
|
✗ |
_PR_setobj(this); |
560 |
|
|
} |
561 |
|
|
|
562 |
|
|
void* |
563 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::_ptrToObjRef(const char* id) |
564 |
|
|
{ |
565 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId) |
566 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr) this; |
567 |
|
✗ |
if (id == ::hpp::core_idl::PathPlanner::_PD_repoId) |
568 |
|
✗ |
return (::hpp::core_idl::PathPlanner_ptr) this; |
569 |
|
|
|
570 |
|
|
|
571 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
572 |
|
✗ |
return (::CORBA::Object_ptr) this; |
573 |
|
|
|
574 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId)) |
575 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory_ptr) this; |
576 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathPlanner::_PD_repoId)) |
577 |
|
✗ |
return (::hpp::core_idl::PathPlanner_ptr) this; |
578 |
|
|
|
579 |
|
|
|
580 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
581 |
|
✗ |
return (::CORBA::Object_ptr) this; |
582 |
|
|
|
583 |
|
✗ |
return 0; |
584 |
|
|
} |
585 |
|
|
|
586 |
|
|
|
587 |
|
|
// |
588 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::getNRandomConfig |
589 |
|
|
|
590 |
|
|
// Proxy call descriptor class. Mangled signature: |
591 |
|
|
// _clong_e_chpp_mError |
592 |
|
|
class _0RL_cd_112036bc814a51c8_20000000 |
593 |
|
|
: public omniCallDescriptor |
594 |
|
|
{ |
595 |
|
|
public: |
596 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
597 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
598 |
|
|
{ |
599 |
|
|
|
600 |
|
|
} |
601 |
|
|
|
602 |
|
|
|
603 |
|
|
void unmarshalReturnedValues(cdrStream&); |
604 |
|
|
void marshalReturnedValues(cdrStream&); |
605 |
|
|
|
606 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
607 |
|
|
static const char* const _user_exns[]; |
608 |
|
|
|
609 |
|
|
::CORBA::Long result; |
610 |
|
|
}; |
611 |
|
|
|
612 |
|
✗ |
void _0RL_cd_112036bc814a51c8_20000000::marshalReturnedValues(cdrStream& _n) |
613 |
|
|
{ |
614 |
|
✗ |
result >>= _n; |
615 |
|
|
|
616 |
|
|
} |
617 |
|
|
|
618 |
|
✗ |
void _0RL_cd_112036bc814a51c8_20000000::unmarshalReturnedValues(cdrStream& _n) |
619 |
|
|
{ |
620 |
|
✗ |
(::CORBA::Long&)result <<= _n; |
621 |
|
|
|
622 |
|
|
} |
623 |
|
|
|
624 |
|
|
const char* const _0RL_cd_112036bc814a51c8_20000000::_user_exns[] = { |
625 |
|
|
hpp::Error::_PD_repoId |
626 |
|
|
}; |
627 |
|
|
|
628 |
|
✗ |
void _0RL_cd_112036bc814a51c8_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
629 |
|
|
{ |
630 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
631 |
|
✗ |
hpp::Error _ex; |
632 |
|
✗ |
_ex <<= s; |
633 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
634 |
|
✗ |
throw _ex; |
635 |
|
|
} |
636 |
|
|
|
637 |
|
|
|
638 |
|
|
else { |
639 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
640 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
641 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
642 |
|
|
} |
643 |
|
|
} |
644 |
|
|
|
645 |
|
|
// Local call call-back function. |
646 |
|
|
static void |
647 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_30000000(omniCallDescriptor* cd, omniServant* svnt) |
648 |
|
|
{ |
649 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000* tcd = (_0RL_cd_112036bc814a51c8_20000000*)cd; |
650 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
651 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
652 |
|
✗ |
tcd->result = impl->getNRandomConfig(); |
653 |
|
|
#else |
654 |
|
|
if (!cd->is_upcall()) |
655 |
|
|
tcd->result = impl->getNRandomConfig(); |
656 |
|
|
else { |
657 |
|
|
try { |
658 |
|
|
tcd->result = impl->getNRandomConfig(); |
659 |
|
|
} |
660 |
|
|
catch(hpp::Error& ex) { |
661 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
662 |
|
|
} |
663 |
|
|
|
664 |
|
|
|
665 |
|
|
} |
666 |
|
|
#endif |
667 |
|
|
|
668 |
|
|
|
669 |
|
|
} |
670 |
|
|
|
671 |
|
✗ |
::CORBA::Long hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::getNRandomConfig() |
672 |
|
|
{ |
673 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000 _call_desc(_0RL_lcfn_112036bc814a51c8_30000000, "getNRandomConfig", 17); |
674 |
|
|
|
675 |
|
|
|
676 |
|
✗ |
_invoke(_call_desc); |
677 |
|
✗ |
return _call_desc.result; |
678 |
|
|
|
679 |
|
|
|
680 |
|
|
} |
681 |
|
|
|
682 |
|
|
|
683 |
|
|
// |
684 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::setNRandomConfig |
685 |
|
|
|
686 |
|
|
// Proxy call descriptor class. Mangled signature: |
687 |
|
|
// void_i_clong_e_chpp_mError |
688 |
|
|
class _0RL_cd_112036bc814a51c8_40000000 |
689 |
|
|
: public omniCallDescriptor |
690 |
|
|
{ |
691 |
|
|
public: |
692 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
693 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
694 |
|
|
{ |
695 |
|
|
|
696 |
|
|
} |
697 |
|
|
|
698 |
|
|
void marshalArguments(cdrStream&); |
699 |
|
|
void unmarshalArguments(cdrStream&); |
700 |
|
|
|
701 |
|
|
|
702 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
703 |
|
|
static const char* const _user_exns[]; |
704 |
|
|
|
705 |
|
|
::CORBA::Long arg_0; |
706 |
|
|
}; |
707 |
|
|
|
708 |
|
✗ |
void _0RL_cd_112036bc814a51c8_40000000::marshalArguments(cdrStream& _n) |
709 |
|
|
{ |
710 |
|
✗ |
arg_0 >>= _n; |
711 |
|
|
|
712 |
|
|
} |
713 |
|
|
|
714 |
|
✗ |
void _0RL_cd_112036bc814a51c8_40000000::unmarshalArguments(cdrStream& _n) |
715 |
|
|
{ |
716 |
|
✗ |
(::CORBA::Long&)arg_0 <<= _n; |
717 |
|
|
|
718 |
|
|
} |
719 |
|
|
|
720 |
|
|
const char* const _0RL_cd_112036bc814a51c8_40000000::_user_exns[] = { |
721 |
|
|
hpp::Error::_PD_repoId |
722 |
|
|
}; |
723 |
|
|
|
724 |
|
✗ |
void _0RL_cd_112036bc814a51c8_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
725 |
|
|
{ |
726 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
727 |
|
✗ |
hpp::Error _ex; |
728 |
|
✗ |
_ex <<= s; |
729 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
730 |
|
✗ |
throw _ex; |
731 |
|
|
} |
732 |
|
|
|
733 |
|
|
|
734 |
|
|
else { |
735 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
736 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
737 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
738 |
|
|
} |
739 |
|
|
} |
740 |
|
|
|
741 |
|
|
// Local call call-back function. |
742 |
|
|
static void |
743 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_50000000(omniCallDescriptor* cd, omniServant* svnt) |
744 |
|
|
{ |
745 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000* tcd = (_0RL_cd_112036bc814a51c8_40000000*)cd; |
746 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
747 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
748 |
|
✗ |
impl->setNRandomConfig(tcd->arg_0); |
749 |
|
|
#else |
750 |
|
|
if (!cd->is_upcall()) |
751 |
|
|
impl->setNRandomConfig(tcd->arg_0); |
752 |
|
|
else { |
753 |
|
|
try { |
754 |
|
|
impl->setNRandomConfig(tcd->arg_0); |
755 |
|
|
} |
756 |
|
|
catch(hpp::Error& ex) { |
757 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
758 |
|
|
} |
759 |
|
|
|
760 |
|
|
|
761 |
|
|
} |
762 |
|
|
#endif |
763 |
|
|
|
764 |
|
|
|
765 |
|
|
} |
766 |
|
|
|
767 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::setNRandomConfig(::CORBA::Long n) |
768 |
|
|
{ |
769 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_50000000, "setNRandomConfig", 17); |
770 |
|
✗ |
_call_desc.arg_0 = n; |
771 |
|
|
|
772 |
|
✗ |
_invoke(_call_desc); |
773 |
|
|
|
774 |
|
|
|
775 |
|
|
|
776 |
|
|
} |
777 |
|
|
|
778 |
|
|
|
779 |
|
|
// |
780 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::getNDiscreteSteps |
781 |
|
|
|
782 |
|
|
// Local call call-back function. |
783 |
|
|
static void |
784 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_60000000(omniCallDescriptor* cd, omniServant* svnt) |
785 |
|
|
{ |
786 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000* tcd = (_0RL_cd_112036bc814a51c8_20000000*)cd; |
787 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
788 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
789 |
|
✗ |
tcd->result = impl->getNDiscreteSteps(); |
790 |
|
|
#else |
791 |
|
|
if (!cd->is_upcall()) |
792 |
|
|
tcd->result = impl->getNDiscreteSteps(); |
793 |
|
|
else { |
794 |
|
|
try { |
795 |
|
|
tcd->result = impl->getNDiscreteSteps(); |
796 |
|
|
} |
797 |
|
|
catch(hpp::Error& ex) { |
798 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
799 |
|
|
} |
800 |
|
|
|
801 |
|
|
|
802 |
|
|
} |
803 |
|
|
#endif |
804 |
|
|
|
805 |
|
|
|
806 |
|
|
} |
807 |
|
|
|
808 |
|
✗ |
::CORBA::Long hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::getNDiscreteSteps() |
809 |
|
|
{ |
810 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000 _call_desc(_0RL_lcfn_112036bc814a51c8_60000000, "getNDiscreteSteps", 18); |
811 |
|
|
|
812 |
|
|
|
813 |
|
✗ |
_invoke(_call_desc); |
814 |
|
✗ |
return _call_desc.result; |
815 |
|
|
|
816 |
|
|
|
817 |
|
|
} |
818 |
|
|
|
819 |
|
|
|
820 |
|
|
// |
821 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::setNDiscreteSteps |
822 |
|
|
|
823 |
|
|
// Local call call-back function. |
824 |
|
|
static void |
825 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_70000000(omniCallDescriptor* cd, omniServant* svnt) |
826 |
|
|
{ |
827 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000* tcd = (_0RL_cd_112036bc814a51c8_40000000*)cd; |
828 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
829 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
830 |
|
✗ |
impl->setNDiscreteSteps(tcd->arg_0); |
831 |
|
|
#else |
832 |
|
|
if (!cd->is_upcall()) |
833 |
|
|
impl->setNDiscreteSteps(tcd->arg_0); |
834 |
|
|
else { |
835 |
|
|
try { |
836 |
|
|
impl->setNDiscreteSteps(tcd->arg_0); |
837 |
|
|
} |
838 |
|
|
catch(hpp::Error& ex) { |
839 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
840 |
|
|
} |
841 |
|
|
|
842 |
|
|
|
843 |
|
|
} |
844 |
|
|
#endif |
845 |
|
|
|
846 |
|
|
|
847 |
|
|
} |
848 |
|
|
|
849 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::setNDiscreteSteps(::CORBA::Long n) |
850 |
|
|
{ |
851 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_70000000, "setNDiscreteSteps", 18); |
852 |
|
✗ |
_call_desc.arg_0 = n; |
853 |
|
|
|
854 |
|
✗ |
_invoke(_call_desc); |
855 |
|
|
|
856 |
|
|
|
857 |
|
|
|
858 |
|
|
} |
859 |
|
|
|
860 |
|
|
|
861 |
|
|
// |
862 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::getCheckFeasibilityOnly |
863 |
|
|
|
864 |
|
|
// Proxy call descriptor class. Mangled signature: |
865 |
|
|
// _cboolean_e_chpp_mError |
866 |
|
|
class _0RL_cd_112036bc814a51c8_80000000 |
867 |
|
|
: public omniCallDescriptor |
868 |
|
|
{ |
869 |
|
|
public: |
870 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_80000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
871 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
872 |
|
|
{ |
873 |
|
|
|
874 |
|
|
} |
875 |
|
|
|
876 |
|
|
|
877 |
|
|
void unmarshalReturnedValues(cdrStream&); |
878 |
|
|
void marshalReturnedValues(cdrStream&); |
879 |
|
|
|
880 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
881 |
|
|
static const char* const _user_exns[]; |
882 |
|
|
|
883 |
|
|
::CORBA::Boolean result; |
884 |
|
|
}; |
885 |
|
|
|
886 |
|
✗ |
void _0RL_cd_112036bc814a51c8_80000000::marshalReturnedValues(cdrStream& _n) |
887 |
|
|
{ |
888 |
|
✗ |
_n.marshalBoolean(result); |
889 |
|
|
|
890 |
|
|
} |
891 |
|
|
|
892 |
|
✗ |
void _0RL_cd_112036bc814a51c8_80000000::unmarshalReturnedValues(cdrStream& _n) |
893 |
|
|
{ |
894 |
|
✗ |
result = _n.unmarshalBoolean(); |
895 |
|
|
|
896 |
|
|
} |
897 |
|
|
|
898 |
|
|
const char* const _0RL_cd_112036bc814a51c8_80000000::_user_exns[] = { |
899 |
|
|
hpp::Error::_PD_repoId |
900 |
|
|
}; |
901 |
|
|
|
902 |
|
✗ |
void _0RL_cd_112036bc814a51c8_80000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
903 |
|
|
{ |
904 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
905 |
|
✗ |
hpp::Error _ex; |
906 |
|
✗ |
_ex <<= s; |
907 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
908 |
|
✗ |
throw _ex; |
909 |
|
|
} |
910 |
|
|
|
911 |
|
|
|
912 |
|
|
else { |
913 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
914 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
915 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
916 |
|
|
} |
917 |
|
|
} |
918 |
|
|
|
919 |
|
|
// Local call call-back function. |
920 |
|
|
static void |
921 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_90000000(omniCallDescriptor* cd, omniServant* svnt) |
922 |
|
|
{ |
923 |
|
✗ |
_0RL_cd_112036bc814a51c8_80000000* tcd = (_0RL_cd_112036bc814a51c8_80000000*)cd; |
924 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
925 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
926 |
|
✗ |
tcd->result = impl->getCheckFeasibilityOnly(); |
927 |
|
|
#else |
928 |
|
|
if (!cd->is_upcall()) |
929 |
|
|
tcd->result = impl->getCheckFeasibilityOnly(); |
930 |
|
|
else { |
931 |
|
|
try { |
932 |
|
|
tcd->result = impl->getCheckFeasibilityOnly(); |
933 |
|
|
} |
934 |
|
|
catch(hpp::Error& ex) { |
935 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
936 |
|
|
} |
937 |
|
|
|
938 |
|
|
|
939 |
|
|
} |
940 |
|
|
#endif |
941 |
|
|
|
942 |
|
|
|
943 |
|
|
} |
944 |
|
|
|
945 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::getCheckFeasibilityOnly() |
946 |
|
|
{ |
947 |
|
✗ |
_0RL_cd_112036bc814a51c8_80000000 _call_desc(_0RL_lcfn_112036bc814a51c8_90000000, "getCheckFeasibilityOnly", 24); |
948 |
|
|
|
949 |
|
|
|
950 |
|
✗ |
_invoke(_call_desc); |
951 |
|
✗ |
return _call_desc.result; |
952 |
|
|
|
953 |
|
|
|
954 |
|
|
} |
955 |
|
|
|
956 |
|
|
|
957 |
|
|
// |
958 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::setCheckFeasibilityOnly |
959 |
|
|
|
960 |
|
|
// Proxy call descriptor class. Mangled signature: |
961 |
|
|
// void_i_cboolean_e_chpp_mError |
962 |
|
|
class _0RL_cd_112036bc814a51c8_a0000000 |
963 |
|
|
: public omniCallDescriptor |
964 |
|
|
{ |
965 |
|
|
public: |
966 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_a0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
967 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
968 |
|
|
{ |
969 |
|
|
|
970 |
|
|
} |
971 |
|
|
|
972 |
|
|
void marshalArguments(cdrStream&); |
973 |
|
|
void unmarshalArguments(cdrStream&); |
974 |
|
|
|
975 |
|
|
|
976 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
977 |
|
|
static const char* const _user_exns[]; |
978 |
|
|
|
979 |
|
|
::CORBA::Boolean arg_0; |
980 |
|
|
}; |
981 |
|
|
|
982 |
|
✗ |
void _0RL_cd_112036bc814a51c8_a0000000::marshalArguments(cdrStream& _n) |
983 |
|
|
{ |
984 |
|
✗ |
_n.marshalBoolean(arg_0); |
985 |
|
|
|
986 |
|
|
} |
987 |
|
|
|
988 |
|
✗ |
void _0RL_cd_112036bc814a51c8_a0000000::unmarshalArguments(cdrStream& _n) |
989 |
|
|
{ |
990 |
|
✗ |
arg_0 = _n.unmarshalBoolean(); |
991 |
|
|
|
992 |
|
|
} |
993 |
|
|
|
994 |
|
|
const char* const _0RL_cd_112036bc814a51c8_a0000000::_user_exns[] = { |
995 |
|
|
hpp::Error::_PD_repoId |
996 |
|
|
}; |
997 |
|
|
|
998 |
|
✗ |
void _0RL_cd_112036bc814a51c8_a0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
999 |
|
|
{ |
1000 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1001 |
|
✗ |
hpp::Error _ex; |
1002 |
|
✗ |
_ex <<= s; |
1003 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1004 |
|
✗ |
throw _ex; |
1005 |
|
|
} |
1006 |
|
|
|
1007 |
|
|
|
1008 |
|
|
else { |
1009 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1010 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1011 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1012 |
|
|
} |
1013 |
|
|
} |
1014 |
|
|
|
1015 |
|
|
// Local call call-back function. |
1016 |
|
|
static void |
1017 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_b0000000(omniCallDescriptor* cd, omniServant* svnt) |
1018 |
|
|
{ |
1019 |
|
✗ |
_0RL_cd_112036bc814a51c8_a0000000* tcd = (_0RL_cd_112036bc814a51c8_a0000000*)cd; |
1020 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
1021 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1022 |
|
✗ |
impl->setCheckFeasibilityOnly(tcd->arg_0); |
1023 |
|
|
#else |
1024 |
|
|
if (!cd->is_upcall()) |
1025 |
|
|
impl->setCheckFeasibilityOnly(tcd->arg_0); |
1026 |
|
|
else { |
1027 |
|
|
try { |
1028 |
|
|
impl->setCheckFeasibilityOnly(tcd->arg_0); |
1029 |
|
|
} |
1030 |
|
|
catch(hpp::Error& ex) { |
1031 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1032 |
|
|
} |
1033 |
|
|
|
1034 |
|
|
|
1035 |
|
|
} |
1036 |
|
|
#endif |
1037 |
|
|
|
1038 |
|
|
|
1039 |
|
|
} |
1040 |
|
|
|
1041 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::setCheckFeasibilityOnly(::CORBA::Boolean n) |
1042 |
|
|
{ |
1043 |
|
✗ |
_0RL_cd_112036bc814a51c8_a0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_b0000000, "setCheckFeasibilityOnly", 24); |
1044 |
|
✗ |
_call_desc.arg_0 = n; |
1045 |
|
|
|
1046 |
|
✗ |
_invoke(_call_desc); |
1047 |
|
|
|
1048 |
|
|
|
1049 |
|
|
|
1050 |
|
|
} |
1051 |
|
|
|
1052 |
|
|
|
1053 |
|
|
// |
1054 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::setIkSolverInitialization |
1055 |
|
|
|
1056 |
|
|
// Proxy call descriptor class. Mangled signature: |
1057 |
|
|
// void_i_chpp_mmanipulation__idl_mpathPlanner__idl_mIkSolverInitialization |
1058 |
|
|
class _0RL_cd_112036bc814a51c8_c0000000 |
1059 |
|
|
: public omniCallDescriptor |
1060 |
|
|
{ |
1061 |
|
|
public: |
1062 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_c0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1063 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 0, upcall) |
1064 |
|
|
{ |
1065 |
|
|
|
1066 |
|
|
} |
1067 |
|
|
|
1068 |
|
|
void marshalArguments(cdrStream&); |
1069 |
|
|
void unmarshalArguments(cdrStream&); |
1070 |
|
|
|
1071 |
|
|
|
1072 |
|
|
|
1073 |
|
|
static const char* const _user_exns[]; |
1074 |
|
|
|
1075 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_var arg_0_; |
1076 |
|
|
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr arg_0; |
1077 |
|
|
}; |
1078 |
|
|
|
1079 |
|
✗ |
void _0RL_cd_112036bc814a51c8_c0000000::marshalArguments(cdrStream& _n) |
1080 |
|
|
{ |
1081 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_marshalObjRef(arg_0,_n); |
1082 |
|
|
|
1083 |
|
|
} |
1084 |
|
|
|
1085 |
|
✗ |
void _0RL_cd_112036bc814a51c8_c0000000::unmarshalArguments(cdrStream& _n) |
1086 |
|
|
{ |
1087 |
|
✗ |
arg_0_ = hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::_unmarshalObjRef(_n); |
1088 |
|
✗ |
arg_0 = arg_0_.in(); |
1089 |
|
|
|
1090 |
|
|
} |
1091 |
|
|
|
1092 |
|
|
const char* const _0RL_cd_112036bc814a51c8_c0000000::_user_exns[] = { |
1093 |
|
|
0 |
1094 |
|
|
}; |
1095 |
|
|
|
1096 |
|
|
// Local call call-back function. |
1097 |
|
|
static void |
1098 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_d0000000(omniCallDescriptor* cd, omniServant* svnt) |
1099 |
|
|
{ |
1100 |
|
✗ |
_0RL_cd_112036bc814a51c8_c0000000* tcd = (_0RL_cd_112036bc814a51c8_c0000000*)cd; |
1101 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId); |
1102 |
|
✗ |
impl->setIkSolverInitialization(tcd->arg_0); |
1103 |
|
|
|
1104 |
|
|
|
1105 |
|
|
} |
1106 |
|
|
|
1107 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory::setIkSolverInitialization(::hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization_ptr solver) |
1108 |
|
|
{ |
1109 |
|
✗ |
_0RL_cd_112036bc814a51c8_c0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_d0000000, "setIkSolverInitialization", 26); |
1110 |
|
✗ |
_call_desc.arg_0 = solver; |
1111 |
|
|
|
1112 |
|
✗ |
_invoke(_call_desc); |
1113 |
|
|
|
1114 |
|
|
|
1115 |
|
|
|
1116 |
|
|
} |
1117 |
|
|
|
1118 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_EndEffectorTrajectory::~_pof_EndEffectorTrajectory() {} |
1119 |
|
|
|
1120 |
|
|
|
1121 |
|
|
omniObjRef* |
1122 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_EndEffectorTrajectory::newObjRef(omniIOR* ior, omniIdentity* id) |
1123 |
|
|
{ |
1124 |
|
✗ |
return new ::hpp::manipulation_idl::pathPlanner_idl::_objref_EndEffectorTrajectory(ior, id); |
1125 |
|
|
} |
1126 |
|
|
|
1127 |
|
|
|
1128 |
|
|
::CORBA::Boolean |
1129 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_EndEffectorTrajectory::is_a(const char* id) const |
1130 |
|
|
{ |
1131 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId)) |
1132 |
|
✗ |
return 1; |
1133 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::PathPlanner::_PD_repoId)) |
1134 |
|
✗ |
return 1; |
1135 |
|
|
|
1136 |
|
|
|
1137 |
|
✗ |
return 0; |
1138 |
|
|
} |
1139 |
|
|
|
1140 |
|
|
const hpp::manipulation_idl::pathPlanner_idl::_pof_EndEffectorTrajectory _the_pof_hpp_mmanipulation__idl_mpathPlanner__idl_mEndEffectorTrajectory; |
1141 |
|
|
|
1142 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory::~_impl_EndEffectorTrajectory() {} |
1143 |
|
|
|
1144 |
|
|
|
1145 |
|
|
::CORBA::Boolean |
1146 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory::_dispatch(omniCallHandle& _handle) |
1147 |
|
|
{ |
1148 |
|
✗ |
const char* op = _handle.operation_name(); |
1149 |
|
|
|
1150 |
|
✗ |
if (omni::strMatch(op, "getNRandomConfig")) { |
1151 |
|
|
|
1152 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000 _call_desc(_0RL_lcfn_112036bc814a51c8_30000000, "getNRandomConfig", 17, 1); |
1153 |
|
|
|
1154 |
|
✗ |
_handle.upcall(this,_call_desc); |
1155 |
|
✗ |
return 1; |
1156 |
|
|
} |
1157 |
|
|
|
1158 |
|
✗ |
if (omni::strMatch(op, "setNRandomConfig")) { |
1159 |
|
|
|
1160 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_50000000, "setNRandomConfig", 17, 1); |
1161 |
|
|
|
1162 |
|
✗ |
_handle.upcall(this,_call_desc); |
1163 |
|
✗ |
return 1; |
1164 |
|
|
} |
1165 |
|
|
|
1166 |
|
✗ |
if (omni::strMatch(op, "getNDiscreteSteps")) { |
1167 |
|
|
|
1168 |
|
✗ |
_0RL_cd_112036bc814a51c8_20000000 _call_desc(_0RL_lcfn_112036bc814a51c8_60000000, "getNDiscreteSteps", 18, 1); |
1169 |
|
|
|
1170 |
|
✗ |
_handle.upcall(this,_call_desc); |
1171 |
|
✗ |
return 1; |
1172 |
|
|
} |
1173 |
|
|
|
1174 |
|
✗ |
if (omni::strMatch(op, "setNDiscreteSteps")) { |
1175 |
|
|
|
1176 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_70000000, "setNDiscreteSteps", 18, 1); |
1177 |
|
|
|
1178 |
|
✗ |
_handle.upcall(this,_call_desc); |
1179 |
|
✗ |
return 1; |
1180 |
|
|
} |
1181 |
|
|
|
1182 |
|
✗ |
if (omni::strMatch(op, "getCheckFeasibilityOnly")) { |
1183 |
|
|
|
1184 |
|
✗ |
_0RL_cd_112036bc814a51c8_80000000 _call_desc(_0RL_lcfn_112036bc814a51c8_90000000, "getCheckFeasibilityOnly", 24, 1); |
1185 |
|
|
|
1186 |
|
✗ |
_handle.upcall(this,_call_desc); |
1187 |
|
✗ |
return 1; |
1188 |
|
|
} |
1189 |
|
|
|
1190 |
|
✗ |
if (omni::strMatch(op, "setCheckFeasibilityOnly")) { |
1191 |
|
|
|
1192 |
|
✗ |
_0RL_cd_112036bc814a51c8_a0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_b0000000, "setCheckFeasibilityOnly", 24, 1); |
1193 |
|
|
|
1194 |
|
✗ |
_handle.upcall(this,_call_desc); |
1195 |
|
✗ |
return 1; |
1196 |
|
|
} |
1197 |
|
|
|
1198 |
|
✗ |
if (omni::strMatch(op, "setIkSolverInitialization")) { |
1199 |
|
|
|
1200 |
|
✗ |
_0RL_cd_112036bc814a51c8_c0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_d0000000, "setIkSolverInitialization", 26, 1); |
1201 |
|
|
|
1202 |
|
✗ |
_handle.upcall(this,_call_desc); |
1203 |
|
✗ |
return 1; |
1204 |
|
|
} |
1205 |
|
|
|
1206 |
|
|
|
1207 |
|
|
#ifndef _MSC_VER |
1208 |
|
✗ |
if (hpp_core_idl__impl_PathPlanner::_dispatch(_handle)) { |
1209 |
|
✗ |
return 1; |
1210 |
|
|
} |
1211 |
|
|
#else |
1212 |
|
|
// Work-around for incorrect MSVC code generation. |
1213 |
|
|
if (((hpp_core_idl__impl_PathPlanner*)this)-> |
1214 |
|
|
hpp_core_idl__impl_PathPlanner::_dispatch(_handle)) { |
1215 |
|
|
return 1; |
1216 |
|
|
} |
1217 |
|
|
#endif |
1218 |
|
|
|
1219 |
|
|
|
1220 |
|
✗ |
return 0; |
1221 |
|
|
} |
1222 |
|
|
|
1223 |
|
|
void* |
1224 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory::_ptrToInterface(const char* id) |
1225 |
|
|
{ |
1226 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId) |
1227 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) this; |
1228 |
|
✗ |
if (id == ::hpp::core_idl::PathPlanner::_PD_repoId) |
1229 |
|
✗ |
return (::hpp::core_idl::_impl_PathPlanner*) this; |
1230 |
|
|
|
1231 |
|
|
|
1232 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1233 |
|
✗ |
return (void*) 1; |
1234 |
|
|
|
1235 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId)) |
1236 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory*) this; |
1237 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathPlanner::_PD_repoId)) |
1238 |
|
✗ |
return (::hpp::core_idl::_impl_PathPlanner*) this; |
1239 |
|
|
|
1240 |
|
|
|
1241 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1242 |
|
✗ |
return (void*) 1; |
1243 |
|
✗ |
return 0; |
1244 |
|
|
} |
1245 |
|
|
|
1246 |
|
|
const char* |
1247 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_EndEffectorTrajectory::_mostDerivedRepoId() |
1248 |
|
|
{ |
1249 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::_PD_repoId; |
1250 |
|
|
} |
1251 |
|
|
|
1252 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::_nil() { |
1253 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_nil(); |
1254 |
|
|
} |
1255 |
|
|
|
1256 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::is_nil(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr p) { |
1257 |
|
✗ |
return ::CORBA::is_nil(p); |
1258 |
|
|
|
1259 |
|
|
} |
1260 |
|
|
|
1261 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::release(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr p) { |
1262 |
|
✗ |
::CORBA::release(p); |
1263 |
|
|
} |
1264 |
|
|
|
1265 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::marshalObjRef(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr obj, cdrStream& s) { |
1266 |
|
✗ |
::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_marshalObjRef(obj, s); |
1267 |
|
|
} |
1268 |
|
|
|
1269 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::unmarshalObjRef(cdrStream& s) { |
1270 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_unmarshalObjRef(s); |
1271 |
|
|
} |
1272 |
|
|
|
1273 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_Helper::duplicate(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr obj) { |
1274 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1275 |
|
|
} |
1276 |
|
|
|
1277 |
|
|
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr |
1278 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_duplicate(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr obj) |
1279 |
|
|
{ |
1280 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1281 |
|
✗ |
return obj; |
1282 |
|
|
} |
1283 |
|
|
|
1284 |
|
|
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr |
1285 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_narrow(::CORBA::Object_ptr obj) |
1286 |
|
|
{ |
1287 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1288 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
1289 |
|
✗ |
return e ? e : _nil(); |
1290 |
|
|
} |
1291 |
|
|
|
1292 |
|
|
|
1293 |
|
|
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr |
1294 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_unchecked_narrow(::CORBA::Object_ptr obj) |
1295 |
|
|
{ |
1296 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1297 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
1298 |
|
✗ |
return e ? e : _nil(); |
1299 |
|
|
} |
1300 |
|
|
|
1301 |
|
|
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr |
1302 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_nil() |
1303 |
|
|
{ |
1304 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
1305 |
|
|
static _objref_TransitionPlanner _the_nil_obj; |
1306 |
|
|
return &_the_nil_obj; |
1307 |
|
|
#else |
1308 |
|
|
static _objref_TransitionPlanner* _the_nil_ptr = 0; |
1309 |
|
✗ |
if (!_the_nil_ptr) { |
1310 |
|
✗ |
omni::nilRefLock().lock(); |
1311 |
|
✗ |
if (!_the_nil_ptr) { |
1312 |
|
✗ |
_the_nil_ptr = new _objref_TransitionPlanner; |
1313 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
1314 |
|
|
} |
1315 |
|
✗ |
omni::nilRefLock().unlock(); |
1316 |
|
|
} |
1317 |
|
✗ |
return _the_nil_ptr; |
1318 |
|
|
#endif |
1319 |
|
|
} |
1320 |
|
|
|
1321 |
|
|
const char* hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId = "IDL:hpp/manipulation_idl/pathPlanner_idl/TransitionPlanner:1.0"; |
1322 |
|
|
|
1323 |
|
|
|
1324 |
|
|
typedef hpp::core_idl::PathPlanner hpp_core_idl_PathPlanner; |
1325 |
|
|
typedef hpp::core_idl::_impl_PathPlanner hpp_core_idl__impl_PathPlanner; |
1326 |
|
|
typedef hpp::core_idl::_objref_PathPlanner hpp_core_idl__objref_PathPlanner; |
1327 |
|
|
|
1328 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::~_objref_TransitionPlanner() { |
1329 |
|
|
|
1330 |
|
|
} |
1331 |
|
|
|
1332 |
|
|
|
1333 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::_objref_TransitionPlanner(omniIOR* ior, omniIdentity* id) : |
1334 |
|
|
omniObjRef(::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId, ior, id, 1), |
1335 |
|
✗ |
hpp_core_idl__objref_PathPlanner(ior, id) |
1336 |
|
|
|
1337 |
|
|
{ |
1338 |
|
✗ |
_PR_setobj(this); |
1339 |
|
|
} |
1340 |
|
|
|
1341 |
|
|
void* |
1342 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::_ptrToObjRef(const char* id) |
1343 |
|
|
{ |
1344 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId) |
1345 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr) this; |
1346 |
|
✗ |
if (id == ::hpp::core_idl::PathPlanner::_PD_repoId) |
1347 |
|
✗ |
return (::hpp::core_idl::PathPlanner_ptr) this; |
1348 |
|
|
|
1349 |
|
|
|
1350 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1351 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1352 |
|
|
|
1353 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId)) |
1354 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner_ptr) this; |
1355 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathPlanner::_PD_repoId)) |
1356 |
|
✗ |
return (::hpp::core_idl::PathPlanner_ptr) this; |
1357 |
|
|
|
1358 |
|
|
|
1359 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1360 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1361 |
|
|
|
1362 |
|
✗ |
return 0; |
1363 |
|
|
} |
1364 |
|
|
|
1365 |
|
|
|
1366 |
|
|
// |
1367 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::planPath |
1368 |
|
|
|
1369 |
|
|
// Proxy call descriptor class. Mangled signature: |
1370 |
|
|
// _chpp_mcore__idl_mPathVector_i_chpp_mfloatSeq_i_chpp_mfloatSeqSeq_i_cboolean_e_chpp_mError |
1371 |
|
|
class _0RL_cd_112036bc814a51c8_e0000000 |
1372 |
|
|
: public omniCallDescriptor |
1373 |
|
|
{ |
1374 |
|
|
public: |
1375 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_e0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1376 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1377 |
|
|
{ |
1378 |
|
|
|
1379 |
|
|
} |
1380 |
|
|
|
1381 |
|
|
void marshalArguments(cdrStream&); |
1382 |
|
|
void unmarshalArguments(cdrStream&); |
1383 |
|
|
|
1384 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1385 |
|
|
void marshalReturnedValues(cdrStream&); |
1386 |
|
|
|
1387 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1388 |
|
|
static const char* const _user_exns[]; |
1389 |
|
|
|
1390 |
|
|
hpp::floatSeq_var arg_0_; |
1391 |
|
|
const hpp::floatSeq* arg_0; |
1392 |
|
|
hpp::floatSeqSeq_var arg_1_; |
1393 |
|
|
const hpp::floatSeqSeq* arg_1; |
1394 |
|
|
::CORBA::Boolean arg_2; |
1395 |
|
|
hpp::core_idl::PathVector_var result; |
1396 |
|
|
}; |
1397 |
|
|
|
1398 |
|
✗ |
void _0RL_cd_112036bc814a51c8_e0000000::marshalArguments(cdrStream& _n) |
1399 |
|
|
{ |
1400 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
1401 |
|
✗ |
(const hpp::floatSeqSeq&) *arg_1 >>= _n; |
1402 |
|
✗ |
_n.marshalBoolean(arg_2); |
1403 |
|
|
|
1404 |
|
|
} |
1405 |
|
|
|
1406 |
|
✗ |
void _0RL_cd_112036bc814a51c8_e0000000::unmarshalArguments(cdrStream& _n) |
1407 |
|
|
{ |
1408 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
1409 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
1410 |
|
✗ |
arg_0 = &arg_0_.in(); |
1411 |
|
✗ |
arg_1_ = new hpp::floatSeqSeq; |
1412 |
|
✗ |
(hpp::floatSeqSeq&)arg_1_ <<= _n; |
1413 |
|
✗ |
arg_1 = &arg_1_.in(); |
1414 |
|
✗ |
arg_2 = _n.unmarshalBoolean(); |
1415 |
|
|
|
1416 |
|
|
} |
1417 |
|
|
|
1418 |
|
✗ |
void _0RL_cd_112036bc814a51c8_e0000000::marshalReturnedValues(cdrStream& _n) |
1419 |
|
|
{ |
1420 |
|
✗ |
hpp::core_idl::PathVector_Helper::marshalObjRef(result,_n); |
1421 |
|
|
|
1422 |
|
|
} |
1423 |
|
|
|
1424 |
|
✗ |
void _0RL_cd_112036bc814a51c8_e0000000::unmarshalReturnedValues(cdrStream& _n) |
1425 |
|
|
{ |
1426 |
|
✗ |
result = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n); |
1427 |
|
|
|
1428 |
|
|
} |
1429 |
|
|
|
1430 |
|
|
const char* const _0RL_cd_112036bc814a51c8_e0000000::_user_exns[] = { |
1431 |
|
|
hpp::Error::_PD_repoId |
1432 |
|
|
}; |
1433 |
|
|
|
1434 |
|
✗ |
void _0RL_cd_112036bc814a51c8_e0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1435 |
|
|
{ |
1436 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1437 |
|
✗ |
hpp::Error _ex; |
1438 |
|
✗ |
_ex <<= s; |
1439 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1440 |
|
✗ |
throw _ex; |
1441 |
|
|
} |
1442 |
|
|
|
1443 |
|
|
|
1444 |
|
|
else { |
1445 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1446 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1447 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1448 |
|
|
} |
1449 |
|
|
} |
1450 |
|
|
|
1451 |
|
|
// Local call call-back function. |
1452 |
|
|
static void |
1453 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_f0000000(omniCallDescriptor* cd, omniServant* svnt) |
1454 |
|
|
{ |
1455 |
|
✗ |
_0RL_cd_112036bc814a51c8_e0000000* tcd = (_0RL_cd_112036bc814a51c8_e0000000*)cd; |
1456 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
1457 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1458 |
|
✗ |
tcd->result = impl->planPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2); |
1459 |
|
|
#else |
1460 |
|
|
if (!cd->is_upcall()) |
1461 |
|
|
tcd->result = impl->planPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2); |
1462 |
|
|
else { |
1463 |
|
|
try { |
1464 |
|
|
tcd->result = impl->planPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2); |
1465 |
|
|
} |
1466 |
|
|
catch(hpp::Error& ex) { |
1467 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1468 |
|
|
} |
1469 |
|
|
|
1470 |
|
|
|
1471 |
|
|
} |
1472 |
|
|
#endif |
1473 |
|
|
|
1474 |
|
|
|
1475 |
|
|
} |
1476 |
|
|
|
1477 |
|
✗ |
hpp::core_idl::PathVector_ptr hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::planPath(const ::hpp::floatSeq& qInit, const ::hpp::floatSeqSeq& qGoals, ::CORBA::Boolean resetRoadmap) |
1478 |
|
|
{ |
1479 |
|
✗ |
_0RL_cd_112036bc814a51c8_e0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_f0000000, "planPath", 9); |
1480 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) qInit; |
1481 |
|
✗ |
_call_desc.arg_1 = &(::hpp::floatSeqSeq&) qGoals; |
1482 |
|
✗ |
_call_desc.arg_2 = resetRoadmap; |
1483 |
|
|
|
1484 |
|
✗ |
_invoke(_call_desc); |
1485 |
|
✗ |
return _call_desc.result._retn(); |
1486 |
|
|
|
1487 |
|
|
|
1488 |
|
|
} |
1489 |
|
|
|
1490 |
|
|
|
1491 |
|
|
// |
1492 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::directPath |
1493 |
|
|
|
1494 |
|
|
// Proxy call descriptor class. Mangled signature: |
1495 |
|
|
// _chpp_mcore__idl_mPath_i_chpp_mfloatSeq_i_chpp_mfloatSeq_i_cboolean_o_cboolean_o_cstring_e_chpp_mError |
1496 |
|
|
class _0RL_cd_112036bc814a51c8_01000000 |
1497 |
|
|
: public omniCallDescriptor |
1498 |
|
|
{ |
1499 |
|
|
public: |
1500 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1501 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1502 |
|
|
{ |
1503 |
|
|
|
1504 |
|
|
} |
1505 |
|
|
|
1506 |
|
|
void marshalArguments(cdrStream&); |
1507 |
|
|
void unmarshalArguments(cdrStream&); |
1508 |
|
|
|
1509 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1510 |
|
|
void marshalReturnedValues(cdrStream&); |
1511 |
|
|
|
1512 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1513 |
|
|
static const char* const _user_exns[]; |
1514 |
|
|
|
1515 |
|
|
hpp::floatSeq_var arg_0_; |
1516 |
|
|
const hpp::floatSeq* arg_0; |
1517 |
|
|
hpp::floatSeq_var arg_1_; |
1518 |
|
|
const hpp::floatSeq* arg_1; |
1519 |
|
|
::CORBA::Boolean arg_2; |
1520 |
|
|
::CORBA::Boolean arg_3; |
1521 |
|
|
::CORBA::String_var arg_4; |
1522 |
|
|
hpp::core_idl::Path_var result; |
1523 |
|
|
}; |
1524 |
|
|
|
1525 |
|
✗ |
void _0RL_cd_112036bc814a51c8_01000000::marshalArguments(cdrStream& _n) |
1526 |
|
|
{ |
1527 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
1528 |
|
✗ |
(const hpp::floatSeq&) *arg_1 >>= _n; |
1529 |
|
✗ |
_n.marshalBoolean(arg_2); |
1530 |
|
|
|
1531 |
|
|
} |
1532 |
|
|
|
1533 |
|
✗ |
void _0RL_cd_112036bc814a51c8_01000000::unmarshalArguments(cdrStream& _n) |
1534 |
|
|
{ |
1535 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
1536 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
1537 |
|
✗ |
arg_0 = &arg_0_.in(); |
1538 |
|
✗ |
arg_1_ = new hpp::floatSeq; |
1539 |
|
✗ |
(hpp::floatSeq&)arg_1_ <<= _n; |
1540 |
|
✗ |
arg_1 = &arg_1_.in(); |
1541 |
|
✗ |
arg_2 = _n.unmarshalBoolean(); |
1542 |
|
|
|
1543 |
|
|
} |
1544 |
|
|
|
1545 |
|
✗ |
void _0RL_cd_112036bc814a51c8_01000000::marshalReturnedValues(cdrStream& _n) |
1546 |
|
|
{ |
1547 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(result,_n); |
1548 |
|
✗ |
_n.marshalBoolean(arg_3); |
1549 |
|
✗ |
_n.marshalString(arg_4,0); |
1550 |
|
|
|
1551 |
|
|
} |
1552 |
|
|
|
1553 |
|
✗ |
void _0RL_cd_112036bc814a51c8_01000000::unmarshalReturnedValues(cdrStream& _n) |
1554 |
|
|
{ |
1555 |
|
✗ |
result = hpp::core_idl::Path::_unmarshalObjRef(_n); |
1556 |
|
✗ |
arg_3 = _n.unmarshalBoolean(); |
1557 |
|
✗ |
arg_4 = _n.unmarshalString(0); |
1558 |
|
|
|
1559 |
|
|
} |
1560 |
|
|
|
1561 |
|
|
const char* const _0RL_cd_112036bc814a51c8_01000000::_user_exns[] = { |
1562 |
|
|
hpp::Error::_PD_repoId |
1563 |
|
|
}; |
1564 |
|
|
|
1565 |
|
✗ |
void _0RL_cd_112036bc814a51c8_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1566 |
|
|
{ |
1567 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1568 |
|
✗ |
hpp::Error _ex; |
1569 |
|
✗ |
_ex <<= s; |
1570 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1571 |
|
✗ |
throw _ex; |
1572 |
|
|
} |
1573 |
|
|
|
1574 |
|
|
|
1575 |
|
|
else { |
1576 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1577 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1578 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1579 |
|
|
} |
1580 |
|
|
} |
1581 |
|
|
|
1582 |
|
|
// Local call call-back function. |
1583 |
|
|
static void |
1584 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_11000000(omniCallDescriptor* cd, omniServant* svnt) |
1585 |
|
|
{ |
1586 |
|
✗ |
_0RL_cd_112036bc814a51c8_01000000* tcd = (_0RL_cd_112036bc814a51c8_01000000*)cd; |
1587 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
1588 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1589 |
|
✗ |
tcd->result = impl->directPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4.out()); |
1590 |
|
|
#else |
1591 |
|
|
if (!cd->is_upcall()) |
1592 |
|
|
tcd->result = impl->directPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4.out()); |
1593 |
|
|
else { |
1594 |
|
|
try { |
1595 |
|
|
tcd->result = impl->directPath(*tcd->arg_0, *tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4.out()); |
1596 |
|
|
} |
1597 |
|
|
catch(hpp::Error& ex) { |
1598 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1599 |
|
|
} |
1600 |
|
|
|
1601 |
|
|
|
1602 |
|
|
} |
1603 |
|
|
#endif |
1604 |
|
|
|
1605 |
|
|
|
1606 |
|
|
} |
1607 |
|
|
|
1608 |
|
✗ |
hpp::core_idl::Path_ptr hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::directPath(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2, ::CORBA::Boolean validate, ::CORBA::Boolean& success, ::CORBA::String_out status) |
1609 |
|
|
{ |
1610 |
|
✗ |
_0RL_cd_112036bc814a51c8_01000000 _call_desc(_0RL_lcfn_112036bc814a51c8_11000000, "directPath", 11); |
1611 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) q1; |
1612 |
|
✗ |
_call_desc.arg_1 = &(::hpp::floatSeq&) q2; |
1613 |
|
✗ |
_call_desc.arg_2 = validate; |
1614 |
|
|
|
1615 |
|
✗ |
_invoke(_call_desc); |
1616 |
|
✗ |
success = _call_desc.arg_3; |
1617 |
|
✗ |
status = _call_desc.arg_4._retn(); |
1618 |
|
✗ |
return _call_desc.result._retn(); |
1619 |
|
|
|
1620 |
|
|
|
1621 |
|
|
} |
1622 |
|
|
|
1623 |
|
|
|
1624 |
|
|
// |
1625 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::validateConfiguration |
1626 |
|
|
|
1627 |
|
|
// Proxy call descriptor class. Mangled signature: |
1628 |
|
|
// _cboolean_i_chpp_mfloatSeq_i_cunsigned_plonglong_o_cstring_e_chpp_mError |
1629 |
|
|
class _0RL_cd_112036bc814a51c8_21000000 |
1630 |
|
|
: public omniCallDescriptor |
1631 |
|
|
{ |
1632 |
|
|
public: |
1633 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_21000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1634 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1635 |
|
|
{ |
1636 |
|
|
|
1637 |
|
|
} |
1638 |
|
|
|
1639 |
|
|
void marshalArguments(cdrStream&); |
1640 |
|
|
void unmarshalArguments(cdrStream&); |
1641 |
|
|
|
1642 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1643 |
|
|
void marshalReturnedValues(cdrStream&); |
1644 |
|
|
|
1645 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1646 |
|
|
static const char* const _user_exns[]; |
1647 |
|
|
|
1648 |
|
|
hpp::floatSeq_var arg_0_; |
1649 |
|
|
const hpp::floatSeq* arg_0; |
1650 |
|
|
hpp::manipulation_idl::size_t arg_1; |
1651 |
|
|
::CORBA::String_var arg_2; |
1652 |
|
|
::CORBA::Boolean result; |
1653 |
|
|
}; |
1654 |
|
|
|
1655 |
|
✗ |
void _0RL_cd_112036bc814a51c8_21000000::marshalArguments(cdrStream& _n) |
1656 |
|
|
{ |
1657 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
1658 |
|
✗ |
arg_1 >>= _n; |
1659 |
|
|
|
1660 |
|
|
} |
1661 |
|
|
|
1662 |
|
✗ |
void _0RL_cd_112036bc814a51c8_21000000::unmarshalArguments(cdrStream& _n) |
1663 |
|
|
{ |
1664 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
1665 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
1666 |
|
✗ |
arg_0 = &arg_0_.in(); |
1667 |
|
✗ |
(hpp::manipulation_idl::size_t&)arg_1 <<= _n; |
1668 |
|
|
|
1669 |
|
|
} |
1670 |
|
|
|
1671 |
|
✗ |
void _0RL_cd_112036bc814a51c8_21000000::marshalReturnedValues(cdrStream& _n) |
1672 |
|
|
{ |
1673 |
|
✗ |
_n.marshalBoolean(result); |
1674 |
|
✗ |
_n.marshalString(arg_2,0); |
1675 |
|
|
|
1676 |
|
|
} |
1677 |
|
|
|
1678 |
|
✗ |
void _0RL_cd_112036bc814a51c8_21000000::unmarshalReturnedValues(cdrStream& _n) |
1679 |
|
|
{ |
1680 |
|
✗ |
result = _n.unmarshalBoolean(); |
1681 |
|
✗ |
arg_2 = _n.unmarshalString(0); |
1682 |
|
|
|
1683 |
|
|
} |
1684 |
|
|
|
1685 |
|
|
const char* const _0RL_cd_112036bc814a51c8_21000000::_user_exns[] = { |
1686 |
|
|
hpp::Error::_PD_repoId |
1687 |
|
|
}; |
1688 |
|
|
|
1689 |
|
✗ |
void _0RL_cd_112036bc814a51c8_21000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1690 |
|
|
{ |
1691 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1692 |
|
✗ |
hpp::Error _ex; |
1693 |
|
✗ |
_ex <<= s; |
1694 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1695 |
|
✗ |
throw _ex; |
1696 |
|
|
} |
1697 |
|
|
|
1698 |
|
|
|
1699 |
|
|
else { |
1700 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1701 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1702 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1703 |
|
|
} |
1704 |
|
|
} |
1705 |
|
|
|
1706 |
|
|
// Local call call-back function. |
1707 |
|
|
static void |
1708 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_31000000(omniCallDescriptor* cd, omniServant* svnt) |
1709 |
|
|
{ |
1710 |
|
✗ |
_0RL_cd_112036bc814a51c8_21000000* tcd = (_0RL_cd_112036bc814a51c8_21000000*)cd; |
1711 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
1712 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1713 |
|
✗ |
tcd->result = impl->validateConfiguration(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); |
1714 |
|
|
#else |
1715 |
|
|
if (!cd->is_upcall()) |
1716 |
|
|
tcd->result = impl->validateConfiguration(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); |
1717 |
|
|
else { |
1718 |
|
|
try { |
1719 |
|
|
tcd->result = impl->validateConfiguration(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); |
1720 |
|
|
} |
1721 |
|
|
catch(hpp::Error& ex) { |
1722 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1723 |
|
|
} |
1724 |
|
|
|
1725 |
|
|
|
1726 |
|
|
} |
1727 |
|
|
#endif |
1728 |
|
|
|
1729 |
|
|
|
1730 |
|
|
} |
1731 |
|
|
|
1732 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::validateConfiguration(const ::hpp::floatSeq& config, ::hpp::manipulation_idl::size_t id, ::hpp::manipulation_idl::ValidationReport_out report) |
1733 |
|
|
{ |
1734 |
|
✗ |
_0RL_cd_112036bc814a51c8_21000000 _call_desc(_0RL_lcfn_112036bc814a51c8_31000000, "validateConfiguration", 22); |
1735 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) config; |
1736 |
|
✗ |
_call_desc.arg_1 = id; |
1737 |
|
|
|
1738 |
|
✗ |
_invoke(_call_desc); |
1739 |
|
✗ |
report = _call_desc.arg_2._retn(); |
1740 |
|
✗ |
return _call_desc.result; |
1741 |
|
|
|
1742 |
|
|
|
1743 |
|
|
} |
1744 |
|
|
|
1745 |
|
|
|
1746 |
|
|
// |
1747 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::optimizePath |
1748 |
|
|
|
1749 |
|
|
// Proxy call descriptor class. Mangled signature: |
1750 |
|
|
// _chpp_mcore__idl_mPathVector_i_chpp_mcore__idl_mPath_e_chpp_mError |
1751 |
|
|
class _0RL_cd_112036bc814a51c8_41000000 |
1752 |
|
|
: public omniCallDescriptor |
1753 |
|
|
{ |
1754 |
|
|
public: |
1755 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_41000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1756 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1757 |
|
|
{ |
1758 |
|
|
|
1759 |
|
|
} |
1760 |
|
|
|
1761 |
|
|
void marshalArguments(cdrStream&); |
1762 |
|
|
void unmarshalArguments(cdrStream&); |
1763 |
|
|
|
1764 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1765 |
|
|
void marshalReturnedValues(cdrStream&); |
1766 |
|
|
|
1767 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1768 |
|
|
static const char* const _user_exns[]; |
1769 |
|
|
|
1770 |
|
|
hpp::core_idl::Path_var arg_0_; |
1771 |
|
|
hpp::core_idl::Path_ptr arg_0; |
1772 |
|
|
hpp::core_idl::PathVector_var result; |
1773 |
|
|
}; |
1774 |
|
|
|
1775 |
|
✗ |
void _0RL_cd_112036bc814a51c8_41000000::marshalArguments(cdrStream& _n) |
1776 |
|
|
{ |
1777 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(arg_0,_n); |
1778 |
|
|
|
1779 |
|
|
} |
1780 |
|
|
|
1781 |
|
✗ |
void _0RL_cd_112036bc814a51c8_41000000::unmarshalArguments(cdrStream& _n) |
1782 |
|
|
{ |
1783 |
|
✗ |
arg_0_ = hpp::core_idl::Path::_unmarshalObjRef(_n); |
1784 |
|
✗ |
arg_0 = arg_0_.in(); |
1785 |
|
|
|
1786 |
|
|
} |
1787 |
|
|
|
1788 |
|
✗ |
void _0RL_cd_112036bc814a51c8_41000000::marshalReturnedValues(cdrStream& _n) |
1789 |
|
|
{ |
1790 |
|
✗ |
hpp::core_idl::PathVector_Helper::marshalObjRef(result,_n); |
1791 |
|
|
|
1792 |
|
|
} |
1793 |
|
|
|
1794 |
|
✗ |
void _0RL_cd_112036bc814a51c8_41000000::unmarshalReturnedValues(cdrStream& _n) |
1795 |
|
|
{ |
1796 |
|
✗ |
result = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n); |
1797 |
|
|
|
1798 |
|
|
} |
1799 |
|
|
|
1800 |
|
|
const char* const _0RL_cd_112036bc814a51c8_41000000::_user_exns[] = { |
1801 |
|
|
hpp::Error::_PD_repoId |
1802 |
|
|
}; |
1803 |
|
|
|
1804 |
|
✗ |
void _0RL_cd_112036bc814a51c8_41000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1805 |
|
|
{ |
1806 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1807 |
|
✗ |
hpp::Error _ex; |
1808 |
|
✗ |
_ex <<= s; |
1809 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1810 |
|
✗ |
throw _ex; |
1811 |
|
|
} |
1812 |
|
|
|
1813 |
|
|
|
1814 |
|
|
else { |
1815 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1816 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1817 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1818 |
|
|
} |
1819 |
|
|
} |
1820 |
|
|
|
1821 |
|
|
// Local call call-back function. |
1822 |
|
|
static void |
1823 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_51000000(omniCallDescriptor* cd, omniServant* svnt) |
1824 |
|
|
{ |
1825 |
|
✗ |
_0RL_cd_112036bc814a51c8_41000000* tcd = (_0RL_cd_112036bc814a51c8_41000000*)cd; |
1826 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
1827 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1828 |
|
✗ |
tcd->result = impl->optimizePath(tcd->arg_0); |
1829 |
|
|
#else |
1830 |
|
|
if (!cd->is_upcall()) |
1831 |
|
|
tcd->result = impl->optimizePath(tcd->arg_0); |
1832 |
|
|
else { |
1833 |
|
|
try { |
1834 |
|
|
tcd->result = impl->optimizePath(tcd->arg_0); |
1835 |
|
|
} |
1836 |
|
|
catch(hpp::Error& ex) { |
1837 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1838 |
|
|
} |
1839 |
|
|
|
1840 |
|
|
|
1841 |
|
|
} |
1842 |
|
|
#endif |
1843 |
|
|
|
1844 |
|
|
|
1845 |
|
|
} |
1846 |
|
|
|
1847 |
|
✗ |
hpp::core_idl::PathVector_ptr hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::optimizePath(::hpp::core_idl::Path_ptr path) |
1848 |
|
|
{ |
1849 |
|
✗ |
_0RL_cd_112036bc814a51c8_41000000 _call_desc(_0RL_lcfn_112036bc814a51c8_51000000, "optimizePath", 13); |
1850 |
|
✗ |
_call_desc.arg_0 = path; |
1851 |
|
|
|
1852 |
|
✗ |
_invoke(_call_desc); |
1853 |
|
✗ |
return _call_desc.result._retn(); |
1854 |
|
|
|
1855 |
|
|
|
1856 |
|
|
} |
1857 |
|
|
|
1858 |
|
|
|
1859 |
|
|
// |
1860 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::timeParameterization |
1861 |
|
|
|
1862 |
|
|
// Proxy call descriptor class. Mangled signature: |
1863 |
|
|
// _chpp_mcore__idl_mPathVector_i_chpp_mcore__idl_mPathVector_e_chpp_mError |
1864 |
|
|
class _0RL_cd_112036bc814a51c8_61000000 |
1865 |
|
|
: public omniCallDescriptor |
1866 |
|
|
{ |
1867 |
|
|
public: |
1868 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_61000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1869 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1870 |
|
|
{ |
1871 |
|
|
|
1872 |
|
|
} |
1873 |
|
|
|
1874 |
|
|
void marshalArguments(cdrStream&); |
1875 |
|
|
void unmarshalArguments(cdrStream&); |
1876 |
|
|
|
1877 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1878 |
|
|
void marshalReturnedValues(cdrStream&); |
1879 |
|
|
|
1880 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1881 |
|
|
static const char* const _user_exns[]; |
1882 |
|
|
|
1883 |
|
|
hpp::core_idl::PathVector_var arg_0_; |
1884 |
|
|
hpp::core_idl::PathVector_ptr arg_0; |
1885 |
|
|
hpp::core_idl::PathVector_var result; |
1886 |
|
|
}; |
1887 |
|
|
|
1888 |
|
✗ |
void _0RL_cd_112036bc814a51c8_61000000::marshalArguments(cdrStream& _n) |
1889 |
|
|
{ |
1890 |
|
✗ |
hpp::core_idl::PathVector_Helper::marshalObjRef(arg_0,_n); |
1891 |
|
|
|
1892 |
|
|
} |
1893 |
|
|
|
1894 |
|
✗ |
void _0RL_cd_112036bc814a51c8_61000000::unmarshalArguments(cdrStream& _n) |
1895 |
|
|
{ |
1896 |
|
✗ |
arg_0_ = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n); |
1897 |
|
✗ |
arg_0 = arg_0_.in(); |
1898 |
|
|
|
1899 |
|
|
} |
1900 |
|
|
|
1901 |
|
✗ |
void _0RL_cd_112036bc814a51c8_61000000::marshalReturnedValues(cdrStream& _n) |
1902 |
|
|
{ |
1903 |
|
✗ |
hpp::core_idl::PathVector_Helper::marshalObjRef(result,_n); |
1904 |
|
|
|
1905 |
|
|
} |
1906 |
|
|
|
1907 |
|
✗ |
void _0RL_cd_112036bc814a51c8_61000000::unmarshalReturnedValues(cdrStream& _n) |
1908 |
|
|
{ |
1909 |
|
✗ |
result = hpp::core_idl::PathVector_Helper::unmarshalObjRef(_n); |
1910 |
|
|
|
1911 |
|
|
} |
1912 |
|
|
|
1913 |
|
|
const char* const _0RL_cd_112036bc814a51c8_61000000::_user_exns[] = { |
1914 |
|
|
hpp::Error::_PD_repoId |
1915 |
|
|
}; |
1916 |
|
|
|
1917 |
|
✗ |
void _0RL_cd_112036bc814a51c8_61000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1918 |
|
|
{ |
1919 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1920 |
|
✗ |
hpp::Error _ex; |
1921 |
|
✗ |
_ex <<= s; |
1922 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1923 |
|
✗ |
throw _ex; |
1924 |
|
|
} |
1925 |
|
|
|
1926 |
|
|
|
1927 |
|
|
else { |
1928 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1929 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1930 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1931 |
|
|
} |
1932 |
|
|
} |
1933 |
|
|
|
1934 |
|
|
// Local call call-back function. |
1935 |
|
|
static void |
1936 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_71000000(omniCallDescriptor* cd, omniServant* svnt) |
1937 |
|
|
{ |
1938 |
|
✗ |
_0RL_cd_112036bc814a51c8_61000000* tcd = (_0RL_cd_112036bc814a51c8_61000000*)cd; |
1939 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
1940 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1941 |
|
✗ |
tcd->result = impl->timeParameterization(tcd->arg_0); |
1942 |
|
|
#else |
1943 |
|
|
if (!cd->is_upcall()) |
1944 |
|
|
tcd->result = impl->timeParameterization(tcd->arg_0); |
1945 |
|
|
else { |
1946 |
|
|
try { |
1947 |
|
|
tcd->result = impl->timeParameterization(tcd->arg_0); |
1948 |
|
|
} |
1949 |
|
|
catch(hpp::Error& ex) { |
1950 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1951 |
|
|
} |
1952 |
|
|
|
1953 |
|
|
|
1954 |
|
|
} |
1955 |
|
|
#endif |
1956 |
|
|
|
1957 |
|
|
|
1958 |
|
|
} |
1959 |
|
|
|
1960 |
|
✗ |
hpp::core_idl::PathVector_ptr hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::timeParameterization(::hpp::core_idl::PathVector_ptr path) |
1961 |
|
|
{ |
1962 |
|
✗ |
_0RL_cd_112036bc814a51c8_61000000 _call_desc(_0RL_lcfn_112036bc814a51c8_71000000, "timeParameterization", 21); |
1963 |
|
✗ |
_call_desc.arg_0 = path; |
1964 |
|
|
|
1965 |
|
✗ |
_invoke(_call_desc); |
1966 |
|
✗ |
return _call_desc.result._retn(); |
1967 |
|
|
|
1968 |
|
|
|
1969 |
|
|
} |
1970 |
|
|
|
1971 |
|
|
|
1972 |
|
|
// |
1973 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::setReedsAndSheppSteeringMethod |
1974 |
|
|
|
1975 |
|
|
// Proxy call descriptor class. Mangled signature: |
1976 |
|
|
// void_i_cdouble_e_chpp_mError |
1977 |
|
|
class _0RL_cd_112036bc814a51c8_81000000 |
1978 |
|
|
: public omniCallDescriptor |
1979 |
|
|
{ |
1980 |
|
|
public: |
1981 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_81000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1982 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1983 |
|
|
{ |
1984 |
|
|
|
1985 |
|
|
} |
1986 |
|
|
|
1987 |
|
|
void marshalArguments(cdrStream&); |
1988 |
|
|
void unmarshalArguments(cdrStream&); |
1989 |
|
|
|
1990 |
|
|
|
1991 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1992 |
|
|
static const char* const _user_exns[]; |
1993 |
|
|
|
1994 |
|
|
::CORBA::Double arg_0; |
1995 |
|
|
}; |
1996 |
|
|
|
1997 |
|
✗ |
void _0RL_cd_112036bc814a51c8_81000000::marshalArguments(cdrStream& _n) |
1998 |
|
|
{ |
1999 |
|
✗ |
arg_0 >>= _n; |
2000 |
|
|
|
2001 |
|
|
} |
2002 |
|
|
|
2003 |
|
✗ |
void _0RL_cd_112036bc814a51c8_81000000::unmarshalArguments(cdrStream& _n) |
2004 |
|
|
{ |
2005 |
|
✗ |
(::CORBA::Double&)arg_0 <<= _n; |
2006 |
|
|
|
2007 |
|
|
} |
2008 |
|
|
|
2009 |
|
|
const char* const _0RL_cd_112036bc814a51c8_81000000::_user_exns[] = { |
2010 |
|
|
hpp::Error::_PD_repoId |
2011 |
|
|
}; |
2012 |
|
|
|
2013 |
|
✗ |
void _0RL_cd_112036bc814a51c8_81000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2014 |
|
|
{ |
2015 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2016 |
|
✗ |
hpp::Error _ex; |
2017 |
|
✗ |
_ex <<= s; |
2018 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2019 |
|
✗ |
throw _ex; |
2020 |
|
|
} |
2021 |
|
|
|
2022 |
|
|
|
2023 |
|
|
else { |
2024 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2025 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2026 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2027 |
|
|
} |
2028 |
|
|
} |
2029 |
|
|
|
2030 |
|
|
// Local call call-back function. |
2031 |
|
|
static void |
2032 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_91000000(omniCallDescriptor* cd, omniServant* svnt) |
2033 |
|
|
{ |
2034 |
|
✗ |
_0RL_cd_112036bc814a51c8_81000000* tcd = (_0RL_cd_112036bc814a51c8_81000000*)cd; |
2035 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2036 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2037 |
|
✗ |
impl->setReedsAndSheppSteeringMethod(tcd->arg_0); |
2038 |
|
|
#else |
2039 |
|
|
if (!cd->is_upcall()) |
2040 |
|
|
impl->setReedsAndSheppSteeringMethod(tcd->arg_0); |
2041 |
|
|
else { |
2042 |
|
|
try { |
2043 |
|
|
impl->setReedsAndSheppSteeringMethod(tcd->arg_0); |
2044 |
|
|
} |
2045 |
|
|
catch(hpp::Error& ex) { |
2046 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2047 |
|
|
} |
2048 |
|
|
|
2049 |
|
|
|
2050 |
|
|
} |
2051 |
|
|
#endif |
2052 |
|
|
|
2053 |
|
|
|
2054 |
|
|
} |
2055 |
|
|
|
2056 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::setReedsAndSheppSteeringMethod(::CORBA::Double turningRadius) |
2057 |
|
|
{ |
2058 |
|
✗ |
_0RL_cd_112036bc814a51c8_81000000 _call_desc(_0RL_lcfn_112036bc814a51c8_91000000, "setReedsAndSheppSteeringMethod", 31); |
2059 |
|
✗ |
_call_desc.arg_0 = turningRadius; |
2060 |
|
|
|
2061 |
|
✗ |
_invoke(_call_desc); |
2062 |
|
|
|
2063 |
|
|
|
2064 |
|
|
|
2065 |
|
|
} |
2066 |
|
|
|
2067 |
|
|
|
2068 |
|
|
// |
2069 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::setEdge |
2070 |
|
|
|
2071 |
|
|
// Local call call-back function. |
2072 |
|
|
static void |
2073 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_a1000000(omniCallDescriptor* cd, omniServant* svnt) |
2074 |
|
|
{ |
2075 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000* tcd = (_0RL_cd_112036bc814a51c8_40000000*)cd; |
2076 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2077 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2078 |
|
✗ |
impl->setEdge(tcd->arg_0); |
2079 |
|
|
#else |
2080 |
|
|
if (!cd->is_upcall()) |
2081 |
|
|
impl->setEdge(tcd->arg_0); |
2082 |
|
|
else { |
2083 |
|
|
try { |
2084 |
|
|
impl->setEdge(tcd->arg_0); |
2085 |
|
|
} |
2086 |
|
|
catch(hpp::Error& ex) { |
2087 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2088 |
|
|
} |
2089 |
|
|
|
2090 |
|
|
|
2091 |
|
|
} |
2092 |
|
|
#endif |
2093 |
|
|
|
2094 |
|
|
|
2095 |
|
|
} |
2096 |
|
|
|
2097 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::setEdge(::CORBA::Long id) |
2098 |
|
|
{ |
2099 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_a1000000, "setEdge", 8); |
2100 |
|
✗ |
_call_desc.arg_0 = id; |
2101 |
|
|
|
2102 |
|
✗ |
_invoke(_call_desc); |
2103 |
|
|
|
2104 |
|
|
|
2105 |
|
|
|
2106 |
|
|
} |
2107 |
|
|
|
2108 |
|
|
|
2109 |
|
|
// |
2110 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::setPathProjector |
2111 |
|
|
|
2112 |
|
|
// Proxy call descriptor class. Mangled signature: |
2113 |
|
|
// void_i_cstring_i_cdouble_e_chpp_mError |
2114 |
|
|
class _0RL_cd_112036bc814a51c8_b1000000 |
2115 |
|
|
: public omniCallDescriptor |
2116 |
|
|
{ |
2117 |
|
|
public: |
2118 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_b1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
2119 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
2120 |
|
|
{ |
2121 |
|
|
|
2122 |
|
|
} |
2123 |
|
|
|
2124 |
|
|
void marshalArguments(cdrStream&); |
2125 |
|
|
void unmarshalArguments(cdrStream&); |
2126 |
|
|
|
2127 |
|
|
|
2128 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
2129 |
|
|
static const char* const _user_exns[]; |
2130 |
|
|
|
2131 |
|
|
::CORBA::String_var arg_0_; |
2132 |
|
|
const char* arg_0; |
2133 |
|
|
::CORBA::Double arg_1; |
2134 |
|
|
}; |
2135 |
|
|
|
2136 |
|
✗ |
void _0RL_cd_112036bc814a51c8_b1000000::marshalArguments(cdrStream& _n) |
2137 |
|
|
{ |
2138 |
|
✗ |
_n.marshalString(arg_0,0); |
2139 |
|
✗ |
arg_1 >>= _n; |
2140 |
|
|
|
2141 |
|
|
} |
2142 |
|
|
|
2143 |
|
✗ |
void _0RL_cd_112036bc814a51c8_b1000000::unmarshalArguments(cdrStream& _n) |
2144 |
|
|
{ |
2145 |
|
✗ |
arg_0_ = _n.unmarshalString(0); |
2146 |
|
✗ |
arg_0 = arg_0_.in(); |
2147 |
|
✗ |
(::CORBA::Double&)arg_1 <<= _n; |
2148 |
|
|
|
2149 |
|
|
} |
2150 |
|
|
|
2151 |
|
|
const char* const _0RL_cd_112036bc814a51c8_b1000000::_user_exns[] = { |
2152 |
|
|
hpp::Error::_PD_repoId |
2153 |
|
|
}; |
2154 |
|
|
|
2155 |
|
✗ |
void _0RL_cd_112036bc814a51c8_b1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2156 |
|
|
{ |
2157 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2158 |
|
✗ |
hpp::Error _ex; |
2159 |
|
✗ |
_ex <<= s; |
2160 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2161 |
|
✗ |
throw _ex; |
2162 |
|
|
} |
2163 |
|
|
|
2164 |
|
|
|
2165 |
|
|
else { |
2166 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2167 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2168 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2169 |
|
|
} |
2170 |
|
|
} |
2171 |
|
|
|
2172 |
|
|
// Local call call-back function. |
2173 |
|
|
static void |
2174 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_c1000000(omniCallDescriptor* cd, omniServant* svnt) |
2175 |
|
|
{ |
2176 |
|
✗ |
_0RL_cd_112036bc814a51c8_b1000000* tcd = (_0RL_cd_112036bc814a51c8_b1000000*)cd; |
2177 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2178 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2179 |
|
✗ |
impl->setPathProjector(tcd->arg_0, tcd->arg_1); |
2180 |
|
|
#else |
2181 |
|
|
if (!cd->is_upcall()) |
2182 |
|
|
impl->setPathProjector(tcd->arg_0, tcd->arg_1); |
2183 |
|
|
else { |
2184 |
|
|
try { |
2185 |
|
|
impl->setPathProjector(tcd->arg_0, tcd->arg_1); |
2186 |
|
|
} |
2187 |
|
|
catch(hpp::Error& ex) { |
2188 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2189 |
|
|
} |
2190 |
|
|
|
2191 |
|
|
|
2192 |
|
|
} |
2193 |
|
|
#endif |
2194 |
|
|
|
2195 |
|
|
|
2196 |
|
|
} |
2197 |
|
|
|
2198 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::setPathProjector(const char* pathProjectorType, ::CORBA::Double tolerance) |
2199 |
|
|
{ |
2200 |
|
✗ |
_0RL_cd_112036bc814a51c8_b1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_c1000000, "setPathProjector", 17); |
2201 |
|
✗ |
_call_desc.arg_0 = pathProjectorType; |
2202 |
|
✗ |
_call_desc.arg_1 = tolerance; |
2203 |
|
|
|
2204 |
|
✗ |
_invoke(_call_desc); |
2205 |
|
|
|
2206 |
|
|
|
2207 |
|
|
|
2208 |
|
|
} |
2209 |
|
|
|
2210 |
|
|
|
2211 |
|
|
// |
2212 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::clearPathOptimizers |
2213 |
|
|
|
2214 |
|
|
// Proxy call descriptor class. Mangled signature: |
2215 |
|
|
// void_e_chpp_mError |
2216 |
|
|
class _0RL_cd_112036bc814a51c8_d1000000 |
2217 |
|
|
: public omniCallDescriptor |
2218 |
|
|
{ |
2219 |
|
|
public: |
2220 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_d1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
2221 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
2222 |
|
|
{ |
2223 |
|
|
|
2224 |
|
|
} |
2225 |
|
|
|
2226 |
|
|
|
2227 |
|
|
|
2228 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
2229 |
|
|
static const char* const _user_exns[]; |
2230 |
|
|
|
2231 |
|
|
|
2232 |
|
|
}; |
2233 |
|
|
|
2234 |
|
|
const char* const _0RL_cd_112036bc814a51c8_d1000000::_user_exns[] = { |
2235 |
|
|
hpp::Error::_PD_repoId |
2236 |
|
|
}; |
2237 |
|
|
|
2238 |
|
✗ |
void _0RL_cd_112036bc814a51c8_d1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2239 |
|
|
{ |
2240 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2241 |
|
✗ |
hpp::Error _ex; |
2242 |
|
✗ |
_ex <<= s; |
2243 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2244 |
|
✗ |
throw _ex; |
2245 |
|
|
} |
2246 |
|
|
|
2247 |
|
|
|
2248 |
|
|
else { |
2249 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2250 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2251 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2252 |
|
|
} |
2253 |
|
|
} |
2254 |
|
|
|
2255 |
|
|
// Local call call-back function. |
2256 |
|
|
static void |
2257 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_e1000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) |
2258 |
|
|
{ |
2259 |
|
|
|
2260 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2261 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2262 |
|
✗ |
impl->clearPathOptimizers(); |
2263 |
|
|
#else |
2264 |
|
|
if (!cd->is_upcall()) |
2265 |
|
|
impl->clearPathOptimizers(); |
2266 |
|
|
else { |
2267 |
|
|
try { |
2268 |
|
|
impl->clearPathOptimizers(); |
2269 |
|
|
} |
2270 |
|
|
catch(hpp::Error& ex) { |
2271 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2272 |
|
|
} |
2273 |
|
|
|
2274 |
|
|
|
2275 |
|
|
} |
2276 |
|
|
#endif |
2277 |
|
|
|
2278 |
|
|
|
2279 |
|
|
} |
2280 |
|
|
|
2281 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::clearPathOptimizers() |
2282 |
|
|
{ |
2283 |
|
✗ |
_0RL_cd_112036bc814a51c8_d1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_e1000000, "clearPathOptimizers", 20); |
2284 |
|
|
|
2285 |
|
|
|
2286 |
|
✗ |
_invoke(_call_desc); |
2287 |
|
|
|
2288 |
|
|
|
2289 |
|
|
|
2290 |
|
|
} |
2291 |
|
|
|
2292 |
|
|
|
2293 |
|
|
// |
2294 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::addPathOptimizer |
2295 |
|
|
|
2296 |
|
|
// Proxy call descriptor class. Mangled signature: |
2297 |
|
|
// void_i_cstring_e_chpp_mError |
2298 |
|
|
class _0RL_cd_112036bc814a51c8_f1000000 |
2299 |
|
|
: public omniCallDescriptor |
2300 |
|
|
{ |
2301 |
|
|
public: |
2302 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_f1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
2303 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
2304 |
|
|
{ |
2305 |
|
|
|
2306 |
|
|
} |
2307 |
|
|
|
2308 |
|
|
void marshalArguments(cdrStream&); |
2309 |
|
|
void unmarshalArguments(cdrStream&); |
2310 |
|
|
|
2311 |
|
|
|
2312 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
2313 |
|
|
static const char* const _user_exns[]; |
2314 |
|
|
|
2315 |
|
|
::CORBA::String_var arg_0_; |
2316 |
|
|
const char* arg_0; |
2317 |
|
|
}; |
2318 |
|
|
|
2319 |
|
✗ |
void _0RL_cd_112036bc814a51c8_f1000000::marshalArguments(cdrStream& _n) |
2320 |
|
|
{ |
2321 |
|
✗ |
_n.marshalString(arg_0,0); |
2322 |
|
|
|
2323 |
|
|
} |
2324 |
|
|
|
2325 |
|
✗ |
void _0RL_cd_112036bc814a51c8_f1000000::unmarshalArguments(cdrStream& _n) |
2326 |
|
|
{ |
2327 |
|
✗ |
arg_0_ = _n.unmarshalString(0); |
2328 |
|
✗ |
arg_0 = arg_0_.in(); |
2329 |
|
|
|
2330 |
|
|
} |
2331 |
|
|
|
2332 |
|
|
const char* const _0RL_cd_112036bc814a51c8_f1000000::_user_exns[] = { |
2333 |
|
|
hpp::Error::_PD_repoId |
2334 |
|
|
}; |
2335 |
|
|
|
2336 |
|
✗ |
void _0RL_cd_112036bc814a51c8_f1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2337 |
|
|
{ |
2338 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2339 |
|
✗ |
hpp::Error _ex; |
2340 |
|
✗ |
_ex <<= s; |
2341 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2342 |
|
✗ |
throw _ex; |
2343 |
|
|
} |
2344 |
|
|
|
2345 |
|
|
|
2346 |
|
|
else { |
2347 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2348 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2349 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2350 |
|
|
} |
2351 |
|
|
} |
2352 |
|
|
|
2353 |
|
|
// Local call call-back function. |
2354 |
|
|
static void |
2355 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_02000000(omniCallDescriptor* cd, omniServant* svnt) |
2356 |
|
|
{ |
2357 |
|
✗ |
_0RL_cd_112036bc814a51c8_f1000000* tcd = (_0RL_cd_112036bc814a51c8_f1000000*)cd; |
2358 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2359 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2360 |
|
✗ |
impl->addPathOptimizer(tcd->arg_0); |
2361 |
|
|
#else |
2362 |
|
|
if (!cd->is_upcall()) |
2363 |
|
|
impl->addPathOptimizer(tcd->arg_0); |
2364 |
|
|
else { |
2365 |
|
|
try { |
2366 |
|
|
impl->addPathOptimizer(tcd->arg_0); |
2367 |
|
|
} |
2368 |
|
|
catch(hpp::Error& ex) { |
2369 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2370 |
|
|
} |
2371 |
|
|
|
2372 |
|
|
|
2373 |
|
|
} |
2374 |
|
|
#endif |
2375 |
|
|
|
2376 |
|
|
|
2377 |
|
|
} |
2378 |
|
|
|
2379 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::addPathOptimizer(const char* pathOptimizerType) |
2380 |
|
|
{ |
2381 |
|
✗ |
_0RL_cd_112036bc814a51c8_f1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_02000000, "addPathOptimizer", 17); |
2382 |
|
✗ |
_call_desc.arg_0 = pathOptimizerType; |
2383 |
|
|
|
2384 |
|
✗ |
_invoke(_call_desc); |
2385 |
|
|
|
2386 |
|
|
|
2387 |
|
|
|
2388 |
|
|
} |
2389 |
|
|
|
2390 |
|
|
|
2391 |
|
|
// |
2392 |
|
|
// Code for hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::setParameter |
2393 |
|
|
|
2394 |
|
|
// Proxy call descriptor class. Mangled signature: |
2395 |
|
|
// void_i_cstring_i_cany_e_chpp_mError |
2396 |
|
|
class _0RL_cd_112036bc814a51c8_12000000 |
2397 |
|
|
: public omniCallDescriptor |
2398 |
|
|
{ |
2399 |
|
|
public: |
2400 |
|
✗ |
inline _0RL_cd_112036bc814a51c8_12000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
2401 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
2402 |
|
|
{ |
2403 |
|
|
|
2404 |
|
|
} |
2405 |
|
|
|
2406 |
|
|
void marshalArguments(cdrStream&); |
2407 |
|
|
void unmarshalArguments(cdrStream&); |
2408 |
|
|
|
2409 |
|
|
|
2410 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
2411 |
|
|
static const char* const _user_exns[]; |
2412 |
|
|
|
2413 |
|
|
::CORBA::String_var arg_0_; |
2414 |
|
|
const char* arg_0; |
2415 |
|
|
::CORBA::Any_var arg_1_; |
2416 |
|
|
const ::CORBA::Any* arg_1; |
2417 |
|
|
}; |
2418 |
|
|
|
2419 |
|
✗ |
void _0RL_cd_112036bc814a51c8_12000000::marshalArguments(cdrStream& _n) |
2420 |
|
|
{ |
2421 |
|
✗ |
_n.marshalString(arg_0,0); |
2422 |
|
✗ |
(const ::CORBA::Any&) *arg_1 >>= _n; |
2423 |
|
|
|
2424 |
|
|
} |
2425 |
|
|
|
2426 |
|
✗ |
void _0RL_cd_112036bc814a51c8_12000000::unmarshalArguments(cdrStream& _n) |
2427 |
|
|
{ |
2428 |
|
✗ |
arg_0_ = _n.unmarshalString(0); |
2429 |
|
✗ |
arg_0 = arg_0_.in(); |
2430 |
|
✗ |
arg_1_ = new ::CORBA::Any; |
2431 |
|
✗ |
(::CORBA::Any&)arg_1_ <<= _n; |
2432 |
|
✗ |
arg_1 = &arg_1_.in(); |
2433 |
|
|
|
2434 |
|
|
} |
2435 |
|
|
|
2436 |
|
|
const char* const _0RL_cd_112036bc814a51c8_12000000::_user_exns[] = { |
2437 |
|
|
hpp::Error::_PD_repoId |
2438 |
|
|
}; |
2439 |
|
|
|
2440 |
|
✗ |
void _0RL_cd_112036bc814a51c8_12000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2441 |
|
|
{ |
2442 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2443 |
|
✗ |
hpp::Error _ex; |
2444 |
|
✗ |
_ex <<= s; |
2445 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2446 |
|
✗ |
throw _ex; |
2447 |
|
|
} |
2448 |
|
|
|
2449 |
|
|
|
2450 |
|
|
else { |
2451 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2452 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2453 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2454 |
|
|
} |
2455 |
|
|
} |
2456 |
|
|
|
2457 |
|
|
// Local call call-back function. |
2458 |
|
|
static void |
2459 |
|
✗ |
_0RL_lcfn_112036bc814a51c8_22000000(omniCallDescriptor* cd, omniServant* svnt) |
2460 |
|
|
{ |
2461 |
|
✗ |
_0RL_cd_112036bc814a51c8_12000000* tcd = (_0RL_cd_112036bc814a51c8_12000000*)cd; |
2462 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner* impl = (hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) svnt->_ptrToInterface(hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId); |
2463 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2464 |
|
✗ |
impl->setParameter(tcd->arg_0, *tcd->arg_1); |
2465 |
|
|
#else |
2466 |
|
|
if (!cd->is_upcall()) |
2467 |
|
|
impl->setParameter(tcd->arg_0, *tcd->arg_1); |
2468 |
|
|
else { |
2469 |
|
|
try { |
2470 |
|
|
impl->setParameter(tcd->arg_0, *tcd->arg_1); |
2471 |
|
|
} |
2472 |
|
|
catch(hpp::Error& ex) { |
2473 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2474 |
|
|
} |
2475 |
|
|
|
2476 |
|
|
|
2477 |
|
|
} |
2478 |
|
|
#endif |
2479 |
|
|
|
2480 |
|
|
|
2481 |
|
|
} |
2482 |
|
|
|
2483 |
|
✗ |
void hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner::setParameter(const char* name, const ::CORBA::Any& value) |
2484 |
|
|
{ |
2485 |
|
✗ |
_0RL_cd_112036bc814a51c8_12000000 _call_desc(_0RL_lcfn_112036bc814a51c8_22000000, "setParameter", 13); |
2486 |
|
✗ |
_call_desc.arg_0 = name; |
2487 |
|
✗ |
_call_desc.arg_1 = &(::CORBA::Any&) value; |
2488 |
|
|
|
2489 |
|
✗ |
_invoke(_call_desc); |
2490 |
|
|
|
2491 |
|
|
|
2492 |
|
|
|
2493 |
|
|
} |
2494 |
|
|
|
2495 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_TransitionPlanner::~_pof_TransitionPlanner() {} |
2496 |
|
|
|
2497 |
|
|
|
2498 |
|
|
omniObjRef* |
2499 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_TransitionPlanner::newObjRef(omniIOR* ior, omniIdentity* id) |
2500 |
|
|
{ |
2501 |
|
✗ |
return new ::hpp::manipulation_idl::pathPlanner_idl::_objref_TransitionPlanner(ior, id); |
2502 |
|
|
} |
2503 |
|
|
|
2504 |
|
|
|
2505 |
|
|
::CORBA::Boolean |
2506 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_pof_TransitionPlanner::is_a(const char* id) const |
2507 |
|
|
{ |
2508 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId)) |
2509 |
|
✗ |
return 1; |
2510 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::PathPlanner::_PD_repoId)) |
2511 |
|
✗ |
return 1; |
2512 |
|
|
|
2513 |
|
|
|
2514 |
|
✗ |
return 0; |
2515 |
|
|
} |
2516 |
|
|
|
2517 |
|
|
const hpp::manipulation_idl::pathPlanner_idl::_pof_TransitionPlanner _the_pof_hpp_mmanipulation__idl_mpathPlanner__idl_mTransitionPlanner; |
2518 |
|
|
|
2519 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner::~_impl_TransitionPlanner() {} |
2520 |
|
|
|
2521 |
|
|
|
2522 |
|
|
::CORBA::Boolean |
2523 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner::_dispatch(omniCallHandle& _handle) |
2524 |
|
|
{ |
2525 |
|
✗ |
const char* op = _handle.operation_name(); |
2526 |
|
|
|
2527 |
|
✗ |
if (omni::strMatch(op, "planPath")) { |
2528 |
|
|
|
2529 |
|
✗ |
_0RL_cd_112036bc814a51c8_e0000000 _call_desc(_0RL_lcfn_112036bc814a51c8_f0000000, "planPath", 9, 1); |
2530 |
|
|
|
2531 |
|
✗ |
_handle.upcall(this,_call_desc); |
2532 |
|
✗ |
return 1; |
2533 |
|
|
} |
2534 |
|
|
|
2535 |
|
✗ |
if (omni::strMatch(op, "directPath")) { |
2536 |
|
|
|
2537 |
|
✗ |
_0RL_cd_112036bc814a51c8_01000000 _call_desc(_0RL_lcfn_112036bc814a51c8_11000000, "directPath", 11, 1); |
2538 |
|
|
|
2539 |
|
✗ |
_handle.upcall(this,_call_desc); |
2540 |
|
✗ |
return 1; |
2541 |
|
|
} |
2542 |
|
|
|
2543 |
|
✗ |
if (omni::strMatch(op, "validateConfiguration")) { |
2544 |
|
|
|
2545 |
|
✗ |
_0RL_cd_112036bc814a51c8_21000000 _call_desc(_0RL_lcfn_112036bc814a51c8_31000000, "validateConfiguration", 22, 1); |
2546 |
|
|
|
2547 |
|
✗ |
_handle.upcall(this,_call_desc); |
2548 |
|
✗ |
return 1; |
2549 |
|
|
} |
2550 |
|
|
|
2551 |
|
✗ |
if (omni::strMatch(op, "optimizePath")) { |
2552 |
|
|
|
2553 |
|
✗ |
_0RL_cd_112036bc814a51c8_41000000 _call_desc(_0RL_lcfn_112036bc814a51c8_51000000, "optimizePath", 13, 1); |
2554 |
|
|
|
2555 |
|
✗ |
_handle.upcall(this,_call_desc); |
2556 |
|
✗ |
return 1; |
2557 |
|
|
} |
2558 |
|
|
|
2559 |
|
✗ |
if (omni::strMatch(op, "timeParameterization")) { |
2560 |
|
|
|
2561 |
|
✗ |
_0RL_cd_112036bc814a51c8_61000000 _call_desc(_0RL_lcfn_112036bc814a51c8_71000000, "timeParameterization", 21, 1); |
2562 |
|
|
|
2563 |
|
✗ |
_handle.upcall(this,_call_desc); |
2564 |
|
✗ |
return 1; |
2565 |
|
|
} |
2566 |
|
|
|
2567 |
|
✗ |
if (omni::strMatch(op, "setReedsAndSheppSteeringMethod")) { |
2568 |
|
|
|
2569 |
|
✗ |
_0RL_cd_112036bc814a51c8_81000000 _call_desc(_0RL_lcfn_112036bc814a51c8_91000000, "setReedsAndSheppSteeringMethod", 31, 1); |
2570 |
|
|
|
2571 |
|
✗ |
_handle.upcall(this,_call_desc); |
2572 |
|
✗ |
return 1; |
2573 |
|
|
} |
2574 |
|
|
|
2575 |
|
✗ |
if (omni::strMatch(op, "setEdge")) { |
2576 |
|
|
|
2577 |
|
✗ |
_0RL_cd_112036bc814a51c8_40000000 _call_desc(_0RL_lcfn_112036bc814a51c8_a1000000, "setEdge", 8, 1); |
2578 |
|
|
|
2579 |
|
✗ |
_handle.upcall(this,_call_desc); |
2580 |
|
✗ |
return 1; |
2581 |
|
|
} |
2582 |
|
|
|
2583 |
|
✗ |
if (omni::strMatch(op, "setPathProjector")) { |
2584 |
|
|
|
2585 |
|
✗ |
_0RL_cd_112036bc814a51c8_b1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_c1000000, "setPathProjector", 17, 1); |
2586 |
|
|
|
2587 |
|
✗ |
_handle.upcall(this,_call_desc); |
2588 |
|
✗ |
return 1; |
2589 |
|
|
} |
2590 |
|
|
|
2591 |
|
✗ |
if (omni::strMatch(op, "clearPathOptimizers")) { |
2592 |
|
|
|
2593 |
|
✗ |
_0RL_cd_112036bc814a51c8_d1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_e1000000, "clearPathOptimizers", 20, 1); |
2594 |
|
|
|
2595 |
|
✗ |
_handle.upcall(this,_call_desc); |
2596 |
|
✗ |
return 1; |
2597 |
|
|
} |
2598 |
|
|
|
2599 |
|
✗ |
if (omni::strMatch(op, "addPathOptimizer")) { |
2600 |
|
|
|
2601 |
|
✗ |
_0RL_cd_112036bc814a51c8_f1000000 _call_desc(_0RL_lcfn_112036bc814a51c8_02000000, "addPathOptimizer", 17, 1); |
2602 |
|
|
|
2603 |
|
✗ |
_handle.upcall(this,_call_desc); |
2604 |
|
✗ |
return 1; |
2605 |
|
|
} |
2606 |
|
|
|
2607 |
|
✗ |
if (omni::strMatch(op, "setParameter")) { |
2608 |
|
|
|
2609 |
|
✗ |
_0RL_cd_112036bc814a51c8_12000000 _call_desc(_0RL_lcfn_112036bc814a51c8_22000000, "setParameter", 13, 1); |
2610 |
|
|
|
2611 |
|
✗ |
_handle.upcall(this,_call_desc); |
2612 |
|
✗ |
return 1; |
2613 |
|
|
} |
2614 |
|
|
|
2615 |
|
|
|
2616 |
|
|
#ifndef _MSC_VER |
2617 |
|
✗ |
if (hpp_core_idl__impl_PathPlanner::_dispatch(_handle)) { |
2618 |
|
✗ |
return 1; |
2619 |
|
|
} |
2620 |
|
|
#else |
2621 |
|
|
// Work-around for incorrect MSVC code generation. |
2622 |
|
|
if (((hpp_core_idl__impl_PathPlanner*)this)-> |
2623 |
|
|
hpp_core_idl__impl_PathPlanner::_dispatch(_handle)) { |
2624 |
|
|
return 1; |
2625 |
|
|
} |
2626 |
|
|
#endif |
2627 |
|
|
|
2628 |
|
|
|
2629 |
|
✗ |
return 0; |
2630 |
|
|
} |
2631 |
|
|
|
2632 |
|
|
void* |
2633 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner::_ptrToInterface(const char* id) |
2634 |
|
|
{ |
2635 |
|
✗ |
if (id == ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId) |
2636 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) this; |
2637 |
|
✗ |
if (id == ::hpp::core_idl::PathPlanner::_PD_repoId) |
2638 |
|
✗ |
return (::hpp::core_idl::_impl_PathPlanner*) this; |
2639 |
|
|
|
2640 |
|
|
|
2641 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
2642 |
|
✗ |
return (void*) 1; |
2643 |
|
|
|
2644 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId)) |
2645 |
|
✗ |
return (::hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner*) this; |
2646 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathPlanner::_PD_repoId)) |
2647 |
|
✗ |
return (::hpp::core_idl::_impl_PathPlanner*) this; |
2648 |
|
|
|
2649 |
|
|
|
2650 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
2651 |
|
✗ |
return (void*) 1; |
2652 |
|
✗ |
return 0; |
2653 |
|
|
} |
2654 |
|
|
|
2655 |
|
|
const char* |
2656 |
|
✗ |
hpp::manipulation_idl::pathPlanner_idl::_impl_TransitionPlanner::_mostDerivedRepoId() |
2657 |
|
|
{ |
2658 |
|
✗ |
return ::hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::_PD_repoId; |
2659 |
|
|
} |
2660 |
|
|
|
2661 |
|
✗ |
POA_hpp::manipulation_idl::Roadmap::~Roadmap() {} |
2662 |
|
|
|
2663 |
|
✗ |
POA_hpp::manipulation_idl::pathPlanner_idl::IkSolverInitialization::~IkSolverInitialization() {} |
2664 |
|
|
|
2665 |
|
✗ |
POA_hpp::manipulation_idl::pathPlanner_idl::EndEffectorTrajectory::~EndEffectorTrajectory() {} |
2666 |
|
|
|
2667 |
|
✗ |
POA_hpp::manipulation_idl::pathPlanner_idl::TransitionPlanner::~TransitionPlanner() {} |
2668 |
|
|
|
2669 |
|
|
|