📄 poastubs.cc
字号:
PortableServer::_pof_ServantActivator::~_pof_ServantActivator() {}omniObjRef*PortableServer::_pof_ServantActivator::newObjRef(omniIOR* ior, omniIdentity* id){ return new PortableServer::_objref_ServantActivator(ior, id);}CORBA::BooleanPortableServer::_pof_ServantActivator::is_a(const char* id) const{ if( omni::ptrStrMatch(id, PortableServer::ServantActivator::_PD_repoId) ) return 1; if( omni::ptrStrMatch(id, PortableServer::ServantManager::_PD_repoId) ) return 1; return 0;}const PortableServer::_pof_ServantActivator _the_pof_PortableServer_mServantActivator;PortableServer::_impl_ServantActivator::~_impl_ServantActivator() {}CORBA::BooleanPortableServer::_impl_ServantActivator::_dispatch(omniCallHandle& handle){ return 0;}void*PortableServer::_impl_ServantActivator::_ptrToInterface(const char* id){ if( id == PortableServer::ServantActivator::_PD_repoId ) return (_impl_ServantActivator*) this; if( id == ServantManager::_PD_repoId ) return (_impl_ServantManager*) this; if( id == CORBA::Object::_PD_repoId ) return (void*) 1; if( omni::strMatch(id, PortableServer::ServantActivator::_PD_repoId) ) return (_impl_ServantActivator*) this; if( omni::strMatch(id, ServantManager::_PD_repoId) ) return (_impl_ServantManager*) this; if( omni::strMatch(id, CORBA::Object::_PD_repoId) ) return (void*) 1; return 0;}const char*PortableServer::_impl_ServantActivator::_mostDerivedRepoId(){ return PortableServer::ServantActivator::_PD_repoId;}PortableServer::ServantLocator_ptr PortableServer::ServantLocator_Helper::_nil() { return PortableServer::ServantLocator::_nil();}CORBA::Boolean PortableServer::ServantLocator_Helper::is_nil(PortableServer::ServantLocator_ptr p) { return CORBA::is_nil(p);}void PortableServer::ServantLocator_Helper::release(PortableServer::ServantLocator_ptr p) { CORBA::release(p);}void PortableServer::ServantLocator_Helper::duplicate(PortableServer::ServantLocator_ptr p) { if( p && !p->_NP_is_nil() ) omni::duplicateObjRef(p);}void PortableServer::ServantLocator_Helper::marshalObjRef(PortableServer::ServantLocator_ptr obj, cdrStream& s) { PortableServer::ServantLocator::_marshalObjRef(obj, s);}PortableServer::ServantLocator_ptr PortableServer::ServantLocator_Helper::unmarshalObjRef(cdrStream& s) { return PortableServer::ServantLocator::_unmarshalObjRef(s);}PortableServer::ServantLocator_ptrPortableServer::ServantLocator::_duplicate(PortableServer::ServantLocator_ptr obj){ if( obj && !obj->_NP_is_nil() ) omni::duplicateObjRef(obj); return obj;}PortableServer::ServantLocator_ptrPortableServer::ServantLocator::_narrow(CORBA::Object_ptr obj){ if( !obj || obj->_NP_is_nil() || obj->_NP_is_pseudo() ) return _nil(); _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId); return e ? e : _nil();}PortableServer::ServantLocator_ptrPortableServer::ServantLocator::_nil(){ static _objref_ServantLocator* _the_nil_ptr = 0; if( !_the_nil_ptr ) { omni::nilRefLock().lock(); if( !_the_nil_ptr ) { _the_nil_ptr = new _objref_ServantLocator(); registerNilCorbaObject(_the_nil_ptr); } omni::nilRefLock().unlock(); } return _the_nil_ptr;}const char* PortableServer::ServantLocator::_PD_repoId = "IDL:omg.org/PortableServer/ServantLocator:1.0";PortableServer::_objref_ServantLocator::~_objref_ServantLocator() {}PortableServer::_objref_ServantLocator::_objref_ServantLocator(omniIOR* ior, omniIdentity* id) : OMNIORB_BASE_CTOR(PortableServer::)_objref_ServantManager(ior, id), omniObjRef(PortableServer::ServantLocator::_PD_repoId, ior, id, 1), _shortcut(0){ _PR_setobj(this);}void*PortableServer::_objref_ServantLocator::_ptrToObjRef(const char* id){ if( id == PortableServer::ServantLocator::_PD_repoId ) return (PortableServer::ServantLocator_ptr) this; if( id == PortableServer::ServantManager::_PD_repoId ) return (PortableServer::ServantManager_ptr) this; if( id == CORBA::Object::_PD_repoId ) return (CORBA::Object_ptr) this; if( omni::strMatch(id, PortableServer::ServantLocator::_PD_repoId) ) return (PortableServer::ServantLocator_ptr) this; if( omni::strMatch(id, PortableServer::ServantManager::_PD_repoId) ) return (PortableServer::ServantManager_ptr) this; if( omni::strMatch(id, CORBA::Object::_PD_repoId) ) return (CORBA::Object_ptr) this; return 0;}voidPortableServer::_objref_ServantLocator::_enableShortcut(omniServant* _svt, const _CORBA_Boolean* _inv){ if (_svt) _shortcut = (_impl_ServantLocator*)_svt->_ptrToInterface(::PortableServer::ServantLocator::_PD_repoId); else _shortcut = 0; _invalid = _inv; }// Proxy call descriptor class. Mangled signature:// _cshort_i_cPortableServer_mObjectId_i_cPortableServer_mPOA_i_cstring_o_cshort_e_cPortableServer_mForwardRequestclass _0RL_cd_3c165f58b5a16b59_60000000 : public omniLocalOnlyCallDescriptor{public: inline _0RL_cd_3c165f58b5a16b59_60000000(LocalCallFn lcfn, const char* op, size_t oplen, _CORBA_Boolean oneway, const PortableServer::ObjectId& a_0, PortableServer::POA_ptr a_1, const char* a_2, PortableServer::ServantLocator::Cookie& a_3) : omniLocalOnlyCallDescriptor(lcfn, op, oplen, oneway), arg_0(a_0), arg_1(a_1), arg_2(a_2), arg_3(a_3) {} inline PortableServer::Servant result() { return pd_result; } const PortableServer::ObjectId& arg_0; PortableServer::POA_ptr arg_1; const char* arg_2; PortableServer::ServantLocator::Cookie& arg_3; PortableServer::Servant pd_result;};// Local call call-back function.static void_0RL_lcfn_3c165f58b5a16b59_70000000(omniCallDescriptor* cd, omniServant* svnt){ _0RL_cd_3c165f58b5a16b59_60000000* tcd = (_0RL_cd_3c165f58b5a16b59_60000000*) cd; PortableServer::_impl_ServantLocator* impl = (PortableServer::_impl_ServantLocator*) svnt->_ptrToInterface(PortableServer::ServantLocator::_PD_repoId); tcd->pd_result = impl->preinvoke(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3);}PortableServer::Servant PortableServer::_objref_ServantLocator::preinvoke(const PortableServer::ObjectId& oid, PortableServer::POA_ptr adapter, const char* operation, PortableServer::ServantLocator::Cookie& the_cookie){ _impl_ServantLocator* _s = _shortcut; if (_s) { if (!*_invalid) { return _s->preinvoke(oid, adapter, operation, the_cookie); } else { _enableShortcut(0,0); // drop through to normal invoke } } _0RL_cd_3c165f58b5a16b59_60000000 _call_desc(_0RL_lcfn_3c165f58b5a16b59_70000000, "preinvoke", 10, 0, oid, adapter, operation, the_cookie); _invoke(_call_desc); return _call_desc.result();}// Proxy call descriptor class. Mangled signature:// void_i_cPortableServer_mObjectId_i_cPortableServer_mPOA_i_cstring_i_cshort_i_cshortclass _0RL_cd_3c165f58b5a16b59_80000000 : public omniLocalOnlyCallDescriptor{public: inline _0RL_cd_3c165f58b5a16b59_80000000(LocalCallFn lcfn, const char* op, size_t oplen, _CORBA_Boolean oneway, const PortableServer::ObjectId& a_0, PortableServer::POA_ptr a_1, const char* a_2, PortableServer::ServantLocator::Cookie a_3, PortableServer::Servant a_4) : omniLocalOnlyCallDescriptor(lcfn, op, oplen, oneway), arg_0(a_0), arg_1(a_1), arg_2(a_2), arg_3(a_3), arg_4(a_4) {} const PortableServer::ObjectId& arg_0; PortableServer::POA_ptr arg_1; const char* arg_2; PortableServer::ServantLocator::Cookie arg_3; PortableServer::Servant arg_4;};// Local call call-back function.static void_0RL_lcfn_3c165f58b5a16b59_90000000(omniCallDescriptor* cd, omniServant* svnt){ _0RL_cd_3c165f58b5a16b59_80000000* tcd = (_0RL_cd_3c165f58b5a16b59_80000000*) cd; PortableServer::_impl_ServantLocator* impl = (PortableServer::_impl_ServantLocator*) svnt->_ptrToInterface(PortableServer::ServantLocator::_PD_repoId); impl->postinvoke(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);}void PortableServer::_objref_ServantLocator::postinvoke(const PortableServer::ObjectId& oid, PortableServer::POA_ptr adapter, const char* operation, PortableServer::ServantLocator::Cookie the_cookie, PortableServer::Servant the_servant){ _impl_ServantLocator* _s = _shortcut; if (_s) { if (!*_invalid) { _s->postinvoke(oid, adapter, operation, the_cookie, the_servant); return; } else { _enableShortcut(0,0); // drop through to normal invoke } } _0RL_cd_3c165f58b5a16b59_80000000 _call_desc(_0RL_lcfn_3c165f58b5a16b59_90000000, "postinvoke", 11, 0, oid, adapter, operation, the_cookie, the_servant); _invoke(_call_desc);}PortableServer::_pof_ServantLocator::~_pof_ServantLocator() {}omniObjRef*PortableServer::_pof_ServantLocator::newObjRef(omniIOR* ior, omniIdentity* id){ return new PortableServer::_objref_ServantLocator(ior, id);}CORBA::BooleanPortableServer::_pof_ServantLocator::is_a(const char* id) const{ if( omni::ptrStrMatch(id, PortableServer::ServantLocator::_PD_repoId) ) return 1; if( omni::ptrStrMatch(id, PortableServer::ServantManager::_PD_repoId) ) return 1; return 0;}const PortableServer::_pof_ServantLocator _the_pof_PortableServer_mServantLocator;PortableServer::_impl_ServantLocator::~_impl_ServantLocator() {}CORBA::BooleanPortableServer::_impl_ServantLocator::_dispatch(omniCallHandle& handle){ return 0;}void*PortableServer::_impl_ServantLocator::_ptrToInterface(const char* id){ if( id == PortableServer::ServantLocator::_PD_repoId ) return (_impl_ServantLocator*) this; if( id == ServantManager::_PD_repoId ) return (_impl_ServantManager*) this; if( id == CORBA::Object::_PD_repoId ) return (void*) 1; if( omni::strMatch(id, PortableServer::ServantLocator::_PD_repoId) ) return (_impl_ServantLocator*) this; if( omni::strMatch(id, ServantManager::_PD_repoId) ) return (_impl_ServantManager*) this; if( omni::strMatch(id, CORBA::Object::_PD_repoId) ) return (void*) 1; return 0;}const char*PortableServer::_impl_ServantLocator::_mostDerivedRepoId(){ return PortableServer::ServantLocator::_PD_repoId;}POA_PortableServer::AdapterActivator::~AdapterActivator() {}POA_PortableServer::ServantManager::~ServantManager() {}POA_PortableServer::ServantActivator::~ServantActivator() {}POA_PortableServer::ServantLocator::~ServantLocator() {}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -