Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
2 |
|
|
|
3 |
|
|
#include "configuration_shooters-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::core_idl::ConfigurationShooter_ptr hpp::core_idl::ConfigurationShooter_Helper::_nil() { |
18 |
|
✗ |
return ::hpp::core_idl::ConfigurationShooter::_nil(); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
✗ |
::CORBA::Boolean hpp::core_idl::ConfigurationShooter_Helper::is_nil(::hpp::core_idl::ConfigurationShooter_ptr p) { |
22 |
|
✗ |
return ::CORBA::is_nil(p); |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
✗ |
void hpp::core_idl::ConfigurationShooter_Helper::release(::hpp::core_idl::ConfigurationShooter_ptr p) { |
27 |
|
✗ |
::CORBA::release(p); |
28 |
|
|
} |
29 |
|
|
|
30 |
|
✗ |
void hpp::core_idl::ConfigurationShooter_Helper::marshalObjRef(::hpp::core_idl::ConfigurationShooter_ptr obj, cdrStream& s) { |
31 |
|
✗ |
::hpp::core_idl::ConfigurationShooter::_marshalObjRef(obj, s); |
32 |
|
|
} |
33 |
|
|
|
34 |
|
✗ |
hpp::core_idl::ConfigurationShooter_ptr hpp::core_idl::ConfigurationShooter_Helper::unmarshalObjRef(cdrStream& s) { |
35 |
|
✗ |
return ::hpp::core_idl::ConfigurationShooter::_unmarshalObjRef(s); |
36 |
|
|
} |
37 |
|
|
|
38 |
|
✗ |
void hpp::core_idl::ConfigurationShooter_Helper::duplicate(::hpp::core_idl::ConfigurationShooter_ptr obj) { |
39 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
40 |
|
|
} |
41 |
|
|
|
42 |
|
|
hpp::core_idl::ConfigurationShooter_ptr |
43 |
|
✗ |
hpp::core_idl::ConfigurationShooter::_duplicate(::hpp::core_idl::ConfigurationShooter_ptr obj) |
44 |
|
|
{ |
45 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
46 |
|
✗ |
return obj; |
47 |
|
|
} |
48 |
|
|
|
49 |
|
|
hpp::core_idl::ConfigurationShooter_ptr |
50 |
|
✗ |
hpp::core_idl::ConfigurationShooter::_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::core_idl::ConfigurationShooter_ptr |
59 |
|
✗ |
hpp::core_idl::ConfigurationShooter::_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::core_idl::ConfigurationShooter_ptr |
67 |
|
✗ |
hpp::core_idl::ConfigurationShooter::_nil() |
68 |
|
|
{ |
69 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
70 |
|
|
static _objref_ConfigurationShooter _the_nil_obj; |
71 |
|
|
return &_the_nil_obj; |
72 |
|
|
#else |
73 |
|
|
static _objref_ConfigurationShooter* _the_nil_ptr = 0; |
74 |
|
✗ |
if (!_the_nil_ptr) { |
75 |
|
✗ |
omni::nilRefLock().lock(); |
76 |
|
✗ |
if (!_the_nil_ptr) { |
77 |
|
✗ |
_the_nil_ptr = new _objref_ConfigurationShooter; |
78 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
79 |
|
|
} |
80 |
|
✗ |
omni::nilRefLock().unlock(); |
81 |
|
|
} |
82 |
|
✗ |
return _the_nil_ptr; |
83 |
|
|
#endif |
84 |
|
|
} |
85 |
|
|
|
86 |
|
|
const char* hpp::core_idl::ConfigurationShooter::_PD_repoId = "IDL:hpp/core_idl/ConfigurationShooter:1.0"; |
87 |
|
|
|
88 |
|
|
|
89 |
|
✗ |
hpp::core_idl::_objref_ConfigurationShooter::~_objref_ConfigurationShooter() { |
90 |
|
|
|
91 |
|
|
} |
92 |
|
|
|
93 |
|
|
|
94 |
|
✗ |
hpp::core_idl::_objref_ConfigurationShooter::_objref_ConfigurationShooter(omniIOR* ior, omniIdentity* id) : |
95 |
|
✗ |
omniObjRef(::hpp::core_idl::ConfigurationShooter::_PD_repoId, ior, id, 1) |
96 |
|
|
|
97 |
|
|
|
98 |
|
|
{ |
99 |
|
✗ |
_PR_setobj(this); |
100 |
|
|
} |
101 |
|
|
|
102 |
|
|
void* |
103 |
|
✗ |
hpp::core_idl::_objref_ConfigurationShooter::_ptrToObjRef(const char* id) |
104 |
|
|
{ |
105 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
106 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_ptr) this; |
107 |
|
|
|
108 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
109 |
|
✗ |
return (::CORBA::Object_ptr) this; |
110 |
|
|
|
111 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
112 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_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::core_idl::ConfigurationShooter::deleteThis |
123 |
|
|
|
124 |
|
|
// Proxy call descriptor class. Mangled signature: |
125 |
|
|
// void_e_chpp_mError |
126 |
|
|
class _0RL_cd_cad2a21b50beb83d_00000000 |
127 |
|
|
: public omniCallDescriptor |
128 |
|
|
{ |
129 |
|
|
public: |
130 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_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 |
|
|
|
137 |
|
|
|
138 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
139 |
|
|
static const char* const _user_exns[]; |
140 |
|
|
|
141 |
|
|
|
142 |
|
|
}; |
143 |
|
|
|
144 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_00000000::_user_exns[] = { |
145 |
|
|
hpp::Error::_PD_repoId |
146 |
|
|
}; |
147 |
|
|
|
148 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
149 |
|
|
{ |
150 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
151 |
|
✗ |
hpp::Error _ex; |
152 |
|
✗ |
_ex <<= s; |
153 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
154 |
|
✗ |
throw _ex; |
155 |
|
|
} |
156 |
|
|
|
157 |
|
|
|
158 |
|
|
else { |
159 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
160 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
161 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
162 |
|
|
} |
163 |
|
|
} |
164 |
|
|
|
165 |
|
|
// Local call call-back function. |
166 |
|
|
static void |
167 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_10000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) |
168 |
|
|
{ |
169 |
|
|
|
170 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter* impl = (hpp::core_idl::_impl_ConfigurationShooter*) svnt->_ptrToInterface(hpp::core_idl::ConfigurationShooter::_PD_repoId); |
171 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
172 |
|
✗ |
impl->deleteThis(); |
173 |
|
|
#else |
174 |
|
|
if (!cd->is_upcall()) |
175 |
|
|
impl->deleteThis(); |
176 |
|
|
else { |
177 |
|
|
try { |
178 |
|
|
impl->deleteThis(); |
179 |
|
|
} |
180 |
|
|
catch(hpp::Error& ex) { |
181 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
182 |
|
|
} |
183 |
|
|
|
184 |
|
|
|
185 |
|
|
} |
186 |
|
|
#endif |
187 |
|
|
|
188 |
|
|
|
189 |
|
|
} |
190 |
|
|
|
191 |
|
✗ |
void hpp::core_idl::_objref_ConfigurationShooter::deleteThis() |
192 |
|
|
{ |
193 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_00000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_10000000, "deleteThis", 11); |
194 |
|
|
|
195 |
|
|
|
196 |
|
✗ |
_invoke(_call_desc); |
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
} |
201 |
|
|
|
202 |
|
|
|
203 |
|
|
// |
204 |
|
|
// Code for hpp::core_idl::ConfigurationShooter::deleteIfExpired |
205 |
|
|
|
206 |
|
|
// Proxy call descriptor class. Mangled signature: |
207 |
|
|
// _cboolean_e_chpp_mError |
208 |
|
|
class _0RL_cd_cad2a21b50beb83d_20000000 |
209 |
|
|
: public omniCallDescriptor |
210 |
|
|
{ |
211 |
|
|
public: |
212 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
213 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
214 |
|
|
{ |
215 |
|
|
|
216 |
|
|
} |
217 |
|
|
|
218 |
|
|
|
219 |
|
|
void unmarshalReturnedValues(cdrStream&); |
220 |
|
|
void marshalReturnedValues(cdrStream&); |
221 |
|
|
|
222 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
223 |
|
|
static const char* const _user_exns[]; |
224 |
|
|
|
225 |
|
|
::CORBA::Boolean result; |
226 |
|
|
}; |
227 |
|
|
|
228 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_20000000::marshalReturnedValues(cdrStream& _n) |
229 |
|
|
{ |
230 |
|
✗ |
_n.marshalBoolean(result); |
231 |
|
|
|
232 |
|
|
} |
233 |
|
|
|
234 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_20000000::unmarshalReturnedValues(cdrStream& _n) |
235 |
|
|
{ |
236 |
|
✗ |
result = _n.unmarshalBoolean(); |
237 |
|
|
|
238 |
|
|
} |
239 |
|
|
|
240 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_20000000::_user_exns[] = { |
241 |
|
|
hpp::Error::_PD_repoId |
242 |
|
|
}; |
243 |
|
|
|
244 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
245 |
|
|
{ |
246 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
247 |
|
✗ |
hpp::Error _ex; |
248 |
|
✗ |
_ex <<= s; |
249 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
250 |
|
✗ |
throw _ex; |
251 |
|
|
} |
252 |
|
|
|
253 |
|
|
|
254 |
|
|
else { |
255 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
256 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
257 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
258 |
|
|
} |
259 |
|
|
} |
260 |
|
|
|
261 |
|
|
// Local call call-back function. |
262 |
|
|
static void |
263 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_30000000(omniCallDescriptor* cd, omniServant* svnt) |
264 |
|
|
{ |
265 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_20000000* tcd = (_0RL_cd_cad2a21b50beb83d_20000000*)cd; |
266 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter* impl = (hpp::core_idl::_impl_ConfigurationShooter*) svnt->_ptrToInterface(hpp::core_idl::ConfigurationShooter::_PD_repoId); |
267 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
268 |
|
✗ |
tcd->result = impl->deleteIfExpired(); |
269 |
|
|
#else |
270 |
|
|
if (!cd->is_upcall()) |
271 |
|
|
tcd->result = impl->deleteIfExpired(); |
272 |
|
|
else { |
273 |
|
|
try { |
274 |
|
|
tcd->result = impl->deleteIfExpired(); |
275 |
|
|
} |
276 |
|
|
catch(hpp::Error& ex) { |
277 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
278 |
|
|
} |
279 |
|
|
|
280 |
|
|
|
281 |
|
|
} |
282 |
|
|
#endif |
283 |
|
|
|
284 |
|
|
|
285 |
|
|
} |
286 |
|
|
|
287 |
|
✗ |
::CORBA::Boolean hpp::core_idl::_objref_ConfigurationShooter::deleteIfExpired() |
288 |
|
|
{ |
289 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_20000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_30000000, "deleteIfExpired", 16); |
290 |
|
|
|
291 |
|
|
|
292 |
|
✗ |
_invoke(_call_desc); |
293 |
|
✗ |
return _call_desc.result; |
294 |
|
|
|
295 |
|
|
|
296 |
|
|
} |
297 |
|
|
|
298 |
|
|
|
299 |
|
|
// |
300 |
|
|
// Code for hpp::core_idl::ConfigurationShooter::persistantStorage |
301 |
|
|
|
302 |
|
|
// Proxy call descriptor class. Mangled signature: |
303 |
|
|
// void_i_cboolean_e_chpp_mError |
304 |
|
|
class _0RL_cd_cad2a21b50beb83d_40000000 |
305 |
|
|
: public omniCallDescriptor |
306 |
|
|
{ |
307 |
|
|
public: |
308 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
309 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
310 |
|
|
{ |
311 |
|
|
|
312 |
|
|
} |
313 |
|
|
|
314 |
|
|
void marshalArguments(cdrStream&); |
315 |
|
|
void unmarshalArguments(cdrStream&); |
316 |
|
|
|
317 |
|
|
|
318 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
319 |
|
|
static const char* const _user_exns[]; |
320 |
|
|
|
321 |
|
|
::CORBA::Boolean arg_0; |
322 |
|
|
}; |
323 |
|
|
|
324 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_40000000::marshalArguments(cdrStream& _n) |
325 |
|
|
{ |
326 |
|
✗ |
_n.marshalBoolean(arg_0); |
327 |
|
|
|
328 |
|
|
} |
329 |
|
|
|
330 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_40000000::unmarshalArguments(cdrStream& _n) |
331 |
|
|
{ |
332 |
|
✗ |
arg_0 = _n.unmarshalBoolean(); |
333 |
|
|
|
334 |
|
|
} |
335 |
|
|
|
336 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_40000000::_user_exns[] = { |
337 |
|
|
hpp::Error::_PD_repoId |
338 |
|
|
}; |
339 |
|
|
|
340 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
341 |
|
|
{ |
342 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
343 |
|
✗ |
hpp::Error _ex; |
344 |
|
✗ |
_ex <<= s; |
345 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
346 |
|
✗ |
throw _ex; |
347 |
|
|
} |
348 |
|
|
|
349 |
|
|
|
350 |
|
|
else { |
351 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
352 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
353 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
354 |
|
|
} |
355 |
|
|
} |
356 |
|
|
|
357 |
|
|
// Local call call-back function. |
358 |
|
|
static void |
359 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_50000000(omniCallDescriptor* cd, omniServant* svnt) |
360 |
|
|
{ |
361 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_40000000* tcd = (_0RL_cd_cad2a21b50beb83d_40000000*)cd; |
362 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter* impl = (hpp::core_idl::_impl_ConfigurationShooter*) svnt->_ptrToInterface(hpp::core_idl::ConfigurationShooter::_PD_repoId); |
363 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
364 |
|
✗ |
impl->persistantStorage(tcd->arg_0); |
365 |
|
|
#else |
366 |
|
|
if (!cd->is_upcall()) |
367 |
|
|
impl->persistantStorage(tcd->arg_0); |
368 |
|
|
else { |
369 |
|
|
try { |
370 |
|
|
impl->persistantStorage(tcd->arg_0); |
371 |
|
|
} |
372 |
|
|
catch(hpp::Error& ex) { |
373 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
374 |
|
|
} |
375 |
|
|
|
376 |
|
|
|
377 |
|
|
} |
378 |
|
|
#endif |
379 |
|
|
|
380 |
|
|
|
381 |
|
|
} |
382 |
|
|
|
383 |
|
✗ |
void hpp::core_idl::_objref_ConfigurationShooter::persistantStorage(::CORBA::Boolean persistant) |
384 |
|
|
{ |
385 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_40000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_50000000, "persistantStorage", 18); |
386 |
|
✗ |
_call_desc.arg_0 = persistant; |
387 |
|
|
|
388 |
|
✗ |
_invoke(_call_desc); |
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
} |
393 |
|
|
|
394 |
|
|
|
395 |
|
|
// |
396 |
|
|
// Code for hpp::core_idl::ConfigurationShooter::shoot |
397 |
|
|
|
398 |
|
|
// Proxy call descriptor class. Mangled signature: |
399 |
|
|
// _chpp_mfloatSeq_e_chpp_mError |
400 |
|
|
class _0RL_cd_cad2a21b50beb83d_60000000 |
401 |
|
|
: public omniCallDescriptor |
402 |
|
|
{ |
403 |
|
|
public: |
404 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_60000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
405 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
406 |
|
|
{ |
407 |
|
|
|
408 |
|
|
} |
409 |
|
|
|
410 |
|
|
|
411 |
|
|
void unmarshalReturnedValues(cdrStream&); |
412 |
|
|
void marshalReturnedValues(cdrStream&); |
413 |
|
|
|
414 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
415 |
|
|
static const char* const _user_exns[]; |
416 |
|
|
|
417 |
|
|
hpp::floatSeq_var result; |
418 |
|
|
}; |
419 |
|
|
|
420 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_60000000::marshalReturnedValues(cdrStream& _n) |
421 |
|
|
{ |
422 |
|
✗ |
(const hpp::floatSeq&) result >>= _n; |
423 |
|
|
|
424 |
|
|
} |
425 |
|
|
|
426 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_60000000::unmarshalReturnedValues(cdrStream& _n) |
427 |
|
|
{ |
428 |
|
✗ |
result = new hpp::floatSeq; |
429 |
|
✗ |
(hpp::floatSeq&)result <<= _n; |
430 |
|
|
|
431 |
|
|
} |
432 |
|
|
|
433 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_60000000::_user_exns[] = { |
434 |
|
|
hpp::Error::_PD_repoId |
435 |
|
|
}; |
436 |
|
|
|
437 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_60000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
438 |
|
|
{ |
439 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
440 |
|
✗ |
hpp::Error _ex; |
441 |
|
✗ |
_ex <<= s; |
442 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
443 |
|
✗ |
throw _ex; |
444 |
|
|
} |
445 |
|
|
|
446 |
|
|
|
447 |
|
|
else { |
448 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
449 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
450 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
451 |
|
|
} |
452 |
|
|
} |
453 |
|
|
|
454 |
|
|
// Local call call-back function. |
455 |
|
|
static void |
456 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_70000000(omniCallDescriptor* cd, omniServant* svnt) |
457 |
|
|
{ |
458 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000* tcd = (_0RL_cd_cad2a21b50beb83d_60000000*)cd; |
459 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter* impl = (hpp::core_idl::_impl_ConfigurationShooter*) svnt->_ptrToInterface(hpp::core_idl::ConfigurationShooter::_PD_repoId); |
460 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
461 |
|
✗ |
tcd->result = impl->shoot(); |
462 |
|
|
#else |
463 |
|
|
if (!cd->is_upcall()) |
464 |
|
|
tcd->result = impl->shoot(); |
465 |
|
|
else { |
466 |
|
|
try { |
467 |
|
|
tcd->result = impl->shoot(); |
468 |
|
|
} |
469 |
|
|
catch(hpp::Error& ex) { |
470 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
471 |
|
|
} |
472 |
|
|
|
473 |
|
|
|
474 |
|
|
} |
475 |
|
|
#endif |
476 |
|
|
|
477 |
|
|
|
478 |
|
|
} |
479 |
|
|
|
480 |
|
✗ |
hpp::floatSeq* hpp::core_idl::_objref_ConfigurationShooter::shoot() |
481 |
|
|
{ |
482 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_70000000, "shoot", 6); |
483 |
|
|
|
484 |
|
|
|
485 |
|
✗ |
_invoke(_call_desc); |
486 |
|
✗ |
return _call_desc.result._retn(); |
487 |
|
|
|
488 |
|
|
|
489 |
|
|
} |
490 |
|
|
|
491 |
|
16 |
hpp::core_idl::_pof_ConfigurationShooter::~_pof_ConfigurationShooter() {} |
492 |
|
|
|
493 |
|
|
|
494 |
|
|
omniObjRef* |
495 |
|
✗ |
hpp::core_idl::_pof_ConfigurationShooter::newObjRef(omniIOR* ior, omniIdentity* id) |
496 |
|
|
{ |
497 |
|
✗ |
return new ::hpp::core_idl::_objref_ConfigurationShooter(ior, id); |
498 |
|
|
} |
499 |
|
|
|
500 |
|
|
|
501 |
|
|
::CORBA::Boolean |
502 |
|
✗ |
hpp::core_idl::_pof_ConfigurationShooter::is_a(const char* id) const |
503 |
|
|
{ |
504 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
505 |
|
✗ |
return 1; |
506 |
|
|
|
507 |
|
✗ |
return 0; |
508 |
|
|
} |
509 |
|
|
|
510 |
|
|
const hpp::core_idl::_pof_ConfigurationShooter _the_pof_hpp_mcore__idl_mConfigurationShooter; |
511 |
|
|
|
512 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter::~_impl_ConfigurationShooter() {} |
513 |
|
|
|
514 |
|
|
|
515 |
|
|
::CORBA::Boolean |
516 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter::_dispatch(omniCallHandle& _handle) |
517 |
|
|
{ |
518 |
|
✗ |
const char* op = _handle.operation_name(); |
519 |
|
|
|
520 |
|
✗ |
if (omni::strMatch(op, "deleteThis")) { |
521 |
|
|
|
522 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_00000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_10000000, "deleteThis", 11, 1); |
523 |
|
|
|
524 |
|
✗ |
_handle.upcall(this,_call_desc); |
525 |
|
✗ |
return 1; |
526 |
|
|
} |
527 |
|
|
|
528 |
|
✗ |
if (omni::strMatch(op, "deleteIfExpired")) { |
529 |
|
|
|
530 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_20000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_30000000, "deleteIfExpired", 16, 1); |
531 |
|
|
|
532 |
|
✗ |
_handle.upcall(this,_call_desc); |
533 |
|
✗ |
return 1; |
534 |
|
|
} |
535 |
|
|
|
536 |
|
✗ |
if (omni::strMatch(op, "persistantStorage")) { |
537 |
|
|
|
538 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_40000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_50000000, "persistantStorage", 18, 1); |
539 |
|
|
|
540 |
|
✗ |
_handle.upcall(this,_call_desc); |
541 |
|
✗ |
return 1; |
542 |
|
|
} |
543 |
|
|
|
544 |
|
✗ |
if (omni::strMatch(op, "shoot")) { |
545 |
|
|
|
546 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_70000000, "shoot", 6, 1); |
547 |
|
|
|
548 |
|
✗ |
_handle.upcall(this,_call_desc); |
549 |
|
✗ |
return 1; |
550 |
|
|
} |
551 |
|
|
|
552 |
|
|
|
553 |
|
✗ |
return 0; |
554 |
|
|
} |
555 |
|
|
|
556 |
|
|
void* |
557 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter::_ptrToInterface(const char* id) |
558 |
|
|
{ |
559 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
560 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
561 |
|
|
|
562 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
563 |
|
✗ |
return (void*) 1; |
564 |
|
|
|
565 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
566 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
567 |
|
|
|
568 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
569 |
|
✗ |
return (void*) 1; |
570 |
|
✗ |
return 0; |
571 |
|
|
} |
572 |
|
|
|
573 |
|
|
const char* |
574 |
|
✗ |
hpp::core_idl::_impl_ConfigurationShooter::_mostDerivedRepoId() |
575 |
|
|
{ |
576 |
|
✗ |
return ::hpp::core_idl::ConfigurationShooter::_PD_repoId; |
577 |
|
|
} |
578 |
|
|
|
579 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian_ptr hpp::core_idl::configuration_shooter::Gaussian_Helper::_nil() { |
580 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::Gaussian::_nil(); |
581 |
|
|
} |
582 |
|
|
|
583 |
|
✗ |
::CORBA::Boolean hpp::core_idl::configuration_shooter::Gaussian_Helper::is_nil(::hpp::core_idl::configuration_shooter::Gaussian_ptr p) { |
584 |
|
✗ |
return ::CORBA::is_nil(p); |
585 |
|
|
|
586 |
|
|
} |
587 |
|
|
|
588 |
|
✗ |
void hpp::core_idl::configuration_shooter::Gaussian_Helper::release(::hpp::core_idl::configuration_shooter::Gaussian_ptr p) { |
589 |
|
✗ |
::CORBA::release(p); |
590 |
|
|
} |
591 |
|
|
|
592 |
|
✗ |
void hpp::core_idl::configuration_shooter::Gaussian_Helper::marshalObjRef(::hpp::core_idl::configuration_shooter::Gaussian_ptr obj, cdrStream& s) { |
593 |
|
✗ |
::hpp::core_idl::configuration_shooter::Gaussian::_marshalObjRef(obj, s); |
594 |
|
|
} |
595 |
|
|
|
596 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian_ptr hpp::core_idl::configuration_shooter::Gaussian_Helper::unmarshalObjRef(cdrStream& s) { |
597 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::Gaussian::_unmarshalObjRef(s); |
598 |
|
|
} |
599 |
|
|
|
600 |
|
✗ |
void hpp::core_idl::configuration_shooter::Gaussian_Helper::duplicate(::hpp::core_idl::configuration_shooter::Gaussian_ptr obj) { |
601 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
602 |
|
|
} |
603 |
|
|
|
604 |
|
|
hpp::core_idl::configuration_shooter::Gaussian_ptr |
605 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian::_duplicate(::hpp::core_idl::configuration_shooter::Gaussian_ptr obj) |
606 |
|
|
{ |
607 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
608 |
|
✗ |
return obj; |
609 |
|
|
} |
610 |
|
|
|
611 |
|
|
hpp::core_idl::configuration_shooter::Gaussian_ptr |
612 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian::_narrow(::CORBA::Object_ptr obj) |
613 |
|
|
{ |
614 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
615 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
616 |
|
✗ |
return e ? e : _nil(); |
617 |
|
|
} |
618 |
|
|
|
619 |
|
|
|
620 |
|
|
hpp::core_idl::configuration_shooter::Gaussian_ptr |
621 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian::_unchecked_narrow(::CORBA::Object_ptr obj) |
622 |
|
|
{ |
623 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
624 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
625 |
|
✗ |
return e ? e : _nil(); |
626 |
|
|
} |
627 |
|
|
|
628 |
|
|
hpp::core_idl::configuration_shooter::Gaussian_ptr |
629 |
|
✗ |
hpp::core_idl::configuration_shooter::Gaussian::_nil() |
630 |
|
|
{ |
631 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
632 |
|
|
static _objref_Gaussian _the_nil_obj; |
633 |
|
|
return &_the_nil_obj; |
634 |
|
|
#else |
635 |
|
|
static _objref_Gaussian* _the_nil_ptr = 0; |
636 |
|
✗ |
if (!_the_nil_ptr) { |
637 |
|
✗ |
omni::nilRefLock().lock(); |
638 |
|
✗ |
if (!_the_nil_ptr) { |
639 |
|
✗ |
_the_nil_ptr = new _objref_Gaussian; |
640 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
641 |
|
|
} |
642 |
|
✗ |
omni::nilRefLock().unlock(); |
643 |
|
|
} |
644 |
|
✗ |
return _the_nil_ptr; |
645 |
|
|
#endif |
646 |
|
|
} |
647 |
|
|
|
648 |
|
|
const char* hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId = "IDL:hpp/core_idl/configuration_shooter/Gaussian:1.0"; |
649 |
|
|
|
650 |
|
|
|
651 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_Gaussian::~_objref_Gaussian() { |
652 |
|
|
|
653 |
|
|
} |
654 |
|
|
|
655 |
|
|
|
656 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_Gaussian::_objref_Gaussian(omniIOR* ior, omniIdentity* id) : |
657 |
|
|
omniObjRef(::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId, ior, id, 1), |
658 |
|
✗ |
_objref_ConfigurationShooter(ior, id) |
659 |
|
|
|
660 |
|
|
{ |
661 |
|
✗ |
_PR_setobj(this); |
662 |
|
|
} |
663 |
|
|
|
664 |
|
|
void* |
665 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_Gaussian::_ptrToObjRef(const char* id) |
666 |
|
|
{ |
667 |
|
✗ |
if (id == ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId) |
668 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::Gaussian_ptr) this; |
669 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
670 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_ptr) this; |
671 |
|
|
|
672 |
|
|
|
673 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
674 |
|
✗ |
return (::CORBA::Object_ptr) this; |
675 |
|
|
|
676 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId)) |
677 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::Gaussian_ptr) this; |
678 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
679 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_ptr) this; |
680 |
|
|
|
681 |
|
|
|
682 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
683 |
|
✗ |
return (::CORBA::Object_ptr) this; |
684 |
|
|
|
685 |
|
✗ |
return 0; |
686 |
|
|
} |
687 |
|
|
|
688 |
|
|
|
689 |
|
|
// |
690 |
|
|
// Code for hpp::core_idl::configuration_shooter::Gaussian::setCenter |
691 |
|
|
|
692 |
|
|
// Proxy call descriptor class. Mangled signature: |
693 |
|
|
// void_i_chpp_mfloatSeq_e_chpp_mError |
694 |
|
|
class _0RL_cd_cad2a21b50beb83d_80000000 |
695 |
|
|
: public omniCallDescriptor |
696 |
|
|
{ |
697 |
|
|
public: |
698 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_80000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
699 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
700 |
|
|
{ |
701 |
|
|
|
702 |
|
|
} |
703 |
|
|
|
704 |
|
|
void marshalArguments(cdrStream&); |
705 |
|
|
void unmarshalArguments(cdrStream&); |
706 |
|
|
|
707 |
|
|
|
708 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
709 |
|
|
static const char* const _user_exns[]; |
710 |
|
|
|
711 |
|
|
hpp::floatSeq_var arg_0_; |
712 |
|
|
const hpp::floatSeq* arg_0; |
713 |
|
|
}; |
714 |
|
|
|
715 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_80000000::marshalArguments(cdrStream& _n) |
716 |
|
|
{ |
717 |
|
✗ |
(const hpp::floatSeq&) *arg_0 >>= _n; |
718 |
|
|
|
719 |
|
|
} |
720 |
|
|
|
721 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_80000000::unmarshalArguments(cdrStream& _n) |
722 |
|
|
{ |
723 |
|
✗ |
arg_0_ = new hpp::floatSeq; |
724 |
|
✗ |
(hpp::floatSeq&)arg_0_ <<= _n; |
725 |
|
✗ |
arg_0 = &arg_0_.in(); |
726 |
|
|
|
727 |
|
|
} |
728 |
|
|
|
729 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_80000000::_user_exns[] = { |
730 |
|
|
hpp::Error::_PD_repoId |
731 |
|
|
}; |
732 |
|
|
|
733 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_80000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
734 |
|
|
{ |
735 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
736 |
|
✗ |
hpp::Error _ex; |
737 |
|
✗ |
_ex <<= s; |
738 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
739 |
|
✗ |
throw _ex; |
740 |
|
|
} |
741 |
|
|
|
742 |
|
|
|
743 |
|
|
else { |
744 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
745 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
746 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
747 |
|
|
} |
748 |
|
|
} |
749 |
|
|
|
750 |
|
|
// Local call call-back function. |
751 |
|
|
static void |
752 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_90000000(omniCallDescriptor* cd, omniServant* svnt) |
753 |
|
|
{ |
754 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000* tcd = (_0RL_cd_cad2a21b50beb83d_80000000*)cd; |
755 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian* impl = (hpp::core_idl::configuration_shooter::_impl_Gaussian*) svnt->_ptrToInterface(hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId); |
756 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
757 |
|
✗ |
impl->setCenter(*tcd->arg_0); |
758 |
|
|
#else |
759 |
|
|
if (!cd->is_upcall()) |
760 |
|
|
impl->setCenter(*tcd->arg_0); |
761 |
|
|
else { |
762 |
|
|
try { |
763 |
|
|
impl->setCenter(*tcd->arg_0); |
764 |
|
|
} |
765 |
|
|
catch(hpp::Error& ex) { |
766 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
767 |
|
|
} |
768 |
|
|
|
769 |
|
|
|
770 |
|
|
} |
771 |
|
|
#endif |
772 |
|
|
|
773 |
|
|
|
774 |
|
|
} |
775 |
|
|
|
776 |
|
✗ |
void hpp::core_idl::configuration_shooter::_objref_Gaussian::setCenter(const ::hpp::floatSeq& c) |
777 |
|
|
{ |
778 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_90000000, "setCenter", 10); |
779 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) c; |
780 |
|
|
|
781 |
|
✗ |
_invoke(_call_desc); |
782 |
|
|
|
783 |
|
|
|
784 |
|
|
|
785 |
|
|
} |
786 |
|
|
|
787 |
|
|
|
788 |
|
|
// |
789 |
|
|
// Code for hpp::core_idl::configuration_shooter::Gaussian::getCenter |
790 |
|
|
|
791 |
|
|
// Local call call-back function. |
792 |
|
|
static void |
793 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_a0000000(omniCallDescriptor* cd, omniServant* svnt) |
794 |
|
|
{ |
795 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000* tcd = (_0RL_cd_cad2a21b50beb83d_60000000*)cd; |
796 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian* impl = (hpp::core_idl::configuration_shooter::_impl_Gaussian*) svnt->_ptrToInterface(hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId); |
797 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
798 |
|
✗ |
tcd->result = impl->getCenter(); |
799 |
|
|
#else |
800 |
|
|
if (!cd->is_upcall()) |
801 |
|
|
tcd->result = impl->getCenter(); |
802 |
|
|
else { |
803 |
|
|
try { |
804 |
|
|
tcd->result = impl->getCenter(); |
805 |
|
|
} |
806 |
|
|
catch(hpp::Error& ex) { |
807 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
808 |
|
|
} |
809 |
|
|
|
810 |
|
|
|
811 |
|
|
} |
812 |
|
|
#endif |
813 |
|
|
|
814 |
|
|
|
815 |
|
|
} |
816 |
|
|
|
817 |
|
✗ |
hpp::floatSeq* hpp::core_idl::configuration_shooter::_objref_Gaussian::getCenter() |
818 |
|
|
{ |
819 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_a0000000, "getCenter", 10); |
820 |
|
|
|
821 |
|
|
|
822 |
|
✗ |
_invoke(_call_desc); |
823 |
|
✗ |
return _call_desc.result._retn(); |
824 |
|
|
|
825 |
|
|
|
826 |
|
|
} |
827 |
|
|
|
828 |
|
|
|
829 |
|
|
// |
830 |
|
|
// Code for hpp::core_idl::configuration_shooter::Gaussian::getSigmas |
831 |
|
|
|
832 |
|
|
// Local call call-back function. |
833 |
|
|
static void |
834 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_b0000000(omniCallDescriptor* cd, omniServant* svnt) |
835 |
|
|
{ |
836 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000* tcd = (_0RL_cd_cad2a21b50beb83d_60000000*)cd; |
837 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian* impl = (hpp::core_idl::configuration_shooter::_impl_Gaussian*) svnt->_ptrToInterface(hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId); |
838 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
839 |
|
✗ |
tcd->result = impl->getSigmas(); |
840 |
|
|
#else |
841 |
|
|
if (!cd->is_upcall()) |
842 |
|
|
tcd->result = impl->getSigmas(); |
843 |
|
|
else { |
844 |
|
|
try { |
845 |
|
|
tcd->result = impl->getSigmas(); |
846 |
|
|
} |
847 |
|
|
catch(hpp::Error& ex) { |
848 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
849 |
|
|
} |
850 |
|
|
|
851 |
|
|
|
852 |
|
|
} |
853 |
|
|
#endif |
854 |
|
|
|
855 |
|
|
|
856 |
|
|
} |
857 |
|
|
|
858 |
|
✗ |
hpp::floatSeq* hpp::core_idl::configuration_shooter::_objref_Gaussian::getSigmas() |
859 |
|
|
{ |
860 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_b0000000, "getSigmas", 10); |
861 |
|
|
|
862 |
|
|
|
863 |
|
✗ |
_invoke(_call_desc); |
864 |
|
✗ |
return _call_desc.result._retn(); |
865 |
|
|
|
866 |
|
|
|
867 |
|
|
} |
868 |
|
|
|
869 |
|
|
|
870 |
|
|
// |
871 |
|
|
// Code for hpp::core_idl::configuration_shooter::Gaussian::setSigmas |
872 |
|
|
|
873 |
|
|
// Local call call-back function. |
874 |
|
|
static void |
875 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_c0000000(omniCallDescriptor* cd, omniServant* svnt) |
876 |
|
|
{ |
877 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000* tcd = (_0RL_cd_cad2a21b50beb83d_80000000*)cd; |
878 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian* impl = (hpp::core_idl::configuration_shooter::_impl_Gaussian*) svnt->_ptrToInterface(hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId); |
879 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
880 |
|
✗ |
impl->setSigmas(*tcd->arg_0); |
881 |
|
|
#else |
882 |
|
|
if (!cd->is_upcall()) |
883 |
|
|
impl->setSigmas(*tcd->arg_0); |
884 |
|
|
else { |
885 |
|
|
try { |
886 |
|
|
impl->setSigmas(*tcd->arg_0); |
887 |
|
|
} |
888 |
|
|
catch(hpp::Error& ex) { |
889 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
890 |
|
|
} |
891 |
|
|
|
892 |
|
|
|
893 |
|
|
} |
894 |
|
|
#endif |
895 |
|
|
|
896 |
|
|
|
897 |
|
|
} |
898 |
|
|
|
899 |
|
✗ |
void hpp::core_idl::configuration_shooter::_objref_Gaussian::setSigmas(const ::hpp::floatSeq& s) |
900 |
|
|
{ |
901 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_c0000000, "setSigmas", 10); |
902 |
|
✗ |
_call_desc.arg_0 = &(::hpp::floatSeq&) s; |
903 |
|
|
|
904 |
|
✗ |
_invoke(_call_desc); |
905 |
|
|
|
906 |
|
|
|
907 |
|
|
|
908 |
|
|
} |
909 |
|
|
|
910 |
|
16 |
hpp::core_idl::configuration_shooter::_pof_Gaussian::~_pof_Gaussian() {} |
911 |
|
|
|
912 |
|
|
|
913 |
|
|
omniObjRef* |
914 |
|
✗ |
hpp::core_idl::configuration_shooter::_pof_Gaussian::newObjRef(omniIOR* ior, omniIdentity* id) |
915 |
|
|
{ |
916 |
|
✗ |
return new ::hpp::core_idl::configuration_shooter::_objref_Gaussian(ior, id); |
917 |
|
|
} |
918 |
|
|
|
919 |
|
|
|
920 |
|
|
::CORBA::Boolean |
921 |
|
✗ |
hpp::core_idl::configuration_shooter::_pof_Gaussian::is_a(const char* id) const |
922 |
|
|
{ |
923 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId)) |
924 |
|
✗ |
return 1; |
925 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
926 |
|
✗ |
return 1; |
927 |
|
|
|
928 |
|
|
|
929 |
|
✗ |
return 0; |
930 |
|
|
} |
931 |
|
|
|
932 |
|
|
const hpp::core_idl::configuration_shooter::_pof_Gaussian _the_pof_hpp_mcore__idl_mconfiguration__shooter_mGaussian; |
933 |
|
|
|
934 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian::~_impl_Gaussian() {} |
935 |
|
|
|
936 |
|
|
|
937 |
|
|
::CORBA::Boolean |
938 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian::_dispatch(omniCallHandle& _handle) |
939 |
|
|
{ |
940 |
|
✗ |
const char* op = _handle.operation_name(); |
941 |
|
|
|
942 |
|
✗ |
if (omni::strMatch(op, "setCenter")) { |
943 |
|
|
|
944 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_90000000, "setCenter", 10, 1); |
945 |
|
|
|
946 |
|
✗ |
_handle.upcall(this,_call_desc); |
947 |
|
✗ |
return 1; |
948 |
|
|
} |
949 |
|
|
|
950 |
|
✗ |
if (omni::strMatch(op, "getCenter")) { |
951 |
|
|
|
952 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_a0000000, "getCenter", 10, 1); |
953 |
|
|
|
954 |
|
✗ |
_handle.upcall(this,_call_desc); |
955 |
|
✗ |
return 1; |
956 |
|
|
} |
957 |
|
|
|
958 |
|
✗ |
if (omni::strMatch(op, "getSigmas")) { |
959 |
|
|
|
960 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_60000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_b0000000, "getSigmas", 10, 1); |
961 |
|
|
|
962 |
|
✗ |
_handle.upcall(this,_call_desc); |
963 |
|
✗ |
return 1; |
964 |
|
|
} |
965 |
|
|
|
966 |
|
✗ |
if (omni::strMatch(op, "setSigmas")) { |
967 |
|
|
|
968 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_80000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_c0000000, "setSigmas", 10, 1); |
969 |
|
|
|
970 |
|
✗ |
_handle.upcall(this,_call_desc); |
971 |
|
✗ |
return 1; |
972 |
|
|
} |
973 |
|
|
|
974 |
|
|
|
975 |
|
|
#ifndef _MSC_VER |
976 |
|
✗ |
if (_impl_ConfigurationShooter::_dispatch(_handle)) { |
977 |
|
✗ |
return 1; |
978 |
|
|
} |
979 |
|
|
#else |
980 |
|
|
// Work-around for incorrect MSVC code generation. |
981 |
|
|
if (((_impl_ConfigurationShooter*)this)-> |
982 |
|
|
_impl_ConfigurationShooter::_dispatch(_handle)) { |
983 |
|
|
return 1; |
984 |
|
|
} |
985 |
|
|
#endif |
986 |
|
|
|
987 |
|
|
|
988 |
|
✗ |
return 0; |
989 |
|
|
} |
990 |
|
|
|
991 |
|
|
void* |
992 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian::_ptrToInterface(const char* id) |
993 |
|
|
{ |
994 |
|
✗ |
if (id == ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId) |
995 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::_impl_Gaussian*) this; |
996 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
997 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
998 |
|
|
|
999 |
|
|
|
1000 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1001 |
|
✗ |
return (void*) 1; |
1002 |
|
|
|
1003 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId)) |
1004 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::_impl_Gaussian*) this; |
1005 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
1006 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
1007 |
|
|
|
1008 |
|
|
|
1009 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1010 |
|
✗ |
return (void*) 1; |
1011 |
|
✗ |
return 0; |
1012 |
|
|
} |
1013 |
|
|
|
1014 |
|
|
const char* |
1015 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_Gaussian::_mostDerivedRepoId() |
1016 |
|
|
{ |
1017 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId; |
1018 |
|
|
} |
1019 |
|
|
|
1020 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable_ptr hpp::core_idl::configuration_shooter::UniformSeedable_Helper::_nil() { |
1021 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::UniformSeedable::_nil(); |
1022 |
|
|
} |
1023 |
|
|
|
1024 |
|
✗ |
::CORBA::Boolean hpp::core_idl::configuration_shooter::UniformSeedable_Helper::is_nil(::hpp::core_idl::configuration_shooter::UniformSeedable_ptr p) { |
1025 |
|
✗ |
return ::CORBA::is_nil(p); |
1026 |
|
|
|
1027 |
|
|
} |
1028 |
|
|
|
1029 |
|
✗ |
void hpp::core_idl::configuration_shooter::UniformSeedable_Helper::release(::hpp::core_idl::configuration_shooter::UniformSeedable_ptr p) { |
1030 |
|
✗ |
::CORBA::release(p); |
1031 |
|
|
} |
1032 |
|
|
|
1033 |
|
✗ |
void hpp::core_idl::configuration_shooter::UniformSeedable_Helper::marshalObjRef(::hpp::core_idl::configuration_shooter::UniformSeedable_ptr obj, cdrStream& s) { |
1034 |
|
✗ |
::hpp::core_idl::configuration_shooter::UniformSeedable::_marshalObjRef(obj, s); |
1035 |
|
|
} |
1036 |
|
|
|
1037 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable_ptr hpp::core_idl::configuration_shooter::UniformSeedable_Helper::unmarshalObjRef(cdrStream& s) { |
1038 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::UniformSeedable::_unmarshalObjRef(s); |
1039 |
|
|
} |
1040 |
|
|
|
1041 |
|
✗ |
void hpp::core_idl::configuration_shooter::UniformSeedable_Helper::duplicate(::hpp::core_idl::configuration_shooter::UniformSeedable_ptr obj) { |
1042 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1043 |
|
|
} |
1044 |
|
|
|
1045 |
|
|
hpp::core_idl::configuration_shooter::UniformSeedable_ptr |
1046 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable::_duplicate(::hpp::core_idl::configuration_shooter::UniformSeedable_ptr obj) |
1047 |
|
|
{ |
1048 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
1049 |
|
✗ |
return obj; |
1050 |
|
|
} |
1051 |
|
|
|
1052 |
|
|
hpp::core_idl::configuration_shooter::UniformSeedable_ptr |
1053 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable::_narrow(::CORBA::Object_ptr obj) |
1054 |
|
|
{ |
1055 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1056 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
1057 |
|
✗ |
return e ? e : _nil(); |
1058 |
|
|
} |
1059 |
|
|
|
1060 |
|
|
|
1061 |
|
|
hpp::core_idl::configuration_shooter::UniformSeedable_ptr |
1062 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable::_unchecked_narrow(::CORBA::Object_ptr obj) |
1063 |
|
|
{ |
1064 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
1065 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
1066 |
|
✗ |
return e ? e : _nil(); |
1067 |
|
|
} |
1068 |
|
|
|
1069 |
|
|
hpp::core_idl::configuration_shooter::UniformSeedable_ptr |
1070 |
|
✗ |
hpp::core_idl::configuration_shooter::UniformSeedable::_nil() |
1071 |
|
|
{ |
1072 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
1073 |
|
|
static _objref_UniformSeedable _the_nil_obj; |
1074 |
|
|
return &_the_nil_obj; |
1075 |
|
|
#else |
1076 |
|
|
static _objref_UniformSeedable* _the_nil_ptr = 0; |
1077 |
|
✗ |
if (!_the_nil_ptr) { |
1078 |
|
✗ |
omni::nilRefLock().lock(); |
1079 |
|
✗ |
if (!_the_nil_ptr) { |
1080 |
|
✗ |
_the_nil_ptr = new _objref_UniformSeedable; |
1081 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
1082 |
|
|
} |
1083 |
|
✗ |
omni::nilRefLock().unlock(); |
1084 |
|
|
} |
1085 |
|
✗ |
return _the_nil_ptr; |
1086 |
|
|
#endif |
1087 |
|
|
} |
1088 |
|
|
|
1089 |
|
|
const char* hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId = "IDL:hpp/core_idl/configuration_shooter/UniformSeedable:1.0"; |
1090 |
|
|
|
1091 |
|
|
|
1092 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_UniformSeedable::~_objref_UniformSeedable() { |
1093 |
|
|
|
1094 |
|
|
} |
1095 |
|
|
|
1096 |
|
|
|
1097 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_UniformSeedable::_objref_UniformSeedable(omniIOR* ior, omniIdentity* id) : |
1098 |
|
|
omniObjRef(::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId, ior, id, 1), |
1099 |
|
✗ |
_objref_ConfigurationShooter(ior, id) |
1100 |
|
|
|
1101 |
|
|
{ |
1102 |
|
✗ |
_PR_setobj(this); |
1103 |
|
|
} |
1104 |
|
|
|
1105 |
|
|
void* |
1106 |
|
✗ |
hpp::core_idl::configuration_shooter::_objref_UniformSeedable::_ptrToObjRef(const char* id) |
1107 |
|
|
{ |
1108 |
|
✗ |
if (id == ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId) |
1109 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::UniformSeedable_ptr) this; |
1110 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
1111 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_ptr) this; |
1112 |
|
|
|
1113 |
|
|
|
1114 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1115 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1116 |
|
|
|
1117 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId)) |
1118 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::UniformSeedable_ptr) this; |
1119 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
1120 |
|
✗ |
return (::hpp::core_idl::ConfigurationShooter_ptr) this; |
1121 |
|
|
|
1122 |
|
|
|
1123 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1124 |
|
✗ |
return (::CORBA::Object_ptr) this; |
1125 |
|
|
|
1126 |
|
✗ |
return 0; |
1127 |
|
|
} |
1128 |
|
|
|
1129 |
|
|
|
1130 |
|
|
// |
1131 |
|
|
// Code for hpp::core_idl::configuration_shooter::UniformSeedable::seed |
1132 |
|
|
|
1133 |
|
|
// Proxy call descriptor class. Mangled signature: |
1134 |
|
|
// void_i_clong_e_chpp_mError |
1135 |
|
|
class _0RL_cd_cad2a21b50beb83d_d0000000 |
1136 |
|
|
: public omniCallDescriptor |
1137 |
|
|
{ |
1138 |
|
|
public: |
1139 |
|
✗ |
inline _0RL_cd_cad2a21b50beb83d_d0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
1140 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
1141 |
|
|
{ |
1142 |
|
|
|
1143 |
|
|
} |
1144 |
|
|
|
1145 |
|
|
void marshalArguments(cdrStream&); |
1146 |
|
|
void unmarshalArguments(cdrStream&); |
1147 |
|
|
|
1148 |
|
|
|
1149 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
1150 |
|
|
static const char* const _user_exns[]; |
1151 |
|
|
|
1152 |
|
|
::CORBA::Long arg_0; |
1153 |
|
|
}; |
1154 |
|
|
|
1155 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_d0000000::marshalArguments(cdrStream& _n) |
1156 |
|
|
{ |
1157 |
|
✗ |
arg_0 >>= _n; |
1158 |
|
|
|
1159 |
|
|
} |
1160 |
|
|
|
1161 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_d0000000::unmarshalArguments(cdrStream& _n) |
1162 |
|
|
{ |
1163 |
|
✗ |
(::CORBA::Long&)arg_0 <<= _n; |
1164 |
|
|
|
1165 |
|
|
} |
1166 |
|
|
|
1167 |
|
|
const char* const _0RL_cd_cad2a21b50beb83d_d0000000::_user_exns[] = { |
1168 |
|
|
hpp::Error::_PD_repoId |
1169 |
|
|
}; |
1170 |
|
|
|
1171 |
|
✗ |
void _0RL_cd_cad2a21b50beb83d_d0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
1172 |
|
|
{ |
1173 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
1174 |
|
✗ |
hpp::Error _ex; |
1175 |
|
✗ |
_ex <<= s; |
1176 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
1177 |
|
✗ |
throw _ex; |
1178 |
|
|
} |
1179 |
|
|
|
1180 |
|
|
|
1181 |
|
|
else { |
1182 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
1183 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
1184 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
1185 |
|
|
} |
1186 |
|
|
} |
1187 |
|
|
|
1188 |
|
|
// Local call call-back function. |
1189 |
|
|
static void |
1190 |
|
✗ |
_0RL_lcfn_cad2a21b50beb83d_e0000000(omniCallDescriptor* cd, omniServant* svnt) |
1191 |
|
|
{ |
1192 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_d0000000* tcd = (_0RL_cd_cad2a21b50beb83d_d0000000*)cd; |
1193 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_UniformSeedable* impl = (hpp::core_idl::configuration_shooter::_impl_UniformSeedable*) svnt->_ptrToInterface(hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId); |
1194 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
1195 |
|
✗ |
impl->seed(tcd->arg_0); |
1196 |
|
|
#else |
1197 |
|
|
if (!cd->is_upcall()) |
1198 |
|
|
impl->seed(tcd->arg_0); |
1199 |
|
|
else { |
1200 |
|
|
try { |
1201 |
|
|
impl->seed(tcd->arg_0); |
1202 |
|
|
} |
1203 |
|
|
catch(hpp::Error& ex) { |
1204 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
1205 |
|
|
} |
1206 |
|
|
|
1207 |
|
|
|
1208 |
|
|
} |
1209 |
|
|
#endif |
1210 |
|
|
|
1211 |
|
|
|
1212 |
|
|
} |
1213 |
|
|
|
1214 |
|
✗ |
void hpp::core_idl::configuration_shooter::_objref_UniformSeedable::seed(::CORBA::Long seed_) |
1215 |
|
|
{ |
1216 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_d0000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_e0000000, "seed", 5); |
1217 |
|
✗ |
_call_desc.arg_0 = seed_; |
1218 |
|
|
|
1219 |
|
✗ |
_invoke(_call_desc); |
1220 |
|
|
|
1221 |
|
|
|
1222 |
|
|
|
1223 |
|
|
} |
1224 |
|
|
|
1225 |
|
16 |
hpp::core_idl::configuration_shooter::_pof_UniformSeedable::~_pof_UniformSeedable() {} |
1226 |
|
|
|
1227 |
|
|
|
1228 |
|
|
omniObjRef* |
1229 |
|
✗ |
hpp::core_idl::configuration_shooter::_pof_UniformSeedable::newObjRef(omniIOR* ior, omniIdentity* id) |
1230 |
|
|
{ |
1231 |
|
✗ |
return new ::hpp::core_idl::configuration_shooter::_objref_UniformSeedable(ior, id); |
1232 |
|
|
} |
1233 |
|
|
|
1234 |
|
|
|
1235 |
|
|
::CORBA::Boolean |
1236 |
|
✗ |
hpp::core_idl::configuration_shooter::_pof_UniformSeedable::is_a(const char* id) const |
1237 |
|
|
{ |
1238 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId)) |
1239 |
|
✗ |
return 1; |
1240 |
|
✗ |
if (omni::ptrStrMatch(id, hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
1241 |
|
✗ |
return 1; |
1242 |
|
|
|
1243 |
|
|
|
1244 |
|
✗ |
return 0; |
1245 |
|
|
} |
1246 |
|
|
|
1247 |
|
|
const hpp::core_idl::configuration_shooter::_pof_UniformSeedable _the_pof_hpp_mcore__idl_mconfiguration__shooter_mUniformSeedable; |
1248 |
|
|
|
1249 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_UniformSeedable::~_impl_UniformSeedable() {} |
1250 |
|
|
|
1251 |
|
|
|
1252 |
|
|
::CORBA::Boolean |
1253 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_UniformSeedable::_dispatch(omniCallHandle& _handle) |
1254 |
|
|
{ |
1255 |
|
✗ |
const char* op = _handle.operation_name(); |
1256 |
|
|
|
1257 |
|
✗ |
if (omni::strMatch(op, "seed")) { |
1258 |
|
|
|
1259 |
|
✗ |
_0RL_cd_cad2a21b50beb83d_d0000000 _call_desc(_0RL_lcfn_cad2a21b50beb83d_e0000000, "seed", 5, 1); |
1260 |
|
|
|
1261 |
|
✗ |
_handle.upcall(this,_call_desc); |
1262 |
|
✗ |
return 1; |
1263 |
|
|
} |
1264 |
|
|
|
1265 |
|
|
|
1266 |
|
|
#ifndef _MSC_VER |
1267 |
|
✗ |
if (_impl_ConfigurationShooter::_dispatch(_handle)) { |
1268 |
|
✗ |
return 1; |
1269 |
|
|
} |
1270 |
|
|
#else |
1271 |
|
|
// Work-around for incorrect MSVC code generation. |
1272 |
|
|
if (((_impl_ConfigurationShooter*)this)-> |
1273 |
|
|
_impl_ConfigurationShooter::_dispatch(_handle)) { |
1274 |
|
|
return 1; |
1275 |
|
|
} |
1276 |
|
|
#endif |
1277 |
|
|
|
1278 |
|
|
|
1279 |
|
✗ |
return 0; |
1280 |
|
|
} |
1281 |
|
|
|
1282 |
|
|
void* |
1283 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_UniformSeedable::_ptrToInterface(const char* id) |
1284 |
|
|
{ |
1285 |
|
✗ |
if (id == ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId) |
1286 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::_impl_UniformSeedable*) this; |
1287 |
|
✗ |
if (id == ::hpp::core_idl::ConfigurationShooter::_PD_repoId) |
1288 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
1289 |
|
|
|
1290 |
|
|
|
1291 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
1292 |
|
✗ |
return (void*) 1; |
1293 |
|
|
|
1294 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId)) |
1295 |
|
✗ |
return (::hpp::core_idl::configuration_shooter::_impl_UniformSeedable*) this; |
1296 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::ConfigurationShooter::_PD_repoId)) |
1297 |
|
✗ |
return (::hpp::core_idl::_impl_ConfigurationShooter*) this; |
1298 |
|
|
|
1299 |
|
|
|
1300 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
1301 |
|
✗ |
return (void*) 1; |
1302 |
|
✗ |
return 0; |
1303 |
|
|
} |
1304 |
|
|
|
1305 |
|
|
const char* |
1306 |
|
✗ |
hpp::core_idl::configuration_shooter::_impl_UniformSeedable::_mostDerivedRepoId() |
1307 |
|
|
{ |
1308 |
|
✗ |
return ::hpp::core_idl::configuration_shooter::UniformSeedable::_PD_repoId; |
1309 |
|
|
} |
1310 |
|
|
|
1311 |
|
✗ |
POA_hpp::core_idl::ConfigurationShooter::~ConfigurationShooter() {} |
1312 |
|
|
|
1313 |
|
✗ |
POA_hpp::core_idl::configuration_shooter::Gaussian::~Gaussian() {} |
1314 |
|
|
|
1315 |
|
✗ |
POA_hpp::core_idl::configuration_shooter::UniformSeedable::~UniformSeedable() {} |
1316 |
|
|
|
1317 |
|
|
|