rtcorbac.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 2,576 行 · 第 1/5 页
CPP
2,576 行
{
return RTCORBA::GIOPProtocolProperties::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::tao_marshal (
RTCORBA::GIOPProtocolProperties_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_GIOPProtocolProperties_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::GIOPProtocolProperties::GIOPProtocolProperties (void)
{}
RTCORBA::GIOPProtocolProperties::~GIOPProtocolProperties (void)
{}
void
RTCORBA::GIOPProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
{
GIOPProtocolProperties *_tao_tmp_pointer =
ACE_static_cast (GIOPProtocolProperties *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::GIOPProtocolProperties_ptr
RTCORBA::GIOPProtocolProperties::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return GIOPProtocolProperties::_nil ();
}
GIOPProtocolProperties_ptr proxy =
dynamic_cast<GIOPProtocolProperties_ptr> (_tao_objref);
return GIOPProtocolProperties::_duplicate (proxy);
}
RTCORBA::GIOPProtocolProperties_ptr
RTCORBA::GIOPProtocolProperties::_duplicate (GIOPProtocolProperties_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::GIOPProtocolProperties::_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/RTCORBA/GIOPProtocolProperties: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::GIOPProtocolProperties::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/GIOPProtocolProperties:1.0";
}
CORBA::Boolean
RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_GIOPProtocolProperties[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
47,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x47494f50),
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65733a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/GIOPProtocolProperties:1.0
23,
ACE_NTOHL (0x47494f50),
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65730000), // name = GIOPProtocolProperties
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_GIOPProtocolProperties (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_GIOPProtocolProperties),
(char *) &_oc_RTCORBA_GIOPProtocolProperties,
0,
sizeof (RTCORBA::GIOPProtocolProperties)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_GIOPProtocolProperties =
&_tc_TAO_tc_RTCORBA_GIOPProtocolProperties;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60
// Traits specializations for RTCORBA::UnixDomainProtocolProperties.
RTCORBA::UnixDomainProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::tao_duplicate (
RTCORBA::UnixDomainProtocolProperties_ptr p
)
{
return RTCORBA::UnixDomainProtocolProperties::_duplicate (p);
}
void
TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::tao_release (
RTCORBA::UnixDomainProtocolProperties_ptr p
)
{
CORBA::release (p);
}
RTCORBA::UnixDomainProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::tao_nil (void)
{
return RTCORBA::UnixDomainProtocolProperties::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::tao_marshal (
RTCORBA::UnixDomainProtocolProperties_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_UnixDomainProtocolProperties_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::UnixDomainProtocolProperties::UnixDomainProtocolProperties (void)
{}
RTCORBA::UnixDomainProtocolProperties::~UnixDomainProtocolProperties (void)
{}
void
RTCORBA::UnixDomainProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
{
UnixDomainProtocolProperties *_tao_tmp_pointer =
ACE_static_cast (UnixDomainProtocolProperties *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::UnixDomainProtocolProperties_ptr
RTCORBA::UnixDomainProtocolProperties::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return UnixDomainProtocolProperties::_nil ();
}
UnixDomainProtocolProperties_ptr proxy =
dynamic_cast<UnixDomainProtocolProperties_ptr> (_tao_objref);
return UnixDomainProtocolProperties::_duplicate (proxy);
}
RTCORBA::UnixDomainProtocolProperties_ptr
RTCORBA::UnixDomainProtocolProperties::_duplicate (UnixDomainProtocolProperties_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::UnixDomainProtocolProperties::_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/RTCORBA/UnixDomainProtocolProperties: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::UnixDomainProtocolProperties::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/UnixDomainProtocolProperties:1.0";
}
CORBA::Boolean
RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_UnixDomainProtocolProperties[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
53,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x556e6978),
ACE_NTOHL (0x446f6d61),
ACE_NTOHL (0x696e5072),
ACE_NTOHL (0x6f746f63),
ACE_NTOHL (0x6f6c5072),
ACE_NTOHL (0x6f706572),
ACE_NTOHL (0x74696573),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/UnixDomainProtocolProperties:1.0
29,
ACE_NTOHL (0x556e6978),
ACE_NTOHL (0x446f6d61),
ACE_NTOHL (0x696e5072),
ACE_NTOHL (0x6f746f63),
ACE_NTOHL (0x6f6c5072),
ACE_NTOHL (0x6f706572),
ACE_NTOHL (0x74696573),
ACE_NTOHL (0x0), // name = UnixDomainProtocolProperties
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_UnixDomainProtocolProperties (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_UnixDomainProtocolProperties),
(char *) &_oc_RTCORBA_UnixDomainProtocolProperties,
0,
sizeof (RTCORBA::UnixDomainProtocolProperties)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_UnixDomainProtocolProperties =
&_tc_TAO_tc_RTCORBA_UnixDomainProtocolProperties;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60
// Traits specializations for RTCORBA::SharedMemoryProtocolProperties.
RTCORBA::SharedMemoryProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::tao_duplicate (
RTCORBA::SharedMemoryProtocolProperties_ptr p
)
{
return RTCORBA::SharedMemoryProtocolProperties::_duplicate (p);
}
void
TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::tao_release (
RTCORBA::SharedMemoryProtocolProperties_ptr p
)
{
CORBA::release (p);
}
RTCORBA::SharedMemoryProtocolProperties_ptr
TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::tao_nil (void)
{
return RTCORBA::SharedMemoryProtocolProperties::_nil ();
}
CORBA::Boolean
TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::tao_marshal (
RTCORBA::SharedMemoryProtocolProperties_ptr p,
TAO_OutputCDR & cdr
)
{
return p->marshal (cdr);
}
// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker *
(*RTCORBA__TAO_SharedMemoryProtocolProperties_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
) = 0;
RTCORBA::SharedMemoryProtocolProperties::SharedMemoryProtocolProperties (void)
{}
RTCORBA::SharedMemoryProtocolProperties::~SharedMemoryProtocolProperties (void)
{}
void
RTCORBA::SharedMemoryProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
{
SharedMemoryProtocolProperties *_tao_tmp_pointer =
ACE_static_cast (SharedMemoryProtocolProperties *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
RTCORBA::SharedMemoryProtocolProperties_ptr
RTCORBA::SharedMemoryProtocolProperties::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (_tao_objref))
{
return SharedMemoryProtocolProperties::_nil ();
}
SharedMemoryProtocolProperties_ptr proxy =
dynamic_cast<SharedMemoryProtocolProperties_ptr> (_tao_objref);
return SharedMemoryProtocolProperties::_duplicate (proxy);
}
RTCORBA::SharedMemoryProtocolProperties_ptr
RTCORBA::SharedMemoryProtocolProperties::_duplicate (SharedMemoryProtocolProperties_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
RTCORBA::SharedMemoryProtocolProperties::_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/RTCORBA/SharedMemoryProtocolProperties: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::SharedMemoryProtocolProperties::_interface_repository_id (void) const
{
return "IDL:omg.org/RTCORBA/SharedMemoryProtocolProperties:1.0";
}
CORBA::Boolean
RTCORBA::SharedMemoryProtocolProperties::marshal (TAO_OutputCDR &)
{
return 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_SharedMemoryProtocolProperties[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
55,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x53686172),
ACE_NTOHL (0x65644d65),
ACE_NTOHL (0x6d6f7279),
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65733a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/SharedMemoryProtocolProperties:1.0
31,
ACE_NTOHL (0x53686172),
ACE_NTOHL (0x65644d65),
ACE_NTOHL (0x6d6f7279),
ACE_NTOHL (0x50726f74),
ACE_NTOHL (0x6f636f6c),
ACE_NTOHL (0x50726f70),
ACE_NTOHL (0x65727469),
ACE_NTOHL (0x65730000), // name = SharedMemoryProtocolProperties
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_SharedMemoryProtocolProperties (
CORBA::tk_objref,
sizeof (_oc_RTCORBA_SharedMemoryProtocolProperties),
(char *) &_oc_RTCORBA_SharedMemoryProtocolProperties,
0,
sizeof (RTCORBA::SharedMemoryProtocolProperties)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_SharedMemoryProtocolProperties =
&_tc_TAO_tc_RTCORBA_SharedMemoryProtocolProperties;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_PriorityBand[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x42616e64),
ACE_NTOHL (0x3a312e30),
AC
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?