⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poastubs.cc

📁 编译工具
💻 CC
📖 第 1 页 / 共 3 页
字号:
PortableServer::ServantManager_ptr PortableServer::ServantManager_Helper::_nil() {  return PortableServer::ServantManager::_nil();}CORBA::Boolean PortableServer::ServantManager_Helper::is_nil(PortableServer::ServantManager_ptr p) {  return CORBA::is_nil(p);}void PortableServer::ServantManager_Helper::release(PortableServer::ServantManager_ptr p) {  CORBA::release(p);}void PortableServer::ServantManager_Helper::duplicate(PortableServer::ServantManager_ptr p) {  if( p && !p->_NP_is_nil() )  omni::duplicateObjRef(p);}void PortableServer::ServantManager_Helper::marshalObjRef(PortableServer::ServantManager_ptr obj, cdrStream& s) {  PortableServer::ServantManager::_marshalObjRef(obj, s);}PortableServer::ServantManager_ptr PortableServer::ServantManager_Helper::unmarshalObjRef(cdrStream& s) {  return PortableServer::ServantManager::_unmarshalObjRef(s);}PortableServer::ServantManager_ptrPortableServer::ServantManager::_duplicate(PortableServer::ServantManager_ptr obj){  if( obj && !obj->_NP_is_nil() )  omni::duplicateObjRef(obj);  return obj;}PortableServer::ServantManager_ptrPortableServer::ServantManager::_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::ServantManager_ptrPortableServer::ServantManager::_nil(){  static _objref_ServantManager* _the_nil_ptr = 0;  if( !_the_nil_ptr ) {    omni::nilRefLock().lock();    if( !_the_nil_ptr ) {      _the_nil_ptr = new _objref_ServantManager();      registerNilCorbaObject(_the_nil_ptr);    }    omni::nilRefLock().unlock();  }  return _the_nil_ptr;}const char* PortableServer::ServantManager::_PD_repoId = "IDL:omg.org/PortableServer/ServantManager:1.0";PortableServer::_objref_ServantManager::~_objref_ServantManager() {}PortableServer::_objref_ServantManager::_objref_ServantManager(omniIOR* ior,         omniIdentity* id) : omniObjRef(PortableServer::ServantManager::_PD_repoId, ior, id, 1){  _PR_setobj(this);}void*PortableServer::_objref_ServantManager::_ptrToObjRef(const char* id){  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::ServantManager::_PD_repoId) )    return (PortableServer::ServantManager_ptr) this;  if( omni::strMatch(id, CORBA::Object::_PD_repoId) )    return (CORBA::Object_ptr) this;  return 0;}PortableServer::_pof_ServantManager::~_pof_ServantManager() {}omniObjRef*PortableServer::_pof_ServantManager::newObjRef(omniIOR* ior, omniIdentity* id){  return new PortableServer::_objref_ServantManager(ior, id);}CORBA::BooleanPortableServer::_pof_ServantManager::is_a(const char* id) const{  if( omni::ptrStrMatch(id, PortableServer::ServantManager::_PD_repoId) )    return 1;  return 0;}const PortableServer::_pof_ServantManager _the_pof_PortableServer_mServantManager;PortableServer::_impl_ServantManager::~_impl_ServantManager() {}CORBA::BooleanPortableServer::_impl_ServantManager::_dispatch(omniCallHandle& handle){  return 0;}void*PortableServer::_impl_ServantManager::_ptrToInterface(const char* id){  if( id == PortableServer::ServantManager::_PD_repoId )    return (_impl_ServantManager*) this;  if( id == CORBA::Object::_PD_repoId )    return (void*) 1;  if( omni::strMatch(id, PortableServer::ServantManager::_PD_repoId) )    return (_impl_ServantManager*) this;  if( omni::strMatch(id, CORBA::Object::_PD_repoId) )    return (void*) 1;  return 0;}const char*PortableServer::_impl_ServantManager::_mostDerivedRepoId(){  return PortableServer::ServantManager::_PD_repoId;}PortableServer::ServantActivator_ptr PortableServer::ServantActivator_Helper::_nil() {  return PortableServer::ServantActivator::_nil();}CORBA::Boolean PortableServer::ServantActivator_Helper::is_nil(PortableServer::ServantActivator_ptr p) {  return CORBA::is_nil(p);}void PortableServer::ServantActivator_Helper::release(PortableServer::ServantActivator_ptr p) {  CORBA::release(p);}void PortableServer::ServantActivator_Helper::duplicate(PortableServer::ServantActivator_ptr p) {  if( p && !p->_NP_is_nil() )  omni::duplicateObjRef(p);}void PortableServer::ServantActivator_Helper::marshalObjRef(PortableServer::ServantActivator_ptr obj, cdrStream& s) {  PortableServer::ServantActivator::_marshalObjRef(obj, s);}PortableServer::ServantActivator_ptr PortableServer::ServantActivator_Helper::unmarshalObjRef(cdrStream& s) {  return PortableServer::ServantActivator::_unmarshalObjRef(s);}PortableServer::ServantActivator_ptrPortableServer::ServantActivator::_duplicate(PortableServer::ServantActivator_ptr obj){  if( obj && !obj->_NP_is_nil() )  omni::duplicateObjRef(obj);  return obj;}PortableServer::ServantActivator_ptrPortableServer::ServantActivator::_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::ServantActivator_ptrPortableServer::ServantActivator::_nil(){  static _objref_ServantActivator* _the_nil_ptr = 0;  if( !_the_nil_ptr ) {    omni::nilRefLock().lock();    if( !_the_nil_ptr ) {      _the_nil_ptr = new _objref_ServantActivator();      registerNilCorbaObject(_the_nil_ptr);    }    omni::nilRefLock().unlock();  }  return _the_nil_ptr;}const char* PortableServer::ServantActivator::_PD_repoId = "IDL:omg.org/PortableServer/ServantActivator:1.0";PortableServer::_objref_ServantActivator::~_objref_ServantActivator() {}PortableServer::_objref_ServantActivator::_objref_ServantActivator(omniIOR* ior,         omniIdentity* id) : OMNIORB_BASE_CTOR(PortableServer::)_objref_ServantManager(ior, id),   omniObjRef(PortableServer::ServantActivator::_PD_repoId, ior, id, 1),   _shortcut(0){  _PR_setobj(this);}void*PortableServer::_objref_ServantActivator::_ptrToObjRef(const char* id){  if( id == PortableServer::ServantActivator::_PD_repoId )    return (PortableServer::ServantActivator_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::ServantActivator::_PD_repoId) )    return (PortableServer::ServantActivator_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_ServantActivator::_enableShortcut(omniServant* _svt, const _CORBA_Boolean* _inv){  if (_svt)    _shortcut = (_impl_ServantActivator*)_svt->_ptrToInterface(::PortableServer::ServantActivator::_PD_repoId);  else    _shortcut = 0;  _invalid  = _inv;  }// Proxy call descriptor class. Mangled signature://  _cshort_i_cPortableServer_mObjectId_i_cPortableServer_mPOA_e_cPortableServer_mForwardRequestclass _0RL_cd_3c165f58b5a16b59_20000000  : public omniLocalOnlyCallDescriptor{public:  inline _0RL_cd_3c165f58b5a16b59_20000000(LocalCallFn lcfn, const char* op, size_t oplen, _CORBA_Boolean oneway, const PortableServer::ObjectId& a_0, PortableServer::POA_ptr a_1) :    omniLocalOnlyCallDescriptor(lcfn, op, oplen, oneway),    arg_0(a_0),    arg_1(a_1)  {}  inline PortableServer::Servant result() { return pd_result; }  const PortableServer::ObjectId& arg_0;  PortableServer::POA_ptr arg_1;  PortableServer::Servant pd_result;};// Local call call-back function.static void_0RL_lcfn_3c165f58b5a16b59_30000000(omniCallDescriptor* cd, omniServant* svnt){  _0RL_cd_3c165f58b5a16b59_20000000* tcd = (_0RL_cd_3c165f58b5a16b59_20000000*) cd;  PortableServer::_impl_ServantActivator* impl = (PortableServer::_impl_ServantActivator*) svnt->_ptrToInterface(PortableServer::ServantActivator::_PD_repoId);  tcd->pd_result = impl->incarnate(tcd->arg_0, tcd->arg_1);}PortableServer::Servant PortableServer::_objref_ServantActivator::incarnate(const PortableServer::ObjectId& oid, PortableServer::POA_ptr adapter){  _impl_ServantActivator* _s = _shortcut;  if (_s) {    if (!*_invalid) {      return _s->incarnate(oid, adapter);    }    else {      _enableShortcut(0,0);      // drop through to normal invoke    }  }  _0RL_cd_3c165f58b5a16b59_20000000 _call_desc(_0RL_lcfn_3c165f58b5a16b59_30000000, "incarnate", 10, 0, oid, adapter);  _invoke(_call_desc);  return _call_desc.result();}// Proxy call descriptor class. Mangled signature://  void_i_cPortableServer_mObjectId_i_cPortableServer_mPOA_i_cshort_i_cboolean_i_cbooleanclass _0RL_cd_3c165f58b5a16b59_40000000  : public omniLocalOnlyCallDescriptor{public:  inline _0RL_cd_3c165f58b5a16b59_40000000(LocalCallFn lcfn, const char* op, size_t oplen, _CORBA_Boolean oneway, const PortableServer::ObjectId& a_0, PortableServer::POA_ptr a_1, PortableServer::Servant a_2, CORBA::Boolean a_3, CORBA::Boolean 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;  PortableServer::Servant arg_2;  CORBA::Boolean arg_3;  CORBA::Boolean arg_4;};// Local call call-back function.static void_0RL_lcfn_3c165f58b5a16b59_50000000(omniCallDescriptor* cd, omniServant* svnt){  _0RL_cd_3c165f58b5a16b59_40000000* tcd = (_0RL_cd_3c165f58b5a16b59_40000000*) cd;  PortableServer::_impl_ServantActivator* impl = (PortableServer::_impl_ServantActivator*) svnt->_ptrToInterface(PortableServer::ServantActivator::_PD_repoId);  impl->etherealize(tcd->arg_0, tcd->arg_1, tcd->arg_2, tcd->arg_3, tcd->arg_4);}void PortableServer::_objref_ServantActivator::etherealize(const PortableServer::ObjectId& oid, PortableServer::POA_ptr adapter, PortableServer::Servant serv, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations){  _impl_ServantActivator* _s = _shortcut;  if (_s) {    if (!*_invalid) {      _s->etherealize(oid, adapter, serv, cleanup_in_progress, remaining_activations); return;    }    else {      _enableShortcut(0,0);      // drop through to normal invoke    }  }  _0RL_cd_3c165f58b5a16b59_40000000 _call_desc(_0RL_lcfn_3c165f58b5a16b59_50000000, "etherealize", 12, 0, oid, adapter, serv, cleanup_in_progress, remaining_activations);  _invoke(_call_desc);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -