rtcorbac.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 2,576 行 · 第 1/5 页
CPP
2,576 行
sizeof (_oc_RTCORBA_PriorityModel),
(char *) &_oc_RTCORBA_PriorityModel,
0,
sizeof (RTCORBA::PriorityModel)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_PriorityModel =
&_tc_TAO_tc_RTCORBA_PriorityModel;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60
// Traits specializations for RTCORBA::PriorityModelPolicy.
RTCORBA::PriorityModelPolicy_ptr
TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::tao_duplicate (
RTCORBA::PriorityModelPolicy_ptr p
)
{
return RTCORBA::PriorityModelPolicy::_duplicate (p);
}
void
TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::tao_release (
RTCORBA::PriorityModelPolicy_ptr p
)
{
CORBA::release (p);
}
RTCORBA::PriorityModelPolicy_ptr
TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::tao_nil (void)
{
return RTCORBA::PriorityModelPolicy::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::tao_marshal (
RTCORBA::PriorityModelPolicy_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_PriorityModelPolicy_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::PriorityModelPolicy::PriorityModelPolicy (void)
{}
RTCORBA::PriorityModelPolicy::~PriorityModelPolicy (void)
{}
void
RTCORBA::PriorityModelPolicy::_tao_any_destructor (void *_tao_void_pointer)
{
PriorityModelPolicy *_tao_tmp_pointer =
ACE_static_cast (PriorityModelPolicy *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::PriorityModelPolicy_ptr
RTCORBA::PriorityModelPolicy::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return PriorityModelPolicy::_nil ();
}
PriorityModelPolicy_ptr proxy =
dynamic_cast<PriorityModelPolicy_ptr> (_tao_objref);
return PriorityModelPolicy::_duplicate (proxy);
}
RTCORBA::PriorityModelPolicy_ptr
RTCORBA::PriorityModelPolicy::_duplicate (PriorityModelPolicy_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::PriorityModelPolicy::_is_a (
const char *value
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Policy:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/LocalObject:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Object:1.0"
)
)
{
return 1; // success using local knowledge
}
else
{
return 0;
}
}
const char* RTCORBA::PriorityModelPolicy::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0";
}
CORBA::Boolean
RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_PriorityModelPolicy[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
44,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x4d6f6465),
ACE_NTOHL (0x6c506f6c),
ACE_NTOHL (0x6963793a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0
20,
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x4d6f6465),
ACE_NTOHL (0x6c506f6c),
ACE_NTOHL (0x69637900), // name = PriorityModelPolicy
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_PriorityModelPolicy (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_PriorityModelPolicy),
(char *) &_oc_RTCORBA_PriorityModelPolicy,
0,
sizeof (RTCORBA::PriorityModelPolicy)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_PriorityModelPolicy =
&_tc_TAO_tc_RTCORBA_PriorityModelPolicy;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60
// Traits specializations for RTCORBA::ThreadpoolPolicy.
RTCORBA::ThreadpoolPolicy_ptr
TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::tao_duplicate (
RTCORBA::ThreadpoolPolicy_ptr p
)
{
return RTCORBA::ThreadpoolPolicy::_duplicate (p);
}
void
TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::tao_release (
RTCORBA::ThreadpoolPolicy_ptr p
)
{
CORBA::release (p);
}
RTCORBA::ThreadpoolPolicy_ptr
TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::tao_nil (void)
{
return RTCORBA::ThreadpoolPolicy::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::tao_marshal (
RTCORBA::ThreadpoolPolicy_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_ThreadpoolPolicy_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::ThreadpoolPolicy::ThreadpoolPolicy (void)
{}
RTCORBA::ThreadpoolPolicy::~ThreadpoolPolicy (void)
{}
void
RTCORBA::ThreadpoolPolicy::_tao_any_destructor (void *_tao_void_pointer)
{
ThreadpoolPolicy *_tao_tmp_pointer =
ACE_static_cast (ThreadpoolPolicy *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::ThreadpoolPolicy_ptr
RTCORBA::ThreadpoolPolicy::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return ThreadpoolPolicy::_nil ();
}
ThreadpoolPolicy_ptr proxy =
dynamic_cast<ThreadpoolPolicy_ptr> (_tao_objref);
return ThreadpoolPolicy::_duplicate (proxy);
}
RTCORBA::ThreadpoolPolicy_ptr
RTCORBA::ThreadpoolPolicy::_duplicate (ThreadpoolPolicy_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::ThreadpoolPolicy::_is_a (
const char *value
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Policy:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/LocalObject:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Object:1.0"
)
)
{
return 1; // success using local knowledge
}
else
{
return 0;
}
}
const char* RTCORBA::ThreadpoolPolicy::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0";
}
CORBA::Boolean
RTCORBA::ThreadpoolPolicy::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_ThreadpoolPolicy[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
41,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c506f),
ACE_NTOHL (0x6c696379),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0
17,
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c506f),
ACE_NTOHL (0x6c696379),
ACE_NTOHL (0x0), // name = ThreadpoolPolicy
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_ThreadpoolPolicy (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_ThreadpoolPolicy),
(char *) &_oc_RTCORBA_ThreadpoolPolicy,
0,
sizeof (RTCORBA::ThreadpoolPolicy)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_ThreadpoolPolicy =
&_tc_TAO_tc_RTCORBA_ThreadpoolPolicy;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60
// Traits specializations for RTCORBA::ProtocolProperties.
RTCORBA::ProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::ProtocolProperties>::tao_duplicate (
RTCORBA::ProtocolProperties_ptr p
)
{
return RTCORBA::ProtocolProperties::_duplicate (p);
}
void
TAO::Objref_Traits<RTCORBA::ProtocolProperties>::tao_release (
RTCORBA::ProtocolProperties_ptr p
)
{
CORBA::release (p);
}
RTCORBA::ProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::ProtocolProperties>::tao_nil (void)
{
return RTCORBA::ProtocolProperties::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::ProtocolProperties>::tao_marshal (
RTCORBA::ProtocolProperties_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_ProtocolProperties_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::ProtocolProperties::ProtocolProperties (void)
{}
RTCORBA::ProtocolProperties::~ProtocolProperties (void)
{}
void
RTCORBA::ProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
{
ProtocolProperties *_tao_tmp_pointer =
ACE_static_cast (ProtocolProperties *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::ProtocolProperties_ptr
RTCORBA::ProtocolProperties::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return ProtocolProperties::_nil ();
}
ProtocolProperties_ptr proxy =
dynamic_cast<ProtocolProperties_ptr> (_tao_objref);
return ProtocolProperties::_duplicate (proxy);
}
RTCORBA::ProtocolProperties_ptr
RTCORBA::ProtocolProperties::_duplicate (ProtocolProperties_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::ProtocolProperties::_is_a (
const char *value
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/LocalObject:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Object:1.0"
)
)
{
return 1; // success using local knowledge
}
else
{
return 0;
}
}
const char* RTCORBA::ProtocolProperties::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/ProtocolProperties:1.0";
}
CORBA::Boolean
RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_ProtocolProperties[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
43,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65733a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/ProtocolProperties:1.0
19,
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65730000), // name = ProtocolProperties
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_ProtocolProperties (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_ProtocolProperties),
(char *) &_oc_RTCORBA_ProtocolProperties,
0,
sizeof (RTCORBA::ProtocolProperties)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_ProtocolProperties =
&_tc_TAO_tc_RTCORBA_ProtocolProperties;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_Protocol[] =
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?