| Directory: | ./ |
|---|---|
| File: | src/hpp/corbaserver/robotSK.cc |
| Date: | 2025-05-11 11:10:19 |
| Exec | Total | Coverage | |
|---|---|---|---|
| Lines: | 269 | 1729 | 15.6% |
| Branches: | 93 | 1094 | 8.5% |
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. | ||
| 2 | |||
| 3 | #include "robot-idl.hh" | ||
| 4 | #include <omniORB4/IOP_S.h> | ||
| 5 | #include <omniORB4/IOP_C.h> | ||
| 6 | #include <omniORB4/callDescriptor.h> | ||
| 7 | #include <omniORB4/callHandle.h> | ||
| 8 | #include <omniORB4/objTracker.h> | ||
| 9 | |||
| 10 | |||
| 11 | OMNI_USING_NAMESPACE(omni) | ||
| 12 | |||
| 13 | OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3; | ||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | ✗ | hpp::corbaserver::Robot_ptr hpp::corbaserver::Robot_Helper::_nil() { | |
| 18 | ✗ | return ::hpp::corbaserver::Robot::_nil(); | |
| 19 | } | ||
| 20 | |||
| 21 | ✗ | ::CORBA::Boolean hpp::corbaserver::Robot_Helper::is_nil(::hpp::corbaserver::Robot_ptr p) { | |
| 22 | ✗ | return ::CORBA::is_nil(p); | |
| 23 | |||
| 24 | } | ||
| 25 | |||
| 26 | ✗ | void hpp::corbaserver::Robot_Helper::release(::hpp::corbaserver::Robot_ptr p) { | |
| 27 | ✗ | ::CORBA::release(p); | |
| 28 | } | ||
| 29 | |||
| 30 | ✗ | void hpp::corbaserver::Robot_Helper::marshalObjRef(::hpp::corbaserver::Robot_ptr obj, cdrStream& s) { | |
| 31 | ✗ | ::hpp::corbaserver::Robot::_marshalObjRef(obj, s); | |
| 32 | } | ||
| 33 | |||
| 34 | ✗ | hpp::corbaserver::Robot_ptr hpp::corbaserver::Robot_Helper::unmarshalObjRef(cdrStream& s) { | |
| 35 | ✗ | return ::hpp::corbaserver::Robot::_unmarshalObjRef(s); | |
| 36 | } | ||
| 37 | |||
| 38 | ✗ | void hpp::corbaserver::Robot_Helper::duplicate(::hpp::corbaserver::Robot_ptr obj) { | |
| 39 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
| 40 | } | ||
| 41 | |||
| 42 | hpp::corbaserver::Robot_ptr | ||
| 43 | ✗ | hpp::corbaserver::Robot::_duplicate(::hpp::corbaserver::Robot_ptr obj) | |
| 44 | { | ||
| 45 | ✗ | if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); | |
| 46 | ✗ | return obj; | |
| 47 | } | ||
| 48 | |||
| 49 | hpp::corbaserver::Robot_ptr | ||
| 50 | ✗ | hpp::corbaserver::Robot::_narrow(::CORBA::Object_ptr obj) | |
| 51 | { | ||
| 52 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
| 53 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); | |
| 54 | ✗ | return e ? e : _nil(); | |
| 55 | } | ||
| 56 | |||
| 57 | |||
| 58 | hpp::corbaserver::Robot_ptr | ||
| 59 | ✗ | hpp::corbaserver::Robot::_unchecked_narrow(::CORBA::Object_ptr obj) | |
| 60 | { | ||
| 61 | ✗ | if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); | |
| 62 | ✗ | _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); | |
| 63 | ✗ | return e ? e : _nil(); | |
| 64 | } | ||
| 65 | |||
| 66 | hpp::corbaserver::Robot_ptr | ||
| 67 | ✗ | hpp::corbaserver::Robot::_nil() | |
| 68 | { | ||
| 69 | #ifdef OMNI_UNLOADABLE_STUBS | ||
| 70 | static _objref_Robot _the_nil_obj; | ||
| 71 | return &_the_nil_obj; | ||
| 72 | #else | ||
| 73 | static _objref_Robot* _the_nil_ptr = 0; | ||
| 74 | ✗ | if (!_the_nil_ptr) { | |
| 75 | ✗ | omni::nilRefLock().lock(); | |
| 76 | ✗ | if (!_the_nil_ptr) { | |
| 77 | ✗ | _the_nil_ptr = new _objref_Robot; | |
| 78 | ✗ | registerNilCorbaObject(_the_nil_ptr); | |
| 79 | } | ||
| 80 | ✗ | omni::nilRefLock().unlock(); | |
| 81 | } | ||
| 82 | ✗ | return _the_nil_ptr; | |
| 83 | #endif | ||
| 84 | } | ||
| 85 | |||
| 86 | const char* hpp::corbaserver::Robot::_PD_repoId = "IDL:hpp/corbaserver/Robot:1.0"; | ||
| 87 | |||
| 88 | |||
| 89 | 32 | hpp::corbaserver::_objref_Robot::~_objref_Robot() { | |
| 90 | |||
| 91 | } | ||
| 92 | |||
| 93 | |||
| 94 | 16 | hpp::corbaserver::_objref_Robot::_objref_Robot(omniIOR* ior, omniIdentity* id) : | |
| 95 |
1/2✓ Branch 2 taken 8 times.
✗ Branch 3 not taken.
|
16 | omniObjRef(::hpp::corbaserver::Robot::_PD_repoId, ior, id, 1) |
| 96 | |||
| 97 | |||
| 98 | { | ||
| 99 | 16 | _PR_setobj(this); | |
| 100 | } | ||
| 101 | |||
| 102 | void* | ||
| 103 | 26 | hpp::corbaserver::_objref_Robot::_ptrToObjRef(const char* id) | |
| 104 | { | ||
| 105 |
1/2✓ Branch 0 taken 26 times.
✗ Branch 1 not taken.
|
26 | if (id == ::hpp::corbaserver::Robot::_PD_repoId) |
| 106 | 26 | return (::hpp::corbaserver::Robot_ptr) this; | |
| 107 | |||
| 108 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
| 109 | ✗ | return (::CORBA::Object_ptr) this; | |
| 110 | |||
| 111 | ✗ | if (omni::strMatch(id, ::hpp::corbaserver::Robot::_PD_repoId)) | |
| 112 | ✗ | return (::hpp::corbaserver::Robot_ptr) this; | |
| 113 | |||
| 114 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
| 115 | ✗ | return (::CORBA::Object_ptr) this; | |
| 116 | |||
| 117 | ✗ | return 0; | |
| 118 | } | ||
| 119 | |||
| 120 | |||
| 121 | // | ||
| 122 | // Code for hpp::corbaserver::Robot::loadRobotModel | ||
| 123 | |||
| 124 | // Proxy call descriptor class. Mangled signature: | ||
| 125 | // void_i_cstring_i_cstring_i_cstring_i_cstring_e_chpp_mError | ||
| 126 | class _0RL_cd_914117f668a82e12_00000000 | ||
| 127 | : public omniCallDescriptor | ||
| 128 | { | ||
| 129 | public: | ||
| 130 | 2 | inline _0RL_cd_914117f668a82e12_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 131 | 2 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 132 | { | ||
| 133 | |||
| 134 | 2 | } | |
| 135 | |||
| 136 | void marshalArguments(cdrStream&); | ||
| 137 | void unmarshalArguments(cdrStream&); | ||
| 138 | |||
| 139 | |||
| 140 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 141 | static const char* const _user_exns[]; | ||
| 142 | |||
| 143 | ::CORBA::String_var arg_0_; | ||
| 144 | const char* arg_0; | ||
| 145 | ::CORBA::String_var arg_1_; | ||
| 146 | const char* arg_1; | ||
| 147 | ::CORBA::String_var arg_2_; | ||
| 148 | const char* arg_2; | ||
| 149 | ::CORBA::String_var arg_3_; | ||
| 150 | const char* arg_3; | ||
| 151 | }; | ||
| 152 | |||
| 153 | ✗ | void _0RL_cd_914117f668a82e12_00000000::marshalArguments(cdrStream& _n) | |
| 154 | { | ||
| 155 | ✗ | _n.marshalString(arg_0,0); | |
| 156 | ✗ | _n.marshalString(arg_1,0); | |
| 157 | ✗ | _n.marshalString(arg_2,0); | |
| 158 | ✗ | _n.marshalString(arg_3,0); | |
| 159 | |||
| 160 | } | ||
| 161 | |||
| 162 | 2 | void _0RL_cd_914117f668a82e12_00000000::unmarshalArguments(cdrStream& _n) | |
| 163 | { | ||
| 164 | 2 | arg_0_ = _n.unmarshalString(0); | |
| 165 | 2 | arg_0 = arg_0_.in(); | |
| 166 | 2 | arg_1_ = _n.unmarshalString(0); | |
| 167 | 2 | arg_1 = arg_1_.in(); | |
| 168 | 2 | arg_2_ = _n.unmarshalString(0); | |
| 169 | 2 | arg_2 = arg_2_.in(); | |
| 170 | 2 | arg_3_ = _n.unmarshalString(0); | |
| 171 | 2 | arg_3 = arg_3_.in(); | |
| 172 | |||
| 173 | 2 | } | |
| 174 | |||
| 175 | const char* const _0RL_cd_914117f668a82e12_00000000::_user_exns[] = { | ||
| 176 | hpp::Error::_PD_repoId | ||
| 177 | }; | ||
| 178 | |||
| 179 | ✗ | void _0RL_cd_914117f668a82e12_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 180 | { | ||
| 181 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 182 | ✗ | hpp::Error _ex; | |
| 183 | ✗ | _ex <<= s; | |
| 184 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 185 | ✗ | throw _ex; | |
| 186 | } | ||
| 187 | |||
| 188 | |||
| 189 | else { | ||
| 190 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 191 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 192 | (::CORBA::CompletionStatus)s.completion()); | ||
| 193 | } | ||
| 194 | } | ||
| 195 | |||
| 196 | // Local call call-back function. | ||
| 197 | static void | ||
| 198 | ✗ | _0RL_lcfn_914117f668a82e12_10000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 199 | { | ||
| 200 | ✗ | _0RL_cd_914117f668a82e12_00000000* tcd = (_0RL_cd_914117f668a82e12_00000000*)cd; | |
| 201 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 202 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 203 | ✗ | impl->loadRobotModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 204 | #else | ||
| 205 | if (!cd->is_upcall()) | ||
| 206 | impl->loadRobotModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 207 | else { | ||
| 208 | try { | ||
| 209 | impl->loadRobotModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 210 | } | ||
| 211 | catch(hpp::Error& ex) { | ||
| 212 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 213 | } | ||
| 214 | |||
| 215 | |||
| 216 | } | ||
| 217 | #endif | ||
| 218 | |||
| 219 | |||
| 220 | } | ||
| 221 | |||
| 222 | ✗ | void hpp::corbaserver::_objref_Robot::loadRobotModel(const char* robotName, const char* rootJointType, const char* urdfName, const char* srdfName) | |
| 223 | { | ||
| 224 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_10000000, "loadRobotModel", 15); | |
| 225 | ✗ | _call_desc.arg_0 = robotName; | |
| 226 | ✗ | _call_desc.arg_1 = rootJointType; | |
| 227 | ✗ | _call_desc.arg_2 = urdfName; | |
| 228 | ✗ | _call_desc.arg_3 = srdfName; | |
| 229 | |||
| 230 | ✗ | _invoke(_call_desc); | |
| 231 | |||
| 232 | |||
| 233 | |||
| 234 | } | ||
| 235 | |||
| 236 | |||
| 237 | // | ||
| 238 | // Code for hpp::corbaserver::Robot::loadHumanoidModel | ||
| 239 | |||
| 240 | // Local call call-back function. | ||
| 241 | static void | ||
| 242 | ✗ | _0RL_lcfn_914117f668a82e12_20000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 243 | { | ||
| 244 | ✗ | _0RL_cd_914117f668a82e12_00000000* tcd = (_0RL_cd_914117f668a82e12_00000000*)cd; | |
| 245 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 246 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 247 | ✗ | impl->loadHumanoidModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 248 | #else | ||
| 249 | if (!cd->is_upcall()) | ||
| 250 | impl->loadHumanoidModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 251 | else { | ||
| 252 | try { | ||
| 253 | impl->loadHumanoidModel(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 254 | } | ||
| 255 | catch(hpp::Error& ex) { | ||
| 256 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 257 | } | ||
| 258 | |||
| 259 | |||
| 260 | } | ||
| 261 | #endif | ||
| 262 | |||
| 263 | |||
| 264 | } | ||
| 265 | |||
| 266 | ✗ | void hpp::corbaserver::_objref_Robot::loadHumanoidModel(const char* robotName, const char* rootJointType, const char* urdfName, const char* srdfName) | |
| 267 | { | ||
| 268 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_20000000, "loadHumanoidModel", 18); | |
| 269 | ✗ | _call_desc.arg_0 = robotName; | |
| 270 | ✗ | _call_desc.arg_1 = rootJointType; | |
| 271 | ✗ | _call_desc.arg_2 = urdfName; | |
| 272 | ✗ | _call_desc.arg_3 = srdfName; | |
| 273 | |||
| 274 | ✗ | _invoke(_call_desc); | |
| 275 | |||
| 276 | |||
| 277 | |||
| 278 | } | ||
| 279 | |||
| 280 | |||
| 281 | // | ||
| 282 | // Code for hpp::corbaserver::Robot::loadRobotModelFromString | ||
| 283 | |||
| 284 | // Local call call-back function. | ||
| 285 | static void | ||
| 286 | 2 | _0RL_lcfn_914117f668a82e12_30000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 287 | { | ||
| 288 | 2 | _0RL_cd_914117f668a82e12_00000000* tcd = (_0RL_cd_914117f668a82e12_00000000*)cd; | |
| 289 | 2 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 290 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 291 | 2 | impl->loadRobotModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 292 | #else | ||
| 293 | if (!cd->is_upcall()) | ||
| 294 | impl->loadRobotModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 295 | else { | ||
| 296 | try { | ||
| 297 | impl->loadRobotModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 298 | } | ||
| 299 | catch(hpp::Error& ex) { | ||
| 300 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 301 | } | ||
| 302 | |||
| 303 | |||
| 304 | } | ||
| 305 | #endif | ||
| 306 | |||
| 307 | |||
| 308 | 2 | } | |
| 309 | |||
| 310 | ✗ | void hpp::corbaserver::_objref_Robot::loadRobotModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString) | |
| 311 | { | ||
| 312 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_30000000, "loadRobotModelFromString", 25); | |
| 313 | ✗ | _call_desc.arg_0 = robotName; | |
| 314 | ✗ | _call_desc.arg_1 = rootJointType; | |
| 315 | ✗ | _call_desc.arg_2 = urdfString; | |
| 316 | ✗ | _call_desc.arg_3 = srdfString; | |
| 317 | |||
| 318 | ✗ | _invoke(_call_desc); | |
| 319 | |||
| 320 | |||
| 321 | |||
| 322 | } | ||
| 323 | |||
| 324 | |||
| 325 | // | ||
| 326 | // Code for hpp::corbaserver::Robot::loadHumanoidModelFromString | ||
| 327 | |||
| 328 | // Local call call-back function. | ||
| 329 | static void | ||
| 330 | ✗ | _0RL_lcfn_914117f668a82e12_40000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 331 | { | ||
| 332 | ✗ | _0RL_cd_914117f668a82e12_00000000* tcd = (_0RL_cd_914117f668a82e12_00000000*)cd; | |
| 333 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 334 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 335 | ✗ | impl->loadHumanoidModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 336 | #else | ||
| 337 | if (!cd->is_upcall()) | ||
| 338 | impl->loadHumanoidModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 339 | else { | ||
| 340 | try { | ||
| 341 | impl->loadHumanoidModelFromString(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 342 | } | ||
| 343 | catch(hpp::Error& ex) { | ||
| 344 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 345 | } | ||
| 346 | |||
| 347 | |||
| 348 | } | ||
| 349 | #endif | ||
| 350 | |||
| 351 | |||
| 352 | } | ||
| 353 | |||
| 354 | ✗ | void hpp::corbaserver::_objref_Robot::loadHumanoidModelFromString(const char* robotName, const char* rootJointType, const char* urdfString, const char* srdfString) | |
| 355 | { | ||
| 356 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_40000000, "loadHumanoidModelFromString", 28); | |
| 357 | ✗ | _call_desc.arg_0 = robotName; | |
| 358 | ✗ | _call_desc.arg_1 = rootJointType; | |
| 359 | ✗ | _call_desc.arg_2 = urdfString; | |
| 360 | ✗ | _call_desc.arg_3 = srdfString; | |
| 361 | |||
| 362 | ✗ | _invoke(_call_desc); | |
| 363 | |||
| 364 | |||
| 365 | |||
| 366 | } | ||
| 367 | |||
| 368 | |||
| 369 | // | ||
| 370 | // Code for hpp::corbaserver::Robot::getConfigSize | ||
| 371 | |||
| 372 | // Proxy call descriptor class. Mangled signature: | ||
| 373 | // _clong_e_chpp_mError | ||
| 374 | class _0RL_cd_914117f668a82e12_50000000 | ||
| 375 | : public omniCallDescriptor | ||
| 376 | { | ||
| 377 | public: | ||
| 378 | ✗ | inline _0RL_cd_914117f668a82e12_50000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 379 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 380 | { | ||
| 381 | |||
| 382 | } | ||
| 383 | |||
| 384 | |||
| 385 | void unmarshalReturnedValues(cdrStream&); | ||
| 386 | void marshalReturnedValues(cdrStream&); | ||
| 387 | |||
| 388 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 389 | static const char* const _user_exns[]; | ||
| 390 | |||
| 391 | ::CORBA::Long result; | ||
| 392 | }; | ||
| 393 | |||
| 394 | ✗ | void _0RL_cd_914117f668a82e12_50000000::marshalReturnedValues(cdrStream& _n) | |
| 395 | { | ||
| 396 | ✗ | result >>= _n; | |
| 397 | |||
| 398 | } | ||
| 399 | |||
| 400 | ✗ | void _0RL_cd_914117f668a82e12_50000000::unmarshalReturnedValues(cdrStream& _n) | |
| 401 | { | ||
| 402 | ✗ | (::CORBA::Long&)result <<= _n; | |
| 403 | |||
| 404 | } | ||
| 405 | |||
| 406 | const char* const _0RL_cd_914117f668a82e12_50000000::_user_exns[] = { | ||
| 407 | hpp::Error::_PD_repoId | ||
| 408 | }; | ||
| 409 | |||
| 410 | ✗ | void _0RL_cd_914117f668a82e12_50000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 411 | { | ||
| 412 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 413 | ✗ | hpp::Error _ex; | |
| 414 | ✗ | _ex <<= s; | |
| 415 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 416 | ✗ | throw _ex; | |
| 417 | } | ||
| 418 | |||
| 419 | |||
| 420 | else { | ||
| 421 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 422 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 423 | (::CORBA::CompletionStatus)s.completion()); | ||
| 424 | } | ||
| 425 | } | ||
| 426 | |||
| 427 | // Local call call-back function. | ||
| 428 | static void | ||
| 429 | ✗ | _0RL_lcfn_914117f668a82e12_60000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 430 | { | ||
| 431 | ✗ | _0RL_cd_914117f668a82e12_50000000* tcd = (_0RL_cd_914117f668a82e12_50000000*)cd; | |
| 432 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 433 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 434 | ✗ | tcd->result = impl->getConfigSize(); | |
| 435 | #else | ||
| 436 | if (!cd->is_upcall()) | ||
| 437 | tcd->result = impl->getConfigSize(); | ||
| 438 | else { | ||
| 439 | try { | ||
| 440 | tcd->result = impl->getConfigSize(); | ||
| 441 | } | ||
| 442 | catch(hpp::Error& ex) { | ||
| 443 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 444 | } | ||
| 445 | |||
| 446 | |||
| 447 | } | ||
| 448 | #endif | ||
| 449 | |||
| 450 | |||
| 451 | } | ||
| 452 | |||
| 453 | ✗ | ::CORBA::Long hpp::corbaserver::_objref_Robot::getConfigSize() | |
| 454 | { | ||
| 455 | ✗ | _0RL_cd_914117f668a82e12_50000000 _call_desc(_0RL_lcfn_914117f668a82e12_60000000, "getConfigSize", 14); | |
| 456 | |||
| 457 | |||
| 458 | ✗ | _invoke(_call_desc); | |
| 459 | ✗ | return _call_desc.result; | |
| 460 | |||
| 461 | |||
| 462 | } | ||
| 463 | |||
| 464 | |||
| 465 | // | ||
| 466 | // Code for hpp::corbaserver::Robot::getNumberDof | ||
| 467 | |||
| 468 | // Local call call-back function. | ||
| 469 | static void | ||
| 470 | ✗ | _0RL_lcfn_914117f668a82e12_70000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 471 | { | ||
| 472 | ✗ | _0RL_cd_914117f668a82e12_50000000* tcd = (_0RL_cd_914117f668a82e12_50000000*)cd; | |
| 473 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 474 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 475 | ✗ | tcd->result = impl->getNumberDof(); | |
| 476 | #else | ||
| 477 | if (!cd->is_upcall()) | ||
| 478 | tcd->result = impl->getNumberDof(); | ||
| 479 | else { | ||
| 480 | try { | ||
| 481 | tcd->result = impl->getNumberDof(); | ||
| 482 | } | ||
| 483 | catch(hpp::Error& ex) { | ||
| 484 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 485 | } | ||
| 486 | |||
| 487 | |||
| 488 | } | ||
| 489 | #endif | ||
| 490 | |||
| 491 | |||
| 492 | } | ||
| 493 | |||
| 494 | ✗ | ::CORBA::Long hpp::corbaserver::_objref_Robot::getNumberDof() | |
| 495 | { | ||
| 496 | ✗ | _0RL_cd_914117f668a82e12_50000000 _call_desc(_0RL_lcfn_914117f668a82e12_70000000, "getNumberDof", 13); | |
| 497 | |||
| 498 | |||
| 499 | ✗ | _invoke(_call_desc); | |
| 500 | ✗ | return _call_desc.result; | |
| 501 | |||
| 502 | |||
| 503 | } | ||
| 504 | |||
| 505 | |||
| 506 | // | ||
| 507 | // Code for hpp::corbaserver::Robot::getJointNames | ||
| 508 | |||
| 509 | // Proxy call descriptor class. Mangled signature: | ||
| 510 | // _chpp_mNames__t_e_chpp_mError | ||
| 511 | class _0RL_cd_914117f668a82e12_80000000 | ||
| 512 | : public omniCallDescriptor | ||
| 513 | { | ||
| 514 | public: | ||
| 515 | 2 | inline _0RL_cd_914117f668a82e12_80000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 516 | 2 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 517 | { | ||
| 518 | |||
| 519 | 2 | } | |
| 520 | |||
| 521 | |||
| 522 | void unmarshalReturnedValues(cdrStream&); | ||
| 523 | void marshalReturnedValues(cdrStream&); | ||
| 524 | |||
| 525 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 526 | static const char* const _user_exns[]; | ||
| 527 | |||
| 528 | hpp::Names_t_var result; | ||
| 529 | }; | ||
| 530 | |||
| 531 | 2 | void _0RL_cd_914117f668a82e12_80000000::marshalReturnedValues(cdrStream& _n) | |
| 532 | { | ||
| 533 | 2 | (const hpp::Names_t&) result >>= _n; | |
| 534 | |||
| 535 | 2 | } | |
| 536 | |||
| 537 | ✗ | void _0RL_cd_914117f668a82e12_80000000::unmarshalReturnedValues(cdrStream& _n) | |
| 538 | { | ||
| 539 | ✗ | result = new hpp::Names_t; | |
| 540 | ✗ | (hpp::Names_t&)result <<= _n; | |
| 541 | |||
| 542 | } | ||
| 543 | |||
| 544 | const char* const _0RL_cd_914117f668a82e12_80000000::_user_exns[] = { | ||
| 545 | hpp::Error::_PD_repoId | ||
| 546 | }; | ||
| 547 | |||
| 548 | ✗ | void _0RL_cd_914117f668a82e12_80000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 549 | { | ||
| 550 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 551 | ✗ | hpp::Error _ex; | |
| 552 | ✗ | _ex <<= s; | |
| 553 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 554 | ✗ | throw _ex; | |
| 555 | } | ||
| 556 | |||
| 557 | |||
| 558 | else { | ||
| 559 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 560 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 561 | (::CORBA::CompletionStatus)s.completion()); | ||
| 562 | } | ||
| 563 | } | ||
| 564 | |||
| 565 | // Local call call-back function. | ||
| 566 | static void | ||
| 567 | 1 | _0RL_lcfn_914117f668a82e12_90000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 568 | { | ||
| 569 | 1 | _0RL_cd_914117f668a82e12_80000000* tcd = (_0RL_cd_914117f668a82e12_80000000*)cd; | |
| 570 | 1 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 571 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 572 | 1 | tcd->result = impl->getJointNames(); | |
| 573 | #else | ||
| 574 | if (!cd->is_upcall()) | ||
| 575 | tcd->result = impl->getJointNames(); | ||
| 576 | else { | ||
| 577 | try { | ||
| 578 | tcd->result = impl->getJointNames(); | ||
| 579 | } | ||
| 580 | catch(hpp::Error& ex) { | ||
| 581 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 582 | } | ||
| 583 | |||
| 584 | |||
| 585 | } | ||
| 586 | #endif | ||
| 587 | |||
| 588 | |||
| 589 | 1 | } | |
| 590 | |||
| 591 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getJointNames() | |
| 592 | { | ||
| 593 | ✗ | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_90000000, "getJointNames", 14); | |
| 594 | |||
| 595 | |||
| 596 | ✗ | _invoke(_call_desc); | |
| 597 | ✗ | return _call_desc.result._retn(); | |
| 598 | |||
| 599 | |||
| 600 | } | ||
| 601 | |||
| 602 | |||
| 603 | // | ||
| 604 | // Code for hpp::corbaserver::Robot::getJointTypes | ||
| 605 | |||
| 606 | // Local call call-back function. | ||
| 607 | static void | ||
| 608 | ✗ | _0RL_lcfn_914117f668a82e12_a0000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 609 | { | ||
| 610 | ✗ | _0RL_cd_914117f668a82e12_80000000* tcd = (_0RL_cd_914117f668a82e12_80000000*)cd; | |
| 611 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 612 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 613 | ✗ | tcd->result = impl->getJointTypes(); | |
| 614 | #else | ||
| 615 | if (!cd->is_upcall()) | ||
| 616 | tcd->result = impl->getJointTypes(); | ||
| 617 | else { | ||
| 618 | try { | ||
| 619 | tcd->result = impl->getJointTypes(); | ||
| 620 | } | ||
| 621 | catch(hpp::Error& ex) { | ||
| 622 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 623 | } | ||
| 624 | |||
| 625 | |||
| 626 | } | ||
| 627 | #endif | ||
| 628 | |||
| 629 | |||
| 630 | } | ||
| 631 | |||
| 632 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getJointTypes() | |
| 633 | { | ||
| 634 | ✗ | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_a0000000, "getJointTypes", 14); | |
| 635 | |||
| 636 | |||
| 637 | ✗ | _invoke(_call_desc); | |
| 638 | ✗ | return _call_desc.result._retn(); | |
| 639 | |||
| 640 | |||
| 641 | } | ||
| 642 | |||
| 643 | |||
| 644 | // | ||
| 645 | // Code for hpp::corbaserver::Robot::getAllJointNames | ||
| 646 | |||
| 647 | // Local call call-back function. | ||
| 648 | static void | ||
| 649 | 1 | _0RL_lcfn_914117f668a82e12_b0000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 650 | { | ||
| 651 | 1 | _0RL_cd_914117f668a82e12_80000000* tcd = (_0RL_cd_914117f668a82e12_80000000*)cd; | |
| 652 | 1 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 653 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 654 | 1 | tcd->result = impl->getAllJointNames(); | |
| 655 | #else | ||
| 656 | if (!cd->is_upcall()) | ||
| 657 | tcd->result = impl->getAllJointNames(); | ||
| 658 | else { | ||
| 659 | try { | ||
| 660 | tcd->result = impl->getAllJointNames(); | ||
| 661 | } | ||
| 662 | catch(hpp::Error& ex) { | ||
| 663 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 664 | } | ||
| 665 | |||
| 666 | |||
| 667 | } | ||
| 668 | #endif | ||
| 669 | |||
| 670 | |||
| 671 | 1 | } | |
| 672 | |||
| 673 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getAllJointNames() | |
| 674 | { | ||
| 675 | ✗ | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_b0000000, "getAllJointNames", 17); | |
| 676 | |||
| 677 | |||
| 678 | ✗ | _invoke(_call_desc); | |
| 679 | ✗ | return _call_desc.result._retn(); | |
| 680 | |||
| 681 | |||
| 682 | } | ||
| 683 | |||
| 684 | |||
| 685 | // | ||
| 686 | // Code for hpp::corbaserver::Robot::getParentJointName | ||
| 687 | |||
| 688 | // Proxy call descriptor class. Mangled signature: | ||
| 689 | // _cstring_i_cstring_e_chpp_mError | ||
| 690 | class _0RL_cd_914117f668a82e12_c0000000 | ||
| 691 | : public omniCallDescriptor | ||
| 692 | { | ||
| 693 | public: | ||
| 694 | 12 | inline _0RL_cd_914117f668a82e12_c0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 695 | 12 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 696 | { | ||
| 697 | |||
| 698 | 12 | } | |
| 699 | |||
| 700 | void marshalArguments(cdrStream&); | ||
| 701 | void unmarshalArguments(cdrStream&); | ||
| 702 | |||
| 703 | void unmarshalReturnedValues(cdrStream&); | ||
| 704 | void marshalReturnedValues(cdrStream&); | ||
| 705 | |||
| 706 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 707 | static const char* const _user_exns[]; | ||
| 708 | |||
| 709 | ::CORBA::String_var arg_0_; | ||
| 710 | const char* arg_0; | ||
| 711 | ::CORBA::String_var result; | ||
| 712 | }; | ||
| 713 | |||
| 714 | ✗ | void _0RL_cd_914117f668a82e12_c0000000::marshalArguments(cdrStream& _n) | |
| 715 | { | ||
| 716 | ✗ | _n.marshalString(arg_0,0); | |
| 717 | |||
| 718 | } | ||
| 719 | |||
| 720 | 12 | void _0RL_cd_914117f668a82e12_c0000000::unmarshalArguments(cdrStream& _n) | |
| 721 | { | ||
| 722 | 12 | arg_0_ = _n.unmarshalString(0); | |
| 723 | 12 | arg_0 = arg_0_.in(); | |
| 724 | |||
| 725 | 12 | } | |
| 726 | |||
| 727 | 12 | void _0RL_cd_914117f668a82e12_c0000000::marshalReturnedValues(cdrStream& _n) | |
| 728 | { | ||
| 729 | 12 | _n.marshalString(result,0); | |
| 730 | |||
| 731 | 12 | } | |
| 732 | |||
| 733 | ✗ | void _0RL_cd_914117f668a82e12_c0000000::unmarshalReturnedValues(cdrStream& _n) | |
| 734 | { | ||
| 735 | ✗ | result = _n.unmarshalString(0); | |
| 736 | |||
| 737 | } | ||
| 738 | |||
| 739 | const char* const _0RL_cd_914117f668a82e12_c0000000::_user_exns[] = { | ||
| 740 | hpp::Error::_PD_repoId | ||
| 741 | }; | ||
| 742 | |||
| 743 | ✗ | void _0RL_cd_914117f668a82e12_c0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 744 | { | ||
| 745 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 746 | ✗ | hpp::Error _ex; | |
| 747 | ✗ | _ex <<= s; | |
| 748 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 749 | ✗ | throw _ex; | |
| 750 | } | ||
| 751 | |||
| 752 | |||
| 753 | else { | ||
| 754 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 755 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 756 | (::CORBA::CompletionStatus)s.completion()); | ||
| 757 | } | ||
| 758 | } | ||
| 759 | |||
| 760 | // Local call call-back function. | ||
| 761 | static void | ||
| 762 | ✗ | _0RL_lcfn_914117f668a82e12_d0000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 763 | { | ||
| 764 | ✗ | _0RL_cd_914117f668a82e12_c0000000* tcd = (_0RL_cd_914117f668a82e12_c0000000*)cd; | |
| 765 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 766 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 767 | ✗ | tcd->result = impl->getParentJointName(tcd->arg_0); | |
| 768 | #else | ||
| 769 | if (!cd->is_upcall()) | ||
| 770 | tcd->result = impl->getParentJointName(tcd->arg_0); | ||
| 771 | else { | ||
| 772 | try { | ||
| 773 | tcd->result = impl->getParentJointName(tcd->arg_0); | ||
| 774 | } | ||
| 775 | catch(hpp::Error& ex) { | ||
| 776 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 777 | } | ||
| 778 | |||
| 779 | |||
| 780 | } | ||
| 781 | #endif | ||
| 782 | |||
| 783 | |||
| 784 | } | ||
| 785 | |||
| 786 | ✗ | char* hpp::corbaserver::_objref_Robot::getParentJointName(const char* jointName) | |
| 787 | { | ||
| 788 | ✗ | _0RL_cd_914117f668a82e12_c0000000 _call_desc(_0RL_lcfn_914117f668a82e12_d0000000, "getParentJointName", 19); | |
| 789 | ✗ | _call_desc.arg_0 = jointName; | |
| 790 | |||
| 791 | ✗ | _invoke(_call_desc); | |
| 792 | ✗ | return _call_desc.result._retn(); | |
| 793 | |||
| 794 | |||
| 795 | } | ||
| 796 | |||
| 797 | |||
| 798 | // | ||
| 799 | // Code for hpp::corbaserver::Robot::getJointConfig | ||
| 800 | |||
| 801 | // Proxy call descriptor class. Mangled signature: | ||
| 802 | // _chpp_mfloatSeq_i_cstring_e_chpp_mError | ||
| 803 | class _0RL_cd_914117f668a82e12_e0000000 | ||
| 804 | : public omniCallDescriptor | ||
| 805 | { | ||
| 806 | public: | ||
| 807 | ✗ | inline _0RL_cd_914117f668a82e12_e0000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 808 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 809 | { | ||
| 810 | |||
| 811 | } | ||
| 812 | |||
| 813 | void marshalArguments(cdrStream&); | ||
| 814 | void unmarshalArguments(cdrStream&); | ||
| 815 | |||
| 816 | void unmarshalReturnedValues(cdrStream&); | ||
| 817 | void marshalReturnedValues(cdrStream&); | ||
| 818 | |||
| 819 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 820 | static const char* const _user_exns[]; | ||
| 821 | |||
| 822 | ::CORBA::String_var arg_0_; | ||
| 823 | const char* arg_0; | ||
| 824 | hpp::floatSeq_var result; | ||
| 825 | }; | ||
| 826 | |||
| 827 | ✗ | void _0RL_cd_914117f668a82e12_e0000000::marshalArguments(cdrStream& _n) | |
| 828 | { | ||
| 829 | ✗ | _n.marshalString(arg_0,0); | |
| 830 | |||
| 831 | } | ||
| 832 | |||
| 833 | ✗ | void _0RL_cd_914117f668a82e12_e0000000::unmarshalArguments(cdrStream& _n) | |
| 834 | { | ||
| 835 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 836 | ✗ | arg_0 = arg_0_.in(); | |
| 837 | |||
| 838 | } | ||
| 839 | |||
| 840 | ✗ | void _0RL_cd_914117f668a82e12_e0000000::marshalReturnedValues(cdrStream& _n) | |
| 841 | { | ||
| 842 | ✗ | (const hpp::floatSeq&) result >>= _n; | |
| 843 | |||
| 844 | } | ||
| 845 | |||
| 846 | ✗ | void _0RL_cd_914117f668a82e12_e0000000::unmarshalReturnedValues(cdrStream& _n) | |
| 847 | { | ||
| 848 | ✗ | result = new hpp::floatSeq; | |
| 849 | ✗ | (hpp::floatSeq&)result <<= _n; | |
| 850 | |||
| 851 | } | ||
| 852 | |||
| 853 | const char* const _0RL_cd_914117f668a82e12_e0000000::_user_exns[] = { | ||
| 854 | hpp::Error::_PD_repoId | ||
| 855 | }; | ||
| 856 | |||
| 857 | ✗ | void _0RL_cd_914117f668a82e12_e0000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 858 | { | ||
| 859 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 860 | ✗ | hpp::Error _ex; | |
| 861 | ✗ | _ex <<= s; | |
| 862 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 863 | ✗ | throw _ex; | |
| 864 | } | ||
| 865 | |||
| 866 | |||
| 867 | else { | ||
| 868 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 869 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 870 | (::CORBA::CompletionStatus)s.completion()); | ||
| 871 | } | ||
| 872 | } | ||
| 873 | |||
| 874 | // Local call call-back function. | ||
| 875 | static void | ||
| 876 | ✗ | _0RL_lcfn_914117f668a82e12_f0000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 877 | { | ||
| 878 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 879 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 880 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 881 | ✗ | tcd->result = impl->getJointConfig(tcd->arg_0); | |
| 882 | #else | ||
| 883 | if (!cd->is_upcall()) | ||
| 884 | tcd->result = impl->getJointConfig(tcd->arg_0); | ||
| 885 | else { | ||
| 886 | try { | ||
| 887 | tcd->result = impl->getJointConfig(tcd->arg_0); | ||
| 888 | } | ||
| 889 | catch(hpp::Error& ex) { | ||
| 890 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 891 | } | ||
| 892 | |||
| 893 | |||
| 894 | } | ||
| 895 | #endif | ||
| 896 | |||
| 897 | |||
| 898 | } | ||
| 899 | |||
| 900 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getJointConfig(const char* jointName) | |
| 901 | { | ||
| 902 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_f0000000, "getJointConfig", 15); | |
| 903 | ✗ | _call_desc.arg_0 = jointName; | |
| 904 | |||
| 905 | ✗ | _invoke(_call_desc); | |
| 906 | ✗ | return _call_desc.result._retn(); | |
| 907 | |||
| 908 | |||
| 909 | } | ||
| 910 | |||
| 911 | |||
| 912 | // | ||
| 913 | // Code for hpp::corbaserver::Robot::setJointConfig | ||
| 914 | |||
| 915 | // Proxy call descriptor class. Mangled signature: | ||
| 916 | // void_i_cstring_i_chpp_mfloatSeq_e_chpp_mError | ||
| 917 | class _0RL_cd_914117f668a82e12_01000000 | ||
| 918 | : public omniCallDescriptor | ||
| 919 | { | ||
| 920 | public: | ||
| 921 | ✗ | inline _0RL_cd_914117f668a82e12_01000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 922 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 923 | { | ||
| 924 | |||
| 925 | } | ||
| 926 | |||
| 927 | void marshalArguments(cdrStream&); | ||
| 928 | void unmarshalArguments(cdrStream&); | ||
| 929 | |||
| 930 | |||
| 931 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 932 | static const char* const _user_exns[]; | ||
| 933 | |||
| 934 | ::CORBA::String_var arg_0_; | ||
| 935 | const char* arg_0; | ||
| 936 | hpp::floatSeq_var arg_1_; | ||
| 937 | const hpp::floatSeq* arg_1; | ||
| 938 | }; | ||
| 939 | |||
| 940 | ✗ | void _0RL_cd_914117f668a82e12_01000000::marshalArguments(cdrStream& _n) | |
| 941 | { | ||
| 942 | ✗ | _n.marshalString(arg_0,0); | |
| 943 | ✗ | (const hpp::floatSeq&) *arg_1 >>= _n; | |
| 944 | |||
| 945 | } | ||
| 946 | |||
| 947 | ✗ | void _0RL_cd_914117f668a82e12_01000000::unmarshalArguments(cdrStream& _n) | |
| 948 | { | ||
| 949 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 950 | ✗ | arg_0 = arg_0_.in(); | |
| 951 | ✗ | arg_1_ = new hpp::floatSeq; | |
| 952 | ✗ | (hpp::floatSeq&)arg_1_ <<= _n; | |
| 953 | ✗ | arg_1 = &arg_1_.in(); | |
| 954 | |||
| 955 | } | ||
| 956 | |||
| 957 | const char* const _0RL_cd_914117f668a82e12_01000000::_user_exns[] = { | ||
| 958 | hpp::Error::_PD_repoId | ||
| 959 | }; | ||
| 960 | |||
| 961 | ✗ | void _0RL_cd_914117f668a82e12_01000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 962 | { | ||
| 963 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 964 | ✗ | hpp::Error _ex; | |
| 965 | ✗ | _ex <<= s; | |
| 966 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 967 | ✗ | throw _ex; | |
| 968 | } | ||
| 969 | |||
| 970 | |||
| 971 | else { | ||
| 972 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 973 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 974 | (::CORBA::CompletionStatus)s.completion()); | ||
| 975 | } | ||
| 976 | } | ||
| 977 | |||
| 978 | // Local call call-back function. | ||
| 979 | static void | ||
| 980 | ✗ | _0RL_lcfn_914117f668a82e12_11000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 981 | { | ||
| 982 | ✗ | _0RL_cd_914117f668a82e12_01000000* tcd = (_0RL_cd_914117f668a82e12_01000000*)cd; | |
| 983 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 984 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 985 | ✗ | impl->setJointConfig(tcd->arg_0, *tcd->arg_1); | |
| 986 | #else | ||
| 987 | if (!cd->is_upcall()) | ||
| 988 | impl->setJointConfig(tcd->arg_0, *tcd->arg_1); | ||
| 989 | else { | ||
| 990 | try { | ||
| 991 | impl->setJointConfig(tcd->arg_0, *tcd->arg_1); | ||
| 992 | } | ||
| 993 | catch(hpp::Error& ex) { | ||
| 994 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 995 | } | ||
| 996 | |||
| 997 | |||
| 998 | } | ||
| 999 | #endif | ||
| 1000 | |||
| 1001 | |||
| 1002 | } | ||
| 1003 | |||
| 1004 | ✗ | void hpp::corbaserver::_objref_Robot::setJointConfig(const char* jointName, const ::hpp::floatSeq& config) | |
| 1005 | { | ||
| 1006 | ✗ | _0RL_cd_914117f668a82e12_01000000 _call_desc(_0RL_lcfn_914117f668a82e12_11000000, "setJointConfig", 15); | |
| 1007 | ✗ | _call_desc.arg_0 = jointName; | |
| 1008 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) config; | |
| 1009 | |||
| 1010 | ✗ | _invoke(_call_desc); | |
| 1011 | |||
| 1012 | |||
| 1013 | |||
| 1014 | } | ||
| 1015 | |||
| 1016 | |||
| 1017 | // | ||
| 1018 | // Code for hpp::corbaserver::Robot::getJointType | ||
| 1019 | |||
| 1020 | // Local call call-back function. | ||
| 1021 | static void | ||
| 1022 | 12 | _0RL_lcfn_914117f668a82e12_21000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1023 | { | ||
| 1024 | 12 | _0RL_cd_914117f668a82e12_c0000000* tcd = (_0RL_cd_914117f668a82e12_c0000000*)cd; | |
| 1025 | 12 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1026 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1027 | 12 | tcd->result = impl->getJointType(tcd->arg_0); | |
| 1028 | #else | ||
| 1029 | if (!cd->is_upcall()) | ||
| 1030 | tcd->result = impl->getJointType(tcd->arg_0); | ||
| 1031 | else { | ||
| 1032 | try { | ||
| 1033 | tcd->result = impl->getJointType(tcd->arg_0); | ||
| 1034 | } | ||
| 1035 | catch(hpp::Error& ex) { | ||
| 1036 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1037 | } | ||
| 1038 | |||
| 1039 | |||
| 1040 | } | ||
| 1041 | #endif | ||
| 1042 | |||
| 1043 | |||
| 1044 | 12 | } | |
| 1045 | |||
| 1046 | ✗ | char* hpp::corbaserver::_objref_Robot::getJointType(const char* jointName) | |
| 1047 | { | ||
| 1048 | ✗ | _0RL_cd_914117f668a82e12_c0000000 _call_desc(_0RL_lcfn_914117f668a82e12_21000000, "getJointType", 13); | |
| 1049 | ✗ | _call_desc.arg_0 = jointName; | |
| 1050 | |||
| 1051 | ✗ | _invoke(_call_desc); | |
| 1052 | ✗ | return _call_desc.result._retn(); | |
| 1053 | |||
| 1054 | |||
| 1055 | } | ||
| 1056 | |||
| 1057 | |||
| 1058 | // | ||
| 1059 | // Code for hpp::corbaserver::Robot::jointIntegrate | ||
| 1060 | |||
| 1061 | // Proxy call descriptor class. Mangled signature: | ||
| 1062 | // _chpp_mfloatSeq_i_chpp_mfloatSeq_i_cstring_i_chpp_mfloatSeq_i_cboolean_e_chpp_mError | ||
| 1063 | class _0RL_cd_914117f668a82e12_31000000 | ||
| 1064 | : public omniCallDescriptor | ||
| 1065 | { | ||
| 1066 | public: | ||
| 1067 | ✗ | inline _0RL_cd_914117f668a82e12_31000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1068 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1069 | { | ||
| 1070 | |||
| 1071 | } | ||
| 1072 | |||
| 1073 | void marshalArguments(cdrStream&); | ||
| 1074 | void unmarshalArguments(cdrStream&); | ||
| 1075 | |||
| 1076 | void unmarshalReturnedValues(cdrStream&); | ||
| 1077 | void marshalReturnedValues(cdrStream&); | ||
| 1078 | |||
| 1079 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1080 | static const char* const _user_exns[]; | ||
| 1081 | |||
| 1082 | hpp::floatSeq_var arg_0_; | ||
| 1083 | const hpp::floatSeq* arg_0; | ||
| 1084 | ::CORBA::String_var arg_1_; | ||
| 1085 | const char* arg_1; | ||
| 1086 | hpp::floatSeq_var arg_2_; | ||
| 1087 | const hpp::floatSeq* arg_2; | ||
| 1088 | ::CORBA::Boolean arg_3; | ||
| 1089 | hpp::floatSeq_var result; | ||
| 1090 | }; | ||
| 1091 | |||
| 1092 | ✗ | void _0RL_cd_914117f668a82e12_31000000::marshalArguments(cdrStream& _n) | |
| 1093 | { | ||
| 1094 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
| 1095 | ✗ | _n.marshalString(arg_1,0); | |
| 1096 | ✗ | (const hpp::floatSeq&) *arg_2 >>= _n; | |
| 1097 | ✗ | _n.marshalBoolean(arg_3); | |
| 1098 | |||
| 1099 | } | ||
| 1100 | |||
| 1101 | ✗ | void _0RL_cd_914117f668a82e12_31000000::unmarshalArguments(cdrStream& _n) | |
| 1102 | { | ||
| 1103 | ✗ | arg_0_ = new hpp::floatSeq; | |
| 1104 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
| 1105 | ✗ | arg_0 = &arg_0_.in(); | |
| 1106 | ✗ | arg_1_ = _n.unmarshalString(0); | |
| 1107 | ✗ | arg_1 = arg_1_.in(); | |
| 1108 | ✗ | arg_2_ = new hpp::floatSeq; | |
| 1109 | ✗ | (hpp::floatSeq&)arg_2_ <<= _n; | |
| 1110 | ✗ | arg_2 = &arg_2_.in(); | |
| 1111 | ✗ | arg_3 = _n.unmarshalBoolean(); | |
| 1112 | |||
| 1113 | } | ||
| 1114 | |||
| 1115 | ✗ | void _0RL_cd_914117f668a82e12_31000000::marshalReturnedValues(cdrStream& _n) | |
| 1116 | { | ||
| 1117 | ✗ | (const hpp::floatSeq&) result >>= _n; | |
| 1118 | |||
| 1119 | } | ||
| 1120 | |||
| 1121 | ✗ | void _0RL_cd_914117f668a82e12_31000000::unmarshalReturnedValues(cdrStream& _n) | |
| 1122 | { | ||
| 1123 | ✗ | result = new hpp::floatSeq; | |
| 1124 | ✗ | (hpp::floatSeq&)result <<= _n; | |
| 1125 | |||
| 1126 | } | ||
| 1127 | |||
| 1128 | const char* const _0RL_cd_914117f668a82e12_31000000::_user_exns[] = { | ||
| 1129 | hpp::Error::_PD_repoId | ||
| 1130 | }; | ||
| 1131 | |||
| 1132 | ✗ | void _0RL_cd_914117f668a82e12_31000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1133 | { | ||
| 1134 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1135 | ✗ | hpp::Error _ex; | |
| 1136 | ✗ | _ex <<= s; | |
| 1137 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1138 | ✗ | throw _ex; | |
| 1139 | } | ||
| 1140 | |||
| 1141 | |||
| 1142 | else { | ||
| 1143 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1144 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1145 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1146 | } | ||
| 1147 | } | ||
| 1148 | |||
| 1149 | // Local call call-back function. | ||
| 1150 | static void | ||
| 1151 | ✗ | _0RL_lcfn_914117f668a82e12_41000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1152 | { | ||
| 1153 | ✗ | _0RL_cd_914117f668a82e12_31000000* tcd = (_0RL_cd_914117f668a82e12_31000000*)cd; | |
| 1154 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1155 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1156 | ✗ | tcd->result = impl->jointIntegrate(*tcd->arg_0, tcd->arg_1, *tcd->arg_2, tcd->arg_3); | |
| 1157 | #else | ||
| 1158 | if (!cd->is_upcall()) | ||
| 1159 | tcd->result = impl->jointIntegrate(*tcd->arg_0, tcd->arg_1, *tcd->arg_2, tcd->arg_3); | ||
| 1160 | else { | ||
| 1161 | try { | ||
| 1162 | tcd->result = impl->jointIntegrate(*tcd->arg_0, tcd->arg_1, *tcd->arg_2, tcd->arg_3); | ||
| 1163 | } | ||
| 1164 | catch(hpp::Error& ex) { | ||
| 1165 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1166 | } | ||
| 1167 | |||
| 1168 | |||
| 1169 | } | ||
| 1170 | #endif | ||
| 1171 | |||
| 1172 | |||
| 1173 | } | ||
| 1174 | |||
| 1175 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::jointIntegrate(const ::hpp::floatSeq& jointCfg, const char* jointName, const ::hpp::floatSeq& speed, ::CORBA::Boolean saturate) | |
| 1176 | { | ||
| 1177 | ✗ | _0RL_cd_914117f668a82e12_31000000 _call_desc(_0RL_lcfn_914117f668a82e12_41000000, "jointIntegrate", 15); | |
| 1178 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) jointCfg; | |
| 1179 | ✗ | _call_desc.arg_1 = jointName; | |
| 1180 | ✗ | _call_desc.arg_2 = &(::hpp::floatSeq&) speed; | |
| 1181 | ✗ | _call_desc.arg_3 = saturate; | |
| 1182 | |||
| 1183 | ✗ | _invoke(_call_desc); | |
| 1184 | ✗ | return _call_desc.result._retn(); | |
| 1185 | |||
| 1186 | |||
| 1187 | } | ||
| 1188 | |||
| 1189 | |||
| 1190 | // | ||
| 1191 | // Code for hpp::corbaserver::Robot::getCurrentTransformation | ||
| 1192 | |||
| 1193 | // Proxy call descriptor class. Mangled signature: | ||
| 1194 | // _chpp_mfloatSeqSeq_i_cstring_e_chpp_mError | ||
| 1195 | class _0RL_cd_914117f668a82e12_51000000 | ||
| 1196 | : public omniCallDescriptor | ||
| 1197 | { | ||
| 1198 | public: | ||
| 1199 | ✗ | inline _0RL_cd_914117f668a82e12_51000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1200 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1201 | { | ||
| 1202 | |||
| 1203 | } | ||
| 1204 | |||
| 1205 | void marshalArguments(cdrStream&); | ||
| 1206 | void unmarshalArguments(cdrStream&); | ||
| 1207 | |||
| 1208 | void unmarshalReturnedValues(cdrStream&); | ||
| 1209 | void marshalReturnedValues(cdrStream&); | ||
| 1210 | |||
| 1211 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1212 | static const char* const _user_exns[]; | ||
| 1213 | |||
| 1214 | ::CORBA::String_var arg_0_; | ||
| 1215 | const char* arg_0; | ||
| 1216 | hpp::floatSeqSeq_var result; | ||
| 1217 | }; | ||
| 1218 | |||
| 1219 | ✗ | void _0RL_cd_914117f668a82e12_51000000::marshalArguments(cdrStream& _n) | |
| 1220 | { | ||
| 1221 | ✗ | _n.marshalString(arg_0,0); | |
| 1222 | |||
| 1223 | } | ||
| 1224 | |||
| 1225 | ✗ | void _0RL_cd_914117f668a82e12_51000000::unmarshalArguments(cdrStream& _n) | |
| 1226 | { | ||
| 1227 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 1228 | ✗ | arg_0 = arg_0_.in(); | |
| 1229 | |||
| 1230 | } | ||
| 1231 | |||
| 1232 | ✗ | void _0RL_cd_914117f668a82e12_51000000::marshalReturnedValues(cdrStream& _n) | |
| 1233 | { | ||
| 1234 | ✗ | (const hpp::floatSeqSeq&) result >>= _n; | |
| 1235 | |||
| 1236 | } | ||
| 1237 | |||
| 1238 | ✗ | void _0RL_cd_914117f668a82e12_51000000::unmarshalReturnedValues(cdrStream& _n) | |
| 1239 | { | ||
| 1240 | ✗ | result = new hpp::floatSeqSeq; | |
| 1241 | ✗ | (hpp::floatSeqSeq&)result <<= _n; | |
| 1242 | |||
| 1243 | } | ||
| 1244 | |||
| 1245 | const char* const _0RL_cd_914117f668a82e12_51000000::_user_exns[] = { | ||
| 1246 | hpp::Error::_PD_repoId | ||
| 1247 | }; | ||
| 1248 | |||
| 1249 | ✗ | void _0RL_cd_914117f668a82e12_51000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1250 | { | ||
| 1251 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1252 | ✗ | hpp::Error _ex; | |
| 1253 | ✗ | _ex <<= s; | |
| 1254 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1255 | ✗ | throw _ex; | |
| 1256 | } | ||
| 1257 | |||
| 1258 | |||
| 1259 | else { | ||
| 1260 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1261 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1262 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1263 | } | ||
| 1264 | } | ||
| 1265 | |||
| 1266 | // Local call call-back function. | ||
| 1267 | static void | ||
| 1268 | ✗ | _0RL_lcfn_914117f668a82e12_61000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1269 | { | ||
| 1270 | ✗ | _0RL_cd_914117f668a82e12_51000000* tcd = (_0RL_cd_914117f668a82e12_51000000*)cd; | |
| 1271 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1272 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1273 | ✗ | tcd->result = impl->getCurrentTransformation(tcd->arg_0); | |
| 1274 | #else | ||
| 1275 | if (!cd->is_upcall()) | ||
| 1276 | tcd->result = impl->getCurrentTransformation(tcd->arg_0); | ||
| 1277 | else { | ||
| 1278 | try { | ||
| 1279 | tcd->result = impl->getCurrentTransformation(tcd->arg_0); | ||
| 1280 | } | ||
| 1281 | catch(hpp::Error& ex) { | ||
| 1282 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1283 | } | ||
| 1284 | |||
| 1285 | |||
| 1286 | } | ||
| 1287 | #endif | ||
| 1288 | |||
| 1289 | |||
| 1290 | } | ||
| 1291 | |||
| 1292 | ✗ | hpp::floatSeqSeq* hpp::corbaserver::_objref_Robot::getCurrentTransformation(const char* jointName) | |
| 1293 | { | ||
| 1294 | ✗ | _0RL_cd_914117f668a82e12_51000000 _call_desc(_0RL_lcfn_914117f668a82e12_61000000, "getCurrentTransformation", 25); | |
| 1295 | ✗ | _call_desc.arg_0 = jointName; | |
| 1296 | |||
| 1297 | ✗ | _invoke(_call_desc); | |
| 1298 | ✗ | return _call_desc.result._retn(); | |
| 1299 | |||
| 1300 | |||
| 1301 | } | ||
| 1302 | |||
| 1303 | |||
| 1304 | // | ||
| 1305 | // Code for hpp::corbaserver::Robot::getJointPosition | ||
| 1306 | |||
| 1307 | // Proxy call descriptor class. Mangled signature: | ||
| 1308 | // _a7_cdouble_i_cstring_e_chpp_mError | ||
| 1309 | class _0RL_cd_914117f668a82e12_71000000 | ||
| 1310 | : public omniCallDescriptor | ||
| 1311 | { | ||
| 1312 | public: | ||
| 1313 | ✗ | inline _0RL_cd_914117f668a82e12_71000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1314 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1315 | { | ||
| 1316 | |||
| 1317 | } | ||
| 1318 | |||
| 1319 | void marshalArguments(cdrStream&); | ||
| 1320 | void unmarshalArguments(cdrStream&); | ||
| 1321 | |||
| 1322 | void unmarshalReturnedValues(cdrStream&); | ||
| 1323 | void marshalReturnedValues(cdrStream&); | ||
| 1324 | |||
| 1325 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1326 | static const char* const _user_exns[]; | ||
| 1327 | |||
| 1328 | ::CORBA::String_var arg_0_; | ||
| 1329 | const char* arg_0; | ||
| 1330 | hpp::Transform__var result; | ||
| 1331 | }; | ||
| 1332 | |||
| 1333 | ✗ | void _0RL_cd_914117f668a82e12_71000000::marshalArguments(cdrStream& _n) | |
| 1334 | { | ||
| 1335 | ✗ | _n.marshalString(arg_0,0); | |
| 1336 | |||
| 1337 | } | ||
| 1338 | |||
| 1339 | ✗ | void _0RL_cd_914117f668a82e12_71000000::unmarshalArguments(cdrStream& _n) | |
| 1340 | { | ||
| 1341 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 1342 | ✗ | arg_0 = arg_0_.in(); | |
| 1343 | |||
| 1344 | } | ||
| 1345 | |||
| 1346 | ✗ | void _0RL_cd_914117f668a82e12_71000000::marshalReturnedValues(cdrStream& _n) | |
| 1347 | { | ||
| 1348 | |||
| 1349 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 1350 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 1351 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)result),56,omni::ALIGN_8); | |
| 1352 | } | ||
| 1353 | else | ||
| 1354 | #endif | ||
| 1355 | { | ||
| 1356 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 1357 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 1358 | ✗ | result[_0i0] >>= _n; | |
| 1359 | } | ||
| 1360 | } | ||
| 1361 | |||
| 1362 | } | ||
| 1363 | |||
| 1364 | ✗ | void _0RL_cd_914117f668a82e12_71000000::unmarshalReturnedValues(cdrStream& _n) | |
| 1365 | { | ||
| 1366 | ✗ | result = hpp::Transform__alloc(); | |
| 1367 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)result), 7); | |
| 1368 | |||
| 1369 | } | ||
| 1370 | |||
| 1371 | const char* const _0RL_cd_914117f668a82e12_71000000::_user_exns[] = { | ||
| 1372 | hpp::Error::_PD_repoId | ||
| 1373 | }; | ||
| 1374 | |||
| 1375 | ✗ | void _0RL_cd_914117f668a82e12_71000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1376 | { | ||
| 1377 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1378 | ✗ | hpp::Error _ex; | |
| 1379 | ✗ | _ex <<= s; | |
| 1380 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1381 | ✗ | throw _ex; | |
| 1382 | } | ||
| 1383 | |||
| 1384 | |||
| 1385 | else { | ||
| 1386 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1387 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1388 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1389 | } | ||
| 1390 | } | ||
| 1391 | |||
| 1392 | // Local call call-back function. | ||
| 1393 | static void | ||
| 1394 | ✗ | _0RL_lcfn_914117f668a82e12_81000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1395 | { | ||
| 1396 | ✗ | _0RL_cd_914117f668a82e12_71000000* tcd = (_0RL_cd_914117f668a82e12_71000000*)cd; | |
| 1397 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1398 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1399 | ✗ | tcd->result = impl->getJointPosition(tcd->arg_0); | |
| 1400 | #else | ||
| 1401 | if (!cd->is_upcall()) | ||
| 1402 | tcd->result = impl->getJointPosition(tcd->arg_0); | ||
| 1403 | else { | ||
| 1404 | try { | ||
| 1405 | tcd->result = impl->getJointPosition(tcd->arg_0); | ||
| 1406 | } | ||
| 1407 | catch(hpp::Error& ex) { | ||
| 1408 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1409 | } | ||
| 1410 | |||
| 1411 | |||
| 1412 | } | ||
| 1413 | #endif | ||
| 1414 | |||
| 1415 | |||
| 1416 | } | ||
| 1417 | |||
| 1418 | ✗ | hpp::Transform__slice* hpp::corbaserver::_objref_Robot::getJointPosition(const char* jointName) | |
| 1419 | { | ||
| 1420 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_81000000, "getJointPosition", 17); | |
| 1421 | ✗ | _call_desc.arg_0 = jointName; | |
| 1422 | |||
| 1423 | ✗ | _invoke(_call_desc); | |
| 1424 | ✗ | return _call_desc.result._retn(); | |
| 1425 | |||
| 1426 | |||
| 1427 | } | ||
| 1428 | |||
| 1429 | |||
| 1430 | // | ||
| 1431 | // Code for hpp::corbaserver::Robot::getJointsPosition | ||
| 1432 | |||
| 1433 | // Proxy call descriptor class. Mangled signature: | ||
| 1434 | // _chpp_mTransformSeq_i_chpp_mfloatSeq_i_chpp_mNames__t_e_chpp_mError | ||
| 1435 | class _0RL_cd_914117f668a82e12_91000000 | ||
| 1436 | : public omniCallDescriptor | ||
| 1437 | { | ||
| 1438 | public: | ||
| 1439 | ✗ | inline _0RL_cd_914117f668a82e12_91000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1440 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1441 | { | ||
| 1442 | |||
| 1443 | } | ||
| 1444 | |||
| 1445 | void marshalArguments(cdrStream&); | ||
| 1446 | void unmarshalArguments(cdrStream&); | ||
| 1447 | |||
| 1448 | void unmarshalReturnedValues(cdrStream&); | ||
| 1449 | void marshalReturnedValues(cdrStream&); | ||
| 1450 | |||
| 1451 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1452 | static const char* const _user_exns[]; | ||
| 1453 | |||
| 1454 | hpp::floatSeq_var arg_0_; | ||
| 1455 | const hpp::floatSeq* arg_0; | ||
| 1456 | hpp::Names_t_var arg_1_; | ||
| 1457 | const hpp::Names_t* arg_1; | ||
| 1458 | hpp::TransformSeq_var result; | ||
| 1459 | }; | ||
| 1460 | |||
| 1461 | ✗ | void _0RL_cd_914117f668a82e12_91000000::marshalArguments(cdrStream& _n) | |
| 1462 | { | ||
| 1463 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
| 1464 | ✗ | (const hpp::Names_t&) *arg_1 >>= _n; | |
| 1465 | |||
| 1466 | } | ||
| 1467 | |||
| 1468 | ✗ | void _0RL_cd_914117f668a82e12_91000000::unmarshalArguments(cdrStream& _n) | |
| 1469 | { | ||
| 1470 | ✗ | arg_0_ = new hpp::floatSeq; | |
| 1471 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
| 1472 | ✗ | arg_0 = &arg_0_.in(); | |
| 1473 | ✗ | arg_1_ = new hpp::Names_t; | |
| 1474 | ✗ | (hpp::Names_t&)arg_1_ <<= _n; | |
| 1475 | ✗ | arg_1 = &arg_1_.in(); | |
| 1476 | |||
| 1477 | } | ||
| 1478 | |||
| 1479 | ✗ | void _0RL_cd_914117f668a82e12_91000000::marshalReturnedValues(cdrStream& _n) | |
| 1480 | { | ||
| 1481 | ✗ | (const hpp::TransformSeq&) result >>= _n; | |
| 1482 | |||
| 1483 | } | ||
| 1484 | |||
| 1485 | ✗ | void _0RL_cd_914117f668a82e12_91000000::unmarshalReturnedValues(cdrStream& _n) | |
| 1486 | { | ||
| 1487 | ✗ | result = new hpp::TransformSeq; | |
| 1488 | ✗ | (hpp::TransformSeq&)result <<= _n; | |
| 1489 | |||
| 1490 | } | ||
| 1491 | |||
| 1492 | const char* const _0RL_cd_914117f668a82e12_91000000::_user_exns[] = { | ||
| 1493 | hpp::Error::_PD_repoId | ||
| 1494 | }; | ||
| 1495 | |||
| 1496 | ✗ | void _0RL_cd_914117f668a82e12_91000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1497 | { | ||
| 1498 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1499 | ✗ | hpp::Error _ex; | |
| 1500 | ✗ | _ex <<= s; | |
| 1501 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1502 | ✗ | throw _ex; | |
| 1503 | } | ||
| 1504 | |||
| 1505 | |||
| 1506 | else { | ||
| 1507 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1508 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1509 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1510 | } | ||
| 1511 | } | ||
| 1512 | |||
| 1513 | // Local call call-back function. | ||
| 1514 | static void | ||
| 1515 | ✗ | _0RL_lcfn_914117f668a82e12_a1000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1516 | { | ||
| 1517 | ✗ | _0RL_cd_914117f668a82e12_91000000* tcd = (_0RL_cd_914117f668a82e12_91000000*)cd; | |
| 1518 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1519 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1520 | ✗ | tcd->result = impl->getJointsPosition(*tcd->arg_0, *tcd->arg_1); | |
| 1521 | #else | ||
| 1522 | if (!cd->is_upcall()) | ||
| 1523 | tcd->result = impl->getJointsPosition(*tcd->arg_0, *tcd->arg_1); | ||
| 1524 | else { | ||
| 1525 | try { | ||
| 1526 | tcd->result = impl->getJointsPosition(*tcd->arg_0, *tcd->arg_1); | ||
| 1527 | } | ||
| 1528 | catch(hpp::Error& ex) { | ||
| 1529 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1530 | } | ||
| 1531 | |||
| 1532 | |||
| 1533 | } | ||
| 1534 | #endif | ||
| 1535 | |||
| 1536 | |||
| 1537 | } | ||
| 1538 | |||
| 1539 | ✗ | hpp::TransformSeq* hpp::corbaserver::_objref_Robot::getJointsPosition(const ::hpp::floatSeq& q, const ::hpp::Names_t& jointNames) | |
| 1540 | { | ||
| 1541 | ✗ | _0RL_cd_914117f668a82e12_91000000 _call_desc(_0RL_lcfn_914117f668a82e12_a1000000, "getJointsPosition", 18); | |
| 1542 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) q; | |
| 1543 | ✗ | _call_desc.arg_1 = &(::hpp::Names_t&) jointNames; | |
| 1544 | |||
| 1545 | ✗ | _invoke(_call_desc); | |
| 1546 | ✗ | return _call_desc.result._retn(); | |
| 1547 | |||
| 1548 | |||
| 1549 | } | ||
| 1550 | |||
| 1551 | |||
| 1552 | // | ||
| 1553 | // Code for hpp::corbaserver::Robot::getJointVelocity | ||
| 1554 | |||
| 1555 | // Local call call-back function. | ||
| 1556 | static void | ||
| 1557 | ✗ | _0RL_lcfn_914117f668a82e12_b1000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1558 | { | ||
| 1559 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 1560 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1561 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1562 | ✗ | tcd->result = impl->getJointVelocity(tcd->arg_0); | |
| 1563 | #else | ||
| 1564 | if (!cd->is_upcall()) | ||
| 1565 | tcd->result = impl->getJointVelocity(tcd->arg_0); | ||
| 1566 | else { | ||
| 1567 | try { | ||
| 1568 | tcd->result = impl->getJointVelocity(tcd->arg_0); | ||
| 1569 | } | ||
| 1570 | catch(hpp::Error& ex) { | ||
| 1571 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1572 | } | ||
| 1573 | |||
| 1574 | |||
| 1575 | } | ||
| 1576 | #endif | ||
| 1577 | |||
| 1578 | |||
| 1579 | } | ||
| 1580 | |||
| 1581 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getJointVelocity(const char* jointName) | |
| 1582 | { | ||
| 1583 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_b1000000, "getJointVelocity", 17); | |
| 1584 | ✗ | _call_desc.arg_0 = jointName; | |
| 1585 | |||
| 1586 | ✗ | _invoke(_call_desc); | |
| 1587 | ✗ | return _call_desc.result._retn(); | |
| 1588 | |||
| 1589 | |||
| 1590 | } | ||
| 1591 | |||
| 1592 | |||
| 1593 | // | ||
| 1594 | // Code for hpp::corbaserver::Robot::getJointVelocityInLocalFrame | ||
| 1595 | |||
| 1596 | // Local call call-back function. | ||
| 1597 | static void | ||
| 1598 | ✗ | _0RL_lcfn_914117f668a82e12_c1000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1599 | { | ||
| 1600 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 1601 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1602 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1603 | ✗ | tcd->result = impl->getJointVelocityInLocalFrame(tcd->arg_0); | |
| 1604 | #else | ||
| 1605 | if (!cd->is_upcall()) | ||
| 1606 | tcd->result = impl->getJointVelocityInLocalFrame(tcd->arg_0); | ||
| 1607 | else { | ||
| 1608 | try { | ||
| 1609 | tcd->result = impl->getJointVelocityInLocalFrame(tcd->arg_0); | ||
| 1610 | } | ||
| 1611 | catch(hpp::Error& ex) { | ||
| 1612 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1613 | } | ||
| 1614 | |||
| 1615 | |||
| 1616 | } | ||
| 1617 | #endif | ||
| 1618 | |||
| 1619 | |||
| 1620 | } | ||
| 1621 | |||
| 1622 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getJointVelocityInLocalFrame(const char* jointName) | |
| 1623 | { | ||
| 1624 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_c1000000, "getJointVelocityInLocalFrame", 29); | |
| 1625 | ✗ | _call_desc.arg_0 = jointName; | |
| 1626 | |||
| 1627 | ✗ | _invoke(_call_desc); | |
| 1628 | ✗ | return _call_desc.result._retn(); | |
| 1629 | |||
| 1630 | |||
| 1631 | } | ||
| 1632 | |||
| 1633 | |||
| 1634 | // | ||
| 1635 | // Code for hpp::corbaserver::Robot::getJointPositionInParentFrame | ||
| 1636 | |||
| 1637 | // Local call call-back function. | ||
| 1638 | static void | ||
| 1639 | ✗ | _0RL_lcfn_914117f668a82e12_d1000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1640 | { | ||
| 1641 | ✗ | _0RL_cd_914117f668a82e12_71000000* tcd = (_0RL_cd_914117f668a82e12_71000000*)cd; | |
| 1642 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1643 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1644 | ✗ | tcd->result = impl->getJointPositionInParentFrame(tcd->arg_0); | |
| 1645 | #else | ||
| 1646 | if (!cd->is_upcall()) | ||
| 1647 | tcd->result = impl->getJointPositionInParentFrame(tcd->arg_0); | ||
| 1648 | else { | ||
| 1649 | try { | ||
| 1650 | tcd->result = impl->getJointPositionInParentFrame(tcd->arg_0); | ||
| 1651 | } | ||
| 1652 | catch(hpp::Error& ex) { | ||
| 1653 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1654 | } | ||
| 1655 | |||
| 1656 | |||
| 1657 | } | ||
| 1658 | #endif | ||
| 1659 | |||
| 1660 | |||
| 1661 | } | ||
| 1662 | |||
| 1663 | ✗ | hpp::Transform__slice* hpp::corbaserver::_objref_Robot::getJointPositionInParentFrame(const char* jointName) | |
| 1664 | { | ||
| 1665 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_d1000000, "getJointPositionInParentFrame", 30); | |
| 1666 | ✗ | _call_desc.arg_0 = jointName; | |
| 1667 | |||
| 1668 | ✗ | _invoke(_call_desc); | |
| 1669 | ✗ | return _call_desc.result._retn(); | |
| 1670 | |||
| 1671 | |||
| 1672 | } | ||
| 1673 | |||
| 1674 | |||
| 1675 | // | ||
| 1676 | // Code for hpp::corbaserver::Robot::getRootJointPosition | ||
| 1677 | |||
| 1678 | // Proxy call descriptor class. Mangled signature: | ||
| 1679 | // _a7_cdouble_e_chpp_mError | ||
| 1680 | class _0RL_cd_914117f668a82e12_e1000000 | ||
| 1681 | : public omniCallDescriptor | ||
| 1682 | { | ||
| 1683 | public: | ||
| 1684 | ✗ | inline _0RL_cd_914117f668a82e12_e1000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1685 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1686 | { | ||
| 1687 | |||
| 1688 | } | ||
| 1689 | |||
| 1690 | |||
| 1691 | void unmarshalReturnedValues(cdrStream&); | ||
| 1692 | void marshalReturnedValues(cdrStream&); | ||
| 1693 | |||
| 1694 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1695 | static const char* const _user_exns[]; | ||
| 1696 | |||
| 1697 | hpp::Transform__var result; | ||
| 1698 | }; | ||
| 1699 | |||
| 1700 | ✗ | void _0RL_cd_914117f668a82e12_e1000000::marshalReturnedValues(cdrStream& _n) | |
| 1701 | { | ||
| 1702 | |||
| 1703 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 1704 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 1705 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)result),56,omni::ALIGN_8); | |
| 1706 | } | ||
| 1707 | else | ||
| 1708 | #endif | ||
| 1709 | { | ||
| 1710 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 1711 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 1712 | ✗ | result[_0i0] >>= _n; | |
| 1713 | } | ||
| 1714 | } | ||
| 1715 | |||
| 1716 | } | ||
| 1717 | |||
| 1718 | ✗ | void _0RL_cd_914117f668a82e12_e1000000::unmarshalReturnedValues(cdrStream& _n) | |
| 1719 | { | ||
| 1720 | ✗ | result = hpp::Transform__alloc(); | |
| 1721 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)result), 7); | |
| 1722 | |||
| 1723 | } | ||
| 1724 | |||
| 1725 | const char* const _0RL_cd_914117f668a82e12_e1000000::_user_exns[] = { | ||
| 1726 | hpp::Error::_PD_repoId | ||
| 1727 | }; | ||
| 1728 | |||
| 1729 | ✗ | void _0RL_cd_914117f668a82e12_e1000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1730 | { | ||
| 1731 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1732 | ✗ | hpp::Error _ex; | |
| 1733 | ✗ | _ex <<= s; | |
| 1734 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1735 | ✗ | throw _ex; | |
| 1736 | } | ||
| 1737 | |||
| 1738 | |||
| 1739 | else { | ||
| 1740 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1741 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1742 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1743 | } | ||
| 1744 | } | ||
| 1745 | |||
| 1746 | // Local call call-back function. | ||
| 1747 | static void | ||
| 1748 | ✗ | _0RL_lcfn_914117f668a82e12_f1000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1749 | { | ||
| 1750 | ✗ | _0RL_cd_914117f668a82e12_e1000000* tcd = (_0RL_cd_914117f668a82e12_e1000000*)cd; | |
| 1751 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1752 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1753 | ✗ | tcd->result = impl->getRootJointPosition(); | |
| 1754 | #else | ||
| 1755 | if (!cd->is_upcall()) | ||
| 1756 | tcd->result = impl->getRootJointPosition(); | ||
| 1757 | else { | ||
| 1758 | try { | ||
| 1759 | tcd->result = impl->getRootJointPosition(); | ||
| 1760 | } | ||
| 1761 | catch(hpp::Error& ex) { | ||
| 1762 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1763 | } | ||
| 1764 | |||
| 1765 | |||
| 1766 | } | ||
| 1767 | #endif | ||
| 1768 | |||
| 1769 | |||
| 1770 | } | ||
| 1771 | |||
| 1772 | ✗ | hpp::Transform__slice* hpp::corbaserver::_objref_Robot::getRootJointPosition() | |
| 1773 | { | ||
| 1774 | ✗ | _0RL_cd_914117f668a82e12_e1000000 _call_desc(_0RL_lcfn_914117f668a82e12_f1000000, "getRootJointPosition", 21); | |
| 1775 | |||
| 1776 | |||
| 1777 | ✗ | _invoke(_call_desc); | |
| 1778 | ✗ | return _call_desc.result._retn(); | |
| 1779 | |||
| 1780 | |||
| 1781 | } | ||
| 1782 | |||
| 1783 | |||
| 1784 | // | ||
| 1785 | // Code for hpp::corbaserver::Robot::setRootJointPosition | ||
| 1786 | |||
| 1787 | // Proxy call descriptor class. Mangled signature: | ||
| 1788 | // void_i_a7_cdouble_e_chpp_mError | ||
| 1789 | class _0RL_cd_914117f668a82e12_02000000 | ||
| 1790 | : public omniCallDescriptor | ||
| 1791 | { | ||
| 1792 | public: | ||
| 1793 | ✗ | inline _0RL_cd_914117f668a82e12_02000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1794 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1795 | { | ||
| 1796 | |||
| 1797 | } | ||
| 1798 | |||
| 1799 | void marshalArguments(cdrStream&); | ||
| 1800 | void unmarshalArguments(cdrStream&); | ||
| 1801 | |||
| 1802 | |||
| 1803 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1804 | static const char* const _user_exns[]; | ||
| 1805 | |||
| 1806 | hpp::Transform_ arg_0_; | ||
| 1807 | const hpp::Transform__slice* arg_0; | ||
| 1808 | }; | ||
| 1809 | |||
| 1810 | ✗ | void _0RL_cd_914117f668a82e12_02000000::marshalArguments(cdrStream& _n) | |
| 1811 | { | ||
| 1812 | |||
| 1813 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 1814 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 1815 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)arg_0),56,omni::ALIGN_8); | |
| 1816 | } | ||
| 1817 | else | ||
| 1818 | #endif | ||
| 1819 | { | ||
| 1820 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 1821 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 1822 | ✗ | arg_0[_0i0] >>= _n; | |
| 1823 | } | ||
| 1824 | } | ||
| 1825 | |||
| 1826 | } | ||
| 1827 | |||
| 1828 | ✗ | void _0RL_cd_914117f668a82e12_02000000::unmarshalArguments(cdrStream& _n) | |
| 1829 | { | ||
| 1830 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)arg_0_), 7); | |
| 1831 | ✗ | arg_0 = &arg_0_[0]; | |
| 1832 | |||
| 1833 | } | ||
| 1834 | |||
| 1835 | const char* const _0RL_cd_914117f668a82e12_02000000::_user_exns[] = { | ||
| 1836 | hpp::Error::_PD_repoId | ||
| 1837 | }; | ||
| 1838 | |||
| 1839 | ✗ | void _0RL_cd_914117f668a82e12_02000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1840 | { | ||
| 1841 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1842 | ✗ | hpp::Error _ex; | |
| 1843 | ✗ | _ex <<= s; | |
| 1844 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1845 | ✗ | throw _ex; | |
| 1846 | } | ||
| 1847 | |||
| 1848 | |||
| 1849 | else { | ||
| 1850 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1851 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1852 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1853 | } | ||
| 1854 | } | ||
| 1855 | |||
| 1856 | // Local call call-back function. | ||
| 1857 | static void | ||
| 1858 | ✗ | _0RL_lcfn_914117f668a82e12_12000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1859 | { | ||
| 1860 | ✗ | _0RL_cd_914117f668a82e12_02000000* tcd = (_0RL_cd_914117f668a82e12_02000000*)cd; | |
| 1861 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1862 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1863 | ✗ | impl->setRootJointPosition(tcd->arg_0); | |
| 1864 | #else | ||
| 1865 | if (!cd->is_upcall()) | ||
| 1866 | impl->setRootJointPosition(tcd->arg_0); | ||
| 1867 | else { | ||
| 1868 | try { | ||
| 1869 | impl->setRootJointPosition(tcd->arg_0); | ||
| 1870 | } | ||
| 1871 | catch(hpp::Error& ex) { | ||
| 1872 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1873 | } | ||
| 1874 | |||
| 1875 | |||
| 1876 | } | ||
| 1877 | #endif | ||
| 1878 | |||
| 1879 | |||
| 1880 | } | ||
| 1881 | |||
| 1882 | ✗ | void hpp::corbaserver::_objref_Robot::setRootJointPosition(const ::hpp::Transform_ position) | |
| 1883 | { | ||
| 1884 | ✗ | _0RL_cd_914117f668a82e12_02000000 _call_desc(_0RL_lcfn_914117f668a82e12_12000000, "setRootJointPosition", 21); | |
| 1885 | ✗ | _call_desc.arg_0 = &position[0]; | |
| 1886 | |||
| 1887 | ✗ | _invoke(_call_desc); | |
| 1888 | |||
| 1889 | |||
| 1890 | |||
| 1891 | } | ||
| 1892 | |||
| 1893 | |||
| 1894 | // | ||
| 1895 | // Code for hpp::corbaserver::Robot::setJointPositionInParentFrame | ||
| 1896 | |||
| 1897 | // Proxy call descriptor class. Mangled signature: | ||
| 1898 | // void_i_cstring_i_a7_cdouble_e_chpp_mError | ||
| 1899 | class _0RL_cd_914117f668a82e12_22000000 | ||
| 1900 | : public omniCallDescriptor | ||
| 1901 | { | ||
| 1902 | public: | ||
| 1903 | ✗ | inline _0RL_cd_914117f668a82e12_22000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 1904 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 1905 | { | ||
| 1906 | |||
| 1907 | } | ||
| 1908 | |||
| 1909 | void marshalArguments(cdrStream&); | ||
| 1910 | void unmarshalArguments(cdrStream&); | ||
| 1911 | |||
| 1912 | |||
| 1913 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 1914 | static const char* const _user_exns[]; | ||
| 1915 | |||
| 1916 | ::CORBA::String_var arg_0_; | ||
| 1917 | const char* arg_0; | ||
| 1918 | hpp::Transform_ arg_1_; | ||
| 1919 | const hpp::Transform__slice* arg_1; | ||
| 1920 | }; | ||
| 1921 | |||
| 1922 | ✗ | void _0RL_cd_914117f668a82e12_22000000::marshalArguments(cdrStream& _n) | |
| 1923 | { | ||
| 1924 | ✗ | _n.marshalString(arg_0,0); | |
| 1925 | |||
| 1926 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 1927 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 1928 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)arg_1),56,omni::ALIGN_8); | |
| 1929 | } | ||
| 1930 | else | ||
| 1931 | #endif | ||
| 1932 | { | ||
| 1933 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 1934 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 1935 | ✗ | arg_1[_0i0] >>= _n; | |
| 1936 | } | ||
| 1937 | } | ||
| 1938 | |||
| 1939 | } | ||
| 1940 | |||
| 1941 | ✗ | void _0RL_cd_914117f668a82e12_22000000::unmarshalArguments(cdrStream& _n) | |
| 1942 | { | ||
| 1943 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 1944 | ✗ | arg_0 = arg_0_.in(); | |
| 1945 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)arg_1_), 7); | |
| 1946 | ✗ | arg_1 = &arg_1_[0]; | |
| 1947 | |||
| 1948 | } | ||
| 1949 | |||
| 1950 | const char* const _0RL_cd_914117f668a82e12_22000000::_user_exns[] = { | ||
| 1951 | hpp::Error::_PD_repoId | ||
| 1952 | }; | ||
| 1953 | |||
| 1954 | ✗ | void _0RL_cd_914117f668a82e12_22000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 1955 | { | ||
| 1956 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 1957 | ✗ | hpp::Error _ex; | |
| 1958 | ✗ | _ex <<= s; | |
| 1959 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 1960 | ✗ | throw _ex; | |
| 1961 | } | ||
| 1962 | |||
| 1963 | |||
| 1964 | else { | ||
| 1965 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 1966 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 1967 | (::CORBA::CompletionStatus)s.completion()); | ||
| 1968 | } | ||
| 1969 | } | ||
| 1970 | |||
| 1971 | // Local call call-back function. | ||
| 1972 | static void | ||
| 1973 | ✗ | _0RL_lcfn_914117f668a82e12_32000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 1974 | { | ||
| 1975 | ✗ | _0RL_cd_914117f668a82e12_22000000* tcd = (_0RL_cd_914117f668a82e12_22000000*)cd; | |
| 1976 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 1977 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 1978 | ✗ | impl->setJointPositionInParentFrame(tcd->arg_0, tcd->arg_1); | |
| 1979 | #else | ||
| 1980 | if (!cd->is_upcall()) | ||
| 1981 | impl->setJointPositionInParentFrame(tcd->arg_0, tcd->arg_1); | ||
| 1982 | else { | ||
| 1983 | try { | ||
| 1984 | impl->setJointPositionInParentFrame(tcd->arg_0, tcd->arg_1); | ||
| 1985 | } | ||
| 1986 | catch(hpp::Error& ex) { | ||
| 1987 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 1988 | } | ||
| 1989 | |||
| 1990 | |||
| 1991 | } | ||
| 1992 | #endif | ||
| 1993 | |||
| 1994 | |||
| 1995 | } | ||
| 1996 | |||
| 1997 | ✗ | void hpp::corbaserver::_objref_Robot::setJointPositionInParentFrame(const char* jointName, const ::hpp::Transform_ position) | |
| 1998 | { | ||
| 1999 | ✗ | _0RL_cd_914117f668a82e12_22000000 _call_desc(_0RL_lcfn_914117f668a82e12_32000000, "setJointPositionInParentFrame", 30); | |
| 2000 | ✗ | _call_desc.arg_0 = jointName; | |
| 2001 | ✗ | _call_desc.arg_1 = &position[0]; | |
| 2002 | |||
| 2003 | ✗ | _invoke(_call_desc); | |
| 2004 | |||
| 2005 | |||
| 2006 | |||
| 2007 | } | ||
| 2008 | |||
| 2009 | |||
| 2010 | // | ||
| 2011 | // Code for hpp::corbaserver::Robot::getJointNumberDof | ||
| 2012 | |||
| 2013 | // Proxy call descriptor class. Mangled signature: | ||
| 2014 | // _clong_i_cstring_e_chpp_mError | ||
| 2015 | class _0RL_cd_914117f668a82e12_42000000 | ||
| 2016 | : public omniCallDescriptor | ||
| 2017 | { | ||
| 2018 | public: | ||
| 2019 | 24 | inline _0RL_cd_914117f668a82e12_42000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2020 | 24 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2021 | { | ||
| 2022 | |||
| 2023 | 24 | } | |
| 2024 | |||
| 2025 | void marshalArguments(cdrStream&); | ||
| 2026 | void unmarshalArguments(cdrStream&); | ||
| 2027 | |||
| 2028 | void unmarshalReturnedValues(cdrStream&); | ||
| 2029 | void marshalReturnedValues(cdrStream&); | ||
| 2030 | |||
| 2031 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2032 | static const char* const _user_exns[]; | ||
| 2033 | |||
| 2034 | ::CORBA::String_var arg_0_; | ||
| 2035 | const char* arg_0; | ||
| 2036 | ::CORBA::Long result; | ||
| 2037 | }; | ||
| 2038 | |||
| 2039 | ✗ | void _0RL_cd_914117f668a82e12_42000000::marshalArguments(cdrStream& _n) | |
| 2040 | { | ||
| 2041 | ✗ | _n.marshalString(arg_0,0); | |
| 2042 | |||
| 2043 | } | ||
| 2044 | |||
| 2045 | 24 | void _0RL_cd_914117f668a82e12_42000000::unmarshalArguments(cdrStream& _n) | |
| 2046 | { | ||
| 2047 | 24 | arg_0_ = _n.unmarshalString(0); | |
| 2048 | 24 | arg_0 = arg_0_.in(); | |
| 2049 | |||
| 2050 | 24 | } | |
| 2051 | |||
| 2052 | 24 | void _0RL_cd_914117f668a82e12_42000000::marshalReturnedValues(cdrStream& _n) | |
| 2053 | { | ||
| 2054 | 24 | result >>= _n; | |
| 2055 | |||
| 2056 | 24 | } | |
| 2057 | |||
| 2058 | ✗ | void _0RL_cd_914117f668a82e12_42000000::unmarshalReturnedValues(cdrStream& _n) | |
| 2059 | { | ||
| 2060 | ✗ | (::CORBA::Long&)result <<= _n; | |
| 2061 | |||
| 2062 | } | ||
| 2063 | |||
| 2064 | const char* const _0RL_cd_914117f668a82e12_42000000::_user_exns[] = { | ||
| 2065 | hpp::Error::_PD_repoId | ||
| 2066 | }; | ||
| 2067 | |||
| 2068 | ✗ | void _0RL_cd_914117f668a82e12_42000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2069 | { | ||
| 2070 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2071 | ✗ | hpp::Error _ex; | |
| 2072 | ✗ | _ex <<= s; | |
| 2073 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2074 | ✗ | throw _ex; | |
| 2075 | } | ||
| 2076 | |||
| 2077 | |||
| 2078 | else { | ||
| 2079 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2080 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2081 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2082 | } | ||
| 2083 | } | ||
| 2084 | |||
| 2085 | // Local call call-back function. | ||
| 2086 | static void | ||
| 2087 | 12 | _0RL_lcfn_914117f668a82e12_52000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2088 | { | ||
| 2089 | 12 | _0RL_cd_914117f668a82e12_42000000* tcd = (_0RL_cd_914117f668a82e12_42000000*)cd; | |
| 2090 | 12 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2091 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2092 | 12 | tcd->result = impl->getJointNumberDof(tcd->arg_0); | |
| 2093 | #else | ||
| 2094 | if (!cd->is_upcall()) | ||
| 2095 | tcd->result = impl->getJointNumberDof(tcd->arg_0); | ||
| 2096 | else { | ||
| 2097 | try { | ||
| 2098 | tcd->result = impl->getJointNumberDof(tcd->arg_0); | ||
| 2099 | } | ||
| 2100 | catch(hpp::Error& ex) { | ||
| 2101 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2102 | } | ||
| 2103 | |||
| 2104 | |||
| 2105 | } | ||
| 2106 | #endif | ||
| 2107 | |||
| 2108 | |||
| 2109 | 12 | } | |
| 2110 | |||
| 2111 | ✗ | ::CORBA::Long hpp::corbaserver::_objref_Robot::getJointNumberDof(const char* jointName) | |
| 2112 | { | ||
| 2113 | ✗ | _0RL_cd_914117f668a82e12_42000000 _call_desc(_0RL_lcfn_914117f668a82e12_52000000, "getJointNumberDof", 18); | |
| 2114 | ✗ | _call_desc.arg_0 = jointName; | |
| 2115 | |||
| 2116 | ✗ | _invoke(_call_desc); | |
| 2117 | ✗ | return _call_desc.result; | |
| 2118 | |||
| 2119 | |||
| 2120 | } | ||
| 2121 | |||
| 2122 | |||
| 2123 | // | ||
| 2124 | // Code for hpp::corbaserver::Robot::getJointConfigSize | ||
| 2125 | |||
| 2126 | // Local call call-back function. | ||
| 2127 | static void | ||
| 2128 | 12 | _0RL_lcfn_914117f668a82e12_62000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2129 | { | ||
| 2130 | 12 | _0RL_cd_914117f668a82e12_42000000* tcd = (_0RL_cd_914117f668a82e12_42000000*)cd; | |
| 2131 | 12 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2132 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2133 | 12 | tcd->result = impl->getJointConfigSize(tcd->arg_0); | |
| 2134 | #else | ||
| 2135 | if (!cd->is_upcall()) | ||
| 2136 | tcd->result = impl->getJointConfigSize(tcd->arg_0); | ||
| 2137 | else { | ||
| 2138 | try { | ||
| 2139 | tcd->result = impl->getJointConfigSize(tcd->arg_0); | ||
| 2140 | } | ||
| 2141 | catch(hpp::Error& ex) { | ||
| 2142 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2143 | } | ||
| 2144 | |||
| 2145 | |||
| 2146 | } | ||
| 2147 | #endif | ||
| 2148 | |||
| 2149 | |||
| 2150 | 12 | } | |
| 2151 | |||
| 2152 | ✗ | ::CORBA::Long hpp::corbaserver::_objref_Robot::getJointConfigSize(const char* jointName) | |
| 2153 | { | ||
| 2154 | ✗ | _0RL_cd_914117f668a82e12_42000000 _call_desc(_0RL_lcfn_914117f668a82e12_62000000, "getJointConfigSize", 19); | |
| 2155 | ✗ | _call_desc.arg_0 = jointName; | |
| 2156 | |||
| 2157 | ✗ | _invoke(_call_desc); | |
| 2158 | ✗ | return _call_desc.result; | |
| 2159 | |||
| 2160 | |||
| 2161 | } | ||
| 2162 | |||
| 2163 | |||
| 2164 | // | ||
| 2165 | // Code for hpp::corbaserver::Robot::setJointBounds | ||
| 2166 | |||
| 2167 | // Local call call-back function. | ||
| 2168 | static void | ||
| 2169 | ✗ | _0RL_lcfn_914117f668a82e12_72000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2170 | { | ||
| 2171 | ✗ | _0RL_cd_914117f668a82e12_01000000* tcd = (_0RL_cd_914117f668a82e12_01000000*)cd; | |
| 2172 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2173 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2174 | ✗ | impl->setJointBounds(tcd->arg_0, *tcd->arg_1); | |
| 2175 | #else | ||
| 2176 | if (!cd->is_upcall()) | ||
| 2177 | impl->setJointBounds(tcd->arg_0, *tcd->arg_1); | ||
| 2178 | else { | ||
| 2179 | try { | ||
| 2180 | impl->setJointBounds(tcd->arg_0, *tcd->arg_1); | ||
| 2181 | } | ||
| 2182 | catch(hpp::Error& ex) { | ||
| 2183 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2184 | } | ||
| 2185 | |||
| 2186 | |||
| 2187 | } | ||
| 2188 | #endif | ||
| 2189 | |||
| 2190 | |||
| 2191 | } | ||
| 2192 | |||
| 2193 | ✗ | void hpp::corbaserver::_objref_Robot::setJointBounds(const char* jointName, const ::hpp::floatSeq& inJointBound) | |
| 2194 | { | ||
| 2195 | ✗ | _0RL_cd_914117f668a82e12_01000000 _call_desc(_0RL_lcfn_914117f668a82e12_72000000, "setJointBounds", 15); | |
| 2196 | ✗ | _call_desc.arg_0 = jointName; | |
| 2197 | ✗ | _call_desc.arg_1 = &(::hpp::floatSeq&) inJointBound; | |
| 2198 | |||
| 2199 | ✗ | _invoke(_call_desc); | |
| 2200 | |||
| 2201 | |||
| 2202 | |||
| 2203 | } | ||
| 2204 | |||
| 2205 | |||
| 2206 | // | ||
| 2207 | // Code for hpp::corbaserver::Robot::getJointBounds | ||
| 2208 | |||
| 2209 | // Local call call-back function. | ||
| 2210 | static void | ||
| 2211 | ✗ | _0RL_lcfn_914117f668a82e12_82000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2212 | { | ||
| 2213 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 2214 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2215 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2216 | ✗ | tcd->result = impl->getJointBounds(tcd->arg_0); | |
| 2217 | #else | ||
| 2218 | if (!cd->is_upcall()) | ||
| 2219 | tcd->result = impl->getJointBounds(tcd->arg_0); | ||
| 2220 | else { | ||
| 2221 | try { | ||
| 2222 | tcd->result = impl->getJointBounds(tcd->arg_0); | ||
| 2223 | } | ||
| 2224 | catch(hpp::Error& ex) { | ||
| 2225 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2226 | } | ||
| 2227 | |||
| 2228 | |||
| 2229 | } | ||
| 2230 | #endif | ||
| 2231 | |||
| 2232 | |||
| 2233 | } | ||
| 2234 | |||
| 2235 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getJointBounds(const char* jointName) | |
| 2236 | { | ||
| 2237 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_82000000, "getJointBounds", 15); | |
| 2238 | ✗ | _call_desc.arg_0 = jointName; | |
| 2239 | |||
| 2240 | ✗ | _invoke(_call_desc); | |
| 2241 | ✗ | return _call_desc.result._retn(); | |
| 2242 | |||
| 2243 | |||
| 2244 | } | ||
| 2245 | |||
| 2246 | |||
| 2247 | // | ||
| 2248 | // Code for hpp::corbaserver::Robot::getLinkPosition | ||
| 2249 | |||
| 2250 | // Local call call-back function. | ||
| 2251 | static void | ||
| 2252 | ✗ | _0RL_lcfn_914117f668a82e12_92000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2253 | { | ||
| 2254 | ✗ | _0RL_cd_914117f668a82e12_71000000* tcd = (_0RL_cd_914117f668a82e12_71000000*)cd; | |
| 2255 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2256 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2257 | ✗ | tcd->result = impl->getLinkPosition(tcd->arg_0); | |
| 2258 | #else | ||
| 2259 | if (!cd->is_upcall()) | ||
| 2260 | tcd->result = impl->getLinkPosition(tcd->arg_0); | ||
| 2261 | else { | ||
| 2262 | try { | ||
| 2263 | tcd->result = impl->getLinkPosition(tcd->arg_0); | ||
| 2264 | } | ||
| 2265 | catch(hpp::Error& ex) { | ||
| 2266 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2267 | } | ||
| 2268 | |||
| 2269 | |||
| 2270 | } | ||
| 2271 | #endif | ||
| 2272 | |||
| 2273 | |||
| 2274 | } | ||
| 2275 | |||
| 2276 | ✗ | hpp::Transform__slice* hpp::corbaserver::_objref_Robot::getLinkPosition(const char* linkName) | |
| 2277 | { | ||
| 2278 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_92000000, "getLinkPosition", 16); | |
| 2279 | ✗ | _call_desc.arg_0 = linkName; | |
| 2280 | |||
| 2281 | ✗ | _invoke(_call_desc); | |
| 2282 | ✗ | return _call_desc.result._retn(); | |
| 2283 | |||
| 2284 | |||
| 2285 | } | ||
| 2286 | |||
| 2287 | |||
| 2288 | // | ||
| 2289 | // Code for hpp::corbaserver::Robot::getLinksPosition | ||
| 2290 | |||
| 2291 | // Local call call-back function. | ||
| 2292 | static void | ||
| 2293 | ✗ | _0RL_lcfn_914117f668a82e12_a2000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2294 | { | ||
| 2295 | ✗ | _0RL_cd_914117f668a82e12_91000000* tcd = (_0RL_cd_914117f668a82e12_91000000*)cd; | |
| 2296 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2297 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2298 | ✗ | tcd->result = impl->getLinksPosition(*tcd->arg_0, *tcd->arg_1); | |
| 2299 | #else | ||
| 2300 | if (!cd->is_upcall()) | ||
| 2301 | tcd->result = impl->getLinksPosition(*tcd->arg_0, *tcd->arg_1); | ||
| 2302 | else { | ||
| 2303 | try { | ||
| 2304 | tcd->result = impl->getLinksPosition(*tcd->arg_0, *tcd->arg_1); | ||
| 2305 | } | ||
| 2306 | catch(hpp::Error& ex) { | ||
| 2307 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2308 | } | ||
| 2309 | |||
| 2310 | |||
| 2311 | } | ||
| 2312 | #endif | ||
| 2313 | |||
| 2314 | |||
| 2315 | } | ||
| 2316 | |||
| 2317 | ✗ | hpp::TransformSeq* hpp::corbaserver::_objref_Robot::getLinksPosition(const ::hpp::floatSeq& q, const ::hpp::Names_t& linkName) | |
| 2318 | { | ||
| 2319 | ✗ | _0RL_cd_914117f668a82e12_91000000 _call_desc(_0RL_lcfn_914117f668a82e12_a2000000, "getLinksPosition", 17); | |
| 2320 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) q; | |
| 2321 | ✗ | _call_desc.arg_1 = &(::hpp::Names_t&) linkName; | |
| 2322 | |||
| 2323 | ✗ | _invoke(_call_desc); | |
| 2324 | ✗ | return _call_desc.result._retn(); | |
| 2325 | |||
| 2326 | |||
| 2327 | } | ||
| 2328 | |||
| 2329 | |||
| 2330 | // | ||
| 2331 | // Code for hpp::corbaserver::Robot::getLinkNames | ||
| 2332 | |||
| 2333 | // Proxy call descriptor class. Mangled signature: | ||
| 2334 | // _chpp_mNames__t_i_cstring_e_chpp_mError | ||
| 2335 | class _0RL_cd_914117f668a82e12_b2000000 | ||
| 2336 | : public omniCallDescriptor | ||
| 2337 | { | ||
| 2338 | public: | ||
| 2339 | ✗ | inline _0RL_cd_914117f668a82e12_b2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2340 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2341 | { | ||
| 2342 | |||
| 2343 | } | ||
| 2344 | |||
| 2345 | void marshalArguments(cdrStream&); | ||
| 2346 | void unmarshalArguments(cdrStream&); | ||
| 2347 | |||
| 2348 | void unmarshalReturnedValues(cdrStream&); | ||
| 2349 | void marshalReturnedValues(cdrStream&); | ||
| 2350 | |||
| 2351 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2352 | static const char* const _user_exns[]; | ||
| 2353 | |||
| 2354 | ::CORBA::String_var arg_0_; | ||
| 2355 | const char* arg_0; | ||
| 2356 | hpp::Names_t_var result; | ||
| 2357 | }; | ||
| 2358 | |||
| 2359 | ✗ | void _0RL_cd_914117f668a82e12_b2000000::marshalArguments(cdrStream& _n) | |
| 2360 | { | ||
| 2361 | ✗ | _n.marshalString(arg_0,0); | |
| 2362 | |||
| 2363 | } | ||
| 2364 | |||
| 2365 | ✗ | void _0RL_cd_914117f668a82e12_b2000000::unmarshalArguments(cdrStream& _n) | |
| 2366 | { | ||
| 2367 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 2368 | ✗ | arg_0 = arg_0_.in(); | |
| 2369 | |||
| 2370 | } | ||
| 2371 | |||
| 2372 | ✗ | void _0RL_cd_914117f668a82e12_b2000000::marshalReturnedValues(cdrStream& _n) | |
| 2373 | { | ||
| 2374 | ✗ | (const hpp::Names_t&) result >>= _n; | |
| 2375 | |||
| 2376 | } | ||
| 2377 | |||
| 2378 | ✗ | void _0RL_cd_914117f668a82e12_b2000000::unmarshalReturnedValues(cdrStream& _n) | |
| 2379 | { | ||
| 2380 | ✗ | result = new hpp::Names_t; | |
| 2381 | ✗ | (hpp::Names_t&)result <<= _n; | |
| 2382 | |||
| 2383 | } | ||
| 2384 | |||
| 2385 | const char* const _0RL_cd_914117f668a82e12_b2000000::_user_exns[] = { | ||
| 2386 | hpp::Error::_PD_repoId | ||
| 2387 | }; | ||
| 2388 | |||
| 2389 | ✗ | void _0RL_cd_914117f668a82e12_b2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2390 | { | ||
| 2391 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2392 | ✗ | hpp::Error _ex; | |
| 2393 | ✗ | _ex <<= s; | |
| 2394 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2395 | ✗ | throw _ex; | |
| 2396 | } | ||
| 2397 | |||
| 2398 | |||
| 2399 | else { | ||
| 2400 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2401 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2402 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2403 | } | ||
| 2404 | } | ||
| 2405 | |||
| 2406 | // Local call call-back function. | ||
| 2407 | static void | ||
| 2408 | ✗ | _0RL_lcfn_914117f668a82e12_c2000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2409 | { | ||
| 2410 | ✗ | _0RL_cd_914117f668a82e12_b2000000* tcd = (_0RL_cd_914117f668a82e12_b2000000*)cd; | |
| 2411 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2412 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2413 | ✗ | tcd->result = impl->getLinkNames(tcd->arg_0); | |
| 2414 | #else | ||
| 2415 | if (!cd->is_upcall()) | ||
| 2416 | tcd->result = impl->getLinkNames(tcd->arg_0); | ||
| 2417 | else { | ||
| 2418 | try { | ||
| 2419 | tcd->result = impl->getLinkNames(tcd->arg_0); | ||
| 2420 | } | ||
| 2421 | catch(hpp::Error& ex) { | ||
| 2422 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2423 | } | ||
| 2424 | |||
| 2425 | |||
| 2426 | } | ||
| 2427 | #endif | ||
| 2428 | |||
| 2429 | |||
| 2430 | } | ||
| 2431 | |||
| 2432 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getLinkNames(const char* jointName) | |
| 2433 | { | ||
| 2434 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_c2000000, "getLinkNames", 13); | |
| 2435 | ✗ | _call_desc.arg_0 = jointName; | |
| 2436 | |||
| 2437 | ✗ | _invoke(_call_desc); | |
| 2438 | ✗ | return _call_desc.result._retn(); | |
| 2439 | |||
| 2440 | |||
| 2441 | } | ||
| 2442 | |||
| 2443 | |||
| 2444 | // | ||
| 2445 | // Code for hpp::corbaserver::Robot::setDimensionExtraConfigSpace | ||
| 2446 | |||
| 2447 | // Proxy call descriptor class. Mangled signature: | ||
| 2448 | // void_i_cunsigned_plong_e_chpp_mError | ||
| 2449 | class _0RL_cd_914117f668a82e12_d2000000 | ||
| 2450 | : public omniCallDescriptor | ||
| 2451 | { | ||
| 2452 | public: | ||
| 2453 | ✗ | inline _0RL_cd_914117f668a82e12_d2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2454 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2455 | { | ||
| 2456 | |||
| 2457 | } | ||
| 2458 | |||
| 2459 | void marshalArguments(cdrStream&); | ||
| 2460 | void unmarshalArguments(cdrStream&); | ||
| 2461 | |||
| 2462 | |||
| 2463 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2464 | static const char* const _user_exns[]; | ||
| 2465 | |||
| 2466 | ::CORBA::ULong arg_0; | ||
| 2467 | }; | ||
| 2468 | |||
| 2469 | ✗ | void _0RL_cd_914117f668a82e12_d2000000::marshalArguments(cdrStream& _n) | |
| 2470 | { | ||
| 2471 | ✗ | arg_0 >>= _n; | |
| 2472 | |||
| 2473 | } | ||
| 2474 | |||
| 2475 | ✗ | void _0RL_cd_914117f668a82e12_d2000000::unmarshalArguments(cdrStream& _n) | |
| 2476 | { | ||
| 2477 | ✗ | (::CORBA::ULong&)arg_0 <<= _n; | |
| 2478 | |||
| 2479 | } | ||
| 2480 | |||
| 2481 | const char* const _0RL_cd_914117f668a82e12_d2000000::_user_exns[] = { | ||
| 2482 | hpp::Error::_PD_repoId | ||
| 2483 | }; | ||
| 2484 | |||
| 2485 | ✗ | void _0RL_cd_914117f668a82e12_d2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2486 | { | ||
| 2487 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2488 | ✗ | hpp::Error _ex; | |
| 2489 | ✗ | _ex <<= s; | |
| 2490 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2491 | ✗ | throw _ex; | |
| 2492 | } | ||
| 2493 | |||
| 2494 | |||
| 2495 | else { | ||
| 2496 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2497 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2498 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2499 | } | ||
| 2500 | } | ||
| 2501 | |||
| 2502 | // Local call call-back function. | ||
| 2503 | static void | ||
| 2504 | ✗ | _0RL_lcfn_914117f668a82e12_e2000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2505 | { | ||
| 2506 | ✗ | _0RL_cd_914117f668a82e12_d2000000* tcd = (_0RL_cd_914117f668a82e12_d2000000*)cd; | |
| 2507 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2508 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2509 | ✗ | impl->setDimensionExtraConfigSpace(tcd->arg_0); | |
| 2510 | #else | ||
| 2511 | if (!cd->is_upcall()) | ||
| 2512 | impl->setDimensionExtraConfigSpace(tcd->arg_0); | ||
| 2513 | else { | ||
| 2514 | try { | ||
| 2515 | impl->setDimensionExtraConfigSpace(tcd->arg_0); | ||
| 2516 | } | ||
| 2517 | catch(hpp::Error& ex) { | ||
| 2518 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2519 | } | ||
| 2520 | |||
| 2521 | |||
| 2522 | } | ||
| 2523 | #endif | ||
| 2524 | |||
| 2525 | |||
| 2526 | } | ||
| 2527 | |||
| 2528 | ✗ | void hpp::corbaserver::_objref_Robot::setDimensionExtraConfigSpace(::CORBA::ULong dimension) | |
| 2529 | { | ||
| 2530 | ✗ | _0RL_cd_914117f668a82e12_d2000000 _call_desc(_0RL_lcfn_914117f668a82e12_e2000000, "setDimensionExtraConfigSpace", 29); | |
| 2531 | ✗ | _call_desc.arg_0 = dimension; | |
| 2532 | |||
| 2533 | ✗ | _invoke(_call_desc); | |
| 2534 | |||
| 2535 | |||
| 2536 | |||
| 2537 | } | ||
| 2538 | |||
| 2539 | |||
| 2540 | // | ||
| 2541 | // Code for hpp::corbaserver::Robot::getDimensionExtraConfigSpace | ||
| 2542 | |||
| 2543 | // Proxy call descriptor class. Mangled signature: | ||
| 2544 | // _cunsigned_plong_e_chpp_mError | ||
| 2545 | class _0RL_cd_914117f668a82e12_f2000000 | ||
| 2546 | : public omniCallDescriptor | ||
| 2547 | { | ||
| 2548 | public: | ||
| 2549 | ✗ | inline _0RL_cd_914117f668a82e12_f2000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2550 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2551 | { | ||
| 2552 | |||
| 2553 | } | ||
| 2554 | |||
| 2555 | |||
| 2556 | void unmarshalReturnedValues(cdrStream&); | ||
| 2557 | void marshalReturnedValues(cdrStream&); | ||
| 2558 | |||
| 2559 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2560 | static const char* const _user_exns[]; | ||
| 2561 | |||
| 2562 | ::CORBA::ULong result; | ||
| 2563 | }; | ||
| 2564 | |||
| 2565 | ✗ | void _0RL_cd_914117f668a82e12_f2000000::marshalReturnedValues(cdrStream& _n) | |
| 2566 | { | ||
| 2567 | ✗ | result >>= _n; | |
| 2568 | |||
| 2569 | } | ||
| 2570 | |||
| 2571 | ✗ | void _0RL_cd_914117f668a82e12_f2000000::unmarshalReturnedValues(cdrStream& _n) | |
| 2572 | { | ||
| 2573 | ✗ | (::CORBA::ULong&)result <<= _n; | |
| 2574 | |||
| 2575 | } | ||
| 2576 | |||
| 2577 | const char* const _0RL_cd_914117f668a82e12_f2000000::_user_exns[] = { | ||
| 2578 | hpp::Error::_PD_repoId | ||
| 2579 | }; | ||
| 2580 | |||
| 2581 | ✗ | void _0RL_cd_914117f668a82e12_f2000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2582 | { | ||
| 2583 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2584 | ✗ | hpp::Error _ex; | |
| 2585 | ✗ | _ex <<= s; | |
| 2586 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2587 | ✗ | throw _ex; | |
| 2588 | } | ||
| 2589 | |||
| 2590 | |||
| 2591 | else { | ||
| 2592 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2593 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2594 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2595 | } | ||
| 2596 | } | ||
| 2597 | |||
| 2598 | // Local call call-back function. | ||
| 2599 | static void | ||
| 2600 | ✗ | _0RL_lcfn_914117f668a82e12_03000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2601 | { | ||
| 2602 | ✗ | _0RL_cd_914117f668a82e12_f2000000* tcd = (_0RL_cd_914117f668a82e12_f2000000*)cd; | |
| 2603 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2604 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2605 | ✗ | tcd->result = impl->getDimensionExtraConfigSpace(); | |
| 2606 | #else | ||
| 2607 | if (!cd->is_upcall()) | ||
| 2608 | tcd->result = impl->getDimensionExtraConfigSpace(); | ||
| 2609 | else { | ||
| 2610 | try { | ||
| 2611 | tcd->result = impl->getDimensionExtraConfigSpace(); | ||
| 2612 | } | ||
| 2613 | catch(hpp::Error& ex) { | ||
| 2614 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2615 | } | ||
| 2616 | |||
| 2617 | |||
| 2618 | } | ||
| 2619 | #endif | ||
| 2620 | |||
| 2621 | |||
| 2622 | } | ||
| 2623 | |||
| 2624 | ✗ | ::CORBA::ULong hpp::corbaserver::_objref_Robot::getDimensionExtraConfigSpace() | |
| 2625 | { | ||
| 2626 | ✗ | _0RL_cd_914117f668a82e12_f2000000 _call_desc(_0RL_lcfn_914117f668a82e12_03000000, "getDimensionExtraConfigSpace", 29); | |
| 2627 | |||
| 2628 | |||
| 2629 | ✗ | _invoke(_call_desc); | |
| 2630 | ✗ | return _call_desc.result; | |
| 2631 | |||
| 2632 | |||
| 2633 | } | ||
| 2634 | |||
| 2635 | |||
| 2636 | // | ||
| 2637 | // Code for hpp::corbaserver::Robot::setExtraConfigSpaceBounds | ||
| 2638 | |||
| 2639 | // Proxy call descriptor class. Mangled signature: | ||
| 2640 | // void_i_chpp_mfloatSeq_e_chpp_mError | ||
| 2641 | class _0RL_cd_914117f668a82e12_13000000 | ||
| 2642 | : public omniCallDescriptor | ||
| 2643 | { | ||
| 2644 | public: | ||
| 2645 | ✗ | inline _0RL_cd_914117f668a82e12_13000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2646 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2647 | { | ||
| 2648 | |||
| 2649 | } | ||
| 2650 | |||
| 2651 | void marshalArguments(cdrStream&); | ||
| 2652 | void unmarshalArguments(cdrStream&); | ||
| 2653 | |||
| 2654 | |||
| 2655 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2656 | static const char* const _user_exns[]; | ||
| 2657 | |||
| 2658 | hpp::floatSeq_var arg_0_; | ||
| 2659 | const hpp::floatSeq* arg_0; | ||
| 2660 | }; | ||
| 2661 | |||
| 2662 | ✗ | void _0RL_cd_914117f668a82e12_13000000::marshalArguments(cdrStream& _n) | |
| 2663 | { | ||
| 2664 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
| 2665 | |||
| 2666 | } | ||
| 2667 | |||
| 2668 | ✗ | void _0RL_cd_914117f668a82e12_13000000::unmarshalArguments(cdrStream& _n) | |
| 2669 | { | ||
| 2670 | ✗ | arg_0_ = new hpp::floatSeq; | |
| 2671 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
| 2672 | ✗ | arg_0 = &arg_0_.in(); | |
| 2673 | |||
| 2674 | } | ||
| 2675 | |||
| 2676 | const char* const _0RL_cd_914117f668a82e12_13000000::_user_exns[] = { | ||
| 2677 | hpp::Error::_PD_repoId | ||
| 2678 | }; | ||
| 2679 | |||
| 2680 | ✗ | void _0RL_cd_914117f668a82e12_13000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2681 | { | ||
| 2682 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2683 | ✗ | hpp::Error _ex; | |
| 2684 | ✗ | _ex <<= s; | |
| 2685 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2686 | ✗ | throw _ex; | |
| 2687 | } | ||
| 2688 | |||
| 2689 | |||
| 2690 | else { | ||
| 2691 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2692 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2693 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2694 | } | ||
| 2695 | } | ||
| 2696 | |||
| 2697 | // Local call call-back function. | ||
| 2698 | static void | ||
| 2699 | ✗ | _0RL_lcfn_914117f668a82e12_23000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2700 | { | ||
| 2701 | ✗ | _0RL_cd_914117f668a82e12_13000000* tcd = (_0RL_cd_914117f668a82e12_13000000*)cd; | |
| 2702 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2703 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2704 | ✗ | impl->setExtraConfigSpaceBounds(*tcd->arg_0); | |
| 2705 | #else | ||
| 2706 | if (!cd->is_upcall()) | ||
| 2707 | impl->setExtraConfigSpaceBounds(*tcd->arg_0); | ||
| 2708 | else { | ||
| 2709 | try { | ||
| 2710 | impl->setExtraConfigSpaceBounds(*tcd->arg_0); | ||
| 2711 | } | ||
| 2712 | catch(hpp::Error& ex) { | ||
| 2713 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2714 | } | ||
| 2715 | |||
| 2716 | |||
| 2717 | } | ||
| 2718 | #endif | ||
| 2719 | |||
| 2720 | |||
| 2721 | } | ||
| 2722 | |||
| 2723 | ✗ | void hpp::corbaserver::_objref_Robot::setExtraConfigSpaceBounds(const ::hpp::floatSeq& bounds) | |
| 2724 | { | ||
| 2725 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_23000000, "setExtraConfigSpaceBounds", 26); | |
| 2726 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) bounds; | |
| 2727 | |||
| 2728 | ✗ | _invoke(_call_desc); | |
| 2729 | |||
| 2730 | |||
| 2731 | |||
| 2732 | } | ||
| 2733 | |||
| 2734 | |||
| 2735 | // | ||
| 2736 | // Code for hpp::corbaserver::Robot::getCurrentConfig | ||
| 2737 | |||
| 2738 | // Proxy call descriptor class. Mangled signature: | ||
| 2739 | // _chpp_mfloatSeq_e_chpp_mError | ||
| 2740 | class _0RL_cd_914117f668a82e12_33000000 | ||
| 2741 | : public omniCallDescriptor | ||
| 2742 | { | ||
| 2743 | public: | ||
| 2744 | ✗ | inline _0RL_cd_914117f668a82e12_33000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 2745 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 2746 | { | ||
| 2747 | |||
| 2748 | } | ||
| 2749 | |||
| 2750 | |||
| 2751 | void unmarshalReturnedValues(cdrStream&); | ||
| 2752 | void marshalReturnedValues(cdrStream&); | ||
| 2753 | |||
| 2754 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 2755 | static const char* const _user_exns[]; | ||
| 2756 | |||
| 2757 | hpp::floatSeq_var result; | ||
| 2758 | }; | ||
| 2759 | |||
| 2760 | ✗ | void _0RL_cd_914117f668a82e12_33000000::marshalReturnedValues(cdrStream& _n) | |
| 2761 | { | ||
| 2762 | ✗ | (const hpp::floatSeq&) result >>= _n; | |
| 2763 | |||
| 2764 | } | ||
| 2765 | |||
| 2766 | ✗ | void _0RL_cd_914117f668a82e12_33000000::unmarshalReturnedValues(cdrStream& _n) | |
| 2767 | { | ||
| 2768 | ✗ | result = new hpp::floatSeq; | |
| 2769 | ✗ | (hpp::floatSeq&)result <<= _n; | |
| 2770 | |||
| 2771 | } | ||
| 2772 | |||
| 2773 | const char* const _0RL_cd_914117f668a82e12_33000000::_user_exns[] = { | ||
| 2774 | hpp::Error::_PD_repoId | ||
| 2775 | }; | ||
| 2776 | |||
| 2777 | ✗ | void _0RL_cd_914117f668a82e12_33000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 2778 | { | ||
| 2779 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 2780 | ✗ | hpp::Error _ex; | |
| 2781 | ✗ | _ex <<= s; | |
| 2782 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 2783 | ✗ | throw _ex; | |
| 2784 | } | ||
| 2785 | |||
| 2786 | |||
| 2787 | else { | ||
| 2788 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 2789 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 2790 | (::CORBA::CompletionStatus)s.completion()); | ||
| 2791 | } | ||
| 2792 | } | ||
| 2793 | |||
| 2794 | // Local call call-back function. | ||
| 2795 | static void | ||
| 2796 | ✗ | _0RL_lcfn_914117f668a82e12_43000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2797 | { | ||
| 2798 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 2799 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2800 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2801 | ✗ | tcd->result = impl->getCurrentConfig(); | |
| 2802 | #else | ||
| 2803 | if (!cd->is_upcall()) | ||
| 2804 | tcd->result = impl->getCurrentConfig(); | ||
| 2805 | else { | ||
| 2806 | try { | ||
| 2807 | tcd->result = impl->getCurrentConfig(); | ||
| 2808 | } | ||
| 2809 | catch(hpp::Error& ex) { | ||
| 2810 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2811 | } | ||
| 2812 | |||
| 2813 | |||
| 2814 | } | ||
| 2815 | #endif | ||
| 2816 | |||
| 2817 | |||
| 2818 | } | ||
| 2819 | |||
| 2820 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getCurrentConfig() | |
| 2821 | { | ||
| 2822 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_43000000, "getCurrentConfig", 17); | |
| 2823 | |||
| 2824 | |||
| 2825 | ✗ | _invoke(_call_desc); | |
| 2826 | ✗ | return _call_desc.result._retn(); | |
| 2827 | |||
| 2828 | |||
| 2829 | } | ||
| 2830 | |||
| 2831 | |||
| 2832 | // | ||
| 2833 | // Code for hpp::corbaserver::Robot::shootRandomConfig | ||
| 2834 | |||
| 2835 | // Local call call-back function. | ||
| 2836 | static void | ||
| 2837 | ✗ | _0RL_lcfn_914117f668a82e12_53000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2838 | { | ||
| 2839 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 2840 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2841 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2842 | ✗ | tcd->result = impl->shootRandomConfig(); | |
| 2843 | #else | ||
| 2844 | if (!cd->is_upcall()) | ||
| 2845 | tcd->result = impl->shootRandomConfig(); | ||
| 2846 | else { | ||
| 2847 | try { | ||
| 2848 | tcd->result = impl->shootRandomConfig(); | ||
| 2849 | } | ||
| 2850 | catch(hpp::Error& ex) { | ||
| 2851 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2852 | } | ||
| 2853 | |||
| 2854 | |||
| 2855 | } | ||
| 2856 | #endif | ||
| 2857 | |||
| 2858 | |||
| 2859 | } | ||
| 2860 | |||
| 2861 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::shootRandomConfig() | |
| 2862 | { | ||
| 2863 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_53000000, "shootRandomConfig", 18); | |
| 2864 | |||
| 2865 | |||
| 2866 | ✗ | _invoke(_call_desc); | |
| 2867 | ✗ | return _call_desc.result._retn(); | |
| 2868 | |||
| 2869 | |||
| 2870 | } | ||
| 2871 | |||
| 2872 | |||
| 2873 | // | ||
| 2874 | // Code for hpp::corbaserver::Robot::setCurrentConfig | ||
| 2875 | |||
| 2876 | // Local call call-back function. | ||
| 2877 | static void | ||
| 2878 | ✗ | _0RL_lcfn_914117f668a82e12_63000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2879 | { | ||
| 2880 | ✗ | _0RL_cd_914117f668a82e12_13000000* tcd = (_0RL_cd_914117f668a82e12_13000000*)cd; | |
| 2881 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2882 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2883 | ✗ | impl->setCurrentConfig(*tcd->arg_0); | |
| 2884 | #else | ||
| 2885 | if (!cd->is_upcall()) | ||
| 2886 | impl->setCurrentConfig(*tcd->arg_0); | ||
| 2887 | else { | ||
| 2888 | try { | ||
| 2889 | impl->setCurrentConfig(*tcd->arg_0); | ||
| 2890 | } | ||
| 2891 | catch(hpp::Error& ex) { | ||
| 2892 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2893 | } | ||
| 2894 | |||
| 2895 | |||
| 2896 | } | ||
| 2897 | #endif | ||
| 2898 | |||
| 2899 | |||
| 2900 | } | ||
| 2901 | |||
| 2902 | ✗ | void hpp::corbaserver::_objref_Robot::setCurrentConfig(const ::hpp::floatSeq& dofArray) | |
| 2903 | { | ||
| 2904 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_63000000, "setCurrentConfig", 17); | |
| 2905 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) dofArray; | |
| 2906 | |||
| 2907 | ✗ | _invoke(_call_desc); | |
| 2908 | |||
| 2909 | |||
| 2910 | |||
| 2911 | } | ||
| 2912 | |||
| 2913 | |||
| 2914 | // | ||
| 2915 | // Code for hpp::corbaserver::Robot::getCurrentVelocity | ||
| 2916 | |||
| 2917 | // Local call call-back function. | ||
| 2918 | static void | ||
| 2919 | ✗ | _0RL_lcfn_914117f668a82e12_73000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2920 | { | ||
| 2921 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 2922 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2923 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2924 | ✗ | tcd->result = impl->getCurrentVelocity(); | |
| 2925 | #else | ||
| 2926 | if (!cd->is_upcall()) | ||
| 2927 | tcd->result = impl->getCurrentVelocity(); | ||
| 2928 | else { | ||
| 2929 | try { | ||
| 2930 | tcd->result = impl->getCurrentVelocity(); | ||
| 2931 | } | ||
| 2932 | catch(hpp::Error& ex) { | ||
| 2933 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2934 | } | ||
| 2935 | |||
| 2936 | |||
| 2937 | } | ||
| 2938 | #endif | ||
| 2939 | |||
| 2940 | |||
| 2941 | } | ||
| 2942 | |||
| 2943 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getCurrentVelocity() | |
| 2944 | { | ||
| 2945 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_73000000, "getCurrentVelocity", 19); | |
| 2946 | |||
| 2947 | |||
| 2948 | ✗ | _invoke(_call_desc); | |
| 2949 | ✗ | return _call_desc.result._retn(); | |
| 2950 | |||
| 2951 | |||
| 2952 | } | ||
| 2953 | |||
| 2954 | |||
| 2955 | // | ||
| 2956 | // Code for hpp::corbaserver::Robot::setCurrentVelocity | ||
| 2957 | |||
| 2958 | // Local call call-back function. | ||
| 2959 | static void | ||
| 2960 | ✗ | _0RL_lcfn_914117f668a82e12_83000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 2961 | { | ||
| 2962 | ✗ | _0RL_cd_914117f668a82e12_13000000* tcd = (_0RL_cd_914117f668a82e12_13000000*)cd; | |
| 2963 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 2964 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 2965 | ✗ | impl->setCurrentVelocity(*tcd->arg_0); | |
| 2966 | #else | ||
| 2967 | if (!cd->is_upcall()) | ||
| 2968 | impl->setCurrentVelocity(*tcd->arg_0); | ||
| 2969 | else { | ||
| 2970 | try { | ||
| 2971 | impl->setCurrentVelocity(*tcd->arg_0); | ||
| 2972 | } | ||
| 2973 | catch(hpp::Error& ex) { | ||
| 2974 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 2975 | } | ||
| 2976 | |||
| 2977 | |||
| 2978 | } | ||
| 2979 | #endif | ||
| 2980 | |||
| 2981 | |||
| 2982 | } | ||
| 2983 | |||
| 2984 | ✗ | void hpp::corbaserver::_objref_Robot::setCurrentVelocity(const ::hpp::floatSeq& qDot) | |
| 2985 | { | ||
| 2986 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_83000000, "setCurrentVelocity", 19); | |
| 2987 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) qDot; | |
| 2988 | |||
| 2989 | ✗ | _invoke(_call_desc); | |
| 2990 | |||
| 2991 | |||
| 2992 | |||
| 2993 | } | ||
| 2994 | |||
| 2995 | |||
| 2996 | // | ||
| 2997 | // Code for hpp::corbaserver::Robot::getJointInnerObjects | ||
| 2998 | |||
| 2999 | // Local call call-back function. | ||
| 3000 | static void | ||
| 3001 | ✗ | _0RL_lcfn_914117f668a82e12_93000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3002 | { | ||
| 3003 | ✗ | _0RL_cd_914117f668a82e12_b2000000* tcd = (_0RL_cd_914117f668a82e12_b2000000*)cd; | |
| 3004 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3005 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3006 | ✗ | tcd->result = impl->getJointInnerObjects(tcd->arg_0); | |
| 3007 | #else | ||
| 3008 | if (!cd->is_upcall()) | ||
| 3009 | tcd->result = impl->getJointInnerObjects(tcd->arg_0); | ||
| 3010 | else { | ||
| 3011 | try { | ||
| 3012 | tcd->result = impl->getJointInnerObjects(tcd->arg_0); | ||
| 3013 | } | ||
| 3014 | catch(hpp::Error& ex) { | ||
| 3015 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3016 | } | ||
| 3017 | |||
| 3018 | |||
| 3019 | } | ||
| 3020 | #endif | ||
| 3021 | |||
| 3022 | |||
| 3023 | } | ||
| 3024 | |||
| 3025 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getJointInnerObjects(const char* jointName) | |
| 3026 | { | ||
| 3027 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_93000000, "getJointInnerObjects", 21); | |
| 3028 | ✗ | _call_desc.arg_0 = jointName; | |
| 3029 | |||
| 3030 | ✗ | _invoke(_call_desc); | |
| 3031 | ✗ | return _call_desc.result._retn(); | |
| 3032 | |||
| 3033 | |||
| 3034 | } | ||
| 3035 | |||
| 3036 | |||
| 3037 | // | ||
| 3038 | // Code for hpp::corbaserver::Robot::getJointOuterObjects | ||
| 3039 | |||
| 3040 | // Local call call-back function. | ||
| 3041 | static void | ||
| 3042 | ✗ | _0RL_lcfn_914117f668a82e12_a3000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3043 | { | ||
| 3044 | ✗ | _0RL_cd_914117f668a82e12_b2000000* tcd = (_0RL_cd_914117f668a82e12_b2000000*)cd; | |
| 3045 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3046 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3047 | ✗ | tcd->result = impl->getJointOuterObjects(tcd->arg_0); | |
| 3048 | #else | ||
| 3049 | if (!cd->is_upcall()) | ||
| 3050 | tcd->result = impl->getJointOuterObjects(tcd->arg_0); | ||
| 3051 | else { | ||
| 3052 | try { | ||
| 3053 | tcd->result = impl->getJointOuterObjects(tcd->arg_0); | ||
| 3054 | } | ||
| 3055 | catch(hpp::Error& ex) { | ||
| 3056 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3057 | } | ||
| 3058 | |||
| 3059 | |||
| 3060 | } | ||
| 3061 | #endif | ||
| 3062 | |||
| 3063 | |||
| 3064 | } | ||
| 3065 | |||
| 3066 | ✗ | hpp::Names_t* hpp::corbaserver::_objref_Robot::getJointOuterObjects(const char* jointName) | |
| 3067 | { | ||
| 3068 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_a3000000, "getJointOuterObjects", 21); | |
| 3069 | ✗ | _call_desc.arg_0 = jointName; | |
| 3070 | |||
| 3071 | ✗ | _invoke(_call_desc); | |
| 3072 | ✗ | return _call_desc.result._retn(); | |
| 3073 | |||
| 3074 | |||
| 3075 | } | ||
| 3076 | |||
| 3077 | |||
| 3078 | // | ||
| 3079 | // Code for hpp::corbaserver::Robot::getObjectPosition | ||
| 3080 | |||
| 3081 | // Proxy call descriptor class. Mangled signature: | ||
| 3082 | // void_i_cstring_o_a7_cdouble_e_chpp_mError | ||
| 3083 | class _0RL_cd_914117f668a82e12_b3000000 | ||
| 3084 | : public omniCallDescriptor | ||
| 3085 | { | ||
| 3086 | public: | ||
| 3087 | ✗ | inline _0RL_cd_914117f668a82e12_b3000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3088 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3089 | { | ||
| 3090 | |||
| 3091 | } | ||
| 3092 | |||
| 3093 | void marshalArguments(cdrStream&); | ||
| 3094 | void unmarshalArguments(cdrStream&); | ||
| 3095 | |||
| 3096 | void unmarshalReturnedValues(cdrStream&); | ||
| 3097 | void marshalReturnedValues(cdrStream&); | ||
| 3098 | |||
| 3099 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3100 | static const char* const _user_exns[]; | ||
| 3101 | |||
| 3102 | ::CORBA::String_var arg_0_; | ||
| 3103 | const char* arg_0; | ||
| 3104 | hpp::Transform_ arg_1_; | ||
| 3105 | hpp::Transform__slice* arg_1; | ||
| 3106 | }; | ||
| 3107 | |||
| 3108 | ✗ | void _0RL_cd_914117f668a82e12_b3000000::marshalArguments(cdrStream& _n) | |
| 3109 | { | ||
| 3110 | ✗ | _n.marshalString(arg_0,0); | |
| 3111 | |||
| 3112 | } | ||
| 3113 | |||
| 3114 | ✗ | void _0RL_cd_914117f668a82e12_b3000000::unmarshalArguments(cdrStream& _n) | |
| 3115 | { | ||
| 3116 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 3117 | ✗ | arg_0 = arg_0_.in(); | |
| 3118 | |||
| 3119 | } | ||
| 3120 | |||
| 3121 | ✗ | void _0RL_cd_914117f668a82e12_b3000000::marshalReturnedValues(cdrStream& _n) | |
| 3122 | { | ||
| 3123 | |||
| 3124 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 3125 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 3126 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)arg_1),56,omni::ALIGN_8); | |
| 3127 | } | ||
| 3128 | else | ||
| 3129 | #endif | ||
| 3130 | { | ||
| 3131 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 3132 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 3133 | ✗ | arg_1[_0i0] >>= _n; | |
| 3134 | } | ||
| 3135 | } | ||
| 3136 | |||
| 3137 | } | ||
| 3138 | |||
| 3139 | ✗ | void _0RL_cd_914117f668a82e12_b3000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3140 | { | ||
| 3141 | ✗ | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)arg_1), 7); | |
| 3142 | |||
| 3143 | } | ||
| 3144 | |||
| 3145 | const char* const _0RL_cd_914117f668a82e12_b3000000::_user_exns[] = { | ||
| 3146 | hpp::Error::_PD_repoId | ||
| 3147 | }; | ||
| 3148 | |||
| 3149 | ✗ | void _0RL_cd_914117f668a82e12_b3000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3150 | { | ||
| 3151 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3152 | ✗ | hpp::Error _ex; | |
| 3153 | ✗ | _ex <<= s; | |
| 3154 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3155 | ✗ | throw _ex; | |
| 3156 | } | ||
| 3157 | |||
| 3158 | |||
| 3159 | else { | ||
| 3160 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3161 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3162 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3163 | } | ||
| 3164 | } | ||
| 3165 | |||
| 3166 | // Local call call-back function. | ||
| 3167 | static void | ||
| 3168 | ✗ | _0RL_lcfn_914117f668a82e12_c3000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3169 | { | ||
| 3170 | ✗ | _0RL_cd_914117f668a82e12_b3000000* tcd = (_0RL_cd_914117f668a82e12_b3000000*)cd; | |
| 3171 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3172 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3173 | ✗ | impl->getObjectPosition(tcd->arg_0, tcd->arg_1); | |
| 3174 | #else | ||
| 3175 | if (!cd->is_upcall()) | ||
| 3176 | impl->getObjectPosition(tcd->arg_0, tcd->arg_1); | ||
| 3177 | else { | ||
| 3178 | try { | ||
| 3179 | impl->getObjectPosition(tcd->arg_0, tcd->arg_1); | ||
| 3180 | } | ||
| 3181 | catch(hpp::Error& ex) { | ||
| 3182 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3183 | } | ||
| 3184 | |||
| 3185 | |||
| 3186 | } | ||
| 3187 | #endif | ||
| 3188 | |||
| 3189 | |||
| 3190 | } | ||
| 3191 | |||
| 3192 | ✗ | void hpp::corbaserver::_objref_Robot::getObjectPosition(const char* objectName, ::hpp::Transform_ cfg) | |
| 3193 | { | ||
| 3194 | ✗ | _0RL_cd_914117f668a82e12_b3000000 _call_desc(_0RL_lcfn_914117f668a82e12_c3000000, "getObjectPosition", 18); | |
| 3195 | ✗ | _call_desc.arg_0 = objectName; | |
| 3196 | ✗ | _call_desc.arg_1 = &cfg[0]; | |
| 3197 | |||
| 3198 | ✗ | _invoke(_call_desc); | |
| 3199 | |||
| 3200 | |||
| 3201 | |||
| 3202 | } | ||
| 3203 | |||
| 3204 | |||
| 3205 | // | ||
| 3206 | // Code for hpp::corbaserver::Robot::isConfigValid | ||
| 3207 | |||
| 3208 | // Proxy call descriptor class. Mangled signature: | ||
| 3209 | // void_i_chpp_mfloatSeq_o_cboolean_o_cstring_e_chpp_mError | ||
| 3210 | class _0RL_cd_914117f668a82e12_d3000000 | ||
| 3211 | : public omniCallDescriptor | ||
| 3212 | { | ||
| 3213 | public: | ||
| 3214 | ✗ | inline _0RL_cd_914117f668a82e12_d3000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3215 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3216 | { | ||
| 3217 | |||
| 3218 | } | ||
| 3219 | |||
| 3220 | void marshalArguments(cdrStream&); | ||
| 3221 | void unmarshalArguments(cdrStream&); | ||
| 3222 | |||
| 3223 | void unmarshalReturnedValues(cdrStream&); | ||
| 3224 | void marshalReturnedValues(cdrStream&); | ||
| 3225 | |||
| 3226 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3227 | static const char* const _user_exns[]; | ||
| 3228 | |||
| 3229 | hpp::floatSeq_var arg_0_; | ||
| 3230 | const hpp::floatSeq* arg_0; | ||
| 3231 | ::CORBA::Boolean arg_1; | ||
| 3232 | ::CORBA::String_var arg_2; | ||
| 3233 | }; | ||
| 3234 | |||
| 3235 | ✗ | void _0RL_cd_914117f668a82e12_d3000000::marshalArguments(cdrStream& _n) | |
| 3236 | { | ||
| 3237 | ✗ | (const hpp::floatSeq&) *arg_0 >>= _n; | |
| 3238 | |||
| 3239 | } | ||
| 3240 | |||
| 3241 | ✗ | void _0RL_cd_914117f668a82e12_d3000000::unmarshalArguments(cdrStream& _n) | |
| 3242 | { | ||
| 3243 | ✗ | arg_0_ = new hpp::floatSeq; | |
| 3244 | ✗ | (hpp::floatSeq&)arg_0_ <<= _n; | |
| 3245 | ✗ | arg_0 = &arg_0_.in(); | |
| 3246 | |||
| 3247 | } | ||
| 3248 | |||
| 3249 | ✗ | void _0RL_cd_914117f668a82e12_d3000000::marshalReturnedValues(cdrStream& _n) | |
| 3250 | { | ||
| 3251 | ✗ | _n.marshalBoolean(arg_1); | |
| 3252 | ✗ | _n.marshalString(arg_2,0); | |
| 3253 | |||
| 3254 | } | ||
| 3255 | |||
| 3256 | ✗ | void _0RL_cd_914117f668a82e12_d3000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3257 | { | ||
| 3258 | ✗ | arg_1 = _n.unmarshalBoolean(); | |
| 3259 | ✗ | arg_2 = _n.unmarshalString(0); | |
| 3260 | |||
| 3261 | } | ||
| 3262 | |||
| 3263 | const char* const _0RL_cd_914117f668a82e12_d3000000::_user_exns[] = { | ||
| 3264 | hpp::Error::_PD_repoId | ||
| 3265 | }; | ||
| 3266 | |||
| 3267 | ✗ | void _0RL_cd_914117f668a82e12_d3000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3268 | { | ||
| 3269 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3270 | ✗ | hpp::Error _ex; | |
| 3271 | ✗ | _ex <<= s; | |
| 3272 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3273 | ✗ | throw _ex; | |
| 3274 | } | ||
| 3275 | |||
| 3276 | |||
| 3277 | else { | ||
| 3278 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3279 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3280 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3281 | } | ||
| 3282 | } | ||
| 3283 | |||
| 3284 | // Local call call-back function. | ||
| 3285 | static void | ||
| 3286 | ✗ | _0RL_lcfn_914117f668a82e12_e3000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3287 | { | ||
| 3288 | ✗ | _0RL_cd_914117f668a82e12_d3000000* tcd = (_0RL_cd_914117f668a82e12_d3000000*)cd; | |
| 3289 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3290 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3291 | ✗ | impl->isConfigValid(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); | |
| 3292 | #else | ||
| 3293 | if (!cd->is_upcall()) | ||
| 3294 | impl->isConfigValid(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); | ||
| 3295 | else { | ||
| 3296 | try { | ||
| 3297 | impl->isConfigValid(*tcd->arg_0, tcd->arg_1, tcd->arg_2.out()); | ||
| 3298 | } | ||
| 3299 | catch(hpp::Error& ex) { | ||
| 3300 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3301 | } | ||
| 3302 | |||
| 3303 | |||
| 3304 | } | ||
| 3305 | #endif | ||
| 3306 | |||
| 3307 | |||
| 3308 | } | ||
| 3309 | |||
| 3310 | ✗ | void hpp::corbaserver::_objref_Robot::isConfigValid(const ::hpp::floatSeq& dofArray, ::CORBA::Boolean& validity, ::CORBA::String_out report) | |
| 3311 | { | ||
| 3312 | ✗ | _0RL_cd_914117f668a82e12_d3000000 _call_desc(_0RL_lcfn_914117f668a82e12_e3000000, "isConfigValid", 14); | |
| 3313 | ✗ | _call_desc.arg_0 = &(::hpp::floatSeq&) dofArray; | |
| 3314 | |||
| 3315 | ✗ | _invoke(_call_desc); | |
| 3316 | ✗ | validity = _call_desc.arg_1; | |
| 3317 | ✗ | report = _call_desc.arg_2._retn(); | |
| 3318 | |||
| 3319 | |||
| 3320 | } | ||
| 3321 | |||
| 3322 | |||
| 3323 | // | ||
| 3324 | // Code for hpp::corbaserver::Robot::distancesToCollision | ||
| 3325 | |||
| 3326 | // Proxy call descriptor class. Mangled signature: | ||
| 3327 | // void_o_chpp_mfloatSeq_o_chpp_mNames__t_o_chpp_mNames__t_o_chpp_mfloatSeqSeq_o_chpp_mfloatSeqSeq_e_chpp_mError | ||
| 3328 | class _0RL_cd_914117f668a82e12_f3000000 | ||
| 3329 | : public omniCallDescriptor | ||
| 3330 | { | ||
| 3331 | public: | ||
| 3332 | ✗ | inline _0RL_cd_914117f668a82e12_f3000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3333 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3334 | { | ||
| 3335 | |||
| 3336 | } | ||
| 3337 | |||
| 3338 | |||
| 3339 | void unmarshalReturnedValues(cdrStream&); | ||
| 3340 | void marshalReturnedValues(cdrStream&); | ||
| 3341 | |||
| 3342 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3343 | static const char* const _user_exns[]; | ||
| 3344 | |||
| 3345 | hpp::floatSeq_var arg_0; | ||
| 3346 | hpp::Names_t_var arg_1; | ||
| 3347 | hpp::Names_t_var arg_2; | ||
| 3348 | hpp::floatSeqSeq_var arg_3; | ||
| 3349 | hpp::floatSeqSeq_var arg_4; | ||
| 3350 | }; | ||
| 3351 | |||
| 3352 | ✗ | void _0RL_cd_914117f668a82e12_f3000000::marshalReturnedValues(cdrStream& _n) | |
| 3353 | { | ||
| 3354 | ✗ | (const hpp::floatSeq&) arg_0 >>= _n; | |
| 3355 | ✗ | (const hpp::Names_t&) arg_1 >>= _n; | |
| 3356 | ✗ | (const hpp::Names_t&) arg_2 >>= _n; | |
| 3357 | ✗ | (const hpp::floatSeqSeq&) arg_3 >>= _n; | |
| 3358 | ✗ | (const hpp::floatSeqSeq&) arg_4 >>= _n; | |
| 3359 | |||
| 3360 | } | ||
| 3361 | |||
| 3362 | ✗ | void _0RL_cd_914117f668a82e12_f3000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3363 | { | ||
| 3364 | ✗ | arg_0 = new hpp::floatSeq; | |
| 3365 | ✗ | (hpp::floatSeq&)arg_0 <<= _n; | |
| 3366 | ✗ | arg_1 = new hpp::Names_t; | |
| 3367 | ✗ | (hpp::Names_t&)arg_1 <<= _n; | |
| 3368 | ✗ | arg_2 = new hpp::Names_t; | |
| 3369 | ✗ | (hpp::Names_t&)arg_2 <<= _n; | |
| 3370 | ✗ | arg_3 = new hpp::floatSeqSeq; | |
| 3371 | ✗ | (hpp::floatSeqSeq&)arg_3 <<= _n; | |
| 3372 | ✗ | arg_4 = new hpp::floatSeqSeq; | |
| 3373 | ✗ | (hpp::floatSeqSeq&)arg_4 <<= _n; | |
| 3374 | |||
| 3375 | } | ||
| 3376 | |||
| 3377 | const char* const _0RL_cd_914117f668a82e12_f3000000::_user_exns[] = { | ||
| 3378 | hpp::Error::_PD_repoId | ||
| 3379 | }; | ||
| 3380 | |||
| 3381 | ✗ | void _0RL_cd_914117f668a82e12_f3000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3382 | { | ||
| 3383 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3384 | ✗ | hpp::Error _ex; | |
| 3385 | ✗ | _ex <<= s; | |
| 3386 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3387 | ✗ | throw _ex; | |
| 3388 | } | ||
| 3389 | |||
| 3390 | |||
| 3391 | else { | ||
| 3392 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3393 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3394 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3395 | } | ||
| 3396 | } | ||
| 3397 | |||
| 3398 | // Local call call-back function. | ||
| 3399 | static void | ||
| 3400 | ✗ | _0RL_lcfn_914117f668a82e12_04000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3401 | { | ||
| 3402 | ✗ | _0RL_cd_914117f668a82e12_f3000000* tcd = (_0RL_cd_914117f668a82e12_f3000000*)cd; | |
| 3403 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3404 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3405 | ✗ | impl->distancesToCollision(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out(), tcd->arg_3.out(), tcd->arg_4.out()); | |
| 3406 | #else | ||
| 3407 | if (!cd->is_upcall()) | ||
| 3408 | impl->distancesToCollision(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out(), tcd->arg_3.out(), tcd->arg_4.out()); | ||
| 3409 | else { | ||
| 3410 | try { | ||
| 3411 | impl->distancesToCollision(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out(), tcd->arg_3.out(), tcd->arg_4.out()); | ||
| 3412 | } | ||
| 3413 | catch(hpp::Error& ex) { | ||
| 3414 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3415 | } | ||
| 3416 | |||
| 3417 | |||
| 3418 | } | ||
| 3419 | #endif | ||
| 3420 | |||
| 3421 | |||
| 3422 | } | ||
| 3423 | |||
| 3424 | ✗ | void hpp::corbaserver::_objref_Robot::distancesToCollision(::hpp::floatSeq_out distances, ::hpp::Names_t_out innerObjects, ::hpp::Names_t_out outerObjects, ::hpp::floatSeqSeq_out innerPoints, ::hpp::floatSeqSeq_out outerPoints) | |
| 3425 | { | ||
| 3426 | ✗ | _0RL_cd_914117f668a82e12_f3000000 _call_desc(_0RL_lcfn_914117f668a82e12_04000000, "distancesToCollision", 21); | |
| 3427 | |||
| 3428 | |||
| 3429 | ✗ | _invoke(_call_desc); | |
| 3430 | ✗ | distances = _call_desc.arg_0._retn(); | |
| 3431 | ✗ | innerObjects = _call_desc.arg_1._retn(); | |
| 3432 | ✗ | outerObjects = _call_desc.arg_2._retn(); | |
| 3433 | ✗ | innerPoints = _call_desc.arg_3._retn(); | |
| 3434 | ✗ | outerPoints = _call_desc.arg_4._retn(); | |
| 3435 | |||
| 3436 | |||
| 3437 | } | ||
| 3438 | |||
| 3439 | |||
| 3440 | // | ||
| 3441 | // Code for hpp::corbaserver::Robot::autocollisionCheck | ||
| 3442 | |||
| 3443 | // Proxy call descriptor class. Mangled signature: | ||
| 3444 | // void_o_chpp_mboolSeq_e_chpp_mError | ||
| 3445 | class _0RL_cd_914117f668a82e12_14000000 | ||
| 3446 | : public omniCallDescriptor | ||
| 3447 | { | ||
| 3448 | public: | ||
| 3449 | ✗ | inline _0RL_cd_914117f668a82e12_14000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3450 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3451 | { | ||
| 3452 | |||
| 3453 | } | ||
| 3454 | |||
| 3455 | |||
| 3456 | void unmarshalReturnedValues(cdrStream&); | ||
| 3457 | void marshalReturnedValues(cdrStream&); | ||
| 3458 | |||
| 3459 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3460 | static const char* const _user_exns[]; | ||
| 3461 | |||
| 3462 | hpp::boolSeq_var arg_0; | ||
| 3463 | }; | ||
| 3464 | |||
| 3465 | ✗ | void _0RL_cd_914117f668a82e12_14000000::marshalReturnedValues(cdrStream& _n) | |
| 3466 | { | ||
| 3467 | ✗ | (const hpp::boolSeq&) arg_0 >>= _n; | |
| 3468 | |||
| 3469 | } | ||
| 3470 | |||
| 3471 | ✗ | void _0RL_cd_914117f668a82e12_14000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3472 | { | ||
| 3473 | ✗ | arg_0 = new hpp::boolSeq; | |
| 3474 | ✗ | (hpp::boolSeq&)arg_0 <<= _n; | |
| 3475 | |||
| 3476 | } | ||
| 3477 | |||
| 3478 | const char* const _0RL_cd_914117f668a82e12_14000000::_user_exns[] = { | ||
| 3479 | hpp::Error::_PD_repoId | ||
| 3480 | }; | ||
| 3481 | |||
| 3482 | ✗ | void _0RL_cd_914117f668a82e12_14000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3483 | { | ||
| 3484 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3485 | ✗ | hpp::Error _ex; | |
| 3486 | ✗ | _ex <<= s; | |
| 3487 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3488 | ✗ | throw _ex; | |
| 3489 | } | ||
| 3490 | |||
| 3491 | |||
| 3492 | else { | ||
| 3493 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3494 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3495 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3496 | } | ||
| 3497 | } | ||
| 3498 | |||
| 3499 | // Local call call-back function. | ||
| 3500 | static void | ||
| 3501 | ✗ | _0RL_lcfn_914117f668a82e12_24000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3502 | { | ||
| 3503 | ✗ | _0RL_cd_914117f668a82e12_14000000* tcd = (_0RL_cd_914117f668a82e12_14000000*)cd; | |
| 3504 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3505 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3506 | ✗ | impl->autocollisionCheck(tcd->arg_0.out()); | |
| 3507 | #else | ||
| 3508 | if (!cd->is_upcall()) | ||
| 3509 | impl->autocollisionCheck(tcd->arg_0.out()); | ||
| 3510 | else { | ||
| 3511 | try { | ||
| 3512 | impl->autocollisionCheck(tcd->arg_0.out()); | ||
| 3513 | } | ||
| 3514 | catch(hpp::Error& ex) { | ||
| 3515 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3516 | } | ||
| 3517 | |||
| 3518 | |||
| 3519 | } | ||
| 3520 | #endif | ||
| 3521 | |||
| 3522 | |||
| 3523 | } | ||
| 3524 | |||
| 3525 | ✗ | void hpp::corbaserver::_objref_Robot::autocollisionCheck(::hpp::boolSeq_out collide) | |
| 3526 | { | ||
| 3527 | ✗ | _0RL_cd_914117f668a82e12_14000000 _call_desc(_0RL_lcfn_914117f668a82e12_24000000, "autocollisionCheck", 19); | |
| 3528 | |||
| 3529 | |||
| 3530 | ✗ | _invoke(_call_desc); | |
| 3531 | ✗ | collide = _call_desc.arg_0._retn(); | |
| 3532 | |||
| 3533 | |||
| 3534 | } | ||
| 3535 | |||
| 3536 | |||
| 3537 | // | ||
| 3538 | // Code for hpp::corbaserver::Robot::autocollisionPairs | ||
| 3539 | |||
| 3540 | // Proxy call descriptor class. Mangled signature: | ||
| 3541 | // void_o_chpp_mNames__t_o_chpp_mNames__t_o_chpp_mboolSeq_e_chpp_mError | ||
| 3542 | class _0RL_cd_914117f668a82e12_34000000 | ||
| 3543 | : public omniCallDescriptor | ||
| 3544 | { | ||
| 3545 | public: | ||
| 3546 | ✗ | inline _0RL_cd_914117f668a82e12_34000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3547 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3548 | { | ||
| 3549 | |||
| 3550 | } | ||
| 3551 | |||
| 3552 | |||
| 3553 | void unmarshalReturnedValues(cdrStream&); | ||
| 3554 | void marshalReturnedValues(cdrStream&); | ||
| 3555 | |||
| 3556 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3557 | static const char* const _user_exns[]; | ||
| 3558 | |||
| 3559 | hpp::Names_t_var arg_0; | ||
| 3560 | hpp::Names_t_var arg_1; | ||
| 3561 | hpp::boolSeq_var arg_2; | ||
| 3562 | }; | ||
| 3563 | |||
| 3564 | ✗ | void _0RL_cd_914117f668a82e12_34000000::marshalReturnedValues(cdrStream& _n) | |
| 3565 | { | ||
| 3566 | ✗ | (const hpp::Names_t&) arg_0 >>= _n; | |
| 3567 | ✗ | (const hpp::Names_t&) arg_1 >>= _n; | |
| 3568 | ✗ | (const hpp::boolSeq&) arg_2 >>= _n; | |
| 3569 | |||
| 3570 | } | ||
| 3571 | |||
| 3572 | ✗ | void _0RL_cd_914117f668a82e12_34000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3573 | { | ||
| 3574 | ✗ | arg_0 = new hpp::Names_t; | |
| 3575 | ✗ | (hpp::Names_t&)arg_0 <<= _n; | |
| 3576 | ✗ | arg_1 = new hpp::Names_t; | |
| 3577 | ✗ | (hpp::Names_t&)arg_1 <<= _n; | |
| 3578 | ✗ | arg_2 = new hpp::boolSeq; | |
| 3579 | ✗ | (hpp::boolSeq&)arg_2 <<= _n; | |
| 3580 | |||
| 3581 | } | ||
| 3582 | |||
| 3583 | const char* const _0RL_cd_914117f668a82e12_34000000::_user_exns[] = { | ||
| 3584 | hpp::Error::_PD_repoId | ||
| 3585 | }; | ||
| 3586 | |||
| 3587 | ✗ | void _0RL_cd_914117f668a82e12_34000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3588 | { | ||
| 3589 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3590 | ✗ | hpp::Error _ex; | |
| 3591 | ✗ | _ex <<= s; | |
| 3592 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3593 | ✗ | throw _ex; | |
| 3594 | } | ||
| 3595 | |||
| 3596 | |||
| 3597 | else { | ||
| 3598 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3599 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3600 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3601 | } | ||
| 3602 | } | ||
| 3603 | |||
| 3604 | // Local call call-back function. | ||
| 3605 | static void | ||
| 3606 | ✗ | _0RL_lcfn_914117f668a82e12_44000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3607 | { | ||
| 3608 | ✗ | _0RL_cd_914117f668a82e12_34000000* tcd = (_0RL_cd_914117f668a82e12_34000000*)cd; | |
| 3609 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3610 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3611 | ✗ | impl->autocollisionPairs(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out()); | |
| 3612 | #else | ||
| 3613 | if (!cd->is_upcall()) | ||
| 3614 | impl->autocollisionPairs(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out()); | ||
| 3615 | else { | ||
| 3616 | try { | ||
| 3617 | impl->autocollisionPairs(tcd->arg_0.out(), tcd->arg_1.out(), tcd->arg_2.out()); | ||
| 3618 | } | ||
| 3619 | catch(hpp::Error& ex) { | ||
| 3620 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3621 | } | ||
| 3622 | |||
| 3623 | |||
| 3624 | } | ||
| 3625 | #endif | ||
| 3626 | |||
| 3627 | |||
| 3628 | } | ||
| 3629 | |||
| 3630 | ✗ | void hpp::corbaserver::_objref_Robot::autocollisionPairs(::hpp::Names_t_out innerObjects, ::hpp::Names_t_out outerObjects, ::hpp::boolSeq_out active) | |
| 3631 | { | ||
| 3632 | ✗ | _0RL_cd_914117f668a82e12_34000000 _call_desc(_0RL_lcfn_914117f668a82e12_44000000, "autocollisionPairs", 19); | |
| 3633 | |||
| 3634 | |||
| 3635 | ✗ | _invoke(_call_desc); | |
| 3636 | ✗ | innerObjects = _call_desc.arg_0._retn(); | |
| 3637 | ✗ | outerObjects = _call_desc.arg_1._retn(); | |
| 3638 | ✗ | active = _call_desc.arg_2._retn(); | |
| 3639 | |||
| 3640 | |||
| 3641 | } | ||
| 3642 | |||
| 3643 | |||
| 3644 | // | ||
| 3645 | // Code for hpp::corbaserver::Robot::setAutoCollision | ||
| 3646 | |||
| 3647 | // Proxy call descriptor class. Mangled signature: | ||
| 3648 | // void_i_cstring_i_cstring_i_cboolean_e_chpp_mError | ||
| 3649 | class _0RL_cd_914117f668a82e12_54000000 | ||
| 3650 | : public omniCallDescriptor | ||
| 3651 | { | ||
| 3652 | public: | ||
| 3653 | ✗ | inline _0RL_cd_914117f668a82e12_54000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3654 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3655 | { | ||
| 3656 | |||
| 3657 | } | ||
| 3658 | |||
| 3659 | void marshalArguments(cdrStream&); | ||
| 3660 | void unmarshalArguments(cdrStream&); | ||
| 3661 | |||
| 3662 | |||
| 3663 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3664 | static const char* const _user_exns[]; | ||
| 3665 | |||
| 3666 | ::CORBA::String_var arg_0_; | ||
| 3667 | const char* arg_0; | ||
| 3668 | ::CORBA::String_var arg_1_; | ||
| 3669 | const char* arg_1; | ||
| 3670 | ::CORBA::Boolean arg_2; | ||
| 3671 | }; | ||
| 3672 | |||
| 3673 | ✗ | void _0RL_cd_914117f668a82e12_54000000::marshalArguments(cdrStream& _n) | |
| 3674 | { | ||
| 3675 | ✗ | _n.marshalString(arg_0,0); | |
| 3676 | ✗ | _n.marshalString(arg_1,0); | |
| 3677 | ✗ | _n.marshalBoolean(arg_2); | |
| 3678 | |||
| 3679 | } | ||
| 3680 | |||
| 3681 | ✗ | void _0RL_cd_914117f668a82e12_54000000::unmarshalArguments(cdrStream& _n) | |
| 3682 | { | ||
| 3683 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 3684 | ✗ | arg_0 = arg_0_.in(); | |
| 3685 | ✗ | arg_1_ = _n.unmarshalString(0); | |
| 3686 | ✗ | arg_1 = arg_1_.in(); | |
| 3687 | ✗ | arg_2 = _n.unmarshalBoolean(); | |
| 3688 | |||
| 3689 | } | ||
| 3690 | |||
| 3691 | const char* const _0RL_cd_914117f668a82e12_54000000::_user_exns[] = { | ||
| 3692 | hpp::Error::_PD_repoId | ||
| 3693 | }; | ||
| 3694 | |||
| 3695 | ✗ | void _0RL_cd_914117f668a82e12_54000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3696 | { | ||
| 3697 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3698 | ✗ | hpp::Error _ex; | |
| 3699 | ✗ | _ex <<= s; | |
| 3700 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3701 | ✗ | throw _ex; | |
| 3702 | } | ||
| 3703 | |||
| 3704 | |||
| 3705 | else { | ||
| 3706 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3707 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3708 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3709 | } | ||
| 3710 | } | ||
| 3711 | |||
| 3712 | // Local call call-back function. | ||
| 3713 | static void | ||
| 3714 | ✗ | _0RL_lcfn_914117f668a82e12_64000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3715 | { | ||
| 3716 | ✗ | _0RL_cd_914117f668a82e12_54000000* tcd = (_0RL_cd_914117f668a82e12_54000000*)cd; | |
| 3717 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3718 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3719 | ✗ | impl->setAutoCollision(tcd->arg_0, tcd->arg_1, tcd->arg_2); | |
| 3720 | #else | ||
| 3721 | if (!cd->is_upcall()) | ||
| 3722 | impl->setAutoCollision(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 3723 | else { | ||
| 3724 | try { | ||
| 3725 | impl->setAutoCollision(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 3726 | } | ||
| 3727 | catch(hpp::Error& ex) { | ||
| 3728 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3729 | } | ||
| 3730 | |||
| 3731 | |||
| 3732 | } | ||
| 3733 | #endif | ||
| 3734 | |||
| 3735 | |||
| 3736 | } | ||
| 3737 | |||
| 3738 | ✗ | void hpp::corbaserver::_objref_Robot::setAutoCollision(const char* innerObject, const char* outerObject, ::CORBA::Boolean active) | |
| 3739 | { | ||
| 3740 | ✗ | _0RL_cd_914117f668a82e12_54000000 _call_desc(_0RL_lcfn_914117f668a82e12_64000000, "setAutoCollision", 17); | |
| 3741 | ✗ | _call_desc.arg_0 = innerObject; | |
| 3742 | ✗ | _call_desc.arg_1 = outerObject; | |
| 3743 | ✗ | _call_desc.arg_2 = active; | |
| 3744 | |||
| 3745 | ✗ | _invoke(_call_desc); | |
| 3746 | |||
| 3747 | |||
| 3748 | |||
| 3749 | } | ||
| 3750 | |||
| 3751 | |||
| 3752 | // | ||
| 3753 | // Code for hpp::corbaserver::Robot::getRobotAABB | ||
| 3754 | |||
| 3755 | // Local call call-back function. | ||
| 3756 | static void | ||
| 3757 | ✗ | _0RL_lcfn_914117f668a82e12_74000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3758 | { | ||
| 3759 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 3760 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3761 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3762 | ✗ | tcd->result = impl->getRobotAABB(); | |
| 3763 | #else | ||
| 3764 | if (!cd->is_upcall()) | ||
| 3765 | tcd->result = impl->getRobotAABB(); | ||
| 3766 | else { | ||
| 3767 | try { | ||
| 3768 | tcd->result = impl->getRobotAABB(); | ||
| 3769 | } | ||
| 3770 | catch(hpp::Error& ex) { | ||
| 3771 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3772 | } | ||
| 3773 | |||
| 3774 | |||
| 3775 | } | ||
| 3776 | #endif | ||
| 3777 | |||
| 3778 | |||
| 3779 | } | ||
| 3780 | |||
| 3781 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getRobotAABB() | |
| 3782 | { | ||
| 3783 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_74000000, "getRobotAABB", 13); | |
| 3784 | |||
| 3785 | |||
| 3786 | ✗ | _invoke(_call_desc); | |
| 3787 | ✗ | return _call_desc.result._retn(); | |
| 3788 | |||
| 3789 | |||
| 3790 | } | ||
| 3791 | |||
| 3792 | |||
| 3793 | // | ||
| 3794 | // Code for hpp::corbaserver::Robot::getMass | ||
| 3795 | |||
| 3796 | // Proxy call descriptor class. Mangled signature: | ||
| 3797 | // _cdouble_e_chpp_mError | ||
| 3798 | class _0RL_cd_914117f668a82e12_84000000 | ||
| 3799 | : public omniCallDescriptor | ||
| 3800 | { | ||
| 3801 | public: | ||
| 3802 | ✗ | inline _0RL_cd_914117f668a82e12_84000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3803 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3804 | { | ||
| 3805 | |||
| 3806 | } | ||
| 3807 | |||
| 3808 | |||
| 3809 | void unmarshalReturnedValues(cdrStream&); | ||
| 3810 | void marshalReturnedValues(cdrStream&); | ||
| 3811 | |||
| 3812 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3813 | static const char* const _user_exns[]; | ||
| 3814 | |||
| 3815 | ::CORBA::Double result; | ||
| 3816 | }; | ||
| 3817 | |||
| 3818 | ✗ | void _0RL_cd_914117f668a82e12_84000000::marshalReturnedValues(cdrStream& _n) | |
| 3819 | { | ||
| 3820 | ✗ | result >>= _n; | |
| 3821 | |||
| 3822 | } | ||
| 3823 | |||
| 3824 | ✗ | void _0RL_cd_914117f668a82e12_84000000::unmarshalReturnedValues(cdrStream& _n) | |
| 3825 | { | ||
| 3826 | ✗ | (::CORBA::Double&)result <<= _n; | |
| 3827 | |||
| 3828 | } | ||
| 3829 | |||
| 3830 | const char* const _0RL_cd_914117f668a82e12_84000000::_user_exns[] = { | ||
| 3831 | hpp::Error::_PD_repoId | ||
| 3832 | }; | ||
| 3833 | |||
| 3834 | ✗ | void _0RL_cd_914117f668a82e12_84000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 3835 | { | ||
| 3836 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 3837 | ✗ | hpp::Error _ex; | |
| 3838 | ✗ | _ex <<= s; | |
| 3839 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 3840 | ✗ | throw _ex; | |
| 3841 | } | ||
| 3842 | |||
| 3843 | |||
| 3844 | else { | ||
| 3845 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 3846 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 3847 | (::CORBA::CompletionStatus)s.completion()); | ||
| 3848 | } | ||
| 3849 | } | ||
| 3850 | |||
| 3851 | // Local call call-back function. | ||
| 3852 | static void | ||
| 3853 | ✗ | _0RL_lcfn_914117f668a82e12_94000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3854 | { | ||
| 3855 | ✗ | _0RL_cd_914117f668a82e12_84000000* tcd = (_0RL_cd_914117f668a82e12_84000000*)cd; | |
| 3856 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3857 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3858 | ✗ | tcd->result = impl->getMass(); | |
| 3859 | #else | ||
| 3860 | if (!cd->is_upcall()) | ||
| 3861 | tcd->result = impl->getMass(); | ||
| 3862 | else { | ||
| 3863 | try { | ||
| 3864 | tcd->result = impl->getMass(); | ||
| 3865 | } | ||
| 3866 | catch(hpp::Error& ex) { | ||
| 3867 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3868 | } | ||
| 3869 | |||
| 3870 | |||
| 3871 | } | ||
| 3872 | #endif | ||
| 3873 | |||
| 3874 | |||
| 3875 | } | ||
| 3876 | |||
| 3877 | ✗ | ::CORBA::Double hpp::corbaserver::_objref_Robot::getMass() | |
| 3878 | { | ||
| 3879 | ✗ | _0RL_cd_914117f668a82e12_84000000 _call_desc(_0RL_lcfn_914117f668a82e12_94000000, "getMass", 8); | |
| 3880 | |||
| 3881 | |||
| 3882 | ✗ | _invoke(_call_desc); | |
| 3883 | ✗ | return _call_desc.result; | |
| 3884 | |||
| 3885 | |||
| 3886 | } | ||
| 3887 | |||
| 3888 | |||
| 3889 | // | ||
| 3890 | // Code for hpp::corbaserver::Robot::getCenterOfMass | ||
| 3891 | |||
| 3892 | // Local call call-back function. | ||
| 3893 | static void | ||
| 3894 | ✗ | _0RL_lcfn_914117f668a82e12_a4000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3895 | { | ||
| 3896 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 3897 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3898 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3899 | ✗ | tcd->result = impl->getCenterOfMass(); | |
| 3900 | #else | ||
| 3901 | if (!cd->is_upcall()) | ||
| 3902 | tcd->result = impl->getCenterOfMass(); | ||
| 3903 | else { | ||
| 3904 | try { | ||
| 3905 | tcd->result = impl->getCenterOfMass(); | ||
| 3906 | } | ||
| 3907 | catch(hpp::Error& ex) { | ||
| 3908 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3909 | } | ||
| 3910 | |||
| 3911 | |||
| 3912 | } | ||
| 3913 | #endif | ||
| 3914 | |||
| 3915 | |||
| 3916 | } | ||
| 3917 | |||
| 3918 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getCenterOfMass() | |
| 3919 | { | ||
| 3920 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_a4000000, "getCenterOfMass", 16); | |
| 3921 | |||
| 3922 | |||
| 3923 | ✗ | _invoke(_call_desc); | |
| 3924 | ✗ | return _call_desc.result._retn(); | |
| 3925 | |||
| 3926 | |||
| 3927 | } | ||
| 3928 | |||
| 3929 | |||
| 3930 | // | ||
| 3931 | // Code for hpp::corbaserver::Robot::getCenterOfMassVelocity | ||
| 3932 | |||
| 3933 | // Local call call-back function. | ||
| 3934 | static void | ||
| 3935 | ✗ | _0RL_lcfn_914117f668a82e12_b4000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 3936 | { | ||
| 3937 | ✗ | _0RL_cd_914117f668a82e12_33000000* tcd = (_0RL_cd_914117f668a82e12_33000000*)cd; | |
| 3938 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 3939 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 3940 | ✗ | tcd->result = impl->getCenterOfMassVelocity(); | |
| 3941 | #else | ||
| 3942 | if (!cd->is_upcall()) | ||
| 3943 | tcd->result = impl->getCenterOfMassVelocity(); | ||
| 3944 | else { | ||
| 3945 | try { | ||
| 3946 | tcd->result = impl->getCenterOfMassVelocity(); | ||
| 3947 | } | ||
| 3948 | catch(hpp::Error& ex) { | ||
| 3949 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 3950 | } | ||
| 3951 | |||
| 3952 | |||
| 3953 | } | ||
| 3954 | #endif | ||
| 3955 | |||
| 3956 | |||
| 3957 | } | ||
| 3958 | |||
| 3959 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getCenterOfMassVelocity() | |
| 3960 | { | ||
| 3961 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_b4000000, "getCenterOfMassVelocity", 24); | |
| 3962 | |||
| 3963 | |||
| 3964 | ✗ | _invoke(_call_desc); | |
| 3965 | ✗ | return _call_desc.result._retn(); | |
| 3966 | |||
| 3967 | |||
| 3968 | } | ||
| 3969 | |||
| 3970 | |||
| 3971 | // | ||
| 3972 | // Code for hpp::corbaserver::Robot::getJacobianCenterOfMass | ||
| 3973 | |||
| 3974 | // Proxy call descriptor class. Mangled signature: | ||
| 3975 | // _chpp_mfloatSeqSeq_e_chpp_mError | ||
| 3976 | class _0RL_cd_914117f668a82e12_c4000000 | ||
| 3977 | : public omniCallDescriptor | ||
| 3978 | { | ||
| 3979 | public: | ||
| 3980 | ✗ | inline _0RL_cd_914117f668a82e12_c4000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 3981 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 3982 | { | ||
| 3983 | |||
| 3984 | } | ||
| 3985 | |||
| 3986 | |||
| 3987 | void unmarshalReturnedValues(cdrStream&); | ||
| 3988 | void marshalReturnedValues(cdrStream&); | ||
| 3989 | |||
| 3990 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 3991 | static const char* const _user_exns[]; | ||
| 3992 | |||
| 3993 | hpp::floatSeqSeq_var result; | ||
| 3994 | }; | ||
| 3995 | |||
| 3996 | ✗ | void _0RL_cd_914117f668a82e12_c4000000::marshalReturnedValues(cdrStream& _n) | |
| 3997 | { | ||
| 3998 | ✗ | (const hpp::floatSeqSeq&) result >>= _n; | |
| 3999 | |||
| 4000 | } | ||
| 4001 | |||
| 4002 | ✗ | void _0RL_cd_914117f668a82e12_c4000000::unmarshalReturnedValues(cdrStream& _n) | |
| 4003 | { | ||
| 4004 | ✗ | result = new hpp::floatSeqSeq; | |
| 4005 | ✗ | (hpp::floatSeqSeq&)result <<= _n; | |
| 4006 | |||
| 4007 | } | ||
| 4008 | |||
| 4009 | const char* const _0RL_cd_914117f668a82e12_c4000000::_user_exns[] = { | ||
| 4010 | hpp::Error::_PD_repoId | ||
| 4011 | }; | ||
| 4012 | |||
| 4013 | ✗ | void _0RL_cd_914117f668a82e12_c4000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4014 | { | ||
| 4015 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4016 | ✗ | hpp::Error _ex; | |
| 4017 | ✗ | _ex <<= s; | |
| 4018 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4019 | ✗ | throw _ex; | |
| 4020 | } | ||
| 4021 | |||
| 4022 | |||
| 4023 | else { | ||
| 4024 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4025 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4026 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4027 | } | ||
| 4028 | } | ||
| 4029 | |||
| 4030 | // Local call call-back function. | ||
| 4031 | static void | ||
| 4032 | ✗ | _0RL_lcfn_914117f668a82e12_d4000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4033 | { | ||
| 4034 | ✗ | _0RL_cd_914117f668a82e12_c4000000* tcd = (_0RL_cd_914117f668a82e12_c4000000*)cd; | |
| 4035 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4036 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4037 | ✗ | tcd->result = impl->getJacobianCenterOfMass(); | |
| 4038 | #else | ||
| 4039 | if (!cd->is_upcall()) | ||
| 4040 | tcd->result = impl->getJacobianCenterOfMass(); | ||
| 4041 | else { | ||
| 4042 | try { | ||
| 4043 | tcd->result = impl->getJacobianCenterOfMass(); | ||
| 4044 | } | ||
| 4045 | catch(hpp::Error& ex) { | ||
| 4046 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4047 | } | ||
| 4048 | |||
| 4049 | |||
| 4050 | } | ||
| 4051 | #endif | ||
| 4052 | |||
| 4053 | |||
| 4054 | } | ||
| 4055 | |||
| 4056 | ✗ | hpp::floatSeqSeq* hpp::corbaserver::_objref_Robot::getJacobianCenterOfMass() | |
| 4057 | { | ||
| 4058 | ✗ | _0RL_cd_914117f668a82e12_c4000000 _call_desc(_0RL_lcfn_914117f668a82e12_d4000000, "getJacobianCenterOfMass", 24); | |
| 4059 | |||
| 4060 | |||
| 4061 | ✗ | _invoke(_call_desc); | |
| 4062 | ✗ | return _call_desc.result._retn(); | |
| 4063 | |||
| 4064 | |||
| 4065 | } | ||
| 4066 | |||
| 4067 | |||
| 4068 | // | ||
| 4069 | // Code for hpp::corbaserver::Robot::addPartialCom | ||
| 4070 | |||
| 4071 | // Proxy call descriptor class. Mangled signature: | ||
| 4072 | // void_i_cstring_i_chpp_mNames__t_e_chpp_mError | ||
| 4073 | class _0RL_cd_914117f668a82e12_e4000000 | ||
| 4074 | : public omniCallDescriptor | ||
| 4075 | { | ||
| 4076 | public: | ||
| 4077 | ✗ | inline _0RL_cd_914117f668a82e12_e4000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4078 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4079 | { | ||
| 4080 | |||
| 4081 | } | ||
| 4082 | |||
| 4083 | void marshalArguments(cdrStream&); | ||
| 4084 | void unmarshalArguments(cdrStream&); | ||
| 4085 | |||
| 4086 | |||
| 4087 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4088 | static const char* const _user_exns[]; | ||
| 4089 | |||
| 4090 | ::CORBA::String_var arg_0_; | ||
| 4091 | const char* arg_0; | ||
| 4092 | hpp::Names_t_var arg_1_; | ||
| 4093 | const hpp::Names_t* arg_1; | ||
| 4094 | }; | ||
| 4095 | |||
| 4096 | ✗ | void _0RL_cd_914117f668a82e12_e4000000::marshalArguments(cdrStream& _n) | |
| 4097 | { | ||
| 4098 | ✗ | _n.marshalString(arg_0,0); | |
| 4099 | ✗ | (const hpp::Names_t&) *arg_1 >>= _n; | |
| 4100 | |||
| 4101 | } | ||
| 4102 | |||
| 4103 | ✗ | void _0RL_cd_914117f668a82e12_e4000000::unmarshalArguments(cdrStream& _n) | |
| 4104 | { | ||
| 4105 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 4106 | ✗ | arg_0 = arg_0_.in(); | |
| 4107 | ✗ | arg_1_ = new hpp::Names_t; | |
| 4108 | ✗ | (hpp::Names_t&)arg_1_ <<= _n; | |
| 4109 | ✗ | arg_1 = &arg_1_.in(); | |
| 4110 | |||
| 4111 | } | ||
| 4112 | |||
| 4113 | const char* const _0RL_cd_914117f668a82e12_e4000000::_user_exns[] = { | ||
| 4114 | hpp::Error::_PD_repoId | ||
| 4115 | }; | ||
| 4116 | |||
| 4117 | ✗ | void _0RL_cd_914117f668a82e12_e4000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4118 | { | ||
| 4119 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4120 | ✗ | hpp::Error _ex; | |
| 4121 | ✗ | _ex <<= s; | |
| 4122 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4123 | ✗ | throw _ex; | |
| 4124 | } | ||
| 4125 | |||
| 4126 | |||
| 4127 | else { | ||
| 4128 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4129 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4130 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4131 | } | ||
| 4132 | } | ||
| 4133 | |||
| 4134 | // Local call call-back function. | ||
| 4135 | static void | ||
| 4136 | ✗ | _0RL_lcfn_914117f668a82e12_f4000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4137 | { | ||
| 4138 | ✗ | _0RL_cd_914117f668a82e12_e4000000* tcd = (_0RL_cd_914117f668a82e12_e4000000*)cd; | |
| 4139 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4140 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4141 | ✗ | impl->addPartialCom(tcd->arg_0, *tcd->arg_1); | |
| 4142 | #else | ||
| 4143 | if (!cd->is_upcall()) | ||
| 4144 | impl->addPartialCom(tcd->arg_0, *tcd->arg_1); | ||
| 4145 | else { | ||
| 4146 | try { | ||
| 4147 | impl->addPartialCom(tcd->arg_0, *tcd->arg_1); | ||
| 4148 | } | ||
| 4149 | catch(hpp::Error& ex) { | ||
| 4150 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4151 | } | ||
| 4152 | |||
| 4153 | |||
| 4154 | } | ||
| 4155 | #endif | ||
| 4156 | |||
| 4157 | |||
| 4158 | } | ||
| 4159 | |||
| 4160 | ✗ | void hpp::corbaserver::_objref_Robot::addPartialCom(const char* comName, const ::hpp::Names_t& jointNames) | |
| 4161 | { | ||
| 4162 | ✗ | _0RL_cd_914117f668a82e12_e4000000 _call_desc(_0RL_lcfn_914117f668a82e12_f4000000, "addPartialCom", 14); | |
| 4163 | ✗ | _call_desc.arg_0 = comName; | |
| 4164 | ✗ | _call_desc.arg_1 = &(::hpp::Names_t&) jointNames; | |
| 4165 | |||
| 4166 | ✗ | _invoke(_call_desc); | |
| 4167 | |||
| 4168 | |||
| 4169 | |||
| 4170 | } | ||
| 4171 | |||
| 4172 | |||
| 4173 | // | ||
| 4174 | // Code for hpp::corbaserver::Robot::getPartialCom | ||
| 4175 | |||
| 4176 | // Local call call-back function. | ||
| 4177 | static void | ||
| 4178 | ✗ | _0RL_lcfn_914117f668a82e12_05000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4179 | { | ||
| 4180 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 4181 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4182 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4183 | ✗ | tcd->result = impl->getPartialCom(tcd->arg_0); | |
| 4184 | #else | ||
| 4185 | if (!cd->is_upcall()) | ||
| 4186 | tcd->result = impl->getPartialCom(tcd->arg_0); | ||
| 4187 | else { | ||
| 4188 | try { | ||
| 4189 | tcd->result = impl->getPartialCom(tcd->arg_0); | ||
| 4190 | } | ||
| 4191 | catch(hpp::Error& ex) { | ||
| 4192 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4193 | } | ||
| 4194 | |||
| 4195 | |||
| 4196 | } | ||
| 4197 | #endif | ||
| 4198 | |||
| 4199 | |||
| 4200 | } | ||
| 4201 | |||
| 4202 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getPartialCom(const char* comName) | |
| 4203 | { | ||
| 4204 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_05000000, "getPartialCom", 14); | |
| 4205 | ✗ | _call_desc.arg_0 = comName; | |
| 4206 | |||
| 4207 | ✗ | _invoke(_call_desc); | |
| 4208 | ✗ | return _call_desc.result._retn(); | |
| 4209 | |||
| 4210 | |||
| 4211 | } | ||
| 4212 | |||
| 4213 | |||
| 4214 | // | ||
| 4215 | // Code for hpp::corbaserver::Robot::getJacobianPartialCom | ||
| 4216 | |||
| 4217 | // Local call call-back function. | ||
| 4218 | static void | ||
| 4219 | ✗ | _0RL_lcfn_914117f668a82e12_15000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4220 | { | ||
| 4221 | ✗ | _0RL_cd_914117f668a82e12_51000000* tcd = (_0RL_cd_914117f668a82e12_51000000*)cd; | |
| 4222 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4223 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4224 | ✗ | tcd->result = impl->getJacobianPartialCom(tcd->arg_0); | |
| 4225 | #else | ||
| 4226 | if (!cd->is_upcall()) | ||
| 4227 | tcd->result = impl->getJacobianPartialCom(tcd->arg_0); | ||
| 4228 | else { | ||
| 4229 | try { | ||
| 4230 | tcd->result = impl->getJacobianPartialCom(tcd->arg_0); | ||
| 4231 | } | ||
| 4232 | catch(hpp::Error& ex) { | ||
| 4233 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4234 | } | ||
| 4235 | |||
| 4236 | |||
| 4237 | } | ||
| 4238 | #endif | ||
| 4239 | |||
| 4240 | |||
| 4241 | } | ||
| 4242 | |||
| 4243 | ✗ | hpp::floatSeqSeq* hpp::corbaserver::_objref_Robot::getJacobianPartialCom(const char* comName) | |
| 4244 | { | ||
| 4245 | ✗ | _0RL_cd_914117f668a82e12_51000000 _call_desc(_0RL_lcfn_914117f668a82e12_15000000, "getJacobianPartialCom", 22); | |
| 4246 | ✗ | _call_desc.arg_0 = comName; | |
| 4247 | |||
| 4248 | ✗ | _invoke(_call_desc); | |
| 4249 | ✗ | return _call_desc.result._retn(); | |
| 4250 | |||
| 4251 | |||
| 4252 | } | ||
| 4253 | |||
| 4254 | |||
| 4255 | // | ||
| 4256 | // Code for hpp::corbaserver::Robot::getVelocityPartialCom | ||
| 4257 | |||
| 4258 | // Local call call-back function. | ||
| 4259 | static void | ||
| 4260 | ✗ | _0RL_lcfn_914117f668a82e12_25000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4261 | { | ||
| 4262 | ✗ | _0RL_cd_914117f668a82e12_e0000000* tcd = (_0RL_cd_914117f668a82e12_e0000000*)cd; | |
| 4263 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4264 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4265 | ✗ | tcd->result = impl->getVelocityPartialCom(tcd->arg_0); | |
| 4266 | #else | ||
| 4267 | if (!cd->is_upcall()) | ||
| 4268 | tcd->result = impl->getVelocityPartialCom(tcd->arg_0); | ||
| 4269 | else { | ||
| 4270 | try { | ||
| 4271 | tcd->result = impl->getVelocityPartialCom(tcd->arg_0); | ||
| 4272 | } | ||
| 4273 | catch(hpp::Error& ex) { | ||
| 4274 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4275 | } | ||
| 4276 | |||
| 4277 | |||
| 4278 | } | ||
| 4279 | #endif | ||
| 4280 | |||
| 4281 | |||
| 4282 | } | ||
| 4283 | |||
| 4284 | ✗ | hpp::floatSeq* hpp::corbaserver::_objref_Robot::getVelocityPartialCom(const char* comName) | |
| 4285 | { | ||
| 4286 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_25000000, "getVelocityPartialCom", 22); | |
| 4287 | ✗ | _call_desc.arg_0 = comName; | |
| 4288 | |||
| 4289 | ✗ | _invoke(_call_desc); | |
| 4290 | ✗ | return _call_desc.result._retn(); | |
| 4291 | |||
| 4292 | |||
| 4293 | } | ||
| 4294 | |||
| 4295 | |||
| 4296 | // | ||
| 4297 | // Code for hpp::corbaserver::Robot::getRobotName | ||
| 4298 | |||
| 4299 | // Proxy call descriptor class. Mangled signature: | ||
| 4300 | // _cstring_e_chpp_mError | ||
| 4301 | class _0RL_cd_914117f668a82e12_35000000 | ||
| 4302 | : public omniCallDescriptor | ||
| 4303 | { | ||
| 4304 | public: | ||
| 4305 | 7 | inline _0RL_cd_914117f668a82e12_35000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4306 | 7 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4307 | { | ||
| 4308 | |||
| 4309 | 7 | } | |
| 4310 | |||
| 4311 | |||
| 4312 | void unmarshalReturnedValues(cdrStream&); | ||
| 4313 | void marshalReturnedValues(cdrStream&); | ||
| 4314 | |||
| 4315 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4316 | static const char* const _user_exns[]; | ||
| 4317 | |||
| 4318 | ::CORBA::String_var result; | ||
| 4319 | }; | ||
| 4320 | |||
| 4321 | 7 | void _0RL_cd_914117f668a82e12_35000000::marshalReturnedValues(cdrStream& _n) | |
| 4322 | { | ||
| 4323 | 7 | _n.marshalString(result,0); | |
| 4324 | |||
| 4325 | 7 | } | |
| 4326 | |||
| 4327 | ✗ | void _0RL_cd_914117f668a82e12_35000000::unmarshalReturnedValues(cdrStream& _n) | |
| 4328 | { | ||
| 4329 | ✗ | result = _n.unmarshalString(0); | |
| 4330 | |||
| 4331 | } | ||
| 4332 | |||
| 4333 | const char* const _0RL_cd_914117f668a82e12_35000000::_user_exns[] = { | ||
| 4334 | hpp::Error::_PD_repoId | ||
| 4335 | }; | ||
| 4336 | |||
| 4337 | ✗ | void _0RL_cd_914117f668a82e12_35000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4338 | { | ||
| 4339 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4340 | ✗ | hpp::Error _ex; | |
| 4341 | ✗ | _ex <<= s; | |
| 4342 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4343 | ✗ | throw _ex; | |
| 4344 | } | ||
| 4345 | |||
| 4346 | |||
| 4347 | else { | ||
| 4348 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4349 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4350 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4351 | } | ||
| 4352 | } | ||
| 4353 | |||
| 4354 | // Local call call-back function. | ||
| 4355 | static void | ||
| 4356 | 7 | _0RL_lcfn_914117f668a82e12_45000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4357 | { | ||
| 4358 | 7 | _0RL_cd_914117f668a82e12_35000000* tcd = (_0RL_cd_914117f668a82e12_35000000*)cd; | |
| 4359 | 7 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4360 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4361 | 7 | tcd->result = impl->getRobotName(); | |
| 4362 | #else | ||
| 4363 | if (!cd->is_upcall()) | ||
| 4364 | tcd->result = impl->getRobotName(); | ||
| 4365 | else { | ||
| 4366 | try { | ||
| 4367 | tcd->result = impl->getRobotName(); | ||
| 4368 | } | ||
| 4369 | catch(hpp::Error& ex) { | ||
| 4370 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4371 | } | ||
| 4372 | |||
| 4373 | |||
| 4374 | } | ||
| 4375 | #endif | ||
| 4376 | |||
| 4377 | |||
| 4378 | 7 | } | |
| 4379 | |||
| 4380 | ✗ | char* hpp::corbaserver::_objref_Robot::getRobotName() | |
| 4381 | { | ||
| 4382 | ✗ | _0RL_cd_914117f668a82e12_35000000 _call_desc(_0RL_lcfn_914117f668a82e12_45000000, "getRobotName", 13); | |
| 4383 | |||
| 4384 | |||
| 4385 | ✗ | _invoke(_call_desc); | |
| 4386 | ✗ | return _call_desc.result._retn(); | |
| 4387 | |||
| 4388 | |||
| 4389 | } | ||
| 4390 | |||
| 4391 | |||
| 4392 | // | ||
| 4393 | // Code for hpp::corbaserver::Robot::getCenterOfMassComputation | ||
| 4394 | |||
| 4395 | // Proxy call descriptor class. Mangled signature: | ||
| 4396 | // _chpp_mpinocchio__idl_mCenterOfMassComputation_i_cstring_e_chpp_mError | ||
| 4397 | class _0RL_cd_914117f668a82e12_55000000 | ||
| 4398 | : public omniCallDescriptor | ||
| 4399 | { | ||
| 4400 | public: | ||
| 4401 | ✗ | inline _0RL_cd_914117f668a82e12_55000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4402 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4403 | { | ||
| 4404 | |||
| 4405 | } | ||
| 4406 | |||
| 4407 | void marshalArguments(cdrStream&); | ||
| 4408 | void unmarshalArguments(cdrStream&); | ||
| 4409 | |||
| 4410 | void unmarshalReturnedValues(cdrStream&); | ||
| 4411 | void marshalReturnedValues(cdrStream&); | ||
| 4412 | |||
| 4413 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4414 | static const char* const _user_exns[]; | ||
| 4415 | |||
| 4416 | ::CORBA::String_var arg_0_; | ||
| 4417 | const char* arg_0; | ||
| 4418 | hpp::pinocchio_idl::CenterOfMassComputation_var result; | ||
| 4419 | }; | ||
| 4420 | |||
| 4421 | ✗ | void _0RL_cd_914117f668a82e12_55000000::marshalArguments(cdrStream& _n) | |
| 4422 | { | ||
| 4423 | ✗ | _n.marshalString(arg_0,0); | |
| 4424 | |||
| 4425 | } | ||
| 4426 | |||
| 4427 | ✗ | void _0RL_cd_914117f668a82e12_55000000::unmarshalArguments(cdrStream& _n) | |
| 4428 | { | ||
| 4429 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 4430 | ✗ | arg_0 = arg_0_.in(); | |
| 4431 | |||
| 4432 | } | ||
| 4433 | |||
| 4434 | ✗ | void _0RL_cd_914117f668a82e12_55000000::marshalReturnedValues(cdrStream& _n) | |
| 4435 | { | ||
| 4436 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation::_marshalObjRef(result,_n); | |
| 4437 | |||
| 4438 | } | ||
| 4439 | |||
| 4440 | ✗ | void _0RL_cd_914117f668a82e12_55000000::unmarshalReturnedValues(cdrStream& _n) | |
| 4441 | { | ||
| 4442 | ✗ | result = hpp::pinocchio_idl::CenterOfMassComputation::_unmarshalObjRef(_n); | |
| 4443 | |||
| 4444 | } | ||
| 4445 | |||
| 4446 | const char* const _0RL_cd_914117f668a82e12_55000000::_user_exns[] = { | ||
| 4447 | hpp::Error::_PD_repoId | ||
| 4448 | }; | ||
| 4449 | |||
| 4450 | ✗ | void _0RL_cd_914117f668a82e12_55000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4451 | { | ||
| 4452 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4453 | ✗ | hpp::Error _ex; | |
| 4454 | ✗ | _ex <<= s; | |
| 4455 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4456 | ✗ | throw _ex; | |
| 4457 | } | ||
| 4458 | |||
| 4459 | |||
| 4460 | else { | ||
| 4461 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4462 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4463 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4464 | } | ||
| 4465 | } | ||
| 4466 | |||
| 4467 | // Local call call-back function. | ||
| 4468 | static void | ||
| 4469 | ✗ | _0RL_lcfn_914117f668a82e12_65000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4470 | { | ||
| 4471 | ✗ | _0RL_cd_914117f668a82e12_55000000* tcd = (_0RL_cd_914117f668a82e12_55000000*)cd; | |
| 4472 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4473 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4474 | ✗ | tcd->result = impl->getCenterOfMassComputation(tcd->arg_0); | |
| 4475 | #else | ||
| 4476 | if (!cd->is_upcall()) | ||
| 4477 | tcd->result = impl->getCenterOfMassComputation(tcd->arg_0); | ||
| 4478 | else { | ||
| 4479 | try { | ||
| 4480 | tcd->result = impl->getCenterOfMassComputation(tcd->arg_0); | ||
| 4481 | } | ||
| 4482 | catch(hpp::Error& ex) { | ||
| 4483 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4484 | } | ||
| 4485 | |||
| 4486 | |||
| 4487 | } | ||
| 4488 | #endif | ||
| 4489 | |||
| 4490 | |||
| 4491 | } | ||
| 4492 | |||
| 4493 | ✗ | hpp::pinocchio_idl::CenterOfMassComputation_ptr hpp::corbaserver::_objref_Robot::getCenterOfMassComputation(const char* name) | |
| 4494 | { | ||
| 4495 | ✗ | _0RL_cd_914117f668a82e12_55000000 _call_desc(_0RL_lcfn_914117f668a82e12_65000000, "getCenterOfMassComputation", 27); | |
| 4496 | ✗ | _call_desc.arg_0 = name; | |
| 4497 | |||
| 4498 | ✗ | _invoke(_call_desc); | |
| 4499 | ✗ | return _call_desc.result._retn(); | |
| 4500 | |||
| 4501 | |||
| 4502 | } | ||
| 4503 | |||
| 4504 | |||
| 4505 | // | ||
| 4506 | // Code for hpp::corbaserver::Robot::createRobot | ||
| 4507 | |||
| 4508 | // Proxy call descriptor class. Mangled signature: | ||
| 4509 | // void_i_cstring_e_chpp_mError | ||
| 4510 | class _0RL_cd_914117f668a82e12_75000000 | ||
| 4511 | : public omniCallDescriptor | ||
| 4512 | { | ||
| 4513 | public: | ||
| 4514 | 6 | inline _0RL_cd_914117f668a82e12_75000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4515 | 6 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4516 | { | ||
| 4517 | |||
| 4518 | 6 | } | |
| 4519 | |||
| 4520 | void marshalArguments(cdrStream&); | ||
| 4521 | void unmarshalArguments(cdrStream&); | ||
| 4522 | |||
| 4523 | |||
| 4524 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4525 | static const char* const _user_exns[]; | ||
| 4526 | |||
| 4527 | ::CORBA::String_var arg_0_; | ||
| 4528 | const char* arg_0; | ||
| 4529 | }; | ||
| 4530 | |||
| 4531 | ✗ | void _0RL_cd_914117f668a82e12_75000000::marshalArguments(cdrStream& _n) | |
| 4532 | { | ||
| 4533 | ✗ | _n.marshalString(arg_0,0); | |
| 4534 | |||
| 4535 | } | ||
| 4536 | |||
| 4537 | 6 | void _0RL_cd_914117f668a82e12_75000000::unmarshalArguments(cdrStream& _n) | |
| 4538 | { | ||
| 4539 | 6 | arg_0_ = _n.unmarshalString(0); | |
| 4540 | 6 | arg_0 = arg_0_.in(); | |
| 4541 | |||
| 4542 | 6 | } | |
| 4543 | |||
| 4544 | const char* const _0RL_cd_914117f668a82e12_75000000::_user_exns[] = { | ||
| 4545 | hpp::Error::_PD_repoId | ||
| 4546 | }; | ||
| 4547 | |||
| 4548 | ✗ | void _0RL_cd_914117f668a82e12_75000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4549 | { | ||
| 4550 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4551 | ✗ | hpp::Error _ex; | |
| 4552 | ✗ | _ex <<= s; | |
| 4553 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4554 | ✗ | throw _ex; | |
| 4555 | } | ||
| 4556 | |||
| 4557 | |||
| 4558 | else { | ||
| 4559 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4560 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4561 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4562 | } | ||
| 4563 | } | ||
| 4564 | |||
| 4565 | // Local call call-back function. | ||
| 4566 | static void | ||
| 4567 | 6 | _0RL_lcfn_914117f668a82e12_85000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4568 | { | ||
| 4569 | 6 | _0RL_cd_914117f668a82e12_75000000* tcd = (_0RL_cd_914117f668a82e12_75000000*)cd; | |
| 4570 | 6 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4571 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4572 | 6 | impl->createRobot(tcd->arg_0); | |
| 4573 | #else | ||
| 4574 | if (!cd->is_upcall()) | ||
| 4575 | impl->createRobot(tcd->arg_0); | ||
| 4576 | else { | ||
| 4577 | try { | ||
| 4578 | impl->createRobot(tcd->arg_0); | ||
| 4579 | } | ||
| 4580 | catch(hpp::Error& ex) { | ||
| 4581 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4582 | } | ||
| 4583 | |||
| 4584 | |||
| 4585 | } | ||
| 4586 | #endif | ||
| 4587 | |||
| 4588 | |||
| 4589 | 6 | } | |
| 4590 | |||
| 4591 | ✗ | void hpp::corbaserver::_objref_Robot::createRobot(const char* robotName) | |
| 4592 | { | ||
| 4593 | ✗ | _0RL_cd_914117f668a82e12_75000000 _call_desc(_0RL_lcfn_914117f668a82e12_85000000, "createRobot", 12); | |
| 4594 | ✗ | _call_desc.arg_0 = robotName; | |
| 4595 | |||
| 4596 | ✗ | _invoke(_call_desc); | |
| 4597 | |||
| 4598 | |||
| 4599 | |||
| 4600 | } | ||
| 4601 | |||
| 4602 | |||
| 4603 | // | ||
| 4604 | // Code for hpp::corbaserver::Robot::appendJoint | ||
| 4605 | |||
| 4606 | // Proxy call descriptor class. Mangled signature: | ||
| 4607 | // void_i_cstring_i_cstring_i_cstring_i_a7_cdouble_e_chpp_mError | ||
| 4608 | class _0RL_cd_914117f668a82e12_95000000 | ||
| 4609 | : public omniCallDescriptor | ||
| 4610 | { | ||
| 4611 | public: | ||
| 4612 | 13 | inline _0RL_cd_914117f668a82e12_95000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4613 | 13 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4614 | { | ||
| 4615 | |||
| 4616 | 13 | } | |
| 4617 | |||
| 4618 | void marshalArguments(cdrStream&); | ||
| 4619 | void unmarshalArguments(cdrStream&); | ||
| 4620 | |||
| 4621 | |||
| 4622 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4623 | static const char* const _user_exns[]; | ||
| 4624 | |||
| 4625 | ::CORBA::String_var arg_0_; | ||
| 4626 | const char* arg_0; | ||
| 4627 | ::CORBA::String_var arg_1_; | ||
| 4628 | const char* arg_1; | ||
| 4629 | ::CORBA::String_var arg_2_; | ||
| 4630 | const char* arg_2; | ||
| 4631 | hpp::Transform_ arg_3_; | ||
| 4632 | const hpp::Transform__slice* arg_3; | ||
| 4633 | }; | ||
| 4634 | |||
| 4635 | ✗ | void _0RL_cd_914117f668a82e12_95000000::marshalArguments(cdrStream& _n) | |
| 4636 | { | ||
| 4637 | ✗ | _n.marshalString(arg_0,0); | |
| 4638 | ✗ | _n.marshalString(arg_1,0); | |
| 4639 | ✗ | _n.marshalString(arg_2,0); | |
| 4640 | |||
| 4641 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 4642 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 4643 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)arg_3),56,omni::ALIGN_8); | |
| 4644 | } | ||
| 4645 | else | ||
| 4646 | #endif | ||
| 4647 | { | ||
| 4648 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 4649 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 4650 | ✗ | arg_3[_0i0] >>= _n; | |
| 4651 | } | ||
| 4652 | } | ||
| 4653 | |||
| 4654 | } | ||
| 4655 | |||
| 4656 | 13 | void _0RL_cd_914117f668a82e12_95000000::unmarshalArguments(cdrStream& _n) | |
| 4657 | { | ||
| 4658 | 13 | arg_0_ = _n.unmarshalString(0); | |
| 4659 | 13 | arg_0 = arg_0_.in(); | |
| 4660 | 13 | arg_1_ = _n.unmarshalString(0); | |
| 4661 | 13 | arg_1 = arg_1_.in(); | |
| 4662 | 13 | arg_2_ = _n.unmarshalString(0); | |
| 4663 | 13 | arg_2 = arg_2_.in(); | |
| 4664 | 13 | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)arg_3_), 7); | |
| 4665 | 13 | arg_3 = &arg_3_[0]; | |
| 4666 | |||
| 4667 | 13 | } | |
| 4668 | |||
| 4669 | const char* const _0RL_cd_914117f668a82e12_95000000::_user_exns[] = { | ||
| 4670 | hpp::Error::_PD_repoId | ||
| 4671 | }; | ||
| 4672 | |||
| 4673 | ✗ | void _0RL_cd_914117f668a82e12_95000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4674 | { | ||
| 4675 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4676 | ✗ | hpp::Error _ex; | |
| 4677 | ✗ | _ex <<= s; | |
| 4678 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4679 | ✗ | throw _ex; | |
| 4680 | } | ||
| 4681 | |||
| 4682 | |||
| 4683 | else { | ||
| 4684 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4685 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4686 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4687 | } | ||
| 4688 | } | ||
| 4689 | |||
| 4690 | // Local call call-back function. | ||
| 4691 | static void | ||
| 4692 | 13 | _0RL_lcfn_914117f668a82e12_a5000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4693 | { | ||
| 4694 | 13 | _0RL_cd_914117f668a82e12_95000000* tcd = (_0RL_cd_914117f668a82e12_95000000*)cd; | |
| 4695 | 13 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4696 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4697 | 13 | impl->appendJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 4698 | #else | ||
| 4699 | if (!cd->is_upcall()) | ||
| 4700 | impl->appendJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 4701 | else { | ||
| 4702 | try { | ||
| 4703 | impl->appendJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 4704 | } | ||
| 4705 | catch(hpp::Error& ex) { | ||
| 4706 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4707 | } | ||
| 4708 | |||
| 4709 | |||
| 4710 | } | ||
| 4711 | #endif | ||
| 4712 | |||
| 4713 | |||
| 4714 | 13 | } | |
| 4715 | |||
| 4716 | ✗ | void hpp::corbaserver::_objref_Robot::appendJoint(const char* parentJoint, const char* jointName, const char* jointType, const ::hpp::Transform_ pos) | |
| 4717 | { | ||
| 4718 | ✗ | _0RL_cd_914117f668a82e12_95000000 _call_desc(_0RL_lcfn_914117f668a82e12_a5000000, "appendJoint", 12); | |
| 4719 | ✗ | _call_desc.arg_0 = parentJoint; | |
| 4720 | ✗ | _call_desc.arg_1 = jointName; | |
| 4721 | ✗ | _call_desc.arg_2 = jointType; | |
| 4722 | ✗ | _call_desc.arg_3 = &pos[0]; | |
| 4723 | |||
| 4724 | ✗ | _invoke(_call_desc); | |
| 4725 | |||
| 4726 | |||
| 4727 | |||
| 4728 | } | ||
| 4729 | |||
| 4730 | |||
| 4731 | // | ||
| 4732 | // Code for hpp::corbaserver::Robot::createPolyhedron | ||
| 4733 | |||
| 4734 | // Local call call-back function. | ||
| 4735 | static void | ||
| 4736 | ✗ | _0RL_lcfn_914117f668a82e12_b5000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4737 | { | ||
| 4738 | ✗ | _0RL_cd_914117f668a82e12_75000000* tcd = (_0RL_cd_914117f668a82e12_75000000*)cd; | |
| 4739 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4740 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4741 | ✗ | impl->createPolyhedron(tcd->arg_0); | |
| 4742 | #else | ||
| 4743 | if (!cd->is_upcall()) | ||
| 4744 | impl->createPolyhedron(tcd->arg_0); | ||
| 4745 | else { | ||
| 4746 | try { | ||
| 4747 | impl->createPolyhedron(tcd->arg_0); | ||
| 4748 | } | ||
| 4749 | catch(hpp::Error& ex) { | ||
| 4750 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4751 | } | ||
| 4752 | |||
| 4753 | |||
| 4754 | } | ||
| 4755 | #endif | ||
| 4756 | |||
| 4757 | |||
| 4758 | } | ||
| 4759 | |||
| 4760 | ✗ | void hpp::corbaserver::_objref_Robot::createPolyhedron(const char* inPolyName) | |
| 4761 | { | ||
| 4762 | ✗ | _0RL_cd_914117f668a82e12_75000000 _call_desc(_0RL_lcfn_914117f668a82e12_b5000000, "createPolyhedron", 17); | |
| 4763 | ✗ | _call_desc.arg_0 = inPolyName; | |
| 4764 | |||
| 4765 | ✗ | _invoke(_call_desc); | |
| 4766 | |||
| 4767 | |||
| 4768 | |||
| 4769 | } | ||
| 4770 | |||
| 4771 | |||
| 4772 | // | ||
| 4773 | // Code for hpp::corbaserver::Robot::createBox | ||
| 4774 | |||
| 4775 | // Proxy call descriptor class. Mangled signature: | ||
| 4776 | // void_i_cstring_i_cdouble_i_cdouble_i_cdouble_e_chpp_mError | ||
| 4777 | class _0RL_cd_914117f668a82e12_c5000000 | ||
| 4778 | : public omniCallDescriptor | ||
| 4779 | { | ||
| 4780 | public: | ||
| 4781 | ✗ | inline _0RL_cd_914117f668a82e12_c5000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4782 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4783 | { | ||
| 4784 | |||
| 4785 | } | ||
| 4786 | |||
| 4787 | void marshalArguments(cdrStream&); | ||
| 4788 | void unmarshalArguments(cdrStream&); | ||
| 4789 | |||
| 4790 | |||
| 4791 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4792 | static const char* const _user_exns[]; | ||
| 4793 | |||
| 4794 | ::CORBA::String_var arg_0_; | ||
| 4795 | const char* arg_0; | ||
| 4796 | ::CORBA::Double arg_1; | ||
| 4797 | ::CORBA::Double arg_2; | ||
| 4798 | ::CORBA::Double arg_3; | ||
| 4799 | }; | ||
| 4800 | |||
| 4801 | ✗ | void _0RL_cd_914117f668a82e12_c5000000::marshalArguments(cdrStream& _n) | |
| 4802 | { | ||
| 4803 | ✗ | _n.marshalString(arg_0,0); | |
| 4804 | ✗ | arg_1 >>= _n; | |
| 4805 | ✗ | arg_2 >>= _n; | |
| 4806 | ✗ | arg_3 >>= _n; | |
| 4807 | |||
| 4808 | } | ||
| 4809 | |||
| 4810 | ✗ | void _0RL_cd_914117f668a82e12_c5000000::unmarshalArguments(cdrStream& _n) | |
| 4811 | { | ||
| 4812 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 4813 | ✗ | arg_0 = arg_0_.in(); | |
| 4814 | ✗ | (::CORBA::Double&)arg_1 <<= _n; | |
| 4815 | ✗ | (::CORBA::Double&)arg_2 <<= _n; | |
| 4816 | ✗ | (::CORBA::Double&)arg_3 <<= _n; | |
| 4817 | |||
| 4818 | } | ||
| 4819 | |||
| 4820 | const char* const _0RL_cd_914117f668a82e12_c5000000::_user_exns[] = { | ||
| 4821 | hpp::Error::_PD_repoId | ||
| 4822 | }; | ||
| 4823 | |||
| 4824 | ✗ | void _0RL_cd_914117f668a82e12_c5000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4825 | { | ||
| 4826 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4827 | ✗ | hpp::Error _ex; | |
| 4828 | ✗ | _ex <<= s; | |
| 4829 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4830 | ✗ | throw _ex; | |
| 4831 | } | ||
| 4832 | |||
| 4833 | |||
| 4834 | else { | ||
| 4835 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4836 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4837 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4838 | } | ||
| 4839 | } | ||
| 4840 | |||
| 4841 | // Local call call-back function. | ||
| 4842 | static void | ||
| 4843 | ✗ | _0RL_lcfn_914117f668a82e12_d5000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4844 | { | ||
| 4845 | ✗ | _0RL_cd_914117f668a82e12_c5000000* tcd = (_0RL_cd_914117f668a82e12_c5000000*)cd; | |
| 4846 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4847 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4848 | ✗ | impl->createBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 4849 | #else | ||
| 4850 | if (!cd->is_upcall()) | ||
| 4851 | impl->createBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 4852 | else { | ||
| 4853 | try { | ||
| 4854 | impl->createBox(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 4855 | } | ||
| 4856 | catch(hpp::Error& ex) { | ||
| 4857 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4858 | } | ||
| 4859 | |||
| 4860 | |||
| 4861 | } | ||
| 4862 | #endif | ||
| 4863 | |||
| 4864 | |||
| 4865 | } | ||
| 4866 | |||
| 4867 | ✗ | void hpp::corbaserver::_objref_Robot::createBox(const char* name, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z) | |
| 4868 | { | ||
| 4869 | ✗ | _0RL_cd_914117f668a82e12_c5000000 _call_desc(_0RL_lcfn_914117f668a82e12_d5000000, "createBox", 10); | |
| 4870 | ✗ | _call_desc.arg_0 = name; | |
| 4871 | ✗ | _call_desc.arg_1 = x; | |
| 4872 | ✗ | _call_desc.arg_2 = y; | |
| 4873 | ✗ | _call_desc.arg_3 = z; | |
| 4874 | |||
| 4875 | ✗ | _invoke(_call_desc); | |
| 4876 | |||
| 4877 | |||
| 4878 | |||
| 4879 | } | ||
| 4880 | |||
| 4881 | |||
| 4882 | // | ||
| 4883 | // Code for hpp::corbaserver::Robot::createSphere | ||
| 4884 | |||
| 4885 | // Proxy call descriptor class. Mangled signature: | ||
| 4886 | // void_i_cstring_i_cdouble_e_chpp_mError | ||
| 4887 | class _0RL_cd_914117f668a82e12_e5000000 | ||
| 4888 | : public omniCallDescriptor | ||
| 4889 | { | ||
| 4890 | public: | ||
| 4891 | 12 | inline _0RL_cd_914117f668a82e12_e5000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4892 | 12 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4893 | { | ||
| 4894 | |||
| 4895 | 12 | } | |
| 4896 | |||
| 4897 | void marshalArguments(cdrStream&); | ||
| 4898 | void unmarshalArguments(cdrStream&); | ||
| 4899 | |||
| 4900 | |||
| 4901 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 4902 | static const char* const _user_exns[]; | ||
| 4903 | |||
| 4904 | ::CORBA::String_var arg_0_; | ||
| 4905 | const char* arg_0; | ||
| 4906 | ::CORBA::Double arg_1; | ||
| 4907 | }; | ||
| 4908 | |||
| 4909 | ✗ | void _0RL_cd_914117f668a82e12_e5000000::marshalArguments(cdrStream& _n) | |
| 4910 | { | ||
| 4911 | ✗ | _n.marshalString(arg_0,0); | |
| 4912 | ✗ | arg_1 >>= _n; | |
| 4913 | |||
| 4914 | } | ||
| 4915 | |||
| 4916 | 12 | void _0RL_cd_914117f668a82e12_e5000000::unmarshalArguments(cdrStream& _n) | |
| 4917 | { | ||
| 4918 | 12 | arg_0_ = _n.unmarshalString(0); | |
| 4919 | 12 | arg_0 = arg_0_.in(); | |
| 4920 | 12 | (::CORBA::Double&)arg_1 <<= _n; | |
| 4921 | |||
| 4922 | 12 | } | |
| 4923 | |||
| 4924 | const char* const _0RL_cd_914117f668a82e12_e5000000::_user_exns[] = { | ||
| 4925 | hpp::Error::_PD_repoId | ||
| 4926 | }; | ||
| 4927 | |||
| 4928 | ✗ | void _0RL_cd_914117f668a82e12_e5000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 4929 | { | ||
| 4930 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 4931 | ✗ | hpp::Error _ex; | |
| 4932 | ✗ | _ex <<= s; | |
| 4933 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 4934 | ✗ | throw _ex; | |
| 4935 | } | ||
| 4936 | |||
| 4937 | |||
| 4938 | else { | ||
| 4939 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 4940 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 4941 | (::CORBA::CompletionStatus)s.completion()); | ||
| 4942 | } | ||
| 4943 | } | ||
| 4944 | |||
| 4945 | // Local call call-back function. | ||
| 4946 | static void | ||
| 4947 | 12 | _0RL_lcfn_914117f668a82e12_f5000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 4948 | { | ||
| 4949 | 12 | _0RL_cd_914117f668a82e12_e5000000* tcd = (_0RL_cd_914117f668a82e12_e5000000*)cd; | |
| 4950 | 12 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 4951 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 4952 | 12 | impl->createSphere(tcd->arg_0, tcd->arg_1); | |
| 4953 | #else | ||
| 4954 | if (!cd->is_upcall()) | ||
| 4955 | impl->createSphere(tcd->arg_0, tcd->arg_1); | ||
| 4956 | else { | ||
| 4957 | try { | ||
| 4958 | impl->createSphere(tcd->arg_0, tcd->arg_1); | ||
| 4959 | } | ||
| 4960 | catch(hpp::Error& ex) { | ||
| 4961 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 4962 | } | ||
| 4963 | |||
| 4964 | |||
| 4965 | } | ||
| 4966 | #endif | ||
| 4967 | |||
| 4968 | |||
| 4969 | 12 | } | |
| 4970 | |||
| 4971 | ✗ | void hpp::corbaserver::_objref_Robot::createSphere(const char* name, ::CORBA::Double radius) | |
| 4972 | { | ||
| 4973 | ✗ | _0RL_cd_914117f668a82e12_e5000000 _call_desc(_0RL_lcfn_914117f668a82e12_f5000000, "createSphere", 13); | |
| 4974 | ✗ | _call_desc.arg_0 = name; | |
| 4975 | ✗ | _call_desc.arg_1 = radius; | |
| 4976 | |||
| 4977 | ✗ | _invoke(_call_desc); | |
| 4978 | |||
| 4979 | |||
| 4980 | |||
| 4981 | } | ||
| 4982 | |||
| 4983 | |||
| 4984 | // | ||
| 4985 | // Code for hpp::corbaserver::Robot::createCylinder | ||
| 4986 | |||
| 4987 | // Proxy call descriptor class. Mangled signature: | ||
| 4988 | // void_i_cstring_i_cdouble_i_cdouble_e_chpp_mError | ||
| 4989 | class _0RL_cd_914117f668a82e12_06000000 | ||
| 4990 | : public omniCallDescriptor | ||
| 4991 | { | ||
| 4992 | public: | ||
| 4993 | ✗ | inline _0RL_cd_914117f668a82e12_06000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 4994 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 4995 | { | ||
| 4996 | |||
| 4997 | } | ||
| 4998 | |||
| 4999 | void marshalArguments(cdrStream&); | ||
| 5000 | void unmarshalArguments(cdrStream&); | ||
| 5001 | |||
| 5002 | |||
| 5003 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 5004 | static const char* const _user_exns[]; | ||
| 5005 | |||
| 5006 | ::CORBA::String_var arg_0_; | ||
| 5007 | const char* arg_0; | ||
| 5008 | ::CORBA::Double arg_1; | ||
| 5009 | ::CORBA::Double arg_2; | ||
| 5010 | }; | ||
| 5011 | |||
| 5012 | ✗ | void _0RL_cd_914117f668a82e12_06000000::marshalArguments(cdrStream& _n) | |
| 5013 | { | ||
| 5014 | ✗ | _n.marshalString(arg_0,0); | |
| 5015 | ✗ | arg_1 >>= _n; | |
| 5016 | ✗ | arg_2 >>= _n; | |
| 5017 | |||
| 5018 | } | ||
| 5019 | |||
| 5020 | ✗ | void _0RL_cd_914117f668a82e12_06000000::unmarshalArguments(cdrStream& _n) | |
| 5021 | { | ||
| 5022 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 5023 | ✗ | arg_0 = arg_0_.in(); | |
| 5024 | ✗ | (::CORBA::Double&)arg_1 <<= _n; | |
| 5025 | ✗ | (::CORBA::Double&)arg_2 <<= _n; | |
| 5026 | |||
| 5027 | } | ||
| 5028 | |||
| 5029 | const char* const _0RL_cd_914117f668a82e12_06000000::_user_exns[] = { | ||
| 5030 | hpp::Error::_PD_repoId | ||
| 5031 | }; | ||
| 5032 | |||
| 5033 | ✗ | void _0RL_cd_914117f668a82e12_06000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 5034 | { | ||
| 5035 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 5036 | ✗ | hpp::Error _ex; | |
| 5037 | ✗ | _ex <<= s; | |
| 5038 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 5039 | ✗ | throw _ex; | |
| 5040 | } | ||
| 5041 | |||
| 5042 | |||
| 5043 | else { | ||
| 5044 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 5045 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 5046 | (::CORBA::CompletionStatus)s.completion()); | ||
| 5047 | } | ||
| 5048 | } | ||
| 5049 | |||
| 5050 | // Local call call-back function. | ||
| 5051 | static void | ||
| 5052 | ✗ | _0RL_lcfn_914117f668a82e12_16000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 5053 | { | ||
| 5054 | ✗ | _0RL_cd_914117f668a82e12_06000000* tcd = (_0RL_cd_914117f668a82e12_06000000*)cd; | |
| 5055 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 5056 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 5057 | ✗ | impl->createCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2); | |
| 5058 | #else | ||
| 5059 | if (!cd->is_upcall()) | ||
| 5060 | impl->createCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 5061 | else { | ||
| 5062 | try { | ||
| 5063 | impl->createCylinder(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 5064 | } | ||
| 5065 | catch(hpp::Error& ex) { | ||
| 5066 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 5067 | } | ||
| 5068 | |||
| 5069 | |||
| 5070 | } | ||
| 5071 | #endif | ||
| 5072 | |||
| 5073 | |||
| 5074 | } | ||
| 5075 | |||
| 5076 | ✗ | void hpp::corbaserver::_objref_Robot::createCylinder(const char* name, ::CORBA::Double radius, ::CORBA::Double length) | |
| 5077 | { | ||
| 5078 | ✗ | _0RL_cd_914117f668a82e12_06000000 _call_desc(_0RL_lcfn_914117f668a82e12_16000000, "createCylinder", 15); | |
| 5079 | ✗ | _call_desc.arg_0 = name; | |
| 5080 | ✗ | _call_desc.arg_1 = radius; | |
| 5081 | ✗ | _call_desc.arg_2 = length; | |
| 5082 | |||
| 5083 | ✗ | _invoke(_call_desc); | |
| 5084 | |||
| 5085 | |||
| 5086 | |||
| 5087 | } | ||
| 5088 | |||
| 5089 | |||
| 5090 | // | ||
| 5091 | // Code for hpp::corbaserver::Robot::addPoint | ||
| 5092 | |||
| 5093 | // Proxy call descriptor class. Mangled signature: | ||
| 5094 | // _cunsigned_plong_i_cstring_i_cdouble_i_cdouble_i_cdouble_e_chpp_mError | ||
| 5095 | class _0RL_cd_914117f668a82e12_26000000 | ||
| 5096 | : public omniCallDescriptor | ||
| 5097 | { | ||
| 5098 | public: | ||
| 5099 | ✗ | inline _0RL_cd_914117f668a82e12_26000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 5100 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 5101 | { | ||
| 5102 | |||
| 5103 | } | ||
| 5104 | |||
| 5105 | void marshalArguments(cdrStream&); | ||
| 5106 | void unmarshalArguments(cdrStream&); | ||
| 5107 | |||
| 5108 | void unmarshalReturnedValues(cdrStream&); | ||
| 5109 | void marshalReturnedValues(cdrStream&); | ||
| 5110 | |||
| 5111 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 5112 | static const char* const _user_exns[]; | ||
| 5113 | |||
| 5114 | ::CORBA::String_var arg_0_; | ||
| 5115 | const char* arg_0; | ||
| 5116 | ::CORBA::Double arg_1; | ||
| 5117 | ::CORBA::Double arg_2; | ||
| 5118 | ::CORBA::Double arg_3; | ||
| 5119 | ::CORBA::ULong result; | ||
| 5120 | }; | ||
| 5121 | |||
| 5122 | ✗ | void _0RL_cd_914117f668a82e12_26000000::marshalArguments(cdrStream& _n) | |
| 5123 | { | ||
| 5124 | ✗ | _n.marshalString(arg_0,0); | |
| 5125 | ✗ | arg_1 >>= _n; | |
| 5126 | ✗ | arg_2 >>= _n; | |
| 5127 | ✗ | arg_3 >>= _n; | |
| 5128 | |||
| 5129 | } | ||
| 5130 | |||
| 5131 | ✗ | void _0RL_cd_914117f668a82e12_26000000::unmarshalArguments(cdrStream& _n) | |
| 5132 | { | ||
| 5133 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 5134 | ✗ | arg_0 = arg_0_.in(); | |
| 5135 | ✗ | (::CORBA::Double&)arg_1 <<= _n; | |
| 5136 | ✗ | (::CORBA::Double&)arg_2 <<= _n; | |
| 5137 | ✗ | (::CORBA::Double&)arg_3 <<= _n; | |
| 5138 | |||
| 5139 | } | ||
| 5140 | |||
| 5141 | ✗ | void _0RL_cd_914117f668a82e12_26000000::marshalReturnedValues(cdrStream& _n) | |
| 5142 | { | ||
| 5143 | ✗ | result >>= _n; | |
| 5144 | |||
| 5145 | } | ||
| 5146 | |||
| 5147 | ✗ | void _0RL_cd_914117f668a82e12_26000000::unmarshalReturnedValues(cdrStream& _n) | |
| 5148 | { | ||
| 5149 | ✗ | (::CORBA::ULong&)result <<= _n; | |
| 5150 | |||
| 5151 | } | ||
| 5152 | |||
| 5153 | const char* const _0RL_cd_914117f668a82e12_26000000::_user_exns[] = { | ||
| 5154 | hpp::Error::_PD_repoId | ||
| 5155 | }; | ||
| 5156 | |||
| 5157 | ✗ | void _0RL_cd_914117f668a82e12_26000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 5158 | { | ||
| 5159 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 5160 | ✗ | hpp::Error _ex; | |
| 5161 | ✗ | _ex <<= s; | |
| 5162 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 5163 | ✗ | throw _ex; | |
| 5164 | } | ||
| 5165 | |||
| 5166 | |||
| 5167 | else { | ||
| 5168 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 5169 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 5170 | (::CORBA::CompletionStatus)s.completion()); | ||
| 5171 | } | ||
| 5172 | } | ||
| 5173 | |||
| 5174 | // Local call call-back function. | ||
| 5175 | static void | ||
| 5176 | ✗ | _0RL_lcfn_914117f668a82e12_36000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 5177 | { | ||
| 5178 | ✗ | _0RL_cd_914117f668a82e12_26000000* tcd = (_0RL_cd_914117f668a82e12_26000000*)cd; | |
| 5179 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 5180 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 5181 | ✗ | tcd->result = impl->addPoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 5182 | #else | ||
| 5183 | if (!cd->is_upcall()) | ||
| 5184 | tcd->result = impl->addPoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 5185 | else { | ||
| 5186 | try { | ||
| 5187 | tcd->result = impl->addPoint(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 5188 | } | ||
| 5189 | catch(hpp::Error& ex) { | ||
| 5190 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 5191 | } | ||
| 5192 | |||
| 5193 | |||
| 5194 | } | ||
| 5195 | #endif | ||
| 5196 | |||
| 5197 | |||
| 5198 | } | ||
| 5199 | |||
| 5200 | ✗ | ::CORBA::ULong hpp::corbaserver::_objref_Robot::addPoint(const char* inPolyName, ::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z) | |
| 5201 | { | ||
| 5202 | ✗ | _0RL_cd_914117f668a82e12_26000000 _call_desc(_0RL_lcfn_914117f668a82e12_36000000, "addPoint", 9); | |
| 5203 | ✗ | _call_desc.arg_0 = inPolyName; | |
| 5204 | ✗ | _call_desc.arg_1 = x; | |
| 5205 | ✗ | _call_desc.arg_2 = y; | |
| 5206 | ✗ | _call_desc.arg_3 = z; | |
| 5207 | |||
| 5208 | ✗ | _invoke(_call_desc); | |
| 5209 | ✗ | return _call_desc.result; | |
| 5210 | |||
| 5211 | |||
| 5212 | } | ||
| 5213 | |||
| 5214 | |||
| 5215 | // | ||
| 5216 | // Code for hpp::corbaserver::Robot::addTriangle | ||
| 5217 | |||
| 5218 | // Proxy call descriptor class. Mangled signature: | ||
| 5219 | // _cunsigned_plong_i_cstring_i_cunsigned_plong_i_cunsigned_plong_i_cunsigned_plong_e_chpp_mError | ||
| 5220 | class _0RL_cd_914117f668a82e12_46000000 | ||
| 5221 | : public omniCallDescriptor | ||
| 5222 | { | ||
| 5223 | public: | ||
| 5224 | ✗ | inline _0RL_cd_914117f668a82e12_46000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 5225 | ✗ | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 5226 | { | ||
| 5227 | |||
| 5228 | } | ||
| 5229 | |||
| 5230 | void marshalArguments(cdrStream&); | ||
| 5231 | void unmarshalArguments(cdrStream&); | ||
| 5232 | |||
| 5233 | void unmarshalReturnedValues(cdrStream&); | ||
| 5234 | void marshalReturnedValues(cdrStream&); | ||
| 5235 | |||
| 5236 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 5237 | static const char* const _user_exns[]; | ||
| 5238 | |||
| 5239 | ::CORBA::String_var arg_0_; | ||
| 5240 | const char* arg_0; | ||
| 5241 | ::CORBA::ULong arg_1; | ||
| 5242 | ::CORBA::ULong arg_2; | ||
| 5243 | ::CORBA::ULong arg_3; | ||
| 5244 | ::CORBA::ULong result; | ||
| 5245 | }; | ||
| 5246 | |||
| 5247 | ✗ | void _0RL_cd_914117f668a82e12_46000000::marshalArguments(cdrStream& _n) | |
| 5248 | { | ||
| 5249 | ✗ | _n.marshalString(arg_0,0); | |
| 5250 | ✗ | arg_1 >>= _n; | |
| 5251 | ✗ | arg_2 >>= _n; | |
| 5252 | ✗ | arg_3 >>= _n; | |
| 5253 | |||
| 5254 | } | ||
| 5255 | |||
| 5256 | ✗ | void _0RL_cd_914117f668a82e12_46000000::unmarshalArguments(cdrStream& _n) | |
| 5257 | { | ||
| 5258 | ✗ | arg_0_ = _n.unmarshalString(0); | |
| 5259 | ✗ | arg_0 = arg_0_.in(); | |
| 5260 | ✗ | (::CORBA::ULong&)arg_1 <<= _n; | |
| 5261 | ✗ | (::CORBA::ULong&)arg_2 <<= _n; | |
| 5262 | ✗ | (::CORBA::ULong&)arg_3 <<= _n; | |
| 5263 | |||
| 5264 | } | ||
| 5265 | |||
| 5266 | ✗ | void _0RL_cd_914117f668a82e12_46000000::marshalReturnedValues(cdrStream& _n) | |
| 5267 | { | ||
| 5268 | ✗ | result >>= _n; | |
| 5269 | |||
| 5270 | } | ||
| 5271 | |||
| 5272 | ✗ | void _0RL_cd_914117f668a82e12_46000000::unmarshalReturnedValues(cdrStream& _n) | |
| 5273 | { | ||
| 5274 | ✗ | (::CORBA::ULong&)result <<= _n; | |
| 5275 | |||
| 5276 | } | ||
| 5277 | |||
| 5278 | const char* const _0RL_cd_914117f668a82e12_46000000::_user_exns[] = { | ||
| 5279 | hpp::Error::_PD_repoId | ||
| 5280 | }; | ||
| 5281 | |||
| 5282 | ✗ | void _0RL_cd_914117f668a82e12_46000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 5283 | { | ||
| 5284 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 5285 | ✗ | hpp::Error _ex; | |
| 5286 | ✗ | _ex <<= s; | |
| 5287 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 5288 | ✗ | throw _ex; | |
| 5289 | } | ||
| 5290 | |||
| 5291 | |||
| 5292 | else { | ||
| 5293 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 5294 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 5295 | (::CORBA::CompletionStatus)s.completion()); | ||
| 5296 | } | ||
| 5297 | } | ||
| 5298 | |||
| 5299 | // Local call call-back function. | ||
| 5300 | static void | ||
| 5301 | ✗ | _0RL_lcfn_914117f668a82e12_56000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 5302 | { | ||
| 5303 | ✗ | _0RL_cd_914117f668a82e12_46000000* tcd = (_0RL_cd_914117f668a82e12_46000000*)cd; | |
| 5304 | ✗ | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 5305 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 5306 | ✗ | tcd->result = impl->addTriangle(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | |
| 5307 | #else | ||
| 5308 | if (!cd->is_upcall()) | ||
| 5309 | tcd->result = impl->addTriangle(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 5310 | else { | ||
| 5311 | try { | ||
| 5312 | tcd->result = impl->addTriangle(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3); | ||
| 5313 | } | ||
| 5314 | catch(hpp::Error& ex) { | ||
| 5315 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 5316 | } | ||
| 5317 | |||
| 5318 | |||
| 5319 | } | ||
| 5320 | #endif | ||
| 5321 | |||
| 5322 | |||
| 5323 | } | ||
| 5324 | |||
| 5325 | ✗ | ::CORBA::ULong hpp::corbaserver::_objref_Robot::addTriangle(const char* inPolyName, ::CORBA::ULong pt1, ::CORBA::ULong pt2, ::CORBA::ULong pt3) | |
| 5326 | { | ||
| 5327 | ✗ | _0RL_cd_914117f668a82e12_46000000 _call_desc(_0RL_lcfn_914117f668a82e12_56000000, "addTriangle", 12); | |
| 5328 | ✗ | _call_desc.arg_0 = inPolyName; | |
| 5329 | ✗ | _call_desc.arg_1 = pt1; | |
| 5330 | ✗ | _call_desc.arg_2 = pt2; | |
| 5331 | ✗ | _call_desc.arg_3 = pt3; | |
| 5332 | |||
| 5333 | ✗ | _invoke(_call_desc); | |
| 5334 | ✗ | return _call_desc.result; | |
| 5335 | |||
| 5336 | |||
| 5337 | } | ||
| 5338 | |||
| 5339 | |||
| 5340 | // | ||
| 5341 | // Code for hpp::corbaserver::Robot::addObjectToJoint | ||
| 5342 | |||
| 5343 | // Proxy call descriptor class. Mangled signature: | ||
| 5344 | // void_i_cstring_i_cstring_i_a7_cdouble_e_chpp_mError | ||
| 5345 | class _0RL_cd_914117f668a82e12_66000000 | ||
| 5346 | : public omniCallDescriptor | ||
| 5347 | { | ||
| 5348 | public: | ||
| 5349 | 12 | inline _0RL_cd_914117f668a82e12_66000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) | |
| 5350 | 12 | : omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) | |
| 5351 | { | ||
| 5352 | |||
| 5353 | 12 | } | |
| 5354 | |||
| 5355 | void marshalArguments(cdrStream&); | ||
| 5356 | void unmarshalArguments(cdrStream&); | ||
| 5357 | |||
| 5358 | |||
| 5359 | void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); | ||
| 5360 | static const char* const _user_exns[]; | ||
| 5361 | |||
| 5362 | ::CORBA::String_var arg_0_; | ||
| 5363 | const char* arg_0; | ||
| 5364 | ::CORBA::String_var arg_1_; | ||
| 5365 | const char* arg_1; | ||
| 5366 | hpp::Transform_ arg_2_; | ||
| 5367 | const hpp::Transform__slice* arg_2; | ||
| 5368 | }; | ||
| 5369 | |||
| 5370 | ✗ | void _0RL_cd_914117f668a82e12_66000000::marshalArguments(cdrStream& _n) | |
| 5371 | { | ||
| 5372 | ✗ | _n.marshalString(arg_0,0); | |
| 5373 | ✗ | _n.marshalString(arg_1,0); | |
| 5374 | |||
| 5375 | #ifndef OMNI_MIXED_ENDIAN_DOUBLE | ||
| 5376 | ✗ | if (! _n.marshal_byte_swap()) { | |
| 5377 | ✗ | _n.put_octet_array((_CORBA_Octet*)((::CORBA::Double*)arg_2),56,omni::ALIGN_8); | |
| 5378 | } | ||
| 5379 | else | ||
| 5380 | #endif | ||
| 5381 | { | ||
| 5382 | ✗ | _n.declareArrayLength(omni::ALIGN_8, 56); | |
| 5383 | ✗ | for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ | |
| 5384 | ✗ | arg_2[_0i0] >>= _n; | |
| 5385 | } | ||
| 5386 | } | ||
| 5387 | |||
| 5388 | } | ||
| 5389 | |||
| 5390 | 12 | void _0RL_cd_914117f668a82e12_66000000::unmarshalArguments(cdrStream& _n) | |
| 5391 | { | ||
| 5392 | 12 | arg_0_ = _n.unmarshalString(0); | |
| 5393 | 12 | arg_0 = arg_0_.in(); | |
| 5394 | 12 | arg_1_ = _n.unmarshalString(0); | |
| 5395 | 12 | arg_1 = arg_1_.in(); | |
| 5396 | 12 | _n.unmarshalArrayDouble((_CORBA_Double*)((::CORBA::Double*)arg_2_), 7); | |
| 5397 | 12 | arg_2 = &arg_2_[0]; | |
| 5398 | |||
| 5399 | 12 | } | |
| 5400 | |||
| 5401 | const char* const _0RL_cd_914117f668a82e12_66000000::_user_exns[] = { | ||
| 5402 | hpp::Error::_PD_repoId | ||
| 5403 | }; | ||
| 5404 | |||
| 5405 | ✗ | void _0RL_cd_914117f668a82e12_66000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) | |
| 5406 | { | ||
| 5407 | ✗ | if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { | |
| 5408 | ✗ | hpp::Error _ex; | |
| 5409 | ✗ | _ex <<= s; | |
| 5410 | ✗ | if (iop_client) iop_client->RequestCompleted(); | |
| 5411 | ✗ | throw _ex; | |
| 5412 | } | ||
| 5413 | |||
| 5414 | |||
| 5415 | else { | ||
| 5416 | ✗ | if (iop_client) iop_client->RequestCompleted(1); | |
| 5417 | ✗ | OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, | |
| 5418 | (::CORBA::CompletionStatus)s.completion()); | ||
| 5419 | } | ||
| 5420 | } | ||
| 5421 | |||
| 5422 | // Local call call-back function. | ||
| 5423 | static void | ||
| 5424 | 12 | _0RL_lcfn_914117f668a82e12_76000000(omniCallDescriptor* cd, omniServant* svnt) | |
| 5425 | { | ||
| 5426 | 12 | _0RL_cd_914117f668a82e12_66000000* tcd = (_0RL_cd_914117f668a82e12_66000000*)cd; | |
| 5427 | 12 | hpp::corbaserver::_impl_Robot* impl = (hpp::corbaserver::_impl_Robot*) svnt->_ptrToInterface(hpp::corbaserver::Robot::_PD_repoId); | |
| 5428 | #ifdef OMNI_HAS_Cplusplus_catch_exception_by_base | ||
| 5429 | 12 | impl->addObjectToJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2); | |
| 5430 | #else | ||
| 5431 | if (!cd->is_upcall()) | ||
| 5432 | impl->addObjectToJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 5433 | else { | ||
| 5434 | try { | ||
| 5435 | impl->addObjectToJoint(tcd->arg_0, tcd->arg_1, tcd->arg_2); | ||
| 5436 | } | ||
| 5437 | catch(hpp::Error& ex) { | ||
| 5438 | throw omniORB::StubUserException(ex._NP_duplicate()); | ||
| 5439 | } | ||
| 5440 | |||
| 5441 | |||
| 5442 | } | ||
| 5443 | #endif | ||
| 5444 | |||
| 5445 | |||
| 5446 | 12 | } | |
| 5447 | |||
| 5448 | ✗ | void hpp::corbaserver::_objref_Robot::addObjectToJoint(const char* jointName, const char* objectName, const ::hpp::Transform_ pos) | |
| 5449 | { | ||
| 5450 | ✗ | _0RL_cd_914117f668a82e12_66000000 _call_desc(_0RL_lcfn_914117f668a82e12_76000000, "addObjectToJoint", 17); | |
| 5451 | ✗ | _call_desc.arg_0 = jointName; | |
| 5452 | ✗ | _call_desc.arg_1 = objectName; | |
| 5453 | ✗ | _call_desc.arg_2 = &pos[0]; | |
| 5454 | |||
| 5455 | ✗ | _invoke(_call_desc); | |
| 5456 | |||
| 5457 | |||
| 5458 | |||
| 5459 | } | ||
| 5460 | |||
| 5461 | 16 | hpp::corbaserver::_pof_Robot::~_pof_Robot() {} | |
| 5462 | |||
| 5463 | |||
| 5464 | omniObjRef* | ||
| 5465 | 8 | hpp::corbaserver::_pof_Robot::newObjRef(omniIOR* ior, omniIdentity* id) | |
| 5466 | { | ||
| 5467 |
2/4✓ Branch 2 taken 8 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
|
8 | return new ::hpp::corbaserver::_objref_Robot(ior, id); |
| 5468 | } | ||
| 5469 | |||
| 5470 | |||
| 5471 | ::CORBA::Boolean | ||
| 5472 | 8 | hpp::corbaserver::_pof_Robot::is_a(const char* id) const | |
| 5473 | { | ||
| 5474 |
1/2✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
|
8 | if (omni::ptrStrMatch(id, ::hpp::corbaserver::Robot::_PD_repoId)) |
| 5475 | 8 | return 1; | |
| 5476 | |||
| 5477 | ✗ | return 0; | |
| 5478 | } | ||
| 5479 | |||
| 5480 | const hpp::corbaserver::_pof_Robot _the_pof_hpp_mcorbaserver_mRobot; | ||
| 5481 | |||
| 5482 | ✗ | hpp::corbaserver::_impl_Robot::~_impl_Robot() {} | |
| 5483 | |||
| 5484 | |||
| 5485 | ::CORBA::Boolean | ||
| 5486 | 90 | hpp::corbaserver::_impl_Robot::_dispatch(omniCallHandle& _handle) | |
| 5487 | { | ||
| 5488 | 90 | const char* op = _handle.operation_name(); | |
| 5489 | |||
| 5490 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 90 times.
|
90 | if (omni::strMatch(op, "loadRobotModel")) { |
| 5491 | |||
| 5492 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_10000000, "loadRobotModel", 15, 1); | |
| 5493 | |||
| 5494 | ✗ | _handle.upcall(this,_call_desc); | |
| 5495 | ✗ | return 1; | |
| 5496 | } | ||
| 5497 | |||
| 5498 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 90 times.
|
90 | if (omni::strMatch(op, "loadHumanoidModel")) { |
| 5499 | |||
| 5500 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_20000000, "loadHumanoidModel", 18, 1); | |
| 5501 | |||
| 5502 | ✗ | _handle.upcall(this,_call_desc); | |
| 5503 | ✗ | return 1; | |
| 5504 | } | ||
| 5505 | |||
| 5506 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 2 taken 88 times.
|
90 | if (omni::strMatch(op, "loadRobotModelFromString")) { |
| 5507 | |||
| 5508 | 2 | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_30000000, "loadRobotModelFromString", 25, 1); | |
| 5509 | |||
| 5510 |
1/2✓ Branch 1 taken 2 times.
✗ Branch 2 not taken.
|
2 | _handle.upcall(this,_call_desc); |
| 5511 | 2 | return 1; | |
| 5512 | 2 | } | |
| 5513 | |||
| 5514 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 88 times.
|
88 | if (omni::strMatch(op, "loadHumanoidModelFromString")) { |
| 5515 | |||
| 5516 | ✗ | _0RL_cd_914117f668a82e12_00000000 _call_desc(_0RL_lcfn_914117f668a82e12_40000000, "loadHumanoidModelFromString", 28, 1); | |
| 5517 | |||
| 5518 | ✗ | _handle.upcall(this,_call_desc); | |
| 5519 | ✗ | return 1; | |
| 5520 | } | ||
| 5521 | |||
| 5522 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 88 times.
|
88 | if (omni::strMatch(op, "getConfigSize")) { |
| 5523 | |||
| 5524 | ✗ | _0RL_cd_914117f668a82e12_50000000 _call_desc(_0RL_lcfn_914117f668a82e12_60000000, "getConfigSize", 14, 1); | |
| 5525 | |||
| 5526 | ✗ | _handle.upcall(this,_call_desc); | |
| 5527 | ✗ | return 1; | |
| 5528 | } | ||
| 5529 | |||
| 5530 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 88 times.
|
88 | if (omni::strMatch(op, "getNumberDof")) { |
| 5531 | |||
| 5532 | ✗ | _0RL_cd_914117f668a82e12_50000000 _call_desc(_0RL_lcfn_914117f668a82e12_70000000, "getNumberDof", 13, 1); | |
| 5533 | |||
| 5534 | ✗ | _handle.upcall(this,_call_desc); | |
| 5535 | ✗ | return 1; | |
| 5536 | } | ||
| 5537 | |||
| 5538 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 87 times.
|
88 | if (omni::strMatch(op, "getJointNames")) { |
| 5539 | |||
| 5540 | 1 | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_90000000, "getJointNames", 14, 1); | |
| 5541 | |||
| 5542 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
| 5543 | 1 | return 1; | |
| 5544 | 1 | } | |
| 5545 | |||
| 5546 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 87 times.
|
87 | if (omni::strMatch(op, "getJointTypes")) { |
| 5547 | |||
| 5548 | ✗ | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_a0000000, "getJointTypes", 14, 1); | |
| 5549 | |||
| 5550 | ✗ | _handle.upcall(this,_call_desc); | |
| 5551 | ✗ | return 1; | |
| 5552 | } | ||
| 5553 | |||
| 5554 |
2/2✓ Branch 1 taken 1 times.
✓ Branch 2 taken 86 times.
|
87 | if (omni::strMatch(op, "getAllJointNames")) { |
| 5555 | |||
| 5556 | 1 | _0RL_cd_914117f668a82e12_80000000 _call_desc(_0RL_lcfn_914117f668a82e12_b0000000, "getAllJointNames", 17, 1); | |
| 5557 | |||
| 5558 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
1 | _handle.upcall(this,_call_desc); |
| 5559 | 1 | return 1; | |
| 5560 | 1 | } | |
| 5561 | |||
| 5562 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 86 times.
|
86 | if (omni::strMatch(op, "getParentJointName")) { |
| 5563 | |||
| 5564 | ✗ | _0RL_cd_914117f668a82e12_c0000000 _call_desc(_0RL_lcfn_914117f668a82e12_d0000000, "getParentJointName", 19, 1); | |
| 5565 | |||
| 5566 | ✗ | _handle.upcall(this,_call_desc); | |
| 5567 | ✗ | return 1; | |
| 5568 | } | ||
| 5569 | |||
| 5570 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 86 times.
|
86 | if (omni::strMatch(op, "getJointConfig")) { |
| 5571 | |||
| 5572 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_f0000000, "getJointConfig", 15, 1); | |
| 5573 | |||
| 5574 | ✗ | _handle.upcall(this,_call_desc); | |
| 5575 | ✗ | return 1; | |
| 5576 | } | ||
| 5577 | |||
| 5578 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 86 times.
|
86 | if (omni::strMatch(op, "setJointConfig")) { |
| 5579 | |||
| 5580 | ✗ | _0RL_cd_914117f668a82e12_01000000 _call_desc(_0RL_lcfn_914117f668a82e12_11000000, "setJointConfig", 15, 1); | |
| 5581 | |||
| 5582 | ✗ | _handle.upcall(this,_call_desc); | |
| 5583 | ✗ | return 1; | |
| 5584 | } | ||
| 5585 | |||
| 5586 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 2 taken 74 times.
|
86 | if (omni::strMatch(op, "getJointType")) { |
| 5587 | |||
| 5588 | 12 | _0RL_cd_914117f668a82e12_c0000000 _call_desc(_0RL_lcfn_914117f668a82e12_21000000, "getJointType", 13, 1); | |
| 5589 | |||
| 5590 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | _handle.upcall(this,_call_desc); |
| 5591 | 12 | return 1; | |
| 5592 | 12 | } | |
| 5593 | |||
| 5594 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "jointIntegrate")) { |
| 5595 | |||
| 5596 | ✗ | _0RL_cd_914117f668a82e12_31000000 _call_desc(_0RL_lcfn_914117f668a82e12_41000000, "jointIntegrate", 15, 1); | |
| 5597 | |||
| 5598 | ✗ | _handle.upcall(this,_call_desc); | |
| 5599 | ✗ | return 1; | |
| 5600 | } | ||
| 5601 | |||
| 5602 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getCurrentTransformation")) { |
| 5603 | |||
| 5604 | ✗ | _0RL_cd_914117f668a82e12_51000000 _call_desc(_0RL_lcfn_914117f668a82e12_61000000, "getCurrentTransformation", 25, 1); | |
| 5605 | |||
| 5606 | ✗ | _handle.upcall(this,_call_desc); | |
| 5607 | ✗ | return 1; | |
| 5608 | } | ||
| 5609 | |||
| 5610 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getJointPosition")) { |
| 5611 | |||
| 5612 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_81000000, "getJointPosition", 17, 1); | |
| 5613 | |||
| 5614 | ✗ | _handle.upcall(this,_call_desc); | |
| 5615 | ✗ | return 1; | |
| 5616 | } | ||
| 5617 | |||
| 5618 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getJointsPosition")) { |
| 5619 | |||
| 5620 | ✗ | _0RL_cd_914117f668a82e12_91000000 _call_desc(_0RL_lcfn_914117f668a82e12_a1000000, "getJointsPosition", 18, 1); | |
| 5621 | |||
| 5622 | ✗ | _handle.upcall(this,_call_desc); | |
| 5623 | ✗ | return 1; | |
| 5624 | } | ||
| 5625 | |||
| 5626 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getJointVelocity")) { |
| 5627 | |||
| 5628 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_b1000000, "getJointVelocity", 17, 1); | |
| 5629 | |||
| 5630 | ✗ | _handle.upcall(this,_call_desc); | |
| 5631 | ✗ | return 1; | |
| 5632 | } | ||
| 5633 | |||
| 5634 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getJointVelocityInLocalFrame")) { |
| 5635 | |||
| 5636 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_c1000000, "getJointVelocityInLocalFrame", 29, 1); | |
| 5637 | |||
| 5638 | ✗ | _handle.upcall(this,_call_desc); | |
| 5639 | ✗ | return 1; | |
| 5640 | } | ||
| 5641 | |||
| 5642 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getJointPositionInParentFrame")) { |
| 5643 | |||
| 5644 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_d1000000, "getJointPositionInParentFrame", 30, 1); | |
| 5645 | |||
| 5646 | ✗ | _handle.upcall(this,_call_desc); | |
| 5647 | ✗ | return 1; | |
| 5648 | } | ||
| 5649 | |||
| 5650 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "getRootJointPosition")) { |
| 5651 | |||
| 5652 | ✗ | _0RL_cd_914117f668a82e12_e1000000 _call_desc(_0RL_lcfn_914117f668a82e12_f1000000, "getRootJointPosition", 21, 1); | |
| 5653 | |||
| 5654 | ✗ | _handle.upcall(this,_call_desc); | |
| 5655 | ✗ | return 1; | |
| 5656 | } | ||
| 5657 | |||
| 5658 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "setRootJointPosition")) { |
| 5659 | |||
| 5660 | ✗ | _0RL_cd_914117f668a82e12_02000000 _call_desc(_0RL_lcfn_914117f668a82e12_12000000, "setRootJointPosition", 21, 1); | |
| 5661 | |||
| 5662 | ✗ | _handle.upcall(this,_call_desc); | |
| 5663 | ✗ | return 1; | |
| 5664 | } | ||
| 5665 | |||
| 5666 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 74 times.
|
74 | if (omni::strMatch(op, "setJointPositionInParentFrame")) { |
| 5667 | |||
| 5668 | ✗ | _0RL_cd_914117f668a82e12_22000000 _call_desc(_0RL_lcfn_914117f668a82e12_32000000, "setJointPositionInParentFrame", 30, 1); | |
| 5669 | |||
| 5670 | ✗ | _handle.upcall(this,_call_desc); | |
| 5671 | ✗ | return 1; | |
| 5672 | } | ||
| 5673 | |||
| 5674 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 2 taken 62 times.
|
74 | if (omni::strMatch(op, "getJointNumberDof")) { |
| 5675 | |||
| 5676 | 12 | _0RL_cd_914117f668a82e12_42000000 _call_desc(_0RL_lcfn_914117f668a82e12_52000000, "getJointNumberDof", 18, 1); | |
| 5677 | |||
| 5678 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | _handle.upcall(this,_call_desc); |
| 5679 | 12 | return 1; | |
| 5680 | 12 | } | |
| 5681 | |||
| 5682 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 2 taken 50 times.
|
62 | if (omni::strMatch(op, "getJointConfigSize")) { |
| 5683 | |||
| 5684 | 12 | _0RL_cd_914117f668a82e12_42000000 _call_desc(_0RL_lcfn_914117f668a82e12_62000000, "getJointConfigSize", 19, 1); | |
| 5685 | |||
| 5686 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | _handle.upcall(this,_call_desc); |
| 5687 | 12 | return 1; | |
| 5688 | 12 | } | |
| 5689 | |||
| 5690 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setJointBounds")) { |
| 5691 | |||
| 5692 | ✗ | _0RL_cd_914117f668a82e12_01000000 _call_desc(_0RL_lcfn_914117f668a82e12_72000000, "setJointBounds", 15, 1); | |
| 5693 | |||
| 5694 | ✗ | _handle.upcall(this,_call_desc); | |
| 5695 | ✗ | return 1; | |
| 5696 | } | ||
| 5697 | |||
| 5698 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getJointBounds")) { |
| 5699 | |||
| 5700 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_82000000, "getJointBounds", 15, 1); | |
| 5701 | |||
| 5702 | ✗ | _handle.upcall(this,_call_desc); | |
| 5703 | ✗ | return 1; | |
| 5704 | } | ||
| 5705 | |||
| 5706 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getLinkPosition")) { |
| 5707 | |||
| 5708 | ✗ | _0RL_cd_914117f668a82e12_71000000 _call_desc(_0RL_lcfn_914117f668a82e12_92000000, "getLinkPosition", 16, 1); | |
| 5709 | |||
| 5710 | ✗ | _handle.upcall(this,_call_desc); | |
| 5711 | ✗ | return 1; | |
| 5712 | } | ||
| 5713 | |||
| 5714 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getLinksPosition")) { |
| 5715 | |||
| 5716 | ✗ | _0RL_cd_914117f668a82e12_91000000 _call_desc(_0RL_lcfn_914117f668a82e12_a2000000, "getLinksPosition", 17, 1); | |
| 5717 | |||
| 5718 | ✗ | _handle.upcall(this,_call_desc); | |
| 5719 | ✗ | return 1; | |
| 5720 | } | ||
| 5721 | |||
| 5722 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getLinkNames")) { |
| 5723 | |||
| 5724 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_c2000000, "getLinkNames", 13, 1); | |
| 5725 | |||
| 5726 | ✗ | _handle.upcall(this,_call_desc); | |
| 5727 | ✗ | return 1; | |
| 5728 | } | ||
| 5729 | |||
| 5730 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setDimensionExtraConfigSpace")) { |
| 5731 | |||
| 5732 | ✗ | _0RL_cd_914117f668a82e12_d2000000 _call_desc(_0RL_lcfn_914117f668a82e12_e2000000, "setDimensionExtraConfigSpace", 29, 1); | |
| 5733 | |||
| 5734 | ✗ | _handle.upcall(this,_call_desc); | |
| 5735 | ✗ | return 1; | |
| 5736 | } | ||
| 5737 | |||
| 5738 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getDimensionExtraConfigSpace")) { |
| 5739 | |||
| 5740 | ✗ | _0RL_cd_914117f668a82e12_f2000000 _call_desc(_0RL_lcfn_914117f668a82e12_03000000, "getDimensionExtraConfigSpace", 29, 1); | |
| 5741 | |||
| 5742 | ✗ | _handle.upcall(this,_call_desc); | |
| 5743 | ✗ | return 1; | |
| 5744 | } | ||
| 5745 | |||
| 5746 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setExtraConfigSpaceBounds")) { |
| 5747 | |||
| 5748 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_23000000, "setExtraConfigSpaceBounds", 26, 1); | |
| 5749 | |||
| 5750 | ✗ | _handle.upcall(this,_call_desc); | |
| 5751 | ✗ | return 1; | |
| 5752 | } | ||
| 5753 | |||
| 5754 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getCurrentConfig")) { |
| 5755 | |||
| 5756 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_43000000, "getCurrentConfig", 17, 1); | |
| 5757 | |||
| 5758 | ✗ | _handle.upcall(this,_call_desc); | |
| 5759 | ✗ | return 1; | |
| 5760 | } | ||
| 5761 | |||
| 5762 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "shootRandomConfig")) { |
| 5763 | |||
| 5764 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_53000000, "shootRandomConfig", 18, 1); | |
| 5765 | |||
| 5766 | ✗ | _handle.upcall(this,_call_desc); | |
| 5767 | ✗ | return 1; | |
| 5768 | } | ||
| 5769 | |||
| 5770 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setCurrentConfig")) { |
| 5771 | |||
| 5772 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_63000000, "setCurrentConfig", 17, 1); | |
| 5773 | |||
| 5774 | ✗ | _handle.upcall(this,_call_desc); | |
| 5775 | ✗ | return 1; | |
| 5776 | } | ||
| 5777 | |||
| 5778 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getCurrentVelocity")) { |
| 5779 | |||
| 5780 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_73000000, "getCurrentVelocity", 19, 1); | |
| 5781 | |||
| 5782 | ✗ | _handle.upcall(this,_call_desc); | |
| 5783 | ✗ | return 1; | |
| 5784 | } | ||
| 5785 | |||
| 5786 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setCurrentVelocity")) { |
| 5787 | |||
| 5788 | ✗ | _0RL_cd_914117f668a82e12_13000000 _call_desc(_0RL_lcfn_914117f668a82e12_83000000, "setCurrentVelocity", 19, 1); | |
| 5789 | |||
| 5790 | ✗ | _handle.upcall(this,_call_desc); | |
| 5791 | ✗ | return 1; | |
| 5792 | } | ||
| 5793 | |||
| 5794 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getJointInnerObjects")) { |
| 5795 | |||
| 5796 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_93000000, "getJointInnerObjects", 21, 1); | |
| 5797 | |||
| 5798 | ✗ | _handle.upcall(this,_call_desc); | |
| 5799 | ✗ | return 1; | |
| 5800 | } | ||
| 5801 | |||
| 5802 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getJointOuterObjects")) { |
| 5803 | |||
| 5804 | ✗ | _0RL_cd_914117f668a82e12_b2000000 _call_desc(_0RL_lcfn_914117f668a82e12_a3000000, "getJointOuterObjects", 21, 1); | |
| 5805 | |||
| 5806 | ✗ | _handle.upcall(this,_call_desc); | |
| 5807 | ✗ | return 1; | |
| 5808 | } | ||
| 5809 | |||
| 5810 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getObjectPosition")) { |
| 5811 | |||
| 5812 | ✗ | _0RL_cd_914117f668a82e12_b3000000 _call_desc(_0RL_lcfn_914117f668a82e12_c3000000, "getObjectPosition", 18, 1); | |
| 5813 | ✗ | _call_desc.arg_1 = _call_desc.arg_1_; | |
| 5814 | ✗ | _handle.upcall(this,_call_desc); | |
| 5815 | ✗ | return 1; | |
| 5816 | } | ||
| 5817 | |||
| 5818 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "isConfigValid")) { |
| 5819 | |||
| 5820 | ✗ | _0RL_cd_914117f668a82e12_d3000000 _call_desc(_0RL_lcfn_914117f668a82e12_e3000000, "isConfigValid", 14, 1); | |
| 5821 | |||
| 5822 | ✗ | _handle.upcall(this,_call_desc); | |
| 5823 | ✗ | return 1; | |
| 5824 | } | ||
| 5825 | |||
| 5826 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "distancesToCollision")) { |
| 5827 | |||
| 5828 | ✗ | _0RL_cd_914117f668a82e12_f3000000 _call_desc(_0RL_lcfn_914117f668a82e12_04000000, "distancesToCollision", 21, 1); | |
| 5829 | |||
| 5830 | ✗ | _handle.upcall(this,_call_desc); | |
| 5831 | ✗ | return 1; | |
| 5832 | } | ||
| 5833 | |||
| 5834 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "autocollisionCheck")) { |
| 5835 | |||
| 5836 | ✗ | _0RL_cd_914117f668a82e12_14000000 _call_desc(_0RL_lcfn_914117f668a82e12_24000000, "autocollisionCheck", 19, 1); | |
| 5837 | |||
| 5838 | ✗ | _handle.upcall(this,_call_desc); | |
| 5839 | ✗ | return 1; | |
| 5840 | } | ||
| 5841 | |||
| 5842 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "autocollisionPairs")) { |
| 5843 | |||
| 5844 | ✗ | _0RL_cd_914117f668a82e12_34000000 _call_desc(_0RL_lcfn_914117f668a82e12_44000000, "autocollisionPairs", 19, 1); | |
| 5845 | |||
| 5846 | ✗ | _handle.upcall(this,_call_desc); | |
| 5847 | ✗ | return 1; | |
| 5848 | } | ||
| 5849 | |||
| 5850 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "setAutoCollision")) { |
| 5851 | |||
| 5852 | ✗ | _0RL_cd_914117f668a82e12_54000000 _call_desc(_0RL_lcfn_914117f668a82e12_64000000, "setAutoCollision", 17, 1); | |
| 5853 | |||
| 5854 | ✗ | _handle.upcall(this,_call_desc); | |
| 5855 | ✗ | return 1; | |
| 5856 | } | ||
| 5857 | |||
| 5858 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getRobotAABB")) { |
| 5859 | |||
| 5860 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_74000000, "getRobotAABB", 13, 1); | |
| 5861 | |||
| 5862 | ✗ | _handle.upcall(this,_call_desc); | |
| 5863 | ✗ | return 1; | |
| 5864 | } | ||
| 5865 | |||
| 5866 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getMass")) { |
| 5867 | |||
| 5868 | ✗ | _0RL_cd_914117f668a82e12_84000000 _call_desc(_0RL_lcfn_914117f668a82e12_94000000, "getMass", 8, 1); | |
| 5869 | |||
| 5870 | ✗ | _handle.upcall(this,_call_desc); | |
| 5871 | ✗ | return 1; | |
| 5872 | } | ||
| 5873 | |||
| 5874 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getCenterOfMass")) { |
| 5875 | |||
| 5876 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_a4000000, "getCenterOfMass", 16, 1); | |
| 5877 | |||
| 5878 | ✗ | _handle.upcall(this,_call_desc); | |
| 5879 | ✗ | return 1; | |
| 5880 | } | ||
| 5881 | |||
| 5882 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getCenterOfMassVelocity")) { |
| 5883 | |||
| 5884 | ✗ | _0RL_cd_914117f668a82e12_33000000 _call_desc(_0RL_lcfn_914117f668a82e12_b4000000, "getCenterOfMassVelocity", 24, 1); | |
| 5885 | |||
| 5886 | ✗ | _handle.upcall(this,_call_desc); | |
| 5887 | ✗ | return 1; | |
| 5888 | } | ||
| 5889 | |||
| 5890 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getJacobianCenterOfMass")) { |
| 5891 | |||
| 5892 | ✗ | _0RL_cd_914117f668a82e12_c4000000 _call_desc(_0RL_lcfn_914117f668a82e12_d4000000, "getJacobianCenterOfMass", 24, 1); | |
| 5893 | |||
| 5894 | ✗ | _handle.upcall(this,_call_desc); | |
| 5895 | ✗ | return 1; | |
| 5896 | } | ||
| 5897 | |||
| 5898 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "addPartialCom")) { |
| 5899 | |||
| 5900 | ✗ | _0RL_cd_914117f668a82e12_e4000000 _call_desc(_0RL_lcfn_914117f668a82e12_f4000000, "addPartialCom", 14, 1); | |
| 5901 | |||
| 5902 | ✗ | _handle.upcall(this,_call_desc); | |
| 5903 | ✗ | return 1; | |
| 5904 | } | ||
| 5905 | |||
| 5906 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getPartialCom")) { |
| 5907 | |||
| 5908 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_05000000, "getPartialCom", 14, 1); | |
| 5909 | |||
| 5910 | ✗ | _handle.upcall(this,_call_desc); | |
| 5911 | ✗ | return 1; | |
| 5912 | } | ||
| 5913 | |||
| 5914 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getJacobianPartialCom")) { |
| 5915 | |||
| 5916 | ✗ | _0RL_cd_914117f668a82e12_51000000 _call_desc(_0RL_lcfn_914117f668a82e12_15000000, "getJacobianPartialCom", 22, 1); | |
| 5917 | |||
| 5918 | ✗ | _handle.upcall(this,_call_desc); | |
| 5919 | ✗ | return 1; | |
| 5920 | } | ||
| 5921 | |||
| 5922 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 50 times.
|
50 | if (omni::strMatch(op, "getVelocityPartialCom")) { |
| 5923 | |||
| 5924 | ✗ | _0RL_cd_914117f668a82e12_e0000000 _call_desc(_0RL_lcfn_914117f668a82e12_25000000, "getVelocityPartialCom", 22, 1); | |
| 5925 | |||
| 5926 | ✗ | _handle.upcall(this,_call_desc); | |
| 5927 | ✗ | return 1; | |
| 5928 | } | ||
| 5929 | |||
| 5930 |
2/2✓ Branch 1 taken 7 times.
✓ Branch 2 taken 43 times.
|
50 | if (omni::strMatch(op, "getRobotName")) { |
| 5931 | |||
| 5932 | 7 | _0RL_cd_914117f668a82e12_35000000 _call_desc(_0RL_lcfn_914117f668a82e12_45000000, "getRobotName", 13, 1); | |
| 5933 | |||
| 5934 |
1/2✓ Branch 1 taken 7 times.
✗ Branch 2 not taken.
|
7 | _handle.upcall(this,_call_desc); |
| 5935 | 7 | return 1; | |
| 5936 | 7 | } | |
| 5937 | |||
| 5938 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 43 times.
|
43 | if (omni::strMatch(op, "getCenterOfMassComputation")) { |
| 5939 | |||
| 5940 | ✗ | _0RL_cd_914117f668a82e12_55000000 _call_desc(_0RL_lcfn_914117f668a82e12_65000000, "getCenterOfMassComputation", 27, 1); | |
| 5941 | |||
| 5942 | ✗ | _handle.upcall(this,_call_desc); | |
| 5943 | ✗ | return 1; | |
| 5944 | } | ||
| 5945 | |||
| 5946 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 2 taken 37 times.
|
43 | if (omni::strMatch(op, "createRobot")) { |
| 5947 | |||
| 5948 | 6 | _0RL_cd_914117f668a82e12_75000000 _call_desc(_0RL_lcfn_914117f668a82e12_85000000, "createRobot", 12, 1); | |
| 5949 | |||
| 5950 |
1/2✓ Branch 1 taken 6 times.
✗ Branch 2 not taken.
|
6 | _handle.upcall(this,_call_desc); |
| 5951 | 6 | return 1; | |
| 5952 | 6 | } | |
| 5953 | |||
| 5954 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 2 taken 24 times.
|
37 | if (omni::strMatch(op, "appendJoint")) { |
| 5955 | |||
| 5956 | 13 | _0RL_cd_914117f668a82e12_95000000 _call_desc(_0RL_lcfn_914117f668a82e12_a5000000, "appendJoint", 12, 1); | |
| 5957 | |||
| 5958 |
1/2✓ Branch 1 taken 13 times.
✗ Branch 2 not taken.
|
13 | _handle.upcall(this,_call_desc); |
| 5959 | 13 | return 1; | |
| 5960 | 13 | } | |
| 5961 | |||
| 5962 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 24 times.
|
24 | if (omni::strMatch(op, "createPolyhedron")) { |
| 5963 | |||
| 5964 | ✗ | _0RL_cd_914117f668a82e12_75000000 _call_desc(_0RL_lcfn_914117f668a82e12_b5000000, "createPolyhedron", 17, 1); | |
| 5965 | |||
| 5966 | ✗ | _handle.upcall(this,_call_desc); | |
| 5967 | ✗ | return 1; | |
| 5968 | } | ||
| 5969 | |||
| 5970 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 24 times.
|
24 | if (omni::strMatch(op, "createBox")) { |
| 5971 | |||
| 5972 | ✗ | _0RL_cd_914117f668a82e12_c5000000 _call_desc(_0RL_lcfn_914117f668a82e12_d5000000, "createBox", 10, 1); | |
| 5973 | |||
| 5974 | ✗ | _handle.upcall(this,_call_desc); | |
| 5975 | ✗ | return 1; | |
| 5976 | } | ||
| 5977 | |||
| 5978 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 2 taken 12 times.
|
24 | if (omni::strMatch(op, "createSphere")) { |
| 5979 | |||
| 5980 | 12 | _0RL_cd_914117f668a82e12_e5000000 _call_desc(_0RL_lcfn_914117f668a82e12_f5000000, "createSphere", 13, 1); | |
| 5981 | |||
| 5982 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | _handle.upcall(this,_call_desc); |
| 5983 | 12 | return 1; | |
| 5984 | 12 | } | |
| 5985 | |||
| 5986 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
|
12 | if (omni::strMatch(op, "createCylinder")) { |
| 5987 | |||
| 5988 | ✗ | _0RL_cd_914117f668a82e12_06000000 _call_desc(_0RL_lcfn_914117f668a82e12_16000000, "createCylinder", 15, 1); | |
| 5989 | |||
| 5990 | ✗ | _handle.upcall(this,_call_desc); | |
| 5991 | ✗ | return 1; | |
| 5992 | } | ||
| 5993 | |||
| 5994 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
|
12 | if (omni::strMatch(op, "addPoint")) { |
| 5995 | |||
| 5996 | ✗ | _0RL_cd_914117f668a82e12_26000000 _call_desc(_0RL_lcfn_914117f668a82e12_36000000, "addPoint", 9, 1); | |
| 5997 | |||
| 5998 | ✗ | _handle.upcall(this,_call_desc); | |
| 5999 | ✗ | return 1; | |
| 6000 | } | ||
| 6001 | |||
| 6002 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
|
12 | if (omni::strMatch(op, "addTriangle")) { |
| 6003 | |||
| 6004 | ✗ | _0RL_cd_914117f668a82e12_46000000 _call_desc(_0RL_lcfn_914117f668a82e12_56000000, "addTriangle", 12, 1); | |
| 6005 | |||
| 6006 | ✗ | _handle.upcall(this,_call_desc); | |
| 6007 | ✗ | return 1; | |
| 6008 | } | ||
| 6009 | |||
| 6010 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | if (omni::strMatch(op, "addObjectToJoint")) { |
| 6011 | |||
| 6012 | 12 | _0RL_cd_914117f668a82e12_66000000 _call_desc(_0RL_lcfn_914117f668a82e12_76000000, "addObjectToJoint", 17, 1); | |
| 6013 | |||
| 6014 |
1/2✓ Branch 1 taken 12 times.
✗ Branch 2 not taken.
|
12 | _handle.upcall(this,_call_desc); |
| 6015 | 12 | return 1; | |
| 6016 | 12 | } | |
| 6017 | |||
| 6018 | |||
| 6019 | ✗ | return 0; | |
| 6020 | } | ||
| 6021 | |||
| 6022 | void* | ||
| 6023 | 98 | hpp::corbaserver::_impl_Robot::_ptrToInterface(const char* id) | |
| 6024 | { | ||
| 6025 |
1/2✓ Branch 0 taken 98 times.
✗ Branch 1 not taken.
|
98 | if (id == ::hpp::corbaserver::Robot::_PD_repoId) |
| 6026 | 98 | return (::hpp::corbaserver::_impl_Robot*) this; | |
| 6027 | |||
| 6028 | ✗ | if (id == ::CORBA::Object::_PD_repoId) | |
| 6029 | ✗ | return (void*) 1; | |
| 6030 | |||
| 6031 | ✗ | if (omni::strMatch(id, ::hpp::corbaserver::Robot::_PD_repoId)) | |
| 6032 | ✗ | return (::hpp::corbaserver::_impl_Robot*) this; | |
| 6033 | |||
| 6034 | ✗ | if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) | |
| 6035 | ✗ | return (void*) 1; | |
| 6036 | ✗ | return 0; | |
| 6037 | } | ||
| 6038 | |||
| 6039 | const char* | ||
| 6040 | 17 | hpp::corbaserver::_impl_Robot::_mostDerivedRepoId() | |
| 6041 | { | ||
| 6042 | 17 | return ::hpp::corbaserver::Robot::_PD_repoId; | |
| 6043 | } | ||
| 6044 | |||
| 6045 | ✗ | POA_hpp::corbaserver::Robot::~Robot() {} | |
| 6046 | |||
| 6047 |