Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
2 |
|
|
|
3 |
|
|
#include "constraints-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::constraints_idl::DifferentiableFunction_ptr hpp::constraints_idl::DifferentiableFunction_Helper::_nil() { |
18 |
|
✗ |
return ::hpp::constraints_idl::DifferentiableFunction::_nil(); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
✗ |
::CORBA::Boolean hpp::constraints_idl::DifferentiableFunction_Helper::is_nil(::hpp::constraints_idl::DifferentiableFunction_ptr p) { |
22 |
|
✗ |
return ::CORBA::is_nil(p); |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
✗ |
void hpp::constraints_idl::DifferentiableFunction_Helper::release(::hpp::constraints_idl::DifferentiableFunction_ptr p) { |
27 |
|
✗ |
::CORBA::release(p); |
28 |
|
|
} |
29 |
|
|
|
30 |
|
✗ |
void hpp::constraints_idl::DifferentiableFunction_Helper::marshalObjRef(::hpp::constraints_idl::DifferentiableFunction_ptr obj, cdrStream& s) { |
31 |
|
✗ |
::hpp::constraints_idl::DifferentiableFunction::_marshalObjRef(obj, s); |
32 |
|
|
} |
33 |
|
|
|
34 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction_ptr hpp::constraints_idl::DifferentiableFunction_Helper::unmarshalObjRef(cdrStream& s) { |
35 |
|
✗ |
return ::hpp::constraints_idl::DifferentiableFunction::_unmarshalObjRef(s); |
36 |
|
|
} |
37 |
|
|
|
38 |
|
✗ |
void hpp::constraints_idl::DifferentiableFunction_Helper::duplicate(::hpp::constraints_idl::DifferentiableFunction_ptr obj) { |
39 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
40 |
|
|
} |
41 |
|
|
|
42 |
|
|
hpp::constraints_idl::DifferentiableFunction_ptr |
43 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction::_duplicate(::hpp::constraints_idl::DifferentiableFunction_ptr obj) |
44 |
|
|
{ |
45 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
46 |
|
✗ |
return obj; |
47 |
|
|
} |
48 |
|
|
|
49 |
|
|
hpp::constraints_idl::DifferentiableFunction_ptr |
50 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction::_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::constraints_idl::DifferentiableFunction_ptr |
59 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction::_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::constraints_idl::DifferentiableFunction_ptr |
67 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction::_nil() |
68 |
|
|
{ |
69 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
70 |
|
|
static _objref_DifferentiableFunction _the_nil_obj; |
71 |
|
|
return &_the_nil_obj; |
72 |
|
|
#else |
73 |
|
|
static _objref_DifferentiableFunction* _the_nil_ptr = 0; |
74 |
|
✗ |
if (!_the_nil_ptr) { |
75 |
|
✗ |
omni::nilRefLock().lock(); |
76 |
|
✗ |
if (!_the_nil_ptr) { |
77 |
|
✗ |
_the_nil_ptr = new _objref_DifferentiableFunction; |
78 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
79 |
|
|
} |
80 |
|
✗ |
omni::nilRefLock().unlock(); |
81 |
|
|
} |
82 |
|
✗ |
return _the_nil_ptr; |
83 |
|
|
#endif |
84 |
|
|
} |
85 |
|
|
|
86 |
|
|
const char* hpp::constraints_idl::DifferentiableFunction::_PD_repoId = "IDL:hpp/constraints_idl/DifferentiableFunction:1.0"; |
87 |
|
|
|
88 |
|
|
|
89 |
|
✗ |
hpp::constraints_idl::_objref_DifferentiableFunction::~_objref_DifferentiableFunction() { |
90 |
|
|
|
91 |
|
|
} |
92 |
|
|
|
93 |
|
|
|
94 |
|
✗ |
hpp::constraints_idl::_objref_DifferentiableFunction::_objref_DifferentiableFunction(omniIOR* ior, omniIdentity* id) : |
95 |
|
✗ |
omniObjRef(::hpp::constraints_idl::DifferentiableFunction::_PD_repoId, ior, id, 1) |
96 |
|
|
|
97 |
|
|
|
98 |
|
|
{ |
99 |
|
✗ |
_PR_setobj(this); |
100 |
|
|
} |
101 |
|
|
|
102 |
|
|
void* |
103 |
|
✗ |
hpp::constraints_idl::_objref_DifferentiableFunction::_ptrToObjRef(const char* id) |
104 |
|
|
{ |
105 |
|
✗ |
if (id == ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId) |
106 |
|
✗ |
return (::hpp::constraints_idl::DifferentiableFunction_ptr) this; |
107 |
|
|
|
108 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
109 |
|
✗ |
return (::CORBA::Object_ptr) this; |
110 |
|
|
|
111 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
112 |
|
✗ |
return (::hpp::constraints_idl::DifferentiableFunction_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::constraints_idl::DifferentiableFunction::value |
123 |
|
|
|
124 |
|
|
// Proxy call descriptor class. Mangled signature: |
125 |
|
|
// _chpp_mfloatSeq_i_chpp_mfloatSeq_e_chpp_mError |
126 |
|
|
class _0RL_cd_0555b12ec860355d_00000000 |
127 |
|
|
: public omniCallDescriptor |
128 |
|
|
{ |
129 |
|
|
public: |
130 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_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 |
|
|
hpp::floatSeq_var arg_0_; |
146 |
|
|
const hpp::floatSeq* arg_0; |
147 |
|
|
hpp::floatSeq_var result; |
148 |
|
|
}; |
149 |
|
|
|
150 |
|
✗ |
void _0RL_cd_0555b12ec860355d_00000000::marshalArguments(cdrStream& _n) |
151 |
|
|
{ |
152 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
153 |
|
|
|
154 |
|
|
} |
155 |
|
|
|
156 |
|
✗ |
void _0RL_cd_0555b12ec860355d_00000000::unmarshalArguments(cdrStream& _n) |
157 |
|
|
{ |
158 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
159 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
160 |
|
✗ |
arg_0 = &arg_0_.in(); |
161 |
|
|
|
162 |
|
|
} |
163 |
|
|
|
164 |
|
✗ |
void _0RL_cd_0555b12ec860355d_00000000::marshalReturnedValues(cdrStream& _n) |
165 |
|
|
{ |
166 |
|
✗ |
(const hpp::floatSeq&) result >>= _n; |
167 |
|
|
|
168 |
|
|
} |
169 |
|
|
|
170 |
|
✗ |
void _0RL_cd_0555b12ec860355d_00000000::unmarshalReturnedValues(cdrStream& _n) |
171 |
|
|
{ |
172 |
|
✗ |
result = new hpp::floatSeq; |
173 |
|
✗ |
(hpp::floatSeq&)result <<= _n; |
174 |
|
|
|
175 |
|
|
} |
176 |
|
|
|
177 |
|
|
const char* const _0RL_cd_0555b12ec860355d_00000000::_user_exns[] = { |
178 |
|
|
hpp::Error::_PD_repoId |
179 |
|
|
}; |
180 |
|
|
|
181 |
|
✗ |
void _0RL_cd_0555b12ec860355d_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
182 |
|
|
{ |
183 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
184 |
|
✗ |
hpp::Error _ex; |
185 |
|
✗ |
_ex <<= s; |
186 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
187 |
|
✗ |
throw _ex; |
188 |
|
|
} |
189 |
|
|
|
190 |
|
|
|
191 |
|
|
else { |
192 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
193 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
194 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
195 |
|
|
} |
196 |
|
|
} |
197 |
|
|
|
198 |
|
|
// Local call call-back function. |
199 |
|
|
static void |
200 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_10000000(omniCallDescriptor* cd, omniServant* svnt) |
201 |
|
|
{ |
202 |
|
✗ |
_0RL_cd_0555b12ec860355d_00000000* tcd = (_0RL_cd_0555b12ec860355d_00000000*)cd; |
203 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
204 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
205 |
|
✗ |
tcd->result = impl->value(*tcd->arg_0); |
206 |
|
|
#else |
207 |
|
|
if (!cd->is_upcall()) |
208 |
|
|
tcd->result = impl->value(*tcd->arg_0); |
209 |
|
|
else { |
210 |
|
|
try { |
211 |
|
|
tcd->result = impl->value(*tcd->arg_0); |
212 |
|
|
} |
213 |
|
|
catch(hpp::Error& ex) { |
214 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
215 |
|
|
} |
216 |
|
|
|
217 |
|
|
|
218 |
|
|
} |
219 |
|
|
#endif |
220 |
|
|
|
221 |
|
|
|
222 |
|
|
} |
223 |
|
|
|
224 |
|
✗ |
hpp::floatSeq* hpp::constraints_idl::_objref_DifferentiableFunction::value(const ::hpp::floatSeq& arg) |
225 |
|
|
{ |
226 |
|
✗ |
_0RL_cd_0555b12ec860355d_00000000 _call_desc(_0RL_lcfn_0555b12ec860355d_10000000, "value", 6); |
227 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) arg; |
228 |
|
|
|
229 |
|
✗ |
_invoke(_call_desc); |
230 |
|
✗ |
return _call_desc.result._retn(); |
231 |
|
|
|
232 |
|
|
|
233 |
|
|
} |
234 |
|
|
|
235 |
|
|
|
236 |
|
|
// |
237 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::jacobian |
238 |
|
|
|
239 |
|
|
// Proxy call descriptor class. Mangled signature: |
240 |
|
|
// _chpp_mfloatSeqSeq_i_chpp_mfloatSeq_e_chpp_mError |
241 |
|
|
class _0RL_cd_0555b12ec860355d_20000000 |
242 |
|
|
: public omniCallDescriptor |
243 |
|
|
{ |
244 |
|
|
public: |
245 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
246 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
247 |
|
|
{ |
248 |
|
|
|
249 |
|
|
} |
250 |
|
|
|
251 |
|
|
void marshalArguments(cdrStream&); |
252 |
|
|
void unmarshalArguments(cdrStream&); |
253 |
|
|
|
254 |
|
|
void unmarshalReturnedValues(cdrStream&); |
255 |
|
|
void marshalReturnedValues(cdrStream&); |
256 |
|
|
|
257 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
258 |
|
|
static const char* const _user_exns[]; |
259 |
|
|
|
260 |
|
|
hpp::floatSeq_var arg_0_; |
261 |
|
|
const hpp::floatSeq* arg_0; |
262 |
|
|
hpp::floatSeqSeq_var result; |
263 |
|
|
}; |
264 |
|
|
|
265 |
|
✗ |
void _0RL_cd_0555b12ec860355d_20000000::marshalArguments(cdrStream& _n) |
266 |
|
|
{ |
267 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
268 |
|
|
|
269 |
|
|
} |
270 |
|
|
|
271 |
|
✗ |
void _0RL_cd_0555b12ec860355d_20000000::unmarshalArguments(cdrStream& _n) |
272 |
|
|
{ |
273 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
274 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
275 |
|
✗ |
arg_0 = &arg_0_.in(); |
276 |
|
|
|
277 |
|
|
} |
278 |
|
|
|
279 |
|
✗ |
void _0RL_cd_0555b12ec860355d_20000000::marshalReturnedValues(cdrStream& _n) |
280 |
|
|
{ |
281 |
|
✗ |
(const hpp::floatSeqSeq&) result >>= _n; |
282 |
|
|
|
283 |
|
|
} |
284 |
|
|
|
285 |
|
✗ |
void _0RL_cd_0555b12ec860355d_20000000::unmarshalReturnedValues(cdrStream& _n) |
286 |
|
|
{ |
287 |
|
✗ |
result = new hpp::floatSeqSeq; |
288 |
|
✗ |
(hpp::floatSeqSeq&)result <<= _n; |
289 |
|
|
|
290 |
|
|
} |
291 |
|
|
|
292 |
|
|
const char* const _0RL_cd_0555b12ec860355d_20000000::_user_exns[] = { |
293 |
|
|
hpp::Error::_PD_repoId |
294 |
|
|
}; |
295 |
|
|
|
296 |
|
✗ |
void _0RL_cd_0555b12ec860355d_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
297 |
|
|
{ |
298 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
299 |
|
✗ |
hpp::Error _ex; |
300 |
|
✗ |
_ex <<= s; |
301 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
302 |
|
✗ |
throw _ex; |
303 |
|
|
} |
304 |
|
|
|
305 |
|
|
|
306 |
|
|
else { |
307 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
308 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
309 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
310 |
|
|
} |
311 |
|
|
} |
312 |
|
|
|
313 |
|
|
// Local call call-back function. |
314 |
|
|
static void |
315 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_30000000(omniCallDescriptor* cd, omniServant* svnt) |
316 |
|
|
{ |
317 |
|
✗ |
_0RL_cd_0555b12ec860355d_20000000* tcd = (_0RL_cd_0555b12ec860355d_20000000*)cd; |
318 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
319 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
320 |
|
✗ |
tcd->result = impl->jacobian(*tcd->arg_0); |
321 |
|
|
#else |
322 |
|
|
if (!cd->is_upcall()) |
323 |
|
|
tcd->result = impl->jacobian(*tcd->arg_0); |
324 |
|
|
else { |
325 |
|
|
try { |
326 |
|
|
tcd->result = impl->jacobian(*tcd->arg_0); |
327 |
|
|
} |
328 |
|
|
catch(hpp::Error& ex) { |
329 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
330 |
|
|
} |
331 |
|
|
|
332 |
|
|
|
333 |
|
|
} |
334 |
|
|
#endif |
335 |
|
|
|
336 |
|
|
|
337 |
|
|
} |
338 |
|
|
|
339 |
|
✗ |
hpp::floatSeqSeq* hpp::constraints_idl::_objref_DifferentiableFunction::jacobian(const ::hpp::floatSeq& arg) |
340 |
|
|
{ |
341 |
|
✗ |
_0RL_cd_0555b12ec860355d_20000000 _call_desc(_0RL_lcfn_0555b12ec860355d_30000000, "jacobian", 9); |
342 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) arg; |
343 |
|
|
|
344 |
|
✗ |
_invoke(_call_desc); |
345 |
|
✗ |
return _call_desc.result._retn(); |
346 |
|
|
|
347 |
|
|
|
348 |
|
|
} |
349 |
|
|
|
350 |
|
|
|
351 |
|
|
// |
352 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::inputSize |
353 |
|
|
|
354 |
|
|
// Proxy call descriptor class. Mangled signature: |
355 |
|
|
// _clonglong_e_chpp_mError |
356 |
|
|
class _0RL_cd_0555b12ec860355d_40000000 |
357 |
|
|
: public omniCallDescriptor |
358 |
|
|
{ |
359 |
|
|
public: |
360 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
361 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
362 |
|
|
{ |
363 |
|
|
|
364 |
|
|
} |
365 |
|
|
|
366 |
|
|
|
367 |
|
|
void unmarshalReturnedValues(cdrStream&); |
368 |
|
|
void marshalReturnedValues(cdrStream&); |
369 |
|
|
|
370 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
371 |
|
|
static const char* const _user_exns[]; |
372 |
|
|
|
373 |
|
|
hpp::size_type result; |
374 |
|
|
}; |
375 |
|
|
|
376 |
|
✗ |
void _0RL_cd_0555b12ec860355d_40000000::marshalReturnedValues(cdrStream& _n) |
377 |
|
|
{ |
378 |
|
✗ |
result >>= _n; |
379 |
|
|
|
380 |
|
|
} |
381 |
|
|
|
382 |
|
✗ |
void _0RL_cd_0555b12ec860355d_40000000::unmarshalReturnedValues(cdrStream& _n) |
383 |
|
|
{ |
384 |
|
✗ |
(hpp::size_type&)result <<= _n; |
385 |
|
|
|
386 |
|
|
} |
387 |
|
|
|
388 |
|
|
const char* const _0RL_cd_0555b12ec860355d_40000000::_user_exns[] = { |
389 |
|
|
hpp::Error::_PD_repoId |
390 |
|
|
}; |
391 |
|
|
|
392 |
|
✗ |
void _0RL_cd_0555b12ec860355d_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
393 |
|
|
{ |
394 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
395 |
|
✗ |
hpp::Error _ex; |
396 |
|
✗ |
_ex <<= s; |
397 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
398 |
|
✗ |
throw _ex; |
399 |
|
|
} |
400 |
|
|
|
401 |
|
|
|
402 |
|
|
else { |
403 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
404 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
405 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
406 |
|
|
} |
407 |
|
|
} |
408 |
|
|
|
409 |
|
|
// Local call call-back function. |
410 |
|
|
static void |
411 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_50000000(omniCallDescriptor* cd, omniServant* svnt) |
412 |
|
|
{ |
413 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
414 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
415 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
416 |
|
✗ |
tcd->result = impl->inputSize(); |
417 |
|
|
#else |
418 |
|
|
if (!cd->is_upcall()) |
419 |
|
|
tcd->result = impl->inputSize(); |
420 |
|
|
else { |
421 |
|
|
try { |
422 |
|
|
tcd->result = impl->inputSize(); |
423 |
|
|
} |
424 |
|
|
catch(hpp::Error& ex) { |
425 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
426 |
|
|
} |
427 |
|
|
|
428 |
|
|
|
429 |
|
|
} |
430 |
|
|
#endif |
431 |
|
|
|
432 |
|
|
|
433 |
|
|
} |
434 |
|
|
|
435 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_DifferentiableFunction::inputSize() |
436 |
|
|
{ |
437 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_50000000, "inputSize", 10); |
438 |
|
|
|
439 |
|
|
|
440 |
|
✗ |
_invoke(_call_desc); |
441 |
|
✗ |
return _call_desc.result; |
442 |
|
|
|
443 |
|
|
|
444 |
|
|
} |
445 |
|
|
|
446 |
|
|
|
447 |
|
|
// |
448 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::inputDerivativeSize |
449 |
|
|
|
450 |
|
|
// Local call call-back function. |
451 |
|
|
static void |
452 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_60000000(omniCallDescriptor* cd, omniServant* svnt) |
453 |
|
|
{ |
454 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
455 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
456 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
457 |
|
✗ |
tcd->result = impl->inputDerivativeSize(); |
458 |
|
|
#else |
459 |
|
|
if (!cd->is_upcall()) |
460 |
|
|
tcd->result = impl->inputDerivativeSize(); |
461 |
|
|
else { |
462 |
|
|
try { |
463 |
|
|
tcd->result = impl->inputDerivativeSize(); |
464 |
|
|
} |
465 |
|
|
catch(hpp::Error& ex) { |
466 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
467 |
|
|
} |
468 |
|
|
|
469 |
|
|
|
470 |
|
|
} |
471 |
|
|
#endif |
472 |
|
|
|
473 |
|
|
|
474 |
|
|
} |
475 |
|
|
|
476 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_DifferentiableFunction::inputDerivativeSize() |
477 |
|
|
{ |
478 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_60000000, "inputDerivativeSize", 20); |
479 |
|
|
|
480 |
|
|
|
481 |
|
✗ |
_invoke(_call_desc); |
482 |
|
✗ |
return _call_desc.result; |
483 |
|
|
|
484 |
|
|
|
485 |
|
|
} |
486 |
|
|
|
487 |
|
|
|
488 |
|
|
// |
489 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::outputSize |
490 |
|
|
|
491 |
|
|
// Local call call-back function. |
492 |
|
|
static void |
493 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_70000000(omniCallDescriptor* cd, omniServant* svnt) |
494 |
|
|
{ |
495 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
496 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
497 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
498 |
|
✗ |
tcd->result = impl->outputSize(); |
499 |
|
|
#else |
500 |
|
|
if (!cd->is_upcall()) |
501 |
|
|
tcd->result = impl->outputSize(); |
502 |
|
|
else { |
503 |
|
|
try { |
504 |
|
|
tcd->result = impl->outputSize(); |
505 |
|
|
} |
506 |
|
|
catch(hpp::Error& ex) { |
507 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
508 |
|
|
} |
509 |
|
|
|
510 |
|
|
|
511 |
|
|
} |
512 |
|
|
#endif |
513 |
|
|
|
514 |
|
|
|
515 |
|
|
} |
516 |
|
|
|
517 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_DifferentiableFunction::outputSize() |
518 |
|
|
{ |
519 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_70000000, "outputSize", 11); |
520 |
|
|
|
521 |
|
|
|
522 |
|
✗ |
_invoke(_call_desc); |
523 |
|
✗ |
return _call_desc.result; |
524 |
|
|
|
525 |
|
|
|
526 |
|
|
} |
527 |
|
|
|
528 |
|
|
|
529 |
|
|
// |
530 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::outputDerivativeSize |
531 |
|
|
|
532 |
|
|
// Local call call-back function. |
533 |
|
|
static void |
534 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_80000000(omniCallDescriptor* cd, omniServant* svnt) |
535 |
|
|
{ |
536 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
537 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
538 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
539 |
|
✗ |
tcd->result = impl->outputDerivativeSize(); |
540 |
|
|
#else |
541 |
|
|
if (!cd->is_upcall()) |
542 |
|
|
tcd->result = impl->outputDerivativeSize(); |
543 |
|
|
else { |
544 |
|
|
try { |
545 |
|
|
tcd->result = impl->outputDerivativeSize(); |
546 |
|
|
} |
547 |
|
|
catch(hpp::Error& ex) { |
548 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
549 |
|
|
} |
550 |
|
|
|
551 |
|
|
|
552 |
|
|
} |
553 |
|
|
#endif |
554 |
|
|
|
555 |
|
|
|
556 |
|
|
} |
557 |
|
|
|
558 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_DifferentiableFunction::outputDerivativeSize() |
559 |
|
|
{ |
560 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_80000000, "outputDerivativeSize", 21); |
561 |
|
|
|
562 |
|
|
|
563 |
|
✗ |
_invoke(_call_desc); |
564 |
|
✗ |
return _call_desc.result; |
565 |
|
|
|
566 |
|
|
|
567 |
|
|
} |
568 |
|
|
|
569 |
|
|
|
570 |
|
|
// |
571 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::name |
572 |
|
|
|
573 |
|
|
// Proxy call descriptor class. Mangled signature: |
574 |
|
|
// _cstring_e_chpp_mError |
575 |
|
|
class _0RL_cd_0555b12ec860355d_90000000 |
576 |
|
|
: public omniCallDescriptor |
577 |
|
|
{ |
578 |
|
|
public: |
579 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_90000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
580 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
581 |
|
|
{ |
582 |
|
|
|
583 |
|
|
} |
584 |
|
|
|
585 |
|
|
|
586 |
|
|
void unmarshalReturnedValues(cdrStream&); |
587 |
|
|
void marshalReturnedValues(cdrStream&); |
588 |
|
|
|
589 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
590 |
|
|
static const char* const _user_exns[]; |
591 |
|
|
|
592 |
|
|
::CORBA::String_var result; |
593 |
|
|
}; |
594 |
|
|
|
595 |
|
✗ |
void _0RL_cd_0555b12ec860355d_90000000::marshalReturnedValues(cdrStream& _n) |
596 |
|
|
{ |
597 |
|
✗ |
_n.marshalString(result,0); |
598 |
|
|
|
599 |
|
|
} |
600 |
|
|
|
601 |
|
✗ |
void _0RL_cd_0555b12ec860355d_90000000::unmarshalReturnedValues(cdrStream& _n) |
602 |
|
|
{ |
603 |
|
✗ |
result = _n.unmarshalString(0); |
604 |
|
|
|
605 |
|
|
} |
606 |
|
|
|
607 |
|
|
const char* const _0RL_cd_0555b12ec860355d_90000000::_user_exns[] = { |
608 |
|
|
hpp::Error::_PD_repoId |
609 |
|
|
}; |
610 |
|
|
|
611 |
|
✗ |
void _0RL_cd_0555b12ec860355d_90000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
612 |
|
|
{ |
613 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
614 |
|
✗ |
hpp::Error _ex; |
615 |
|
✗ |
_ex <<= s; |
616 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
617 |
|
✗ |
throw _ex; |
618 |
|
|
} |
619 |
|
|
|
620 |
|
|
|
621 |
|
|
else { |
622 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
623 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
624 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
625 |
|
|
} |
626 |
|
|
} |
627 |
|
|
|
628 |
|
|
// Local call call-back function. |
629 |
|
|
static void |
630 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_a0000000(omniCallDescriptor* cd, omniServant* svnt) |
631 |
|
|
{ |
632 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000* tcd = (_0RL_cd_0555b12ec860355d_90000000*)cd; |
633 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
634 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
635 |
|
✗ |
tcd->result = impl->name(); |
636 |
|
|
#else |
637 |
|
|
if (!cd->is_upcall()) |
638 |
|
|
tcd->result = impl->name(); |
639 |
|
|
else { |
640 |
|
|
try { |
641 |
|
|
tcd->result = impl->name(); |
642 |
|
|
} |
643 |
|
|
catch(hpp::Error& ex) { |
644 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
645 |
|
|
} |
646 |
|
|
|
647 |
|
|
|
648 |
|
|
} |
649 |
|
|
#endif |
650 |
|
|
|
651 |
|
|
|
652 |
|
|
} |
653 |
|
|
|
654 |
|
✗ |
char* hpp::constraints_idl::_objref_DifferentiableFunction::name() |
655 |
|
|
{ |
656 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_a0000000, "name", 5); |
657 |
|
|
|
658 |
|
|
|
659 |
|
✗ |
_invoke(_call_desc); |
660 |
|
✗ |
return _call_desc.result._retn(); |
661 |
|
|
|
662 |
|
|
|
663 |
|
|
} |
664 |
|
|
|
665 |
|
|
|
666 |
|
|
// |
667 |
|
|
// Code for hpp::constraints_idl::DifferentiableFunction::str |
668 |
|
|
|
669 |
|
|
// Local call call-back function. |
670 |
|
|
static void |
671 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_b0000000(omniCallDescriptor* cd, omniServant* svnt) |
672 |
|
|
{ |
673 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000* tcd = (_0RL_cd_0555b12ec860355d_90000000*)cd; |
674 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction* impl = (hpp::constraints_idl::_impl_DifferentiableFunction*) svnt->_ptrToInterface(hpp::constraints_idl::DifferentiableFunction::_PD_repoId); |
675 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
676 |
|
✗ |
tcd->result = impl->str(); |
677 |
|
|
#else |
678 |
|
|
if (!cd->is_upcall()) |
679 |
|
|
tcd->result = impl->str(); |
680 |
|
|
else { |
681 |
|
|
try { |
682 |
|
|
tcd->result = impl->str(); |
683 |
|
|
} |
684 |
|
|
catch(hpp::Error& ex) { |
685 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
686 |
|
|
} |
687 |
|
|
|
688 |
|
|
|
689 |
|
|
} |
690 |
|
|
#endif |
691 |
|
|
|
692 |
|
|
|
693 |
|
|
} |
694 |
|
|
|
695 |
|
✗ |
char* hpp::constraints_idl::_objref_DifferentiableFunction::str() |
696 |
|
|
{ |
697 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_b0000000, "str", 4); |
698 |
|
|
|
699 |
|
|
|
700 |
|
✗ |
_invoke(_call_desc); |
701 |
|
✗ |
return _call_desc.result._retn(); |
702 |
|
|
|
703 |
|
|
|
704 |
|
|
} |
705 |
|
|
|
706 |
|
16 |
hpp::constraints_idl::_pof_DifferentiableFunction::~_pof_DifferentiableFunction() {} |
707 |
|
|
|
708 |
|
|
|
709 |
|
|
omniObjRef* |
710 |
|
✗ |
hpp::constraints_idl::_pof_DifferentiableFunction::newObjRef(omniIOR* ior, omniIdentity* id) |
711 |
|
|
{ |
712 |
|
✗ |
return new ::hpp::constraints_idl::_objref_DifferentiableFunction(ior, id); |
713 |
|
|
} |
714 |
|
|
|
715 |
|
|
|
716 |
|
|
::CORBA::Boolean |
717 |
|
✗ |
hpp::constraints_idl::_pof_DifferentiableFunction::is_a(const char* id) const |
718 |
|
|
{ |
719 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
720 |
|
✗ |
return 1; |
721 |
|
|
|
722 |
|
✗ |
return 0; |
723 |
|
|
} |
724 |
|
|
|
725 |
|
|
const hpp::constraints_idl::_pof_DifferentiableFunction _the_pof_hpp_mconstraints__idl_mDifferentiableFunction; |
726 |
|
|
|
727 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction::~_impl_DifferentiableFunction() {} |
728 |
|
|
|
729 |
|
|
|
730 |
|
|
::CORBA::Boolean |
731 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction::_dispatch(omniCallHandle& _handle) |
732 |
|
|
{ |
733 |
|
✗ |
const char* op = _handle.operation_name(); |
734 |
|
|
|
735 |
|
✗ |
if (omni::strMatch(op, "value")) { |
736 |
|
|
|
737 |
|
✗ |
_0RL_cd_0555b12ec860355d_00000000 _call_desc(_0RL_lcfn_0555b12ec860355d_10000000, "value", 6, 1); |
738 |
|
|
|
739 |
|
✗ |
_handle.upcall(this,_call_desc); |
740 |
|
✗ |
return 1; |
741 |
|
|
} |
742 |
|
|
|
743 |
|
✗ |
if (omni::strMatch(op, "jacobian")) { |
744 |
|
|
|
745 |
|
✗ |
_0RL_cd_0555b12ec860355d_20000000 _call_desc(_0RL_lcfn_0555b12ec860355d_30000000, "jacobian", 9, 1); |
746 |
|
|
|
747 |
|
✗ |
_handle.upcall(this,_call_desc); |
748 |
|
✗ |
return 1; |
749 |
|
|
} |
750 |
|
|
|
751 |
|
✗ |
if (omni::strMatch(op, "inputSize")) { |
752 |
|
|
|
753 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_50000000, "inputSize", 10, 1); |
754 |
|
|
|
755 |
|
✗ |
_handle.upcall(this,_call_desc); |
756 |
|
✗ |
return 1; |
757 |
|
|
} |
758 |
|
|
|
759 |
|
✗ |
if (omni::strMatch(op, "inputDerivativeSize")) { |
760 |
|
|
|
761 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_60000000, "inputDerivativeSize", 20, 1); |
762 |
|
|
|
763 |
|
✗ |
_handle.upcall(this,_call_desc); |
764 |
|
✗ |
return 1; |
765 |
|
|
} |
766 |
|
|
|
767 |
|
✗ |
if (omni::strMatch(op, "outputSize")) { |
768 |
|
|
|
769 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_70000000, "outputSize", 11, 1); |
770 |
|
|
|
771 |
|
✗ |
_handle.upcall(this,_call_desc); |
772 |
|
✗ |
return 1; |
773 |
|
|
} |
774 |
|
|
|
775 |
|
✗ |
if (omni::strMatch(op, "outputDerivativeSize")) { |
776 |
|
|
|
777 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_80000000, "outputDerivativeSize", 21, 1); |
778 |
|
|
|
779 |
|
✗ |
_handle.upcall(this,_call_desc); |
780 |
|
✗ |
return 1; |
781 |
|
|
} |
782 |
|
|
|
783 |
|
✗ |
if (omni::strMatch(op, "name")) { |
784 |
|
|
|
785 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_a0000000, "name", 5, 1); |
786 |
|
|
|
787 |
|
✗ |
_handle.upcall(this,_call_desc); |
788 |
|
✗ |
return 1; |
789 |
|
|
} |
790 |
|
|
|
791 |
|
✗ |
if (omni::strMatch(op, "str")) { |
792 |
|
|
|
793 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_b0000000, "str", 4, 1); |
794 |
|
|
|
795 |
|
✗ |
_handle.upcall(this,_call_desc); |
796 |
|
✗ |
return 1; |
797 |
|
|
} |
798 |
|
|
|
799 |
|
|
|
800 |
|
✗ |
return 0; |
801 |
|
|
} |
802 |
|
|
|
803 |
|
|
void* |
804 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction::_ptrToInterface(const char* id) |
805 |
|
|
{ |
806 |
|
✗ |
if (id == ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId) |
807 |
|
✗ |
return (::hpp::constraints_idl::_impl_DifferentiableFunction*) this; |
808 |
|
|
|
809 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
810 |
|
✗ |
return (void*) 1; |
811 |
|
|
|
812 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
813 |
|
✗ |
return (::hpp::constraints_idl::_impl_DifferentiableFunction*) this; |
814 |
|
|
|
815 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
816 |
|
✗ |
return (void*) 1; |
817 |
|
✗ |
return 0; |
818 |
|
|
} |
819 |
|
|
|
820 |
|
|
const char* |
821 |
|
✗ |
hpp::constraints_idl::_impl_DifferentiableFunction::_mostDerivedRepoId() |
822 |
|
|
{ |
823 |
|
✗ |
return ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId; |
824 |
|
|
} |
825 |
|
|
|
826 |
|
✗ |
hpp::constraints_idl::Implicit_ptr hpp::constraints_idl::Implicit_Helper::_nil() { |
827 |
|
✗ |
return ::hpp::constraints_idl::Implicit::_nil(); |
828 |
|
|
} |
829 |
|
|
|
830 |
|
✗ |
::CORBA::Boolean hpp::constraints_idl::Implicit_Helper::is_nil(::hpp::constraints_idl::Implicit_ptr p) { |
831 |
|
✗ |
return ::CORBA::is_nil(p); |
832 |
|
|
|
833 |
|
|
} |
834 |
|
|
|
835 |
|
✗ |
void hpp::constraints_idl::Implicit_Helper::release(::hpp::constraints_idl::Implicit_ptr p) { |
836 |
|
✗ |
::CORBA::release(p); |
837 |
|
|
} |
838 |
|
|
|
839 |
|
✗ |
void hpp::constraints_idl::Implicit_Helper::marshalObjRef(::hpp::constraints_idl::Implicit_ptr obj, cdrStream& s) { |
840 |
|
✗ |
::hpp::constraints_idl::Implicit::_marshalObjRef(obj, s); |
841 |
|
|
} |
842 |
|
|
|
843 |
|
✗ |
hpp::constraints_idl::Implicit_ptr hpp::constraints_idl::Implicit_Helper::unmarshalObjRef(cdrStream& s) { |
844 |
|
✗ |
return ::hpp::constraints_idl::Implicit::_unmarshalObjRef(s); |
845 |
|
|
} |
846 |
|
|
|
847 |
|
✗ |
void hpp::constraints_idl::Implicit_Helper::duplicate(::hpp::constraints_idl::Implicit_ptr obj) { |
848 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
849 |
|
|
} |
850 |
|
|
|
851 |
|
|
hpp::constraints_idl::Implicit_ptr |
852 |
|
✗ |
hpp::constraints_idl::Implicit::_duplicate(::hpp::constraints_idl::Implicit_ptr obj) |
853 |
|
|
{ |
854 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
855 |
|
✗ |
return obj; |
856 |
|
|
} |
857 |
|
|
|
858 |
|
|
hpp::constraints_idl::Implicit_ptr |
859 |
|
✗ |
hpp::constraints_idl::Implicit::_narrow(::CORBA::Object_ptr obj) |
860 |
|
|
{ |
861 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
862 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
863 |
|
✗ |
return e ? e : _nil(); |
864 |
|
|
} |
865 |
|
|
|
866 |
|
|
|
867 |
|
|
hpp::constraints_idl::Implicit_ptr |
868 |
|
✗ |
hpp::constraints_idl::Implicit::_unchecked_narrow(::CORBA::Object_ptr obj) |
869 |
|
|
{ |
870 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
871 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
872 |
|
✗ |
return e ? e : _nil(); |
873 |
|
|
} |
874 |
|
|
|
875 |
|
|
hpp::constraints_idl::Implicit_ptr |
876 |
|
✗ |
hpp::constraints_idl::Implicit::_nil() |
877 |
|
|
{ |
878 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
879 |
|
|
static _objref_Implicit _the_nil_obj; |
880 |
|
|
return &_the_nil_obj; |
881 |
|
|
#else |
882 |
|
|
static _objref_Implicit* _the_nil_ptr = 0; |
883 |
|
✗ |
if (!_the_nil_ptr) { |
884 |
|
✗ |
omni::nilRefLock().lock(); |
885 |
|
✗ |
if (!_the_nil_ptr) { |
886 |
|
✗ |
_the_nil_ptr = new _objref_Implicit; |
887 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
888 |
|
|
} |
889 |
|
✗ |
omni::nilRefLock().unlock(); |
890 |
|
|
} |
891 |
|
✗ |
return _the_nil_ptr; |
892 |
|
|
#endif |
893 |
|
|
} |
894 |
|
|
|
895 |
|
|
const char* hpp::constraints_idl::Implicit::_PD_repoId = "IDL:hpp/constraints_idl/Implicit:1.0"; |
896 |
|
|
|
897 |
|
|
|
898 |
|
✗ |
hpp::constraints_idl::_objref_Implicit::~_objref_Implicit() { |
899 |
|
|
|
900 |
|
|
} |
901 |
|
|
|
902 |
|
|
|
903 |
|
✗ |
hpp::constraints_idl::_objref_Implicit::_objref_Implicit(omniIOR* ior, omniIdentity* id) : |
904 |
|
✗ |
omniObjRef(::hpp::constraints_idl::Implicit::_PD_repoId, ior, id, 1) |
905 |
|
|
|
906 |
|
|
|
907 |
|
|
{ |
908 |
|
✗ |
_PR_setobj(this); |
909 |
|
|
} |
910 |
|
|
|
911 |
|
|
void* |
912 |
|
✗ |
hpp::constraints_idl::_objref_Implicit::_ptrToObjRef(const char* id) |
913 |
|
|
{ |
914 |
|
✗ |
if (id == ::hpp::constraints_idl::Implicit::_PD_repoId) |
915 |
|
✗ |
return (::hpp::constraints_idl::Implicit_ptr) this; |
916 |
|
|
|
917 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
918 |
|
✗ |
return (::CORBA::Object_ptr) this; |
919 |
|
|
|
920 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::Implicit::_PD_repoId)) |
921 |
|
✗ |
return (::hpp::constraints_idl::Implicit_ptr) this; |
922 |
|
|
|
923 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
924 |
|
✗ |
return (::CORBA::Object_ptr) this; |
925 |
|
|
|
926 |
|
✗ |
return 0; |
927 |
|
|
} |
928 |
|
|
|
929 |
|
|
|
930 |
|
|
// |
931 |
|
|
// Code for hpp::constraints_idl::Implicit::function |
932 |
|
|
|
933 |
|
|
// Proxy call descriptor class. Mangled signature: |
934 |
|
|
// _chpp_mconstraints__idl_mDifferentiableFunction_e_chpp_mError |
935 |
|
|
class _0RL_cd_0555b12ec860355d_c0000000 |
936 |
|
|
: public omniCallDescriptor |
937 |
|
|
{ |
938 |
|
|
public: |
939 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_c0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
940 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
941 |
|
|
{ |
942 |
|
|
|
943 |
|
|
} |
944 |
|
|
|
945 |
|
|
|
946 |
|
|
void unmarshalReturnedValues(cdrStream&); |
947 |
|
|
void marshalReturnedValues(cdrStream&); |
948 |
|
|
|
949 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
950 |
|
|
static const char* const _user_exns[]; |
951 |
|
|
|
952 |
|
|
hpp::constraints_idl::DifferentiableFunction_var result; |
953 |
|
|
}; |
954 |
|
|
|
955 |
|
✗ |
void _0RL_cd_0555b12ec860355d_c0000000::marshalReturnedValues(cdrStream& _n) |
956 |
|
|
{ |
957 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction::_marshalObjRef(result,_n); |
958 |
|
|
|
959 |
|
|
} |
960 |
|
|
|
961 |
|
✗ |
void _0RL_cd_0555b12ec860355d_c0000000::unmarshalReturnedValues(cdrStream& _n) |
962 |
|
|
{ |
963 |
|
✗ |
result = hpp::constraints_idl::DifferentiableFunction::_unmarshalObjRef(_n); |
964 |
|
|
|
965 |
|
|
} |
966 |
|
|
|
967 |
|
|
const char* const _0RL_cd_0555b12ec860355d_c0000000::_user_exns[] = { |
968 |
|
|
hpp::Error::_PD_repoId |
969 |
|
|
}; |
970 |
|
|
|
971 |
|
✗ |
void _0RL_cd_0555b12ec860355d_c0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
972 |
|
|
{ |
973 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
974 |
|
✗ |
hpp::Error _ex; |
975 |
|
✗ |
_ex <<= s; |
976 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
977 |
|
✗ |
throw _ex; |
978 |
|
|
} |
979 |
|
|
|
980 |
|
|
|
981 |
|
|
else { |
982 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
983 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
984 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
985 |
|
|
} |
986 |
|
|
} |
987 |
|
|
|
988 |
|
|
// Local call call-back function. |
989 |
|
|
static void |
990 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_d0000000(omniCallDescriptor* cd, omniServant* svnt) |
991 |
|
|
{ |
992 |
|
✗ |
_0RL_cd_0555b12ec860355d_c0000000* tcd = (_0RL_cd_0555b12ec860355d_c0000000*)cd; |
993 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
994 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
995 |
|
✗ |
tcd->result = impl->function(); |
996 |
|
|
#else |
997 |
|
|
if (!cd->is_upcall()) |
998 |
|
|
tcd->result = impl->function(); |
999 |
|
|
else { |
1000 |
|
|
try { |
1001 |
|
|
tcd->result = impl->function(); |
1002 |
|
|
} |
1003 |
|
|
catch(hpp::Error& ex) { |
1004 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1005 |
|
|
} |
1006 |
|
|
|
1007 |
|
|
|
1008 |
|
|
} |
1009 |
|
|
#endif |
1010 |
|
|
|
1011 |
|
|
|
1012 |
|
|
} |
1013 |
|
|
|
1014 |
|
✗ |
hpp::constraints_idl::DifferentiableFunction_ptr hpp::constraints_idl::_objref_Implicit::function() |
1015 |
|
|
{ |
1016 |
|
✗ |
_0RL_cd_0555b12ec860355d_c0000000 _call_desc(_0RL_lcfn_0555b12ec860355d_d0000000, "function", 9); |
1017 |
|
|
|
1018 |
|
|
|
1019 |
|
✗ |
_invoke(_call_desc); |
1020 |
|
✗ |
return _call_desc.result._retn(); |
1021 |
|
|
|
1022 |
|
|
|
1023 |
|
|
} |
1024 |
|
|
|
1025 |
|
|
|
1026 |
|
|
// |
1027 |
|
|
// Code for hpp::constraints_idl::Implicit::rightHandSideSize |
1028 |
|
|
|
1029 |
|
|
// Local call call-back function. |
1030 |
|
|
static void |
1031 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_e0000000(omniCallDescriptor* cd, omniServant* svnt) |
1032 |
|
|
{ |
1033 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
1034 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
1035 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1036 |
|
✗ |
tcd->result = impl->rightHandSideSize(); |
1037 |
|
|
#else |
1038 |
|
|
if (!cd->is_upcall()) |
1039 |
|
|
tcd->result = impl->rightHandSideSize(); |
1040 |
|
|
else { |
1041 |
|
|
try { |
1042 |
|
|
tcd->result = impl->rightHandSideSize(); |
1043 |
|
|
} |
1044 |
|
|
catch(hpp::Error& ex) { |
1045 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1046 |
|
|
} |
1047 |
|
|
|
1048 |
|
|
|
1049 |
|
|
} |
1050 |
|
|
#endif |
1051 |
|
|
|
1052 |
|
|
|
1053 |
|
|
} |
1054 |
|
|
|
1055 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_Implicit::rightHandSideSize() |
1056 |
|
|
{ |
1057 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_e0000000, "rightHandSideSize", 18); |
1058 |
|
|
|
1059 |
|
|
|
1060 |
|
✗ |
_invoke(_call_desc); |
1061 |
|
✗ |
return _call_desc.result; |
1062 |
|
|
|
1063 |
|
|
|
1064 |
|
|
} |
1065 |
|
|
|
1066 |
|
|
|
1067 |
|
|
// |
1068 |
|
|
// Code for hpp::constraints_idl::Implicit::parameterSize |
1069 |
|
|
|
1070 |
|
|
// Local call call-back function. |
1071 |
|
|
static void |
1072 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_f0000000(omniCallDescriptor* cd, omniServant* svnt) |
1073 |
|
|
{ |
1074 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000* tcd = (_0RL_cd_0555b12ec860355d_40000000*)cd; |
1075 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
1076 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1077 |
|
✗ |
tcd->result = impl->parameterSize(); |
1078 |
|
|
#else |
1079 |
|
|
if (!cd->is_upcall()) |
1080 |
|
|
tcd->result = impl->parameterSize(); |
1081 |
|
|
else { |
1082 |
|
|
try { |
1083 |
|
|
tcd->result = impl->parameterSize(); |
1084 |
|
|
} |
1085 |
|
|
catch(hpp::Error& ex) { |
1086 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1087 |
|
|
} |
1088 |
|
|
|
1089 |
|
|
|
1090 |
|
|
} |
1091 |
|
|
#endif |
1092 |
|
|
|
1093 |
|
|
|
1094 |
|
|
} |
1095 |
|
|
|
1096 |
|
✗ |
hpp::size_type hpp::constraints_idl::_objref_Implicit::parameterSize() |
1097 |
|
|
{ |
1098 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_f0000000, "parameterSize", 14); |
1099 |
|
|
|
1100 |
|
|
|
1101 |
|
✗ |
_invoke(_call_desc); |
1102 |
|
✗ |
return _call_desc.result; |
1103 |
|
|
|
1104 |
|
|
|
1105 |
|
|
} |
1106 |
|
|
|
1107 |
|
|
|
1108 |
|
|
// |
1109 |
|
|
// Code for hpp::constraints_idl::Implicit::rightHandSideAt |
1110 |
|
|
|
1111 |
|
|
// Proxy call descriptor class. Mangled signature: |
1112 |
|
|
// _chpp_mfloatSeq_i_cdouble_e_chpp_mError |
1113 |
|
|
class _0RL_cd_0555b12ec860355d_01000000 |
1114 |
|
|
: public omniCallDescriptor |
1115 |
|
|
{ |
1116 |
|
|
public: |
1117 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1118 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1119 |
|
|
{ |
1120 |
|
|
|
1121 |
|
|
} |
1122 |
|
|
|
1123 |
|
|
void marshalArguments(cdrStream&); |
1124 |
|
|
void unmarshalArguments(cdrStream&); |
1125 |
|
|
|
1126 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1127 |
|
|
void marshalReturnedValues(cdrStream&); |
1128 |
|
|
|
1129 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1130 |
|
|
static const char* const _user_exns[]; |
1131 |
|
|
|
1132 |
|
|
hpp::value_type arg_0; |
1133 |
|
|
hpp::floatSeq_var result; |
1134 |
|
|
}; |
1135 |
|
|
|
1136 |
|
✗ |
void _0RL_cd_0555b12ec860355d_01000000::marshalArguments(cdrStream& _n) |
1137 |
|
|
{ |
1138 |
|
✗ |
arg_0 >>= _n; |
1139 |
|
|
|
1140 |
|
|
} |
1141 |
|
|
|
1142 |
|
✗ |
void _0RL_cd_0555b12ec860355d_01000000::unmarshalArguments(cdrStream& _n) |
1143 |
|
|
{ |
1144 |
|
✗ |
(hpp::value_type&)arg_0 <<= _n; |
1145 |
|
|
|
1146 |
|
|
} |
1147 |
|
|
|
1148 |
|
✗ |
void _0RL_cd_0555b12ec860355d_01000000::marshalReturnedValues(cdrStream& _n) |
1149 |
|
|
{ |
1150 |
|
✗ |
(const hpp::floatSeq&) result >>= _n; |
1151 |
|
|
|
1152 |
|
|
} |
1153 |
|
|
|
1154 |
|
✗ |
void _0RL_cd_0555b12ec860355d_01000000::unmarshalReturnedValues(cdrStream& _n) |
1155 |
|
|
{ |
1156 |
|
✗ |
result = new hpp::floatSeq; |
1157 |
|
✗ |
(hpp::floatSeq&)result <<= _n; |
1158 |
|
|
|
1159 |
|
|
} |
1160 |
|
|
|
1161 |
|
|
const char* const _0RL_cd_0555b12ec860355d_01000000::_user_exns[] = { |
1162 |
|
|
hpp::Error::_PD_repoId |
1163 |
|
|
}; |
1164 |
|
|
|
1165 |
|
✗ |
void _0RL_cd_0555b12ec860355d_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1166 |
|
|
{ |
1167 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1168 |
|
✗ |
hpp::Error _ex; |
1169 |
|
✗ |
_ex <<= s; |
1170 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1171 |
|
✗ |
throw _ex; |
1172 |
|
|
} |
1173 |
|
|
|
1174 |
|
|
|
1175 |
|
|
else { |
1176 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1177 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1178 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1179 |
|
|
} |
1180 |
|
|
} |
1181 |
|
|
|
1182 |
|
|
// Local call call-back function. |
1183 |
|
|
static void |
1184 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_11000000(omniCallDescriptor* cd, omniServant* svnt) |
1185 |
|
|
{ |
1186 |
|
✗ |
_0RL_cd_0555b12ec860355d_01000000* tcd = (_0RL_cd_0555b12ec860355d_01000000*)cd; |
1187 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
1188 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1189 |
|
✗ |
tcd->result = impl->rightHandSideAt(tcd->arg_0); |
1190 |
|
|
#else |
1191 |
|
|
if (!cd->is_upcall()) |
1192 |
|
|
tcd->result = impl->rightHandSideAt(tcd->arg_0); |
1193 |
|
|
else { |
1194 |
|
|
try { |
1195 |
|
|
tcd->result = impl->rightHandSideAt(tcd->arg_0); |
1196 |
|
|
} |
1197 |
|
|
catch(hpp::Error& ex) { |
1198 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1199 |
|
|
} |
1200 |
|
|
|
1201 |
|
|
|
1202 |
|
|
} |
1203 |
|
|
#endif |
1204 |
|
|
|
1205 |
|
|
|
1206 |
|
|
} |
1207 |
|
|
|
1208 |
|
✗ |
hpp::floatSeq* hpp::constraints_idl::_objref_Implicit::rightHandSideAt(::hpp::value_type s) |
1209 |
|
|
{ |
1210 |
|
✗ |
_0RL_cd_0555b12ec860355d_01000000 _call_desc(_0RL_lcfn_0555b12ec860355d_11000000, "rightHandSideAt", 16); |
1211 |
|
✗ |
_call_desc.arg_0 = s; |
1212 |
|
|
|
1213 |
|
✗ |
_invoke(_call_desc); |
1214 |
|
✗ |
return _call_desc.result._retn(); |
1215 |
|
|
|
1216 |
|
|
|
1217 |
|
|
} |
1218 |
|
|
|
1219 |
|
|
|
1220 |
|
|
// |
1221 |
|
|
// Code for hpp::constraints_idl::Implicit::getComparisonType |
1222 |
|
|
|
1223 |
|
|
// Proxy call descriptor class. Mangled signature: |
1224 |
|
|
// _chpp_mComparisonTypes__t_e_chpp_mError |
1225 |
|
|
class _0RL_cd_0555b12ec860355d_21000000 |
1226 |
|
|
: public omniCallDescriptor |
1227 |
|
|
{ |
1228 |
|
|
public: |
1229 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_21000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1230 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1231 |
|
|
{ |
1232 |
|
|
|
1233 |
|
|
} |
1234 |
|
|
|
1235 |
|
|
|
1236 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1237 |
|
|
void marshalReturnedValues(cdrStream&); |
1238 |
|
|
|
1239 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1240 |
|
|
static const char* const _user_exns[]; |
1241 |
|
|
|
1242 |
|
|
hpp::ComparisonTypes_t_var result; |
1243 |
|
|
}; |
1244 |
|
|
|
1245 |
|
✗ |
void _0RL_cd_0555b12ec860355d_21000000::marshalReturnedValues(cdrStream& _n) |
1246 |
|
|
{ |
1247 |
|
✗ |
(const hpp::ComparisonTypes_t&) result >>= _n; |
1248 |
|
|
|
1249 |
|
|
} |
1250 |
|
|
|
1251 |
|
✗ |
void _0RL_cd_0555b12ec860355d_21000000::unmarshalReturnedValues(cdrStream& _n) |
1252 |
|
|
{ |
1253 |
|
✗ |
result = new hpp::ComparisonTypes_t; |
1254 |
|
✗ |
(hpp::ComparisonTypes_t&)result <<= _n; |
1255 |
|
|
|
1256 |
|
|
} |
1257 |
|
|
|
1258 |
|
|
const char* const _0RL_cd_0555b12ec860355d_21000000::_user_exns[] = { |
1259 |
|
|
hpp::Error::_PD_repoId |
1260 |
|
|
}; |
1261 |
|
|
|
1262 |
|
✗ |
void _0RL_cd_0555b12ec860355d_21000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1263 |
|
|
{ |
1264 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1265 |
|
✗ |
hpp::Error _ex; |
1266 |
|
✗ |
_ex <<= s; |
1267 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1268 |
|
✗ |
throw _ex; |
1269 |
|
|
} |
1270 |
|
|
|
1271 |
|
|
|
1272 |
|
|
else { |
1273 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1274 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1275 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1276 |
|
|
} |
1277 |
|
|
} |
1278 |
|
|
|
1279 |
|
|
// Local call call-back function. |
1280 |
|
|
static void |
1281 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_31000000(omniCallDescriptor* cd, omniServant* svnt) |
1282 |
|
|
{ |
1283 |
|
✗ |
_0RL_cd_0555b12ec860355d_21000000* tcd = (_0RL_cd_0555b12ec860355d_21000000*)cd; |
1284 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
1285 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1286 |
|
✗ |
tcd->result = impl->getComparisonType(); |
1287 |
|
|
#else |
1288 |
|
|
if (!cd->is_upcall()) |
1289 |
|
|
tcd->result = impl->getComparisonType(); |
1290 |
|
|
else { |
1291 |
|
|
try { |
1292 |
|
|
tcd->result = impl->getComparisonType(); |
1293 |
|
|
} |
1294 |
|
|
catch(hpp::Error& ex) { |
1295 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1296 |
|
|
} |
1297 |
|
|
|
1298 |
|
|
|
1299 |
|
|
} |
1300 |
|
|
#endif |
1301 |
|
|
|
1302 |
|
|
|
1303 |
|
|
} |
1304 |
|
|
|
1305 |
|
✗ |
hpp::ComparisonTypes_t* hpp::constraints_idl::_objref_Implicit::getComparisonType() |
1306 |
|
|
{ |
1307 |
|
✗ |
_0RL_cd_0555b12ec860355d_21000000 _call_desc(_0RL_lcfn_0555b12ec860355d_31000000, "getComparisonType", 18); |
1308 |
|
|
|
1309 |
|
|
|
1310 |
|
✗ |
_invoke(_call_desc); |
1311 |
|
✗ |
return _call_desc.result._retn(); |
1312 |
|
|
|
1313 |
|
|
|
1314 |
|
|
} |
1315 |
|
|
|
1316 |
|
|
|
1317 |
|
|
// |
1318 |
|
|
// Code for hpp::constraints_idl::Implicit::setComparisonType |
1319 |
|
|
|
1320 |
|
|
// Proxy call descriptor class. Mangled signature: |
1321 |
|
|
// void_i_chpp_mComparisonTypes__t_e_chpp_mError |
1322 |
|
|
class _0RL_cd_0555b12ec860355d_41000000 |
1323 |
|
|
: public omniCallDescriptor |
1324 |
|
|
{ |
1325 |
|
|
public: |
1326 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_41000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1327 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1328 |
|
|
{ |
1329 |
|
|
|
1330 |
|
|
} |
1331 |
|
|
|
1332 |
|
|
void marshalArguments(cdrStream&); |
1333 |
|
|
void unmarshalArguments(cdrStream&); |
1334 |
|
|
|
1335 |
|
|
|
1336 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1337 |
|
|
static const char* const _user_exns[]; |
1338 |
|
|
|
1339 |
|
|
hpp::ComparisonTypes_t_var arg_0_; |
1340 |
|
|
const hpp::ComparisonTypes_t* arg_0; |
1341 |
|
|
}; |
1342 |
|
|
|
1343 |
|
✗ |
void _0RL_cd_0555b12ec860355d_41000000::marshalArguments(cdrStream& _n) |
1344 |
|
|
{ |
1345 |
|
✗ |
(const hpp::ComparisonTypes_t&) *arg_0 >>= _n; |
1346 |
|
|
|
1347 |
|
|
} |
1348 |
|
|
|
1349 |
|
✗ |
void _0RL_cd_0555b12ec860355d_41000000::unmarshalArguments(cdrStream& _n) |
1350 |
|
|
{ |
1351 |
|
✗ |
arg_0_ = new hpp::ComparisonTypes_t; |
1352 |
|
✗ |
(hpp::ComparisonTypes_t&)arg_0_ <<= _n; |
1353 |
|
✗ |
arg_0 = &arg_0_.in(); |
1354 |
|
|
|
1355 |
|
|
} |
1356 |
|
|
|
1357 |
|
|
const char* const _0RL_cd_0555b12ec860355d_41000000::_user_exns[] = { |
1358 |
|
|
hpp::Error::_PD_repoId |
1359 |
|
|
}; |
1360 |
|
|
|
1361 |
|
✗ |
void _0RL_cd_0555b12ec860355d_41000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1362 |
|
|
{ |
1363 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1364 |
|
✗ |
hpp::Error _ex; |
1365 |
|
✗ |
_ex <<= s; |
1366 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1367 |
|
✗ |
throw _ex; |
1368 |
|
|
} |
1369 |
|
|
|
1370 |
|
|
|
1371 |
|
|
else { |
1372 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1373 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1374 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1375 |
|
|
} |
1376 |
|
|
} |
1377 |
|
|
|
1378 |
|
|
// Local call call-back function. |
1379 |
|
|
static void |
1380 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_51000000(omniCallDescriptor* cd, omniServant* svnt) |
1381 |
|
|
{ |
1382 |
|
✗ |
_0RL_cd_0555b12ec860355d_41000000* tcd = (_0RL_cd_0555b12ec860355d_41000000*)cd; |
1383 |
|
✗ |
hpp::constraints_idl::_impl_Implicit* impl = (hpp::constraints_idl::_impl_Implicit*) svnt->_ptrToInterface(hpp::constraints_idl::Implicit::_PD_repoId); |
1384 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1385 |
|
✗ |
impl->setComparisonType(*tcd->arg_0); |
1386 |
|
|
#else |
1387 |
|
|
if (!cd->is_upcall()) |
1388 |
|
|
impl->setComparisonType(*tcd->arg_0); |
1389 |
|
|
else { |
1390 |
|
|
try { |
1391 |
|
|
impl->setComparisonType(*tcd->arg_0); |
1392 |
|
|
} |
1393 |
|
|
catch(hpp::Error& ex) { |
1394 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1395 |
|
|
} |
1396 |
|
|
|
1397 |
|
|
|
1398 |
|
|
} |
1399 |
|
|
#endif |
1400 |
|
|
|
1401 |
|
|
|
1402 |
|
|
} |
1403 |
|
|
|
1404 |
|
✗ |
void hpp::constraints_idl::_objref_Implicit::setComparisonType(const ::hpp::ComparisonTypes_t& compType) |
1405 |
|
|
{ |
1406 |
|
✗ |
_0RL_cd_0555b12ec860355d_41000000 _call_desc(_0RL_lcfn_0555b12ec860355d_51000000, "setComparisonType", 18); |
1407 |
|
✗ |
_call_desc.arg_0 = &(::hpp::ComparisonTypes_t&) compType; |
1408 |
|
|
|
1409 |
|
✗ |
_invoke(_call_desc); |
1410 |
|
|
|
1411 |
|
|
|
1412 |
|
|
|
1413 |
|
|
} |
1414 |
|
|
|
1415 |
|
16 |
hpp::constraints_idl::_pof_Implicit::~_pof_Implicit() {} |
1416 |
|
|
|
1417 |
|
|
|
1418 |
|
|
omniObjRef* |
1419 |
|
✗ |
hpp::constraints_idl::_pof_Implicit::newObjRef(omniIOR* ior, omniIdentity* id) |
1420 |
|
|
{ |
1421 |
|
✗ |
return new ::hpp::constraints_idl::_objref_Implicit(ior, id); |
1422 |
|
|
} |
1423 |
|
|
|
1424 |
|
|
|
1425 |
|
|
::CORBA::Boolean |
1426 |
|
✗ |
hpp::constraints_idl::_pof_Implicit::is_a(const char* id) const |
1427 |
|
|
{ |
1428 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::constraints_idl::Implicit::_PD_repoId)) |
1429 |
|
✗ |
return 1; |
1430 |
|
|
|
1431 |
|
✗ |
return 0; |
1432 |
|
|
} |
1433 |
|
|
|
1434 |
|
|
const hpp::constraints_idl::_pof_Implicit _the_pof_hpp_mconstraints__idl_mImplicit; |
1435 |
|
|
|
1436 |
|
✗ |
hpp::constraints_idl::_impl_Implicit::~_impl_Implicit() {} |
1437 |
|
|
|
1438 |
|
|
|
1439 |
|
|
::CORBA::Boolean |
1440 |
|
✗ |
hpp::constraints_idl::_impl_Implicit::_dispatch(omniCallHandle& _handle) |
1441 |
|
|
{ |
1442 |
|
✗ |
const char* op = _handle.operation_name(); |
1443 |
|
|
|
1444 |
|
✗ |
if (omni::strMatch(op, "function")) { |
1445 |
|
|
|
1446 |
|
✗ |
_0RL_cd_0555b12ec860355d_c0000000 _call_desc(_0RL_lcfn_0555b12ec860355d_d0000000, "function", 9, 1); |
1447 |
|
|
|
1448 |
|
✗ |
_handle.upcall(this,_call_desc); |
1449 |
|
✗ |
return 1; |
1450 |
|
|
} |
1451 |
|
|
|
1452 |
|
✗ |
if (omni::strMatch(op, "rightHandSideSize")) { |
1453 |
|
|
|
1454 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_e0000000, "rightHandSideSize", 18, 1); |
1455 |
|
|
|
1456 |
|
✗ |
_handle.upcall(this,_call_desc); |
1457 |
|
✗ |
return 1; |
1458 |
|
|
} |
1459 |
|
|
|
1460 |
|
✗ |
if (omni::strMatch(op, "parameterSize")) { |
1461 |
|
|
|
1462 |
|
✗ |
_0RL_cd_0555b12ec860355d_40000000 _call_desc(_0RL_lcfn_0555b12ec860355d_f0000000, "parameterSize", 14, 1); |
1463 |
|
|
|
1464 |
|
✗ |
_handle.upcall(this,_call_desc); |
1465 |
|
✗ |
return 1; |
1466 |
|
|
} |
1467 |
|
|
|
1468 |
|
✗ |
if (omni::strMatch(op, "rightHandSideAt")) { |
1469 |
|
|
|
1470 |
|
✗ |
_0RL_cd_0555b12ec860355d_01000000 _call_desc(_0RL_lcfn_0555b12ec860355d_11000000, "rightHandSideAt", 16, 1); |
1471 |
|
|
|
1472 |
|
✗ |
_handle.upcall(this,_call_desc); |
1473 |
|
✗ |
return 1; |
1474 |
|
|
} |
1475 |
|
|
|
1476 |
|
✗ |
if (omni::strMatch(op, "getComparisonType")) { |
1477 |
|
|
|
1478 |
|
✗ |
_0RL_cd_0555b12ec860355d_21000000 _call_desc(_0RL_lcfn_0555b12ec860355d_31000000, "getComparisonType", 18, 1); |
1479 |
|
|
|
1480 |
|
✗ |
_handle.upcall(this,_call_desc); |
1481 |
|
✗ |
return 1; |
1482 |
|
|
} |
1483 |
|
|
|
1484 |
|
✗ |
if (omni::strMatch(op, "setComparisonType")) { |
1485 |
|
|
|
1486 |
|
✗ |
_0RL_cd_0555b12ec860355d_41000000 _call_desc(_0RL_lcfn_0555b12ec860355d_51000000, "setComparisonType", 18, 1); |
1487 |
|
|
|
1488 |
|
✗ |
_handle.upcall(this,_call_desc); |
1489 |
|
✗ |
return 1; |
1490 |
|
|
} |
1491 |
|
|
|
1492 |
|
|
|
1493 |
|
✗ |
return 0; |
1494 |
|
|
} |
1495 |
|
|
|
1496 |
|
|
void* |
1497 |
|
✗ |
hpp::constraints_idl::_impl_Implicit::_ptrToInterface(const char* id) |
1498 |
|
|
{ |
1499 |
|
✗ |
if (id == ::hpp::constraints_idl::Implicit::_PD_repoId) |
1500 |
|
✗ |
return (::hpp::constraints_idl::_impl_Implicit*) this; |
1501 |
|
|
|
1502 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1503 |
|
✗ |
return (void*) 1; |
1504 |
|
|
|
1505 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::Implicit::_PD_repoId)) |
1506 |
|
✗ |
return (::hpp::constraints_idl::_impl_Implicit*) this; |
1507 |
|
|
|
1508 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1509 |
|
✗ |
return (void*) 1; |
1510 |
|
✗ |
return 0; |
1511 |
|
|
} |
1512 |
|
|
|
1513 |
|
|
const char* |
1514 |
|
✗ |
hpp::constraints_idl::_impl_Implicit::_mostDerivedRepoId() |
1515 |
|
|
{ |
1516 |
|
✗ |
return ::hpp::constraints_idl::Implicit::_PD_repoId; |
1517 |
|
|
} |
1518 |
|
|
|
1519 |
|
✗ |
hpp::constraints_idl::LockedJoint_ptr hpp::constraints_idl::LockedJoint_Helper::_nil() { |
1520 |
|
✗ |
return ::hpp::constraints_idl::LockedJoint::_nil(); |
1521 |
|
|
} |
1522 |
|
|
|
1523 |
|
✗ |
::CORBA::Boolean hpp::constraints_idl::LockedJoint_Helper::is_nil(::hpp::constraints_idl::LockedJoint_ptr p) { |
1524 |
|
✗ |
return ::CORBA::is_nil(p); |
1525 |
|
|
|
1526 |
|
|
} |
1527 |
|
|
|
1528 |
|
✗ |
void hpp::constraints_idl::LockedJoint_Helper::release(::hpp::constraints_idl::LockedJoint_ptr p) { |
1529 |
|
✗ |
::CORBA::release(p); |
1530 |
|
|
} |
1531 |
|
|
|
1532 |
|
✗ |
void hpp::constraints_idl::LockedJoint_Helper::marshalObjRef(::hpp::constraints_idl::LockedJoint_ptr obj, cdrStream& s) { |
1533 |
|
✗ |
::hpp::constraints_idl::LockedJoint::_marshalObjRef(obj, s); |
1534 |
|
|
} |
1535 |
|
|
|
1536 |
|
✗ |
hpp::constraints_idl::LockedJoint_ptr hpp::constraints_idl::LockedJoint_Helper::unmarshalObjRef(cdrStream& s) { |
1537 |
|
✗ |
return ::hpp::constraints_idl::LockedJoint::_unmarshalObjRef(s); |
1538 |
|
|
} |
1539 |
|
|
|
1540 |
|
✗ |
void hpp::constraints_idl::LockedJoint_Helper::duplicate(::hpp::constraints_idl::LockedJoint_ptr obj) { |
1541 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1542 |
|
|
} |
1543 |
|
|
|
1544 |
|
|
hpp::constraints_idl::LockedJoint_ptr |
1545 |
|
✗ |
hpp::constraints_idl::LockedJoint::_duplicate(::hpp::constraints_idl::LockedJoint_ptr obj) |
1546 |
|
|
{ |
1547 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1548 |
|
✗ |
return obj; |
1549 |
|
|
} |
1550 |
|
|
|
1551 |
|
|
hpp::constraints_idl::LockedJoint_ptr |
1552 |
|
✗ |
hpp::constraints_idl::LockedJoint::_narrow(::CORBA::Object_ptr obj) |
1553 |
|
|
{ |
1554 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1555 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
1556 |
|
✗ |
return e ? e : _nil(); |
1557 |
|
|
} |
1558 |
|
|
|
1559 |
|
|
|
1560 |
|
|
hpp::constraints_idl::LockedJoint_ptr |
1561 |
|
✗ |
hpp::constraints_idl::LockedJoint::_unchecked_narrow(::CORBA::Object_ptr obj) |
1562 |
|
|
{ |
1563 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1564 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
1565 |
|
✗ |
return e ? e : _nil(); |
1566 |
|
|
} |
1567 |
|
|
|
1568 |
|
|
hpp::constraints_idl::LockedJoint_ptr |
1569 |
|
✗ |
hpp::constraints_idl::LockedJoint::_nil() |
1570 |
|
|
{ |
1571 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
1572 |
|
|
static _objref_LockedJoint _the_nil_obj; |
1573 |
|
|
return &_the_nil_obj; |
1574 |
|
|
#else |
1575 |
|
|
static _objref_LockedJoint* _the_nil_ptr = 0; |
1576 |
|
✗ |
if (!_the_nil_ptr) { |
1577 |
|
✗ |
omni::nilRefLock().lock(); |
1578 |
|
✗ |
if (!_the_nil_ptr) { |
1579 |
|
✗ |
_the_nil_ptr = new _objref_LockedJoint; |
1580 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
1581 |
|
|
} |
1582 |
|
✗ |
omni::nilRefLock().unlock(); |
1583 |
|
|
} |
1584 |
|
✗ |
return _the_nil_ptr; |
1585 |
|
|
#endif |
1586 |
|
|
} |
1587 |
|
|
|
1588 |
|
|
const char* hpp::constraints_idl::LockedJoint::_PD_repoId = "IDL:hpp/constraints_idl/LockedJoint:1.0"; |
1589 |
|
|
|
1590 |
|
|
|
1591 |
|
✗ |
hpp::constraints_idl::_objref_LockedJoint::~_objref_LockedJoint() { |
1592 |
|
|
|
1593 |
|
|
} |
1594 |
|
|
|
1595 |
|
|
|
1596 |
|
✗ |
hpp::constraints_idl::_objref_LockedJoint::_objref_LockedJoint(omniIOR* ior, omniIdentity* id) : |
1597 |
|
|
omniObjRef(::hpp::constraints_idl::LockedJoint::_PD_repoId, ior, id, 1), |
1598 |
|
✗ |
_objref_Implicit(ior, id) |
1599 |
|
|
|
1600 |
|
|
{ |
1601 |
|
✗ |
_PR_setobj(this); |
1602 |
|
|
} |
1603 |
|
|
|
1604 |
|
|
void* |
1605 |
|
✗ |
hpp::constraints_idl::_objref_LockedJoint::_ptrToObjRef(const char* id) |
1606 |
|
|
{ |
1607 |
|
✗ |
if (id == ::hpp::constraints_idl::LockedJoint::_PD_repoId) |
1608 |
|
✗ |
return (::hpp::constraints_idl::LockedJoint_ptr) this; |
1609 |
|
✗ |
if (id == ::hpp::constraints_idl::Implicit::_PD_repoId) |
1610 |
|
✗ |
return (::hpp::constraints_idl::Implicit_ptr) this; |
1611 |
|
|
|
1612 |
|
|
|
1613 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1614 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1615 |
|
|
|
1616 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::LockedJoint::_PD_repoId)) |
1617 |
|
✗ |
return (::hpp::constraints_idl::LockedJoint_ptr) this; |
1618 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::Implicit::_PD_repoId)) |
1619 |
|
✗ |
return (::hpp::constraints_idl::Implicit_ptr) this; |
1620 |
|
|
|
1621 |
|
|
|
1622 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1623 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1624 |
|
|
|
1625 |
|
✗ |
return 0; |
1626 |
|
|
} |
1627 |
|
|
|
1628 |
|
|
|
1629 |
|
|
// |
1630 |
|
|
// Code for hpp::constraints_idl::LockedJoint::jointName |
1631 |
|
|
|
1632 |
|
|
// Local call call-back function. |
1633 |
|
|
static void |
1634 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_61000000(omniCallDescriptor* cd, omniServant* svnt) |
1635 |
|
|
{ |
1636 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000* tcd = (_0RL_cd_0555b12ec860355d_90000000*)cd; |
1637 |
|
✗ |
hpp::constraints_idl::_impl_LockedJoint* impl = (hpp::constraints_idl::_impl_LockedJoint*) svnt->_ptrToInterface(hpp::constraints_idl::LockedJoint::_PD_repoId); |
1638 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1639 |
|
✗ |
tcd->result = impl->jointName(); |
1640 |
|
|
#else |
1641 |
|
|
if (!cd->is_upcall()) |
1642 |
|
|
tcd->result = impl->jointName(); |
1643 |
|
|
else { |
1644 |
|
|
try { |
1645 |
|
|
tcd->result = impl->jointName(); |
1646 |
|
|
} |
1647 |
|
|
catch(hpp::Error& ex) { |
1648 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1649 |
|
|
} |
1650 |
|
|
|
1651 |
|
|
|
1652 |
|
|
} |
1653 |
|
|
#endif |
1654 |
|
|
|
1655 |
|
|
|
1656 |
|
|
} |
1657 |
|
|
|
1658 |
|
✗ |
char* hpp::constraints_idl::_objref_LockedJoint::jointName() |
1659 |
|
|
{ |
1660 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_61000000, "jointName", 10); |
1661 |
|
|
|
1662 |
|
|
|
1663 |
|
✗ |
_invoke(_call_desc); |
1664 |
|
✗ |
return _call_desc.result._retn(); |
1665 |
|
|
|
1666 |
|
|
|
1667 |
|
|
} |
1668 |
|
|
|
1669 |
|
16 |
hpp::constraints_idl::_pof_LockedJoint::~_pof_LockedJoint() {} |
1670 |
|
|
|
1671 |
|
|
|
1672 |
|
|
omniObjRef* |
1673 |
|
✗ |
hpp::constraints_idl::_pof_LockedJoint::newObjRef(omniIOR* ior, omniIdentity* id) |
1674 |
|
|
{ |
1675 |
|
✗ |
return new ::hpp::constraints_idl::_objref_LockedJoint(ior, id); |
1676 |
|
|
} |
1677 |
|
|
|
1678 |
|
|
|
1679 |
|
|
::CORBA::Boolean |
1680 |
|
✗ |
hpp::constraints_idl::_pof_LockedJoint::is_a(const char* id) const |
1681 |
|
|
{ |
1682 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::constraints_idl::LockedJoint::_PD_repoId)) |
1683 |
|
✗ |
return 1; |
1684 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::constraints_idl::Implicit::_PD_repoId)) |
1685 |
|
✗ |
return 1; |
1686 |
|
|
|
1687 |
|
|
|
1688 |
|
✗ |
return 0; |
1689 |
|
|
} |
1690 |
|
|
|
1691 |
|
|
const hpp::constraints_idl::_pof_LockedJoint _the_pof_hpp_mconstraints__idl_mLockedJoint; |
1692 |
|
|
|
1693 |
|
✗ |
hpp::constraints_idl::_impl_LockedJoint::~_impl_LockedJoint() {} |
1694 |
|
|
|
1695 |
|
|
|
1696 |
|
|
::CORBA::Boolean |
1697 |
|
✗ |
hpp::constraints_idl::_impl_LockedJoint::_dispatch(omniCallHandle& _handle) |
1698 |
|
|
{ |
1699 |
|
✗ |
const char* op = _handle.operation_name(); |
1700 |
|
|
|
1701 |
|
✗ |
if (omni::strMatch(op, "jointName")) { |
1702 |
|
|
|
1703 |
|
✗ |
_0RL_cd_0555b12ec860355d_90000000 _call_desc(_0RL_lcfn_0555b12ec860355d_61000000, "jointName", 10, 1); |
1704 |
|
|
|
1705 |
|
✗ |
_handle.upcall(this,_call_desc); |
1706 |
|
✗ |
return 1; |
1707 |
|
|
} |
1708 |
|
|
|
1709 |
|
|
|
1710 |
|
|
#ifndef _MSC_VER |
1711 |
|
✗ |
if (_impl_Implicit::_dispatch(_handle)) { |
1712 |
|
✗ |
return 1; |
1713 |
|
|
} |
1714 |
|
|
#else |
1715 |
|
|
// Work-around for incorrect MSVC code generation. |
1716 |
|
|
if (((_impl_Implicit*)this)-> |
1717 |
|
|
_impl_Implicit::_dispatch(_handle)) { |
1718 |
|
|
return 1; |
1719 |
|
|
} |
1720 |
|
|
#endif |
1721 |
|
|
|
1722 |
|
|
|
1723 |
|
✗ |
return 0; |
1724 |
|
|
} |
1725 |
|
|
|
1726 |
|
|
void* |
1727 |
|
✗ |
hpp::constraints_idl::_impl_LockedJoint::_ptrToInterface(const char* id) |
1728 |
|
|
{ |
1729 |
|
✗ |
if (id == ::hpp::constraints_idl::LockedJoint::_PD_repoId) |
1730 |
|
✗ |
return (::hpp::constraints_idl::_impl_LockedJoint*) this; |
1731 |
|
✗ |
if (id == ::hpp::constraints_idl::Implicit::_PD_repoId) |
1732 |
|
✗ |
return (::hpp::constraints_idl::_impl_Implicit*) this; |
1733 |
|
|
|
1734 |
|
|
|
1735 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1736 |
|
✗ |
return (void*) 1; |
1737 |
|
|
|
1738 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::LockedJoint::_PD_repoId)) |
1739 |
|
✗ |
return (::hpp::constraints_idl::_impl_LockedJoint*) this; |
1740 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::Implicit::_PD_repoId)) |
1741 |
|
✗ |
return (::hpp::constraints_idl::_impl_Implicit*) this; |
1742 |
|
|
|
1743 |
|
|
|
1744 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1745 |
|
✗ |
return (void*) 1; |
1746 |
|
✗ |
return 0; |
1747 |
|
|
} |
1748 |
|
|
|
1749 |
|
|
const char* |
1750 |
|
✗ |
hpp::constraints_idl::_impl_LockedJoint::_mostDerivedRepoId() |
1751 |
|
|
{ |
1752 |
|
✗ |
return ::hpp::constraints_idl::LockedJoint::_PD_repoId; |
1753 |
|
|
} |
1754 |
|
|
|
1755 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint_ptr hpp::constraints_idl::ConfigurationConstraint_Helper::_nil() { |
1756 |
|
✗ |
return ::hpp::constraints_idl::ConfigurationConstraint::_nil(); |
1757 |
|
|
} |
1758 |
|
|
|
1759 |
|
✗ |
::CORBA::Boolean hpp::constraints_idl::ConfigurationConstraint_Helper::is_nil(::hpp::constraints_idl::ConfigurationConstraint_ptr p) { |
1760 |
|
✗ |
return ::CORBA::is_nil(p); |
1761 |
|
|
|
1762 |
|
|
} |
1763 |
|
|
|
1764 |
|
✗ |
void hpp::constraints_idl::ConfigurationConstraint_Helper::release(::hpp::constraints_idl::ConfigurationConstraint_ptr p) { |
1765 |
|
✗ |
::CORBA::release(p); |
1766 |
|
|
} |
1767 |
|
|
|
1768 |
|
✗ |
void hpp::constraints_idl::ConfigurationConstraint_Helper::marshalObjRef(::hpp::constraints_idl::ConfigurationConstraint_ptr obj, cdrStream& s) { |
1769 |
|
✗ |
::hpp::constraints_idl::ConfigurationConstraint::_marshalObjRef(obj, s); |
1770 |
|
|
} |
1771 |
|
|
|
1772 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint_ptr hpp::constraints_idl::ConfigurationConstraint_Helper::unmarshalObjRef(cdrStream& s) { |
1773 |
|
✗ |
return ::hpp::constraints_idl::ConfigurationConstraint::_unmarshalObjRef(s); |
1774 |
|
|
} |
1775 |
|
|
|
1776 |
|
✗ |
void hpp::constraints_idl::ConfigurationConstraint_Helper::duplicate(::hpp::constraints_idl::ConfigurationConstraint_ptr obj) { |
1777 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1778 |
|
|
} |
1779 |
|
|
|
1780 |
|
|
hpp::constraints_idl::ConfigurationConstraint_ptr |
1781 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint::_duplicate(::hpp::constraints_idl::ConfigurationConstraint_ptr obj) |
1782 |
|
|
{ |
1783 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1784 |
|
✗ |
return obj; |
1785 |
|
|
} |
1786 |
|
|
|
1787 |
|
|
hpp::constraints_idl::ConfigurationConstraint_ptr |
1788 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint::_narrow(::CORBA::Object_ptr obj) |
1789 |
|
|
{ |
1790 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1791 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
1792 |
|
✗ |
return e ? e : _nil(); |
1793 |
|
|
} |
1794 |
|
|
|
1795 |
|
|
|
1796 |
|
|
hpp::constraints_idl::ConfigurationConstraint_ptr |
1797 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint::_unchecked_narrow(::CORBA::Object_ptr obj) |
1798 |
|
|
{ |
1799 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1800 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
1801 |
|
✗ |
return e ? e : _nil(); |
1802 |
|
|
} |
1803 |
|
|
|
1804 |
|
|
hpp::constraints_idl::ConfigurationConstraint_ptr |
1805 |
|
✗ |
hpp::constraints_idl::ConfigurationConstraint::_nil() |
1806 |
|
|
{ |
1807 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
1808 |
|
|
static _objref_ConfigurationConstraint _the_nil_obj; |
1809 |
|
|
return &_the_nil_obj; |
1810 |
|
|
#else |
1811 |
|
|
static _objref_ConfigurationConstraint* _the_nil_ptr = 0; |
1812 |
|
✗ |
if (!_the_nil_ptr) { |
1813 |
|
✗ |
omni::nilRefLock().lock(); |
1814 |
|
✗ |
if (!_the_nil_ptr) { |
1815 |
|
✗ |
_the_nil_ptr = new _objref_ConfigurationConstraint; |
1816 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
1817 |
|
|
} |
1818 |
|
✗ |
omni::nilRefLock().unlock(); |
1819 |
|
|
} |
1820 |
|
✗ |
return _the_nil_ptr; |
1821 |
|
|
#endif |
1822 |
|
|
} |
1823 |
|
|
|
1824 |
|
|
const char* hpp::constraints_idl::ConfigurationConstraint::_PD_repoId = "IDL:hpp/constraints_idl/ConfigurationConstraint:1.0"; |
1825 |
|
|
|
1826 |
|
|
|
1827 |
|
✗ |
hpp::constraints_idl::_objref_ConfigurationConstraint::~_objref_ConfigurationConstraint() { |
1828 |
|
|
|
1829 |
|
|
} |
1830 |
|
|
|
1831 |
|
|
|
1832 |
|
✗ |
hpp::constraints_idl::_objref_ConfigurationConstraint::_objref_ConfigurationConstraint(omniIOR* ior, omniIdentity* id) : |
1833 |
|
|
omniObjRef(::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId, ior, id, 1), |
1834 |
|
✗ |
_objref_DifferentiableFunction(ior, id) |
1835 |
|
|
|
1836 |
|
|
{ |
1837 |
|
✗ |
_PR_setobj(this); |
1838 |
|
|
} |
1839 |
|
|
|
1840 |
|
|
void* |
1841 |
|
✗ |
hpp::constraints_idl::_objref_ConfigurationConstraint::_ptrToObjRef(const char* id) |
1842 |
|
|
{ |
1843 |
|
✗ |
if (id == ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId) |
1844 |
|
✗ |
return (::hpp::constraints_idl::ConfigurationConstraint_ptr) this; |
1845 |
|
✗ |
if (id == ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId) |
1846 |
|
✗ |
return (::hpp::constraints_idl::DifferentiableFunction_ptr) this; |
1847 |
|
|
|
1848 |
|
|
|
1849 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1850 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1851 |
|
|
|
1852 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId)) |
1853 |
|
✗ |
return (::hpp::constraints_idl::ConfigurationConstraint_ptr) this; |
1854 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
1855 |
|
✗ |
return (::hpp::constraints_idl::DifferentiableFunction_ptr) this; |
1856 |
|
|
|
1857 |
|
|
|
1858 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1859 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1860 |
|
|
|
1861 |
|
✗ |
return 0; |
1862 |
|
|
} |
1863 |
|
|
|
1864 |
|
|
|
1865 |
|
|
// |
1866 |
|
|
// Code for hpp::constraints_idl::ConfigurationConstraint::getWeights |
1867 |
|
|
|
1868 |
|
|
// Proxy call descriptor class. Mangled signature: |
1869 |
|
|
// _chpp_mfloatSeq_e_chpp_mError |
1870 |
|
|
class _0RL_cd_0555b12ec860355d_71000000 |
1871 |
|
|
: public omniCallDescriptor |
1872 |
|
|
{ |
1873 |
|
|
public: |
1874 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_71000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1875 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1876 |
|
|
{ |
1877 |
|
|
|
1878 |
|
|
} |
1879 |
|
|
|
1880 |
|
|
|
1881 |
|
|
void unmarshalReturnedValues(cdrStream&); |
1882 |
|
|
void marshalReturnedValues(cdrStream&); |
1883 |
|
|
|
1884 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1885 |
|
|
static const char* const _user_exns[]; |
1886 |
|
|
|
1887 |
|
|
hpp::floatSeq_var result; |
1888 |
|
|
}; |
1889 |
|
|
|
1890 |
|
✗ |
void _0RL_cd_0555b12ec860355d_71000000::marshalReturnedValues(cdrStream& _n) |
1891 |
|
|
{ |
1892 |
|
✗ |
(const hpp::floatSeq&) result >>= _n; |
1893 |
|
|
|
1894 |
|
|
} |
1895 |
|
|
|
1896 |
|
✗ |
void _0RL_cd_0555b12ec860355d_71000000::unmarshalReturnedValues(cdrStream& _n) |
1897 |
|
|
{ |
1898 |
|
✗ |
result = new hpp::floatSeq; |
1899 |
|
✗ |
(hpp::floatSeq&)result <<= _n; |
1900 |
|
|
|
1901 |
|
|
} |
1902 |
|
|
|
1903 |
|
|
const char* const _0RL_cd_0555b12ec860355d_71000000::_user_exns[] = { |
1904 |
|
|
hpp::Error::_PD_repoId |
1905 |
|
|
}; |
1906 |
|
|
|
1907 |
|
✗ |
void _0RL_cd_0555b12ec860355d_71000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1908 |
|
|
{ |
1909 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1910 |
|
✗ |
hpp::Error _ex; |
1911 |
|
✗ |
_ex <<= s; |
1912 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1913 |
|
✗ |
throw _ex; |
1914 |
|
|
} |
1915 |
|
|
|
1916 |
|
|
|
1917 |
|
|
else { |
1918 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1919 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1920 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1921 |
|
|
} |
1922 |
|
|
} |
1923 |
|
|
|
1924 |
|
|
// Local call call-back function. |
1925 |
|
|
static void |
1926 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_81000000(omniCallDescriptor* cd, omniServant* svnt) |
1927 |
|
|
{ |
1928 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000* tcd = (_0RL_cd_0555b12ec860355d_71000000*)cd; |
1929 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint* impl = (hpp::constraints_idl::_impl_ConfigurationConstraint*) svnt->_ptrToInterface(hpp::constraints_idl::ConfigurationConstraint::_PD_repoId); |
1930 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1931 |
|
✗ |
tcd->result = impl->getWeights(); |
1932 |
|
|
#else |
1933 |
|
|
if (!cd->is_upcall()) |
1934 |
|
|
tcd->result = impl->getWeights(); |
1935 |
|
|
else { |
1936 |
|
|
try { |
1937 |
|
|
tcd->result = impl->getWeights(); |
1938 |
|
|
} |
1939 |
|
|
catch(hpp::Error& ex) { |
1940 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1941 |
|
|
} |
1942 |
|
|
|
1943 |
|
|
|
1944 |
|
|
} |
1945 |
|
|
#endif |
1946 |
|
|
|
1947 |
|
|
|
1948 |
|
|
} |
1949 |
|
|
|
1950 |
|
✗ |
hpp::floatSeq* hpp::constraints_idl::_objref_ConfigurationConstraint::getWeights() |
1951 |
|
|
{ |
1952 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000 _call_desc(_0RL_lcfn_0555b12ec860355d_81000000, "getWeights", 11); |
1953 |
|
|
|
1954 |
|
|
|
1955 |
|
✗ |
_invoke(_call_desc); |
1956 |
|
✗ |
return _call_desc.result._retn(); |
1957 |
|
|
|
1958 |
|
|
|
1959 |
|
|
} |
1960 |
|
|
|
1961 |
|
|
|
1962 |
|
|
// |
1963 |
|
|
// Code for hpp::constraints_idl::ConfigurationConstraint::setWeights |
1964 |
|
|
|
1965 |
|
|
// Proxy call descriptor class. Mangled signature: |
1966 |
|
|
// void_i_chpp_mfloatSeq_e_chpp_mError |
1967 |
|
|
class _0RL_cd_0555b12ec860355d_91000000 |
1968 |
|
|
: public omniCallDescriptor |
1969 |
|
|
{ |
1970 |
|
|
public: |
1971 |
|
✗ |
inline _0RL_cd_0555b12ec860355d_91000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1972 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1973 |
|
|
{ |
1974 |
|
|
|
1975 |
|
|
} |
1976 |
|
|
|
1977 |
|
|
void marshalArguments(cdrStream&); |
1978 |
|
|
void unmarshalArguments(cdrStream&); |
1979 |
|
|
|
1980 |
|
|
|
1981 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1982 |
|
|
static const char* const _user_exns[]; |
1983 |
|
|
|
1984 |
|
|
hpp::floatSeq_var arg_0_; |
1985 |
|
|
const hpp::floatSeq* arg_0; |
1986 |
|
|
}; |
1987 |
|
|
|
1988 |
|
✗ |
void _0RL_cd_0555b12ec860355d_91000000::marshalArguments(cdrStream& _n) |
1989 |
|
|
{ |
1990 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
1991 |
|
|
|
1992 |
|
|
} |
1993 |
|
|
|
1994 |
|
✗ |
void _0RL_cd_0555b12ec860355d_91000000::unmarshalArguments(cdrStream& _n) |
1995 |
|
|
{ |
1996 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
1997 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
1998 |
|
✗ |
arg_0 = &arg_0_.in(); |
1999 |
|
|
|
2000 |
|
|
} |
2001 |
|
|
|
2002 |
|
|
const char* const _0RL_cd_0555b12ec860355d_91000000::_user_exns[] = { |
2003 |
|
|
hpp::Error::_PD_repoId |
2004 |
|
|
}; |
2005 |
|
|
|
2006 |
|
✗ |
void _0RL_cd_0555b12ec860355d_91000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
2007 |
|
|
{ |
2008 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
2009 |
|
✗ |
hpp::Error _ex; |
2010 |
|
✗ |
_ex <<= s; |
2011 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
2012 |
|
✗ |
throw _ex; |
2013 |
|
|
} |
2014 |
|
|
|
2015 |
|
|
|
2016 |
|
|
else { |
2017 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
2018 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
2019 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
2020 |
|
|
} |
2021 |
|
|
} |
2022 |
|
|
|
2023 |
|
|
// Local call call-back function. |
2024 |
|
|
static void |
2025 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_a1000000(omniCallDescriptor* cd, omniServant* svnt) |
2026 |
|
|
{ |
2027 |
|
✗ |
_0RL_cd_0555b12ec860355d_91000000* tcd = (_0RL_cd_0555b12ec860355d_91000000*)cd; |
2028 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint* impl = (hpp::constraints_idl::_impl_ConfigurationConstraint*) svnt->_ptrToInterface(hpp::constraints_idl::ConfigurationConstraint::_PD_repoId); |
2029 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2030 |
|
✗ |
impl->setWeights(*tcd->arg_0); |
2031 |
|
|
#else |
2032 |
|
|
if (!cd->is_upcall()) |
2033 |
|
|
impl->setWeights(*tcd->arg_0); |
2034 |
|
|
else { |
2035 |
|
|
try { |
2036 |
|
|
impl->setWeights(*tcd->arg_0); |
2037 |
|
|
} |
2038 |
|
|
catch(hpp::Error& ex) { |
2039 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2040 |
|
|
} |
2041 |
|
|
|
2042 |
|
|
|
2043 |
|
|
} |
2044 |
|
|
#endif |
2045 |
|
|
|
2046 |
|
|
|
2047 |
|
|
} |
2048 |
|
|
|
2049 |
|
✗ |
void hpp::constraints_idl::_objref_ConfigurationConstraint::setWeights(const ::hpp::floatSeq& weights) |
2050 |
|
|
{ |
2051 |
|
✗ |
_0RL_cd_0555b12ec860355d_91000000 _call_desc(_0RL_lcfn_0555b12ec860355d_a1000000, "setWeights", 11); |
2052 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) weights; |
2053 |
|
|
|
2054 |
|
✗ |
_invoke(_call_desc); |
2055 |
|
|
|
2056 |
|
|
|
2057 |
|
|
|
2058 |
|
|
} |
2059 |
|
|
|
2060 |
|
|
|
2061 |
|
|
// |
2062 |
|
|
// Code for hpp::constraints_idl::ConfigurationConstraint::getGoal |
2063 |
|
|
|
2064 |
|
|
// Local call call-back function. |
2065 |
|
|
static void |
2066 |
|
✗ |
_0RL_lcfn_0555b12ec860355d_b1000000(omniCallDescriptor* cd, omniServant* svnt) |
2067 |
|
|
{ |
2068 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000* tcd = (_0RL_cd_0555b12ec860355d_71000000*)cd; |
2069 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint* impl = (hpp::constraints_idl::_impl_ConfigurationConstraint*) svnt->_ptrToInterface(hpp::constraints_idl::ConfigurationConstraint::_PD_repoId); |
2070 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
2071 |
|
✗ |
tcd->result = impl->getGoal(); |
2072 |
|
|
#else |
2073 |
|
|
if (!cd->is_upcall()) |
2074 |
|
|
tcd->result = impl->getGoal(); |
2075 |
|
|
else { |
2076 |
|
|
try { |
2077 |
|
|
tcd->result = impl->getGoal(); |
2078 |
|
|
} |
2079 |
|
|
catch(hpp::Error& ex) { |
2080 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
2081 |
|
|
} |
2082 |
|
|
|
2083 |
|
|
|
2084 |
|
|
} |
2085 |
|
|
#endif |
2086 |
|
|
|
2087 |
|
|
|
2088 |
|
|
} |
2089 |
|
|
|
2090 |
|
✗ |
hpp::floatSeq* hpp::constraints_idl::_objref_ConfigurationConstraint::getGoal() |
2091 |
|
|
{ |
2092 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000 _call_desc(_0RL_lcfn_0555b12ec860355d_b1000000, "getGoal", 8); |
2093 |
|
|
|
2094 |
|
|
|
2095 |
|
✗ |
_invoke(_call_desc); |
2096 |
|
✗ |
return _call_desc.result._retn(); |
2097 |
|
|
|
2098 |
|
|
|
2099 |
|
|
} |
2100 |
|
|
|
2101 |
|
16 |
hpp::constraints_idl::_pof_ConfigurationConstraint::~_pof_ConfigurationConstraint() {} |
2102 |
|
|
|
2103 |
|
|
|
2104 |
|
|
omniObjRef* |
2105 |
|
✗ |
hpp::constraints_idl::_pof_ConfigurationConstraint::newObjRef(omniIOR* ior, omniIdentity* id) |
2106 |
|
|
{ |
2107 |
|
✗ |
return new ::hpp::constraints_idl::_objref_ConfigurationConstraint(ior, id); |
2108 |
|
|
} |
2109 |
|
|
|
2110 |
|
|
|
2111 |
|
|
::CORBA::Boolean |
2112 |
|
✗ |
hpp::constraints_idl::_pof_ConfigurationConstraint::is_a(const char* id) const |
2113 |
|
|
{ |
2114 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId)) |
2115 |
|
✗ |
return 1; |
2116 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
2117 |
|
✗ |
return 1; |
2118 |
|
|
|
2119 |
|
|
|
2120 |
|
✗ |
return 0; |
2121 |
|
|
} |
2122 |
|
|
|
2123 |
|
|
const hpp::constraints_idl::_pof_ConfigurationConstraint _the_pof_hpp_mconstraints__idl_mConfigurationConstraint; |
2124 |
|
|
|
2125 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint::~_impl_ConfigurationConstraint() {} |
2126 |
|
|
|
2127 |
|
|
|
2128 |
|
|
::CORBA::Boolean |
2129 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint::_dispatch(omniCallHandle& _handle) |
2130 |
|
|
{ |
2131 |
|
✗ |
const char* op = _handle.operation_name(); |
2132 |
|
|
|
2133 |
|
✗ |
if (omni::strMatch(op, "getWeights")) { |
2134 |
|
|
|
2135 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000 _call_desc(_0RL_lcfn_0555b12ec860355d_81000000, "getWeights", 11, 1); |
2136 |
|
|
|
2137 |
|
✗ |
_handle.upcall(this,_call_desc); |
2138 |
|
✗ |
return 1; |
2139 |
|
|
} |
2140 |
|
|
|
2141 |
|
✗ |
if (omni::strMatch(op, "setWeights")) { |
2142 |
|
|
|
2143 |
|
✗ |
_0RL_cd_0555b12ec860355d_91000000 _call_desc(_0RL_lcfn_0555b12ec860355d_a1000000, "setWeights", 11, 1); |
2144 |
|
|
|
2145 |
|
✗ |
_handle.upcall(this,_call_desc); |
2146 |
|
✗ |
return 1; |
2147 |
|
|
} |
2148 |
|
|
|
2149 |
|
✗ |
if (omni::strMatch(op, "getGoal")) { |
2150 |
|
|
|
2151 |
|
✗ |
_0RL_cd_0555b12ec860355d_71000000 _call_desc(_0RL_lcfn_0555b12ec860355d_b1000000, "getGoal", 8, 1); |
2152 |
|
|
|
2153 |
|
✗ |
_handle.upcall(this,_call_desc); |
2154 |
|
✗ |
return 1; |
2155 |
|
|
} |
2156 |
|
|
|
2157 |
|
|
|
2158 |
|
|
#ifndef _MSC_VER |
2159 |
|
✗ |
if (_impl_DifferentiableFunction::_dispatch(_handle)) { |
2160 |
|
✗ |
return 1; |
2161 |
|
|
} |
2162 |
|
|
#else |
2163 |
|
|
// Work-around for incorrect MSVC code generation. |
2164 |
|
|
if (((_impl_DifferentiableFunction*)this)-> |
2165 |
|
|
_impl_DifferentiableFunction::_dispatch(_handle)) { |
2166 |
|
|
return 1; |
2167 |
|
|
} |
2168 |
|
|
#endif |
2169 |
|
|
|
2170 |
|
|
|
2171 |
|
✗ |
return 0; |
2172 |
|
|
} |
2173 |
|
|
|
2174 |
|
|
void* |
2175 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint::_ptrToInterface(const char* id) |
2176 |
|
|
{ |
2177 |
|
✗ |
if (id == ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId) |
2178 |
|
✗ |
return (::hpp::constraints_idl::_impl_ConfigurationConstraint*) this; |
2179 |
|
✗ |
if (id == ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId) |
2180 |
|
✗ |
return (::hpp::constraints_idl::_impl_DifferentiableFunction*) this; |
2181 |
|
|
|
2182 |
|
|
|
2183 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
2184 |
|
✗ |
return (void*) 1; |
2185 |
|
|
|
2186 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId)) |
2187 |
|
✗ |
return (::hpp::constraints_idl::_impl_ConfigurationConstraint*) this; |
2188 |
|
✗ |
if (omni::strMatch(id, ::hpp::constraints_idl::DifferentiableFunction::_PD_repoId)) |
2189 |
|
✗ |
return (::hpp::constraints_idl::_impl_DifferentiableFunction*) this; |
2190 |
|
|
|
2191 |
|
|
|
2192 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
2193 |
|
✗ |
return (void*) 1; |
2194 |
|
✗ |
return 0; |
2195 |
|
|
} |
2196 |
|
|
|
2197 |
|
|
const char* |
2198 |
|
✗ |
hpp::constraints_idl::_impl_ConfigurationConstraint::_mostDerivedRepoId() |
2199 |
|
|
{ |
2200 |
|
✗ |
return ::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId; |
2201 |
|
|
} |
2202 |
|
|
|
2203 |
|
✗ |
POA_hpp::constraints_idl::DifferentiableFunction::~DifferentiableFunction() {} |
2204 |
|
|
|
2205 |
|
✗ |
POA_hpp::constraints_idl::Implicit::~Implicit() {} |
2206 |
|
|
|
2207 |
|
✗ |
POA_hpp::constraints_idl::LockedJoint::~LockedJoint() {} |
2208 |
|
|
|
2209 |
|
✗ |
POA_hpp::constraints_idl::ConfigurationConstraint::~ConfigurationConstraint() {} |
2210 |
|
|
|
2211 |
|
|
|