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