// This file is generated by omniidl (C++ backend) - omniORB_4_1. Do not edit. #include "RequestResponseBus.hh" OMNI_USING_NAMESPACE(omni) static const char* _0RL_dyn_library_version = omniORB_4_1_dyn; static ::CORBA::TypeCode::_Tracker _0RL_tcTrack(__FILE__); static CORBA::PR_structMember _0RL_structmember_plpbus__orb_mDataItem[] = { {"name", CORBA::TypeCode::PR_string_tc(0, &_0RL_tcTrack)}, {"value", CORBA::TypeCode::PR_any_tc()}, {"str_value", CORBA::TypeCode::PR_string_tc(0, &_0RL_tcTrack)} }; #ifdef _0RL_tc_plpbus__orb_mDataItem # undef _0RL_tc_plpbus__orb_mDataItem #endif static CORBA::TypeCode_ptr _0RL_tc_plpbus__orb_mDataItem = CORBA::TypeCode::PR_struct_tc("IDL:plpbus_orb/DataItem:1.0", "DataItem", _0RL_structmember_plpbus__orb_mDataItem, 3, &_0RL_tcTrack); #if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER) // MSVC++ does not give the constant external linkage otherwise. namespace plpbus_orb { const ::CORBA::TypeCode_ptr _tc_DataItem = _0RL_tc_plpbus__orb_mDataItem; } #else const ::CORBA::TypeCode_ptr plpbus_orb::_tc_DataItem = _0RL_tc_plpbus__orb_mDataItem; #endif static CORBA::TypeCode_ptr _0RL_tc_plpbus__orb_mDataItemSequence = CORBA::TypeCode::PR_alias_tc("IDL:plpbus_orb/DataItemSequence:1.0", "DataItemSequence", CORBA::TypeCode::PR_sequence_tc(0, _0RL_tc_plpbus__orb_mDataItem, &_0RL_tcTrack), &_0RL_tcTrack); #if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER) // MSVC++ does not give the constant external linkage otherwise. namespace plpbus_orb { const ::CORBA::TypeCode_ptr _tc_DataItemSequence = _0RL_tc_plpbus__orb_mDataItemSequence; } #else const ::CORBA::TypeCode_ptr plpbus_orb::_tc_DataItemSequence = _0RL_tc_plpbus__orb_mDataItemSequence; #endif #if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER) // MSVC++ does not give the constant external linkage otherwise. namespace plpbus_orb { const ::CORBA::TypeCode_ptr _tc_OrbClient = CORBA::TypeCode::PR_interface_tc("IDL:plpbus_orb/OrbClient:1.0", "OrbClient", &_0RL_tcTrack); } #else const ::CORBA::TypeCode_ptr plpbus_orb::_tc_OrbClient = CORBA::TypeCode::PR_interface_tc("IDL:plpbus_orb/OrbClient:1.0", "OrbClient", &_0RL_tcTrack); #endif #if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER) // MSVC++ does not give the constant external linkage otherwise. namespace plpbus_orb { const ::CORBA::TypeCode_ptr _tc_OrbServer = CORBA::TypeCode::PR_interface_tc("IDL:plpbus_orb/OrbServer:1.0", "OrbServer", &_0RL_tcTrack); } #else const ::CORBA::TypeCode_ptr plpbus_orb::_tc_OrbServer = CORBA::TypeCode::PR_interface_tc("IDL:plpbus_orb/OrbServer:1.0", "OrbServer", &_0RL_tcTrack); #endif static void _0RL_plpbus__orb_mDataItem_marshal_fn(cdrStream& _s, void* _v) { plpbus_orb::DataItem* _p = (plpbus_orb::DataItem*)_v; *_p >>= _s; } static void _0RL_plpbus__orb_mDataItem_unmarshal_fn(cdrStream& _s, void*& _v) { plpbus_orb::DataItem* _p = new plpbus_orb::DataItem; *_p <<= _s; _v = _p; } static void _0RL_plpbus__orb_mDataItem_destructor_fn(void* _v) { plpbus_orb::DataItem* _p = (plpbus_orb::DataItem*)_v; delete _p; } void operator<<=(::CORBA::Any& _a, const plpbus_orb::DataItem& _s) { plpbus_orb::DataItem* _p = new plpbus_orb::DataItem(_s); _a.PR_insert(_0RL_tc_plpbus__orb_mDataItem, _0RL_plpbus__orb_mDataItem_marshal_fn, _0RL_plpbus__orb_mDataItem_destructor_fn, _p); } void operator<<=(::CORBA::Any& _a, plpbus_orb::DataItem* _sp) { _a.PR_insert(_0RL_tc_plpbus__orb_mDataItem, _0RL_plpbus__orb_mDataItem_marshal_fn, _0RL_plpbus__orb_mDataItem_destructor_fn, _sp); } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, plpbus_orb::DataItem*& _sp) { return _a >>= (const plpbus_orb::DataItem*&) _sp; } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const plpbus_orb::DataItem*& _sp) { void* _v; if (_a.PR_extract(_0RL_tc_plpbus__orb_mDataItem, _0RL_plpbus__orb_mDataItem_unmarshal_fn, _0RL_plpbus__orb_mDataItem_marshal_fn, _0RL_plpbus__orb_mDataItem_destructor_fn, _v)) { _sp = (const plpbus_orb::DataItem*)_v; return 1; } return 0; } static void _0RL_plpbus__orb_mDataItemSequence_marshal_fn(cdrStream& _s, void* _v) { plpbus_orb::DataItemSequence* _p = (plpbus_orb::DataItemSequence*)_v; *_p >>= _s; } static void _0RL_plpbus__orb_mDataItemSequence_unmarshal_fn(cdrStream& _s, void*& _v) { plpbus_orb::DataItemSequence* _p = new plpbus_orb::DataItemSequence; *_p <<= _s; _v = _p; } static void _0RL_plpbus__orb_mDataItemSequence_destructor_fn(void* _v) { plpbus_orb::DataItemSequence* _p = (plpbus_orb::DataItemSequence*)_v; delete _p; } void operator<<=(::CORBA::Any& _a, const plpbus_orb::DataItemSequence& _s) { plpbus_orb::DataItemSequence* _p = new plpbus_orb::DataItemSequence(_s); _a.PR_insert(_0RL_tc_plpbus__orb_mDataItemSequence, _0RL_plpbus__orb_mDataItemSequence_marshal_fn, _0RL_plpbus__orb_mDataItemSequence_destructor_fn, _p); } void operator<<=(::CORBA::Any& _a, plpbus_orb::DataItemSequence* _sp) { _a.PR_insert(_0RL_tc_plpbus__orb_mDataItemSequence, _0RL_plpbus__orb_mDataItemSequence_marshal_fn, _0RL_plpbus__orb_mDataItemSequence_destructor_fn, _sp); } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, plpbus_orb::DataItemSequence*& _sp) { return _a >>= (const plpbus_orb::DataItemSequence*&) _sp; } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const plpbus_orb::DataItemSequence*& _sp) { void* _v; if (_a.PR_extract(_0RL_tc_plpbus__orb_mDataItemSequence, _0RL_plpbus__orb_mDataItemSequence_unmarshal_fn, _0RL_plpbus__orb_mDataItemSequence_marshal_fn, _0RL_plpbus__orb_mDataItemSequence_destructor_fn, _v)) { _sp = (const plpbus_orb::DataItemSequence*)_v; return 1; } return 0; } static void _0RL_plpbus__orb_mOrbClient_marshal_fn(cdrStream& _s, void* _v) { omniObjRef* _o = (omniObjRef*)_v; omniObjRef::_marshal(_o, _s); } static void _0RL_plpbus__orb_mOrbClient_unmarshal_fn(cdrStream& _s, void*& _v) { omniObjRef* _o = omniObjRef::_unMarshal(plpbus_orb::OrbClient::_PD_repoId, _s); _v = _o; } static void _0RL_plpbus__orb_mOrbClient_destructor_fn(void* _v) { omniObjRef* _o = (omniObjRef*)_v; if (_o) omni::releaseObjRef(_o); } void operator<<=(::CORBA::Any& _a, plpbus_orb::OrbClient_ptr _o) { plpbus_orb::OrbClient_ptr _no = plpbus_orb::OrbClient::_duplicate(_o); _a.PR_insert(plpbus_orb::_tc_OrbClient, _0RL_plpbus__orb_mOrbClient_marshal_fn, _0RL_plpbus__orb_mOrbClient_destructor_fn, _no->_PR_getobj()); } void operator<<=(::CORBA::Any& _a, plpbus_orb::OrbClient_ptr* _op) { _a.PR_insert(plpbus_orb::_tc_OrbClient, _0RL_plpbus__orb_mOrbClient_marshal_fn, _0RL_plpbus__orb_mOrbClient_destructor_fn, (*_op)->_PR_getobj()); *_op = plpbus_orb::OrbClient::_nil(); } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, plpbus_orb::OrbClient_ptr& _o) { void* _v; if (_a.PR_extract(plpbus_orb::_tc_OrbClient, _0RL_plpbus__orb_mOrbClient_unmarshal_fn, _0RL_plpbus__orb_mOrbClient_marshal_fn, _0RL_plpbus__orb_mOrbClient_destructor_fn, _v)) { omniObjRef* _r = (omniObjRef*)_v; if (_r) _o = (plpbus_orb::OrbClient_ptr)_r->_ptrToObjRef(plpbus_orb::OrbClient::_PD_repoId); else _o = plpbus_orb::OrbClient::_nil(); return 1; } return 0; } static void _0RL_plpbus__orb_mOrbServer_marshal_fn(cdrStream& _s, void* _v) { omniObjRef* _o = (omniObjRef*)_v; omniObjRef::_marshal(_o, _s); } static void _0RL_plpbus__orb_mOrbServer_unmarshal_fn(cdrStream& _s, void*& _v) { omniObjRef* _o = omniObjRef::_unMarshal(plpbus_orb::OrbServer::_PD_repoId, _s); _v = _o; } static void _0RL_plpbus__orb_mOrbServer_destructor_fn(void* _v) { omniObjRef* _o = (omniObjRef*)_v; if (_o) omni::releaseObjRef(_o); } void operator<<=(::CORBA::Any& _a, plpbus_orb::OrbServer_ptr _o) { plpbus_orb::OrbServer_ptr _no = plpbus_orb::OrbServer::_duplicate(_o); _a.PR_insert(plpbus_orb::_tc_OrbServer, _0RL_plpbus__orb_mOrbServer_marshal_fn, _0RL_plpbus__orb_mOrbServer_destructor_fn, _no->_PR_getobj()); } void operator<<=(::CORBA::Any& _a, plpbus_orb::OrbServer_ptr* _op) { _a.PR_insert(plpbus_orb::_tc_OrbServer, _0RL_plpbus__orb_mOrbServer_marshal_fn, _0RL_plpbus__orb_mOrbServer_destructor_fn, (*_op)->_PR_getobj()); *_op = plpbus_orb::OrbServer::_nil(); } ::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, plpbus_orb::OrbServer_ptr& _o) { void* _v; if (_a.PR_extract(plpbus_orb::_tc_OrbServer, _0RL_plpbus__orb_mOrbServer_unmarshal_fn, _0RL_plpbus__orb_mOrbServer_marshal_fn, _0RL_plpbus__orb_mOrbServer_destructor_fn, _v)) { omniObjRef* _r = (omniObjRef*)_v; if (_r) _o = (plpbus_orb::OrbServer_ptr)_r->_ptrToObjRef(plpbus_orb::OrbServer::_PD_repoId); else _o = plpbus_orb::OrbServer::_nil(); return 1; } return 0; }