Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
2 |
|
|
|
3 |
|
|
#include "steering_methods-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::steeringMethod::EndEffectorTrajectory_ptr hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::_nil() { |
18 |
|
✗ |
return ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_nil(); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
✗ |
::CORBA::Boolean hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::is_nil(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr p) { |
22 |
|
✗ |
return ::CORBA::is_nil(p); |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
✗ |
void hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::release(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr p) { |
27 |
|
✗ |
::CORBA::release(p); |
28 |
|
|
} |
29 |
|
|
|
30 |
|
✗ |
void hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::marshalObjRef(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr obj, cdrStream& s) { |
31 |
|
✗ |
::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_marshalObjRef(obj, s); |
32 |
|
|
} |
33 |
|
|
|
34 |
|
✗ |
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::unmarshalObjRef(cdrStream& s) { |
35 |
|
✗ |
return ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_unmarshalObjRef(s); |
36 |
|
|
} |
37 |
|
|
|
38 |
|
✗ |
void hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_Helper::duplicate(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr obj) { |
39 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
40 |
|
|
} |
41 |
|
|
|
42 |
|
|
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr |
43 |
|
✗ |
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_duplicate(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr obj) |
44 |
|
|
{ |
45 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
46 |
|
✗ |
return obj; |
47 |
|
|
} |
48 |
|
|
|
49 |
|
|
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr |
50 |
|
✗ |
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_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::steeringMethod::EndEffectorTrajectory_ptr |
59 |
|
✗ |
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_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::steeringMethod::EndEffectorTrajectory_ptr |
67 |
|
✗ |
hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_nil() |
68 |
|
|
{ |
69 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
70 |
|
|
static _objref_EndEffectorTrajectory _the_nil_obj; |
71 |
|
|
return &_the_nil_obj; |
72 |
|
|
#else |
73 |
|
|
static _objref_EndEffectorTrajectory* _the_nil_ptr = 0; |
74 |
|
✗ |
if (!_the_nil_ptr) { |
75 |
|
✗ |
omni::nilRefLock().lock(); |
76 |
|
✗ |
if (!_the_nil_ptr) { |
77 |
|
✗ |
_the_nil_ptr = new _objref_EndEffectorTrajectory; |
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::steeringMethod::EndEffectorTrajectory::_PD_repoId = "IDL:hpp/manipulation_idl/steeringMethod/EndEffectorTrajectory:1.0"; |
87 |
|
|
|
88 |
|
|
|
89 |
|
|
typedef hpp::core_idl::SteeringMethod hpp_core_idl_SteeringMethod; |
90 |
|
|
typedef hpp::core_idl::_impl_SteeringMethod hpp_core_idl__impl_SteeringMethod; |
91 |
|
|
typedef hpp::core_idl::_objref_SteeringMethod hpp_core_idl__objref_SteeringMethod; |
92 |
|
|
|
93 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::~_objref_EndEffectorTrajectory() { |
94 |
|
|
|
95 |
|
|
} |
96 |
|
|
|
97 |
|
|
|
98 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::_objref_EndEffectorTrajectory(omniIOR* ior, omniIdentity* id) : |
99 |
|
|
omniObjRef(::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId, ior, id, 1), |
100 |
|
✗ |
hpp_core_idl__objref_SteeringMethod(ior, id) |
101 |
|
|
|
102 |
|
|
{ |
103 |
|
✗ |
_PR_setobj(this); |
104 |
|
|
} |
105 |
|
|
|
106 |
|
|
void* |
107 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::_ptrToObjRef(const char* id) |
108 |
|
|
{ |
109 |
|
✗ |
if (id == ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId) |
110 |
|
✗ |
return (::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr) this; |
111 |
|
✗ |
if (id == ::hpp::core_idl::SteeringMethod::_PD_repoId) |
112 |
|
✗ |
return (::hpp::core_idl::SteeringMethod_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::steeringMethod::EndEffectorTrajectory::_PD_repoId)) |
119 |
|
✗ |
return (::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory_ptr) this; |
120 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::SteeringMethod::_PD_repoId)) |
121 |
|
✗ |
return (::hpp::core_idl::SteeringMethod_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::steeringMethod::EndEffectorTrajectory::makePiecewiseLinearTrajectory |
133 |
|
|
|
134 |
|
|
// Proxy call descriptor class. Mangled signature: |
135 |
|
|
// _chpp_mcore__idl_mPath_i_chpp_mfloatSeqSeq_i_chpp_mfloatSeq_e_chpp_mError |
136 |
|
|
class _0RL_cd_56ec3dbfcdfd2f45_00000000 |
137 |
|
|
: public omniCallDescriptor |
138 |
|
|
{ |
139 |
|
|
public: |
140 |
|
✗ |
inline _0RL_cd_56ec3dbfcdfd2f45_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 |
|
|
void unmarshalReturnedValues(cdrStream&); |
150 |
|
|
void marshalReturnedValues(cdrStream&); |
151 |
|
|
|
152 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
153 |
|
|
static const char* const _user_exns[]; |
154 |
|
|
|
155 |
|
|
hpp::floatSeqSeq_var arg_0_; |
156 |
|
|
const hpp::floatSeqSeq* arg_0; |
157 |
|
|
hpp::floatSeq_var arg_1_; |
158 |
|
|
const hpp::floatSeq* arg_1; |
159 |
|
|
hpp::core_idl::Path_var result; |
160 |
|
|
}; |
161 |
|
|
|
162 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_00000000::marshalArguments(cdrStream& _n) |
163 |
|
|
{ |
164 |
|
✗ |
(const hpp::floatSeqSeq&) *arg_0 >>= _n; |
165 |
|
✗ |
(const hpp::floatSeq&) *arg_1 >>= _n; |
166 |
|
|
|
167 |
|
|
} |
168 |
|
|
|
169 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_00000000::unmarshalArguments(cdrStream& _n) |
170 |
|
|
{ |
171 |
|
✗ |
arg_0_ = new hpp::floatSeqSeq; |
172 |
|
✗ |
(hpp::floatSeqSeq&)arg_0_ <<= _n; |
173 |
|
✗ |
arg_0 = &arg_0_.in(); |
174 |
|
✗ |
arg_1_ = new hpp::floatSeq; |
175 |
|
✗ |
(hpp::floatSeq&)arg_1_ <<= _n; |
176 |
|
✗ |
arg_1 = &arg_1_.in(); |
177 |
|
|
|
178 |
|
|
} |
179 |
|
|
|
180 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_00000000::marshalReturnedValues(cdrStream& _n) |
181 |
|
|
{ |
182 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(result,_n); |
183 |
|
|
|
184 |
|
|
} |
185 |
|
|
|
186 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_00000000::unmarshalReturnedValues(cdrStream& _n) |
187 |
|
|
{ |
188 |
|
✗ |
result = hpp::core_idl::Path::_unmarshalObjRef(_n); |
189 |
|
|
|
190 |
|
|
} |
191 |
|
|
|
192 |
|
|
const char* const _0RL_cd_56ec3dbfcdfd2f45_00000000::_user_exns[] = { |
193 |
|
|
hpp::Error::_PD_repoId |
194 |
|
|
}; |
195 |
|
|
|
196 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
197 |
|
|
{ |
198 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
199 |
|
✗ |
hpp::Error _ex; |
200 |
|
✗ |
_ex <<= s; |
201 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
202 |
|
✗ |
throw _ex; |
203 |
|
|
} |
204 |
|
|
|
205 |
|
|
|
206 |
|
|
else { |
207 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
208 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
209 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
210 |
|
|
} |
211 |
|
|
} |
212 |
|
|
|
213 |
|
|
// Local call call-back function. |
214 |
|
|
static void |
215 |
|
✗ |
_0RL_lcfn_56ec3dbfcdfd2f45_10000000(omniCallDescriptor* cd, omniServant* svnt) |
216 |
|
|
{ |
217 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_00000000* tcd = (_0RL_cd_56ec3dbfcdfd2f45_00000000*)cd; |
218 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId); |
219 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
220 |
|
✗ |
tcd->result = impl->makePiecewiseLinearTrajectory(*tcd->arg_0, *tcd->arg_1); |
221 |
|
|
#else |
222 |
|
|
if (!cd->is_upcall()) |
223 |
|
|
tcd->result = impl->makePiecewiseLinearTrajectory(*tcd->arg_0, *tcd->arg_1); |
224 |
|
|
else { |
225 |
|
|
try { |
226 |
|
|
tcd->result = impl->makePiecewiseLinearTrajectory(*tcd->arg_0, *tcd->arg_1); |
227 |
|
|
} |
228 |
|
|
catch(hpp::Error& ex) { |
229 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
230 |
|
|
} |
231 |
|
|
|
232 |
|
|
|
233 |
|
|
} |
234 |
|
|
#endif |
235 |
|
|
|
236 |
|
|
|
237 |
|
|
} |
238 |
|
|
|
239 |
|
✗ |
hpp::core_idl::Path_ptr hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::makePiecewiseLinearTrajectory(const ::hpp::floatSeqSeq& points, const ::hpp::floatSeq& weights) |
240 |
|
|
{ |
241 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_00000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_10000000, "makePiecewiseLinearTrajectory", 30); |
242 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeqSeq&) points; |
243 |
|
✗ |
_call_desc.arg_1 = &(::hpp::floatSeq&) weights; |
244 |
|
|
|
245 |
|
✗ |
_invoke(_call_desc); |
246 |
|
✗ |
return _call_desc.result._retn(); |
247 |
|
|
|
248 |
|
|
|
249 |
|
|
} |
250 |
|
|
|
251 |
|
|
|
252 |
|
|
// |
253 |
|
|
// Code for hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::trajectoryConstraint |
254 |
|
|
|
255 |
|
|
// Proxy call descriptor class. Mangled signature: |
256 |
|
|
// void_i_chpp_mconstraints__idl_mImplicit_e_chpp_mError |
257 |
|
|
class _0RL_cd_56ec3dbfcdfd2f45_20000000 |
258 |
|
|
: public omniCallDescriptor |
259 |
|
|
{ |
260 |
|
|
public: |
261 |
|
✗ |
inline _0RL_cd_56ec3dbfcdfd2f45_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
262 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
263 |
|
|
{ |
264 |
|
|
|
265 |
|
|
} |
266 |
|
|
|
267 |
|
|
void marshalArguments(cdrStream&); |
268 |
|
|
void unmarshalArguments(cdrStream&); |
269 |
|
|
|
270 |
|
|
|
271 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
272 |
|
|
static const char* const _user_exns[]; |
273 |
|
|
|
274 |
|
|
hpp::constraints_idl::Implicit_var arg_0_; |
275 |
|
|
hpp::constraints_idl::Implicit_ptr arg_0; |
276 |
|
|
}; |
277 |
|
|
|
278 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_20000000::marshalArguments(cdrStream& _n) |
279 |
|
|
{ |
280 |
|
✗ |
hpp::constraints_idl::Implicit::_marshalObjRef(arg_0,_n); |
281 |
|
|
|
282 |
|
|
} |
283 |
|
|
|
284 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_20000000::unmarshalArguments(cdrStream& _n) |
285 |
|
|
{ |
286 |
|
✗ |
arg_0_ = hpp::constraints_idl::Implicit::_unmarshalObjRef(_n); |
287 |
|
✗ |
arg_0 = arg_0_.in(); |
288 |
|
|
|
289 |
|
|
} |
290 |
|
|
|
291 |
|
|
const char* const _0RL_cd_56ec3dbfcdfd2f45_20000000::_user_exns[] = { |
292 |
|
|
hpp::Error::_PD_repoId |
293 |
|
|
}; |
294 |
|
|
|
295 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
296 |
|
|
{ |
297 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
298 |
|
✗ |
hpp::Error _ex; |
299 |
|
✗ |
_ex <<= s; |
300 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
301 |
|
✗ |
throw _ex; |
302 |
|
|
} |
303 |
|
|
|
304 |
|
|
|
305 |
|
|
else { |
306 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
307 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
308 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
309 |
|
|
} |
310 |
|
|
} |
311 |
|
|
|
312 |
|
|
// Local call call-back function. |
313 |
|
|
static void |
314 |
|
✗ |
_0RL_lcfn_56ec3dbfcdfd2f45_30000000(omniCallDescriptor* cd, omniServant* svnt) |
315 |
|
|
{ |
316 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_20000000* tcd = (_0RL_cd_56ec3dbfcdfd2f45_20000000*)cd; |
317 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId); |
318 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
319 |
|
✗ |
impl->trajectoryConstraint(tcd->arg_0); |
320 |
|
|
#else |
321 |
|
|
if (!cd->is_upcall()) |
322 |
|
|
impl->trajectoryConstraint(tcd->arg_0); |
323 |
|
|
else { |
324 |
|
|
try { |
325 |
|
|
impl->trajectoryConstraint(tcd->arg_0); |
326 |
|
|
} |
327 |
|
|
catch(hpp::Error& ex) { |
328 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
329 |
|
|
} |
330 |
|
|
|
331 |
|
|
|
332 |
|
|
} |
333 |
|
|
#endif |
334 |
|
|
|
335 |
|
|
|
336 |
|
|
} |
337 |
|
|
|
338 |
|
✗ |
void hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::trajectoryConstraint(::hpp::constraints_idl::Implicit_ptr c) |
339 |
|
|
{ |
340 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_20000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_30000000, "trajectoryConstraint", 21); |
341 |
|
✗ |
_call_desc.arg_0 = c; |
342 |
|
|
|
343 |
|
✗ |
_invoke(_call_desc); |
344 |
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
|
|
} |
348 |
|
|
|
349 |
|
|
|
350 |
|
|
// |
351 |
|
|
// Code for hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::trajectory |
352 |
|
|
|
353 |
|
|
// Proxy call descriptor class. Mangled signature: |
354 |
|
|
// void_i_chpp_mcore__idl_mPath_i_cboolean_e_chpp_mError |
355 |
|
|
class _0RL_cd_56ec3dbfcdfd2f45_40000000 |
356 |
|
|
: public omniCallDescriptor |
357 |
|
|
{ |
358 |
|
|
public: |
359 |
|
✗ |
inline _0RL_cd_56ec3dbfcdfd2f45_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
360 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
361 |
|
|
{ |
362 |
|
|
|
363 |
|
|
} |
364 |
|
|
|
365 |
|
|
void marshalArguments(cdrStream&); |
366 |
|
|
void unmarshalArguments(cdrStream&); |
367 |
|
|
|
368 |
|
|
|
369 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
370 |
|
|
static const char* const _user_exns[]; |
371 |
|
|
|
372 |
|
|
hpp::core_idl::Path_var arg_0_; |
373 |
|
|
hpp::core_idl::Path_ptr arg_0; |
374 |
|
|
::CORBA::Boolean arg_1; |
375 |
|
|
}; |
376 |
|
|
|
377 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_40000000::marshalArguments(cdrStream& _n) |
378 |
|
|
{ |
379 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(arg_0,_n); |
380 |
|
✗ |
_n.marshalBoolean(arg_1); |
381 |
|
|
|
382 |
|
|
} |
383 |
|
|
|
384 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_40000000::unmarshalArguments(cdrStream& _n) |
385 |
|
|
{ |
386 |
|
✗ |
arg_0_ = hpp::core_idl::Path::_unmarshalObjRef(_n); |
387 |
|
✗ |
arg_0 = arg_0_.in(); |
388 |
|
✗ |
arg_1 = _n.unmarshalBoolean(); |
389 |
|
|
|
390 |
|
|
} |
391 |
|
|
|
392 |
|
|
const char* const _0RL_cd_56ec3dbfcdfd2f45_40000000::_user_exns[] = { |
393 |
|
|
hpp::Error::_PD_repoId |
394 |
|
|
}; |
395 |
|
|
|
396 |
|
✗ |
void _0RL_cd_56ec3dbfcdfd2f45_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
397 |
|
|
{ |
398 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
399 |
|
✗ |
hpp::Error _ex; |
400 |
|
✗ |
_ex <<= s; |
401 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
402 |
|
✗ |
throw _ex; |
403 |
|
|
} |
404 |
|
|
|
405 |
|
|
|
406 |
|
|
else { |
407 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
408 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
409 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
410 |
|
|
} |
411 |
|
|
} |
412 |
|
|
|
413 |
|
|
// Local call call-back function. |
414 |
|
|
static void |
415 |
|
✗ |
_0RL_lcfn_56ec3dbfcdfd2f45_50000000(omniCallDescriptor* cd, omniServant* svnt) |
416 |
|
|
{ |
417 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_40000000* tcd = (_0RL_cd_56ec3dbfcdfd2f45_40000000*)cd; |
418 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory* impl = (hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory*) svnt->_ptrToInterface(hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId); |
419 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
420 |
|
✗ |
impl->trajectory(tcd->arg_0, tcd->arg_1); |
421 |
|
|
#else |
422 |
|
|
if (!cd->is_upcall()) |
423 |
|
|
impl->trajectory(tcd->arg_0, tcd->arg_1); |
424 |
|
|
else { |
425 |
|
|
try { |
426 |
|
|
impl->trajectory(tcd->arg_0, tcd->arg_1); |
427 |
|
|
} |
428 |
|
|
catch(hpp::Error& ex) { |
429 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
430 |
|
|
} |
431 |
|
|
|
432 |
|
|
|
433 |
|
|
} |
434 |
|
|
#endif |
435 |
|
|
|
436 |
|
|
|
437 |
|
|
} |
438 |
|
|
|
439 |
|
✗ |
void hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory::trajectory(::hpp::core_idl::Path_ptr eeTraj, ::CORBA::Boolean se3Output) |
440 |
|
|
{ |
441 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_40000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_50000000, "trajectory", 11); |
442 |
|
✗ |
_call_desc.arg_0 = eeTraj; |
443 |
|
✗ |
_call_desc.arg_1 = se3Output; |
444 |
|
|
|
445 |
|
✗ |
_invoke(_call_desc); |
446 |
|
|
|
447 |
|
|
|
448 |
|
|
|
449 |
|
|
} |
450 |
|
|
|
451 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_pof_EndEffectorTrajectory::~_pof_EndEffectorTrajectory() {} |
452 |
|
|
|
453 |
|
|
|
454 |
|
|
omniObjRef* |
455 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_pof_EndEffectorTrajectory::newObjRef(omniIOR* ior, omniIdentity* id) |
456 |
|
|
{ |
457 |
|
✗ |
return new ::hpp::manipulation_idl::steeringMethod::_objref_EndEffectorTrajectory(ior, id); |
458 |
|
|
} |
459 |
|
|
|
460 |
|
|
|
461 |
|
|
::CORBA::Boolean |
462 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_pof_EndEffectorTrajectory::is_a(const char* id) const |
463 |
|
|
{ |
464 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId)) |
465 |
|
✗ |
return 1; |
466 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::SteeringMethod::_PD_repoId)) |
467 |
|
✗ |
return 1; |
468 |
|
|
|
469 |
|
|
|
470 |
|
✗ |
return 0; |
471 |
|
|
} |
472 |
|
|
|
473 |
|
|
const hpp::manipulation_idl::steeringMethod::_pof_EndEffectorTrajectory _the_pof_hpp_mmanipulation__idl_msteeringMethod_mEndEffectorTrajectory; |
474 |
|
|
|
475 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory::~_impl_EndEffectorTrajectory() {} |
476 |
|
|
|
477 |
|
|
|
478 |
|
|
::CORBA::Boolean |
479 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory::_dispatch(omniCallHandle& _handle) |
480 |
|
|
{ |
481 |
|
✗ |
const char* op = _handle.operation_name(); |
482 |
|
|
|
483 |
|
✗ |
if (omni::strMatch(op, "makePiecewiseLinearTrajectory")) { |
484 |
|
|
|
485 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_00000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_10000000, "makePiecewiseLinearTrajectory", 30, 1); |
486 |
|
|
|
487 |
|
✗ |
_handle.upcall(this,_call_desc); |
488 |
|
✗ |
return 1; |
489 |
|
|
} |
490 |
|
|
|
491 |
|
✗ |
if (omni::strMatch(op, "trajectoryConstraint")) { |
492 |
|
|
|
493 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_20000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_30000000, "trajectoryConstraint", 21, 1); |
494 |
|
|
|
495 |
|
✗ |
_handle.upcall(this,_call_desc); |
496 |
|
✗ |
return 1; |
497 |
|
|
} |
498 |
|
|
|
499 |
|
✗ |
if (omni::strMatch(op, "trajectory")) { |
500 |
|
|
|
501 |
|
✗ |
_0RL_cd_56ec3dbfcdfd2f45_40000000 _call_desc(_0RL_lcfn_56ec3dbfcdfd2f45_50000000, "trajectory", 11, 1); |
502 |
|
|
|
503 |
|
✗ |
_handle.upcall(this,_call_desc); |
504 |
|
✗ |
return 1; |
505 |
|
|
} |
506 |
|
|
|
507 |
|
|
|
508 |
|
|
#ifndef _MSC_VER |
509 |
|
✗ |
if (hpp_core_idl__impl_SteeringMethod::_dispatch(_handle)) { |
510 |
|
✗ |
return 1; |
511 |
|
|
} |
512 |
|
|
#else |
513 |
|
|
// Work-around for incorrect MSVC code generation. |
514 |
|
|
if (((hpp_core_idl__impl_SteeringMethod*)this)-> |
515 |
|
|
hpp_core_idl__impl_SteeringMethod::_dispatch(_handle)) { |
516 |
|
|
return 1; |
517 |
|
|
} |
518 |
|
|
#endif |
519 |
|
|
|
520 |
|
|
|
521 |
|
✗ |
return 0; |
522 |
|
|
} |
523 |
|
|
|
524 |
|
|
void* |
525 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory::_ptrToInterface(const char* id) |
526 |
|
|
{ |
527 |
|
✗ |
if (id == ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId) |
528 |
|
✗ |
return (::hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory*) this; |
529 |
|
✗ |
if (id == ::hpp::core_idl::SteeringMethod::_PD_repoId) |
530 |
|
✗ |
return (::hpp::core_idl::_impl_SteeringMethod*) this; |
531 |
|
|
|
532 |
|
|
|
533 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
534 |
|
✗ |
return (void*) 1; |
535 |
|
|
|
536 |
|
✗ |
if (omni::strMatch(id, ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId)) |
537 |
|
✗ |
return (::hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory*) this; |
538 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::SteeringMethod::_PD_repoId)) |
539 |
|
✗ |
return (::hpp::core_idl::_impl_SteeringMethod*) this; |
540 |
|
|
|
541 |
|
|
|
542 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
543 |
|
✗ |
return (void*) 1; |
544 |
|
✗ |
return 0; |
545 |
|
|
} |
546 |
|
|
|
547 |
|
|
const char* |
548 |
|
✗ |
hpp::manipulation_idl::steeringMethod::_impl_EndEffectorTrajectory::_mostDerivedRepoId() |
549 |
|
|
{ |
550 |
|
✗ |
return ::hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::_PD_repoId; |
551 |
|
|
} |
552 |
|
|
|
553 |
|
✗ |
POA_hpp::manipulation_idl::steeringMethod::EndEffectorTrajectory::~EndEffectorTrajectory() {} |
554 |
|
|
|
555 |
|
|
|