| Line |
Branch |
Exec |
Source |
| 1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
| 2 |
|
|
|
| 3 |
|
|
#include "path_projectors-idl.hh" |
| 4 |
|
|
#include <omniORB4/IOP_S.h> |
| 5 |
|
|
#include <omniORB4/IOP_C.h> |
| 6 |
|
|
#include <omniORB4/callDescriptor.h> |
| 7 |
|
|
#include <omniORB4/callHandle.h> |
| 8 |
|
|
#include <omniORB4/objTracker.h> |
| 9 |
|
|
|
| 10 |
|
|
|
| 11 |
|
|
OMNI_USING_NAMESPACE(omni) |
| 12 |
|
|
|
| 13 |
|
|
OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3; |
| 14 |
|
|
|
| 15 |
|
|
|
| 16 |
|
|
|
| 17 |
|
✗ |
hpp::core_idl::PathProjector_ptr hpp::core_idl::PathProjector_Helper::_nil() { |
| 18 |
|
✗ |
return ::hpp::core_idl::PathProjector::_nil(); |
| 19 |
|
|
} |
| 20 |
|
|
|
| 21 |
|
✗ |
::CORBA::Boolean hpp::core_idl::PathProjector_Helper::is_nil(::hpp::core_idl::PathProjector_ptr p) { |
| 22 |
|
✗ |
return ::CORBA::is_nil(p); |
| 23 |
|
|
|
| 24 |
|
|
} |
| 25 |
|
|
|
| 26 |
|
✗ |
void hpp::core_idl::PathProjector_Helper::release(::hpp::core_idl::PathProjector_ptr p) { |
| 27 |
|
✗ |
::CORBA::release(p); |
| 28 |
|
|
} |
| 29 |
|
|
|
| 30 |
|
✗ |
void hpp::core_idl::PathProjector_Helper::marshalObjRef(::hpp::core_idl::PathProjector_ptr obj, cdrStream& s) { |
| 31 |
|
✗ |
::hpp::core_idl::PathProjector::_marshalObjRef(obj, s); |
| 32 |
|
|
} |
| 33 |
|
|
|
| 34 |
|
✗ |
hpp::core_idl::PathProjector_ptr hpp::core_idl::PathProjector_Helper::unmarshalObjRef(cdrStream& s) { |
| 35 |
|
✗ |
return ::hpp::core_idl::PathProjector::_unmarshalObjRef(s); |
| 36 |
|
|
} |
| 37 |
|
|
|
| 38 |
|
✗ |
void hpp::core_idl::PathProjector_Helper::duplicate(::hpp::core_idl::PathProjector_ptr obj) { |
| 39 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
| 40 |
|
|
} |
| 41 |
|
|
|
| 42 |
|
|
hpp::core_idl::PathProjector_ptr |
| 43 |
|
✗ |
hpp::core_idl::PathProjector::_duplicate(::hpp::core_idl::PathProjector_ptr obj) |
| 44 |
|
|
{ |
| 45 |
|
✗ |
if (obj && !obj->_NP_is_nil()) omni::duplicateObjRef(obj); |
| 46 |
|
✗ |
return obj; |
| 47 |
|
|
} |
| 48 |
|
|
|
| 49 |
|
|
hpp::core_idl::PathProjector_ptr |
| 50 |
|
✗ |
hpp::core_idl::PathProjector::_narrow(::CORBA::Object_ptr obj) |
| 51 |
|
|
{ |
| 52 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
| 53 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); |
| 54 |
|
✗ |
return e ? e : _nil(); |
| 55 |
|
|
} |
| 56 |
|
|
|
| 57 |
|
|
|
| 58 |
|
|
hpp::core_idl::PathProjector_ptr |
| 59 |
|
✗ |
hpp::core_idl::PathProjector::_unchecked_narrow(::CORBA::Object_ptr obj) |
| 60 |
|
|
{ |
| 61 |
|
✗ |
if (!obj || obj->_NP_is_nil() || obj->_NP_is_pseudo()) return _nil(); |
| 62 |
|
✗ |
_ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId); |
| 63 |
|
✗ |
return e ? e : _nil(); |
| 64 |
|
|
} |
| 65 |
|
|
|
| 66 |
|
|
hpp::core_idl::PathProjector_ptr |
| 67 |
|
✗ |
hpp::core_idl::PathProjector::_nil() |
| 68 |
|
|
{ |
| 69 |
|
|
#ifdef OMNI_UNLOADABLE_STUBS |
| 70 |
|
|
static _objref_PathProjector _the_nil_obj; |
| 71 |
|
|
return &_the_nil_obj; |
| 72 |
|
|
#else |
| 73 |
|
|
static _objref_PathProjector* _the_nil_ptr = 0; |
| 74 |
|
✗ |
if (!_the_nil_ptr) { |
| 75 |
|
✗ |
omni::nilRefLock().lock(); |
| 76 |
|
✗ |
if (!_the_nil_ptr) { |
| 77 |
|
✗ |
_the_nil_ptr = new _objref_PathProjector; |
| 78 |
|
✗ |
registerNilCorbaObject(_the_nil_ptr); |
| 79 |
|
|
} |
| 80 |
|
✗ |
omni::nilRefLock().unlock(); |
| 81 |
|
|
} |
| 82 |
|
✗ |
return _the_nil_ptr; |
| 83 |
|
|
#endif |
| 84 |
|
|
} |
| 85 |
|
|
|
| 86 |
|
|
const char* hpp::core_idl::PathProjector::_PD_repoId = "IDL:hpp/core_idl/PathProjector:1.0"; |
| 87 |
|
|
|
| 88 |
|
|
|
| 89 |
|
✗ |
hpp::core_idl::_objref_PathProjector::~_objref_PathProjector() { |
| 90 |
|
|
|
| 91 |
|
|
} |
| 92 |
|
|
|
| 93 |
|
|
|
| 94 |
|
✗ |
hpp::core_idl::_objref_PathProjector::_objref_PathProjector(omniIOR* ior, omniIdentity* id) : |
| 95 |
|
✗ |
omniObjRef(::hpp::core_idl::PathProjector::_PD_repoId, ior, id, 1) |
| 96 |
|
|
|
| 97 |
|
|
|
| 98 |
|
|
{ |
| 99 |
|
✗ |
_PR_setobj(this); |
| 100 |
|
|
} |
| 101 |
|
|
|
| 102 |
|
|
void* |
| 103 |
|
✗ |
hpp::core_idl::_objref_PathProjector::_ptrToObjRef(const char* id) |
| 104 |
|
|
{ |
| 105 |
|
✗ |
if (id == ::hpp::core_idl::PathProjector::_PD_repoId) |
| 106 |
|
✗ |
return (::hpp::core_idl::PathProjector_ptr) this; |
| 107 |
|
|
|
| 108 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
| 109 |
|
✗ |
return (::CORBA::Object_ptr) this; |
| 110 |
|
|
|
| 111 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathProjector::_PD_repoId)) |
| 112 |
|
✗ |
return (::hpp::core_idl::PathProjector_ptr) this; |
| 113 |
|
|
|
| 114 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
| 115 |
|
✗ |
return (::CORBA::Object_ptr) this; |
| 116 |
|
|
|
| 117 |
|
✗ |
return 0; |
| 118 |
|
|
} |
| 119 |
|
|
|
| 120 |
|
|
|
| 121 |
|
|
// |
| 122 |
|
|
// Code for hpp::core_idl::PathProjector::deleteThis |
| 123 |
|
|
|
| 124 |
|
|
// Proxy call descriptor class. Mangled signature: |
| 125 |
|
|
// void_e_chpp_mError |
| 126 |
|
|
class _0RL_cd_3d9713bd96d4a612_00000000 |
| 127 |
|
|
: public omniCallDescriptor |
| 128 |
|
|
{ |
| 129 |
|
|
public: |
| 130 |
|
✗ |
inline _0RL_cd_3d9713bd96d4a612_00000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
| 131 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
| 132 |
|
|
{ |
| 133 |
|
|
|
| 134 |
|
|
} |
| 135 |
|
|
|
| 136 |
|
|
|
| 137 |
|
|
|
| 138 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
| 139 |
|
|
static const char* const _user_exns[]; |
| 140 |
|
|
|
| 141 |
|
|
|
| 142 |
|
|
}; |
| 143 |
|
|
|
| 144 |
|
|
const char* const _0RL_cd_3d9713bd96d4a612_00000000::_user_exns[] = { |
| 145 |
|
|
hpp::Error::_PD_repoId |
| 146 |
|
|
}; |
| 147 |
|
|
|
| 148 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_00000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
| 149 |
|
|
{ |
| 150 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
| 151 |
|
✗ |
hpp::Error _ex; |
| 152 |
|
✗ |
_ex <<= s; |
| 153 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
| 154 |
|
✗ |
throw _ex; |
| 155 |
|
|
} |
| 156 |
|
|
|
| 157 |
|
|
|
| 158 |
|
|
else { |
| 159 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
| 160 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
| 161 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
| 162 |
|
|
} |
| 163 |
|
|
} |
| 164 |
|
|
|
| 165 |
|
|
// Local call call-back function. |
| 166 |
|
|
static void |
| 167 |
|
✗ |
_0RL_lcfn_3d9713bd96d4a612_10000000(omniCallDescriptor* _OMNIORB_EX_ONLY_CD(cd), omniServant* svnt) |
| 168 |
|
|
{ |
| 169 |
|
|
|
| 170 |
|
✗ |
hpp::core_idl::_impl_PathProjector* impl = (hpp::core_idl::_impl_PathProjector*) svnt->_ptrToInterface(hpp::core_idl::PathProjector::_PD_repoId); |
| 171 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
| 172 |
|
✗ |
impl->deleteThis(); |
| 173 |
|
|
#else |
| 174 |
|
|
if (!cd->is_upcall()) |
| 175 |
|
|
impl->deleteThis(); |
| 176 |
|
|
else { |
| 177 |
|
|
try { |
| 178 |
|
|
impl->deleteThis(); |
| 179 |
|
|
} |
| 180 |
|
|
catch(hpp::Error& ex) { |
| 181 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
| 182 |
|
|
} |
| 183 |
|
|
|
| 184 |
|
|
|
| 185 |
|
|
} |
| 186 |
|
|
#endif |
| 187 |
|
|
|
| 188 |
|
|
|
| 189 |
|
|
} |
| 190 |
|
|
|
| 191 |
|
✗ |
void hpp::core_idl::_objref_PathProjector::deleteThis() |
| 192 |
|
|
{ |
| 193 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_00000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_10000000, "deleteThis", 11); |
| 194 |
|
|
|
| 195 |
|
|
|
| 196 |
|
✗ |
_invoke(_call_desc); |
| 197 |
|
|
|
| 198 |
|
|
|
| 199 |
|
|
|
| 200 |
|
|
} |
| 201 |
|
|
|
| 202 |
|
|
|
| 203 |
|
|
// |
| 204 |
|
|
// Code for hpp::core_idl::PathProjector::deleteIfExpired |
| 205 |
|
|
|
| 206 |
|
|
// Proxy call descriptor class. Mangled signature: |
| 207 |
|
|
// _cboolean_e_chpp_mError |
| 208 |
|
|
class _0RL_cd_3d9713bd96d4a612_20000000 |
| 209 |
|
|
: public omniCallDescriptor |
| 210 |
|
|
{ |
| 211 |
|
|
public: |
| 212 |
|
✗ |
inline _0RL_cd_3d9713bd96d4a612_20000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
| 213 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
| 214 |
|
|
{ |
| 215 |
|
|
|
| 216 |
|
|
} |
| 217 |
|
|
|
| 218 |
|
|
|
| 219 |
|
|
void unmarshalReturnedValues(cdrStream&); |
| 220 |
|
|
void marshalReturnedValues(cdrStream&); |
| 221 |
|
|
|
| 222 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
| 223 |
|
|
static const char* const _user_exns[]; |
| 224 |
|
|
|
| 225 |
|
|
::CORBA::Boolean result; |
| 226 |
|
|
}; |
| 227 |
|
|
|
| 228 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_20000000::marshalReturnedValues(cdrStream& _n) |
| 229 |
|
|
{ |
| 230 |
|
✗ |
_n.marshalBoolean(result); |
| 231 |
|
|
|
| 232 |
|
|
} |
| 233 |
|
|
|
| 234 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_20000000::unmarshalReturnedValues(cdrStream& _n) |
| 235 |
|
|
{ |
| 236 |
|
✗ |
result = _n.unmarshalBoolean(); |
| 237 |
|
|
|
| 238 |
|
|
} |
| 239 |
|
|
|
| 240 |
|
|
const char* const _0RL_cd_3d9713bd96d4a612_20000000::_user_exns[] = { |
| 241 |
|
|
hpp::Error::_PD_repoId |
| 242 |
|
|
}; |
| 243 |
|
|
|
| 244 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_20000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
| 245 |
|
|
{ |
| 246 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
| 247 |
|
✗ |
hpp::Error _ex; |
| 248 |
|
✗ |
_ex <<= s; |
| 249 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
| 250 |
|
✗ |
throw _ex; |
| 251 |
|
|
} |
| 252 |
|
|
|
| 253 |
|
|
|
| 254 |
|
|
else { |
| 255 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
| 256 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
| 257 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
| 258 |
|
|
} |
| 259 |
|
|
} |
| 260 |
|
|
|
| 261 |
|
|
// Local call call-back function. |
| 262 |
|
|
static void |
| 263 |
|
✗ |
_0RL_lcfn_3d9713bd96d4a612_30000000(omniCallDescriptor* cd, omniServant* svnt) |
| 264 |
|
|
{ |
| 265 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_20000000* tcd = (_0RL_cd_3d9713bd96d4a612_20000000*)cd; |
| 266 |
|
✗ |
hpp::core_idl::_impl_PathProjector* impl = (hpp::core_idl::_impl_PathProjector*) svnt->_ptrToInterface(hpp::core_idl::PathProjector::_PD_repoId); |
| 267 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
| 268 |
|
✗ |
tcd->result = impl->deleteIfExpired(); |
| 269 |
|
|
#else |
| 270 |
|
|
if (!cd->is_upcall()) |
| 271 |
|
|
tcd->result = impl->deleteIfExpired(); |
| 272 |
|
|
else { |
| 273 |
|
|
try { |
| 274 |
|
|
tcd->result = impl->deleteIfExpired(); |
| 275 |
|
|
} |
| 276 |
|
|
catch(hpp::Error& ex) { |
| 277 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
| 278 |
|
|
} |
| 279 |
|
|
|
| 280 |
|
|
|
| 281 |
|
|
} |
| 282 |
|
|
#endif |
| 283 |
|
|
|
| 284 |
|
|
|
| 285 |
|
|
} |
| 286 |
|
|
|
| 287 |
|
✗ |
::CORBA::Boolean hpp::core_idl::_objref_PathProjector::deleteIfExpired() |
| 288 |
|
|
{ |
| 289 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_20000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_30000000, "deleteIfExpired", 16); |
| 290 |
|
|
|
| 291 |
|
|
|
| 292 |
|
✗ |
_invoke(_call_desc); |
| 293 |
|
✗ |
return _call_desc.result; |
| 294 |
|
|
|
| 295 |
|
|
|
| 296 |
|
|
} |
| 297 |
|
|
|
| 298 |
|
|
|
| 299 |
|
|
// |
| 300 |
|
|
// Code for hpp::core_idl::PathProjector::persistantStorage |
| 301 |
|
|
|
| 302 |
|
|
// Proxy call descriptor class. Mangled signature: |
| 303 |
|
|
// void_i_cboolean_e_chpp_mError |
| 304 |
|
|
class _0RL_cd_3d9713bd96d4a612_40000000 |
| 305 |
|
|
: public omniCallDescriptor |
| 306 |
|
|
{ |
| 307 |
|
|
public: |
| 308 |
|
✗ |
inline _0RL_cd_3d9713bd96d4a612_40000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
| 309 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
| 310 |
|
|
{ |
| 311 |
|
|
|
| 312 |
|
|
} |
| 313 |
|
|
|
| 314 |
|
|
void marshalArguments(cdrStream&); |
| 315 |
|
|
void unmarshalArguments(cdrStream&); |
| 316 |
|
|
|
| 317 |
|
|
|
| 318 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
| 319 |
|
|
static const char* const _user_exns[]; |
| 320 |
|
|
|
| 321 |
|
|
::CORBA::Boolean arg_0; |
| 322 |
|
|
}; |
| 323 |
|
|
|
| 324 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_40000000::marshalArguments(cdrStream& _n) |
| 325 |
|
|
{ |
| 326 |
|
✗ |
_n.marshalBoolean(arg_0); |
| 327 |
|
|
|
| 328 |
|
|
} |
| 329 |
|
|
|
| 330 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_40000000::unmarshalArguments(cdrStream& _n) |
| 331 |
|
|
{ |
| 332 |
|
✗ |
arg_0 = _n.unmarshalBoolean(); |
| 333 |
|
|
|
| 334 |
|
|
} |
| 335 |
|
|
|
| 336 |
|
|
const char* const _0RL_cd_3d9713bd96d4a612_40000000::_user_exns[] = { |
| 337 |
|
|
hpp::Error::_PD_repoId |
| 338 |
|
|
}; |
| 339 |
|
|
|
| 340 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_40000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
| 341 |
|
|
{ |
| 342 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
| 343 |
|
✗ |
hpp::Error _ex; |
| 344 |
|
✗ |
_ex <<= s; |
| 345 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
| 346 |
|
✗ |
throw _ex; |
| 347 |
|
|
} |
| 348 |
|
|
|
| 349 |
|
|
|
| 350 |
|
|
else { |
| 351 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
| 352 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
| 353 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
| 354 |
|
|
} |
| 355 |
|
|
} |
| 356 |
|
|
|
| 357 |
|
|
// Local call call-back function. |
| 358 |
|
|
static void |
| 359 |
|
✗ |
_0RL_lcfn_3d9713bd96d4a612_50000000(omniCallDescriptor* cd, omniServant* svnt) |
| 360 |
|
|
{ |
| 361 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_40000000* tcd = (_0RL_cd_3d9713bd96d4a612_40000000*)cd; |
| 362 |
|
✗ |
hpp::core_idl::_impl_PathProjector* impl = (hpp::core_idl::_impl_PathProjector*) svnt->_ptrToInterface(hpp::core_idl::PathProjector::_PD_repoId); |
| 363 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
| 364 |
|
✗ |
impl->persistantStorage(tcd->arg_0); |
| 365 |
|
|
#else |
| 366 |
|
|
if (!cd->is_upcall()) |
| 367 |
|
|
impl->persistantStorage(tcd->arg_0); |
| 368 |
|
|
else { |
| 369 |
|
|
try { |
| 370 |
|
|
impl->persistantStorage(tcd->arg_0); |
| 371 |
|
|
} |
| 372 |
|
|
catch(hpp::Error& ex) { |
| 373 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
| 374 |
|
|
} |
| 375 |
|
|
|
| 376 |
|
|
|
| 377 |
|
|
} |
| 378 |
|
|
#endif |
| 379 |
|
|
|
| 380 |
|
|
|
| 381 |
|
|
} |
| 382 |
|
|
|
| 383 |
|
✗ |
void hpp::core_idl::_objref_PathProjector::persistantStorage(::CORBA::Boolean persistant) |
| 384 |
|
|
{ |
| 385 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_40000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_50000000, "persistantStorage", 18); |
| 386 |
|
✗ |
_call_desc.arg_0 = persistant; |
| 387 |
|
|
|
| 388 |
|
✗ |
_invoke(_call_desc); |
| 389 |
|
|
|
| 390 |
|
|
|
| 391 |
|
|
|
| 392 |
|
|
} |
| 393 |
|
|
|
| 394 |
|
|
|
| 395 |
|
|
// |
| 396 |
|
|
// Code for hpp::core_idl::PathProjector::apply |
| 397 |
|
|
|
| 398 |
|
|
// Proxy call descriptor class. Mangled signature: |
| 399 |
|
|
// _chpp_mcore__idl_mPath_i_chpp_mcore__idl_mPath_o_cboolean_e_chpp_mError |
| 400 |
|
|
class _0RL_cd_3d9713bd96d4a612_60000000 |
| 401 |
|
|
: public omniCallDescriptor |
| 402 |
|
|
{ |
| 403 |
|
|
public: |
| 404 |
|
✗ |
inline _0RL_cd_3d9713bd96d4a612_60000000(LocalCallFn lcfn, const char* op_, size_t oplen, _CORBA_Boolean upcall=0) |
| 405 |
|
✗ |
: omniCallDescriptor(lcfn, op_, oplen, 0, _user_exns, 1, upcall) |
| 406 |
|
|
{ |
| 407 |
|
|
|
| 408 |
|
|
} |
| 409 |
|
|
|
| 410 |
|
|
void marshalArguments(cdrStream&); |
| 411 |
|
|
void unmarshalArguments(cdrStream&); |
| 412 |
|
|
|
| 413 |
|
|
void unmarshalReturnedValues(cdrStream&); |
| 414 |
|
|
void marshalReturnedValues(cdrStream&); |
| 415 |
|
|
|
| 416 |
|
|
void userException(cdrStream&, _OMNI_NS(IOP_C)*, const char*); |
| 417 |
|
|
static const char* const _user_exns[]; |
| 418 |
|
|
|
| 419 |
|
|
hpp::core_idl::Path_var arg_0_; |
| 420 |
|
|
hpp::core_idl::Path_ptr arg_0; |
| 421 |
|
|
::CORBA::Boolean arg_1; |
| 422 |
|
|
hpp::core_idl::Path_var result; |
| 423 |
|
|
}; |
| 424 |
|
|
|
| 425 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_60000000::marshalArguments(cdrStream& _n) |
| 426 |
|
|
{ |
| 427 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(arg_0,_n); |
| 428 |
|
|
|
| 429 |
|
|
} |
| 430 |
|
|
|
| 431 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_60000000::unmarshalArguments(cdrStream& _n) |
| 432 |
|
|
{ |
| 433 |
|
✗ |
arg_0_ = hpp::core_idl::Path::_unmarshalObjRef(_n); |
| 434 |
|
✗ |
arg_0 = arg_0_.in(); |
| 435 |
|
|
|
| 436 |
|
|
} |
| 437 |
|
|
|
| 438 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_60000000::marshalReturnedValues(cdrStream& _n) |
| 439 |
|
|
{ |
| 440 |
|
✗ |
hpp::core_idl::Path::_marshalObjRef(result,_n); |
| 441 |
|
✗ |
_n.marshalBoolean(arg_1); |
| 442 |
|
|
|
| 443 |
|
|
} |
| 444 |
|
|
|
| 445 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_60000000::unmarshalReturnedValues(cdrStream& _n) |
| 446 |
|
|
{ |
| 447 |
|
✗ |
result = hpp::core_idl::Path::_unmarshalObjRef(_n); |
| 448 |
|
✗ |
arg_1 = _n.unmarshalBoolean(); |
| 449 |
|
|
|
| 450 |
|
|
} |
| 451 |
|
|
|
| 452 |
|
|
const char* const _0RL_cd_3d9713bd96d4a612_60000000::_user_exns[] = { |
| 453 |
|
|
hpp::Error::_PD_repoId |
| 454 |
|
|
}; |
| 455 |
|
|
|
| 456 |
|
✗ |
void _0RL_cd_3d9713bd96d4a612_60000000::userException(cdrStream& s, _OMNI_NS(IOP_C)* iop_client, const char* repoId) |
| 457 |
|
|
{ |
| 458 |
|
✗ |
if (omni::strMatch(repoId, hpp::Error::_PD_repoId)) { |
| 459 |
|
✗ |
hpp::Error _ex; |
| 460 |
|
✗ |
_ex <<= s; |
| 461 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(); |
| 462 |
|
✗ |
throw _ex; |
| 463 |
|
|
} |
| 464 |
|
|
|
| 465 |
|
|
|
| 466 |
|
|
else { |
| 467 |
|
✗ |
if (iop_client) iop_client->RequestCompleted(1); |
| 468 |
|
✗ |
OMNIORB_THROW(UNKNOWN,UNKNOWN_UserException, |
| 469 |
|
|
(::CORBA::CompletionStatus)s.completion()); |
| 470 |
|
|
} |
| 471 |
|
|
} |
| 472 |
|
|
|
| 473 |
|
|
// Local call call-back function. |
| 474 |
|
|
static void |
| 475 |
|
✗ |
_0RL_lcfn_3d9713bd96d4a612_70000000(omniCallDescriptor* cd, omniServant* svnt) |
| 476 |
|
|
{ |
| 477 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_60000000* tcd = (_0RL_cd_3d9713bd96d4a612_60000000*)cd; |
| 478 |
|
✗ |
hpp::core_idl::_impl_PathProjector* impl = (hpp::core_idl::_impl_PathProjector*) svnt->_ptrToInterface(hpp::core_idl::PathProjector::_PD_repoId); |
| 479 |
|
|
#ifdef OMNI_HAS_Cplusplus_catch_exception_by_base |
| 480 |
|
✗ |
tcd->result = impl->apply(tcd->arg_0, tcd->arg_1); |
| 481 |
|
|
#else |
| 482 |
|
|
if (!cd->is_upcall()) |
| 483 |
|
|
tcd->result = impl->apply(tcd->arg_0, tcd->arg_1); |
| 484 |
|
|
else { |
| 485 |
|
|
try { |
| 486 |
|
|
tcd->result = impl->apply(tcd->arg_0, tcd->arg_1); |
| 487 |
|
|
} |
| 488 |
|
|
catch(hpp::Error& ex) { |
| 489 |
|
|
throw omniORB::StubUserException(ex._NP_duplicate()); |
| 490 |
|
|
} |
| 491 |
|
|
|
| 492 |
|
|
|
| 493 |
|
|
} |
| 494 |
|
|
#endif |
| 495 |
|
|
|
| 496 |
|
|
|
| 497 |
|
|
} |
| 498 |
|
|
|
| 499 |
|
✗ |
hpp::core_idl::Path_ptr hpp::core_idl::_objref_PathProjector::apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success) |
| 500 |
|
|
{ |
| 501 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_60000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_70000000, "apply", 6); |
| 502 |
|
✗ |
_call_desc.arg_0 = input; |
| 503 |
|
|
|
| 504 |
|
✗ |
_invoke(_call_desc); |
| 505 |
|
✗ |
success = _call_desc.arg_1; |
| 506 |
|
✗ |
return _call_desc.result._retn(); |
| 507 |
|
|
|
| 508 |
|
|
|
| 509 |
|
|
} |
| 510 |
|
|
|
| 511 |
|
16 |
hpp::core_idl::_pof_PathProjector::~_pof_PathProjector() {} |
| 512 |
|
|
|
| 513 |
|
|
|
| 514 |
|
|
omniObjRef* |
| 515 |
|
✗ |
hpp::core_idl::_pof_PathProjector::newObjRef(omniIOR* ior, omniIdentity* id) |
| 516 |
|
|
{ |
| 517 |
|
✗ |
return new ::hpp::core_idl::_objref_PathProjector(ior, id); |
| 518 |
|
|
} |
| 519 |
|
|
|
| 520 |
|
|
|
| 521 |
|
|
::CORBA::Boolean |
| 522 |
|
✗ |
hpp::core_idl::_pof_PathProjector::is_a(const char* id) const |
| 523 |
|
|
{ |
| 524 |
|
✗ |
if (omni::ptrStrMatch(id, ::hpp::core_idl::PathProjector::_PD_repoId)) |
| 525 |
|
✗ |
return 1; |
| 526 |
|
|
|
| 527 |
|
✗ |
return 0; |
| 528 |
|
|
} |
| 529 |
|
|
|
| 530 |
|
|
const hpp::core_idl::_pof_PathProjector _the_pof_hpp_mcore__idl_mPathProjector; |
| 531 |
|
|
|
| 532 |
|
✗ |
hpp::core_idl::_impl_PathProjector::~_impl_PathProjector() {} |
| 533 |
|
|
|
| 534 |
|
|
|
| 535 |
|
|
::CORBA::Boolean |
| 536 |
|
✗ |
hpp::core_idl::_impl_PathProjector::_dispatch(omniCallHandle& _handle) |
| 537 |
|
|
{ |
| 538 |
|
✗ |
const char* op = _handle.operation_name(); |
| 539 |
|
|
|
| 540 |
|
✗ |
if (omni::strMatch(op, "deleteThis")) { |
| 541 |
|
|
|
| 542 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_00000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_10000000, "deleteThis", 11, 1); |
| 543 |
|
|
|
| 544 |
|
✗ |
_handle.upcall(this,_call_desc); |
| 545 |
|
✗ |
return 1; |
| 546 |
|
|
} |
| 547 |
|
|
|
| 548 |
|
✗ |
if (omni::strMatch(op, "deleteIfExpired")) { |
| 549 |
|
|
|
| 550 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_20000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_30000000, "deleteIfExpired", 16, 1); |
| 551 |
|
|
|
| 552 |
|
✗ |
_handle.upcall(this,_call_desc); |
| 553 |
|
✗ |
return 1; |
| 554 |
|
|
} |
| 555 |
|
|
|
| 556 |
|
✗ |
if (omni::strMatch(op, "persistantStorage")) { |
| 557 |
|
|
|
| 558 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_40000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_50000000, "persistantStorage", 18, 1); |
| 559 |
|
|
|
| 560 |
|
✗ |
_handle.upcall(this,_call_desc); |
| 561 |
|
✗ |
return 1; |
| 562 |
|
|
} |
| 563 |
|
|
|
| 564 |
|
✗ |
if (omni::strMatch(op, "apply")) { |
| 565 |
|
|
|
| 566 |
|
✗ |
_0RL_cd_3d9713bd96d4a612_60000000 _call_desc(_0RL_lcfn_3d9713bd96d4a612_70000000, "apply", 6, 1); |
| 567 |
|
|
|
| 568 |
|
✗ |
_handle.upcall(this,_call_desc); |
| 569 |
|
✗ |
return 1; |
| 570 |
|
|
} |
| 571 |
|
|
|
| 572 |
|
|
|
| 573 |
|
✗ |
return 0; |
| 574 |
|
|
} |
| 575 |
|
|
|
| 576 |
|
|
void* |
| 577 |
|
✗ |
hpp::core_idl::_impl_PathProjector::_ptrToInterface(const char* id) |
| 578 |
|
|
{ |
| 579 |
|
✗ |
if (id == ::hpp::core_idl::PathProjector::_PD_repoId) |
| 580 |
|
✗ |
return (::hpp::core_idl::_impl_PathProjector*) this; |
| 581 |
|
|
|
| 582 |
|
✗ |
if (id == ::CORBA::Object::_PD_repoId) |
| 583 |
|
✗ |
return (void*) 1; |
| 584 |
|
|
|
| 585 |
|
✗ |
if (omni::strMatch(id, ::hpp::core_idl::PathProjector::_PD_repoId)) |
| 586 |
|
✗ |
return (::hpp::core_idl::_impl_PathProjector*) this; |
| 587 |
|
|
|
| 588 |
|
✗ |
if (omni::strMatch(id, ::CORBA::Object::_PD_repoId)) |
| 589 |
|
✗ |
return (void*) 1; |
| 590 |
|
✗ |
return 0; |
| 591 |
|
|
} |
| 592 |
|
|
|
| 593 |
|
|
const char* |
| 594 |
|
✗ |
hpp::core_idl::_impl_PathProjector::_mostDerivedRepoId() |
| 595 |
|
|
{ |
| 596 |
|
✗ |
return ::hpp::core_idl::PathProjector::_PD_repoId; |
| 597 |
|
|
} |
| 598 |
|
|
|
| 599 |
|
✗ |
POA_hpp::core_idl::PathProjector::~PathProjector() {} |
| 600 |
|
|
|
| 601 |
|
|
|