rtcorbac.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 2,576 行 · 第 1/5 页
CPP
2,576 行
// -*- C++ -*-
//
// RTCORBAC.cpp,v 1.28 2003/12/28 16:13:38 jwillemsen Exp
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
// Center for Distributed Object Computing
// Washington University
// St. Louis, MO
// USA
// http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
// Distributed Object Computing Laboratory
// University of California at Irvine
// Irvine, CA
// USA
// http://doc.ece.uci.edu/
// and
// Institute for Software Integrated Systems
// Vanderbilt University
// Nashville, TN
// USA
// http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
// be/be_codegen.cpp:302
#include "RTCORBA.h"
#include "tao/Typecode.h"
#include "tao/Any_Impl_T.h"
#include "tao/Any_Dual_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"
#include "ace/OS_NS_string.h"
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
#if !defined (__ACE_INLINE__)
#include "RTCORBAC.i"
#endif /* !defined INLINE */
// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:60
// Arg traits specializations.
namespace TAO
{
}
//////////////////////////////////////////////////////
// CDR Encoding Support
CORBA::Boolean
RTCORBA::ProtocolProperties::_tao_encode (TAO_OutputCDR &)
{
return 1;
}
// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:60
CORBA::Boolean
RTCORBA::ProtocolProperties::_tao_decode (TAO_InputCDR &)
{
return 1;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_NativePriority[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
39,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x4e617469),
ACE_NTOHL (0x76655072),
ACE_NTOHL (0x696f7269),
ACE_NTOHL (0x74793a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/NativePriority:1.0
15,
ACE_NTOHL (0x4e617469),
ACE_NTOHL (0x76655072),
ACE_NTOHL (0x696f7269),
ACE_NTOHL (0x74790000), // name = NativePriority
CORBA::tk_short,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_NativePriority (
CORBA::tk_alias,
sizeof (_oc_RTCORBA_NativePriority),
(char *) &_oc_RTCORBA_NativePriority,
0,
sizeof (RTCORBA::NativePriority)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_NativePriority =
&_tc_TAO_tc_RTCORBA_NativePriority;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_Priority[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
33,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/Priority:1.0
9,
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_Priority (
CORBA::tk_alias,
sizeof (_oc_RTCORBA_Priority),
(char *) &_oc_RTCORBA_Priority,
0,
sizeof (RTCORBA::Priority)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_Priority =
&_tc_TAO_tc_RTCORBA_Priority;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_NetworkPriority[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
40,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x4e657477),
ACE_NTOHL (0x6f726b50),
ACE_NTOHL (0x72696f72),
ACE_NTOHL (0x6974793a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/RTCORBA/NetworkPriority:1.0
16,
ACE_NTOHL (0x4e657477),
ACE_NTOHL (0x6f726b50),
ACE_NTOHL (0x72696f72),
ACE_NTOHL (0x69747900), // name = NetworkPriority
CORBA::tk_long,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_NetworkPriority (
CORBA::tk_alias,
sizeof (_oc_RTCORBA_NetworkPriority),
(char *) &_oc_RTCORBA_NetworkPriority,
0,
sizeof (RTCORBA::NetworkPriority)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_NetworkPriority =
&_tc_TAO_tc_RTCORBA_NetworkPriority;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_ThreadpoolId[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4964),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/ThreadpoolId:1.0
13,
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4964),
ACE_NTOHL (0x0), // name = ThreadpoolId
CORBA::tk_ulong,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_ThreadpoolId (
CORBA::tk_alias,
sizeof (_oc_RTCORBA_ThreadpoolId),
(char *) &_oc_RTCORBA_ThreadpoolId,
0,
sizeof (RTCORBA::ThreadpoolId)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_ThreadpoolId =
&_tc_TAO_tc_RTCORBA_ThreadpoolId;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_ThreadpoolLane[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
39,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/ThreadpoolLane:1.0
15,
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e650000), // name = ThreadpoolLane
3, // member count
14,
ACE_NTOHL (0x6c616e65),
ACE_NTOHL (0x5f707269),
ACE_NTOHL (0x6f726974),
ACE_NTOHL (0x79000000), // name = lane_priority
CORBA::tk_alias, // typecode kind for typedefs
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
33,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/Priority:1.0
9,
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
15,
ACE_NTOHL (0x73746174),
ACE_NTOHL (0x69635f74),
ACE_NTOHL (0x68726561),
ACE_NTOHL (0x64730000), // name = static_threads
CORBA::tk_ulong,
16,
ACE_NTOHL (0x64796e61),
ACE_NTOHL (0x6d69635f),
ACE_NTOHL (0x74687265),
ACE_NTOHL (0x61647300), // name = dynamic_threads
CORBA::tk_ulong,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_ThreadpoolLane (
CORBA::tk_struct,
sizeof (_oc_RTCORBA_ThreadpoolLane),
(char *) &_oc_RTCORBA_ThreadpoolLane,
0,
sizeof (RTCORBA::ThreadpoolLane)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_ThreadpoolLane =
&_tc_TAO_tc_RTCORBA_ThreadpoolLane;
}
// TAO_IDL - Generated from
// be/be_visitor_structure/structure_cs.cpp:66
void
RTCORBA::ThreadpoolLane::_tao_any_destructor (
void *_tao_void_pointer
)
{
ThreadpoolLane *_tao_tmp_pointer =
ACE_static_cast (ThreadpoolLane *, _tao_void_pointer);
delete _tao_tmp_pointer;
}
// TAO_IDL - Generated from
// be/be_visitor_sequence/sequence_cs.cpp:65
#if !defined (_RTCORBA_THREADPOOLLANES_CS_)
#define _RTCORBA_THREADPOOLLANES_CS_
RTCORBA::ThreadpoolLanes::ThreadpoolLanes (void)
{}
RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
CORBA::ULong max
)
: TAO_Unbounded_Sequence<
RTCORBA::ThreadpoolLane
>
(max)
{}
RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
CORBA::ULong max,
CORBA::ULong length,
RTCORBA::ThreadpoolLane * buffer,
CORBA::Boolean release
)
: TAO_Unbounded_Sequence<
RTCORBA::ThreadpoolLane
>
(max, length, buffer, release)
{}
RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
const ThreadpoolLanes &seq
)
: TAO_Unbounded_Sequence<
RTCORBA::ThreadpoolLane
>
(seq)
{}
RTCORBA::ThreadpoolLanes::~ThreadpoolLanes (void)
{}
void RTCORBA::ThreadpoolLanes::_tao_any_destructor (
void * _tao_void_pointer
)
{
ThreadpoolLanes * _tao_tmp_pointer =
ACE_static_cast (ThreadpoolLanes *, _tao_void_pointer);
delete _tao_tmp_pointer;
}
#endif /* end #if !defined */
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_ThreadpoolLanes[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
40,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e65733a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/RTCORBA/ThreadpoolLanes:1.0
16,
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e657300), // name = ThreadpoolLanes
CORBA::tk_sequence, // typecode kind
228, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
212, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
39,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/RTCORBA/ThreadpoolLane:1.0
15,
ACE_NTOHL (0x54687265),
ACE_NTOHL (0x6164706f),
ACE_NTOHL (0x6f6c4c61),
ACE_NTOHL (0x6e650000), // name = ThreadpoolLane
3, // member count
14,
ACE_NTOHL (0x6c616e65),
ACE_NTOHL (0x5f707269),
ACE_NTOHL (0x6f726974),
ACE_NTOHL (0x79000000), // name = lane_priority
CORBA::tk_alias, // typecode kind for typedefs
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
33,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x5254434f),
ACE_NTOHL (0x5242412f),
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/RTCORBA/Priority:1.0
9,
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
15,
ACE_NTOHL (0x73746174),
ACE_NTOHL (0x69635f74),
ACE_NTOHL (0x68726561),
ACE_NTOHL (0x64730000), // name = static_threads
CORBA::tk_ulong,
16,
ACE_NTOHL (0x64796e61),
ACE_NTOHL (0x6d69635f),
ACE_NTOHL (0x74687265),
ACE_NTOHL (0x61647300), // name = dynamic_threads
CORBA::tk_ulong,
0U,
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_ThreadpoolLanes (
CORBA::tk_alias,
sizeof (_oc_RTCORBA_ThreadpoolLanes),
(char *) &_oc_RTCORBA_ThreadpoolLanes,
0,
sizeof (RTCORBA::ThreadpoolLanes)
);
namespace RTCORBA
{
::CORBA::TypeCode_ptr _tc_ThreadpoolLanes =
&_tc_TAO_tc_RTCORBA_ThreadpoolLanes;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_RTCORBA_PriorityModel[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
38,
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 (0x6c3a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/RTCORBA/PriorityModel:1.0
14,
ACE_NTOHL (0x5072696f),
ACE_NTOHL (0x72697479),
ACE_NTOHL (0x4d6f6465),
ACE_NTOHL (0x6c000000), // name = PriorityModel
2, // member count
18,
ACE_NTOHL (0x434c4945),
ACE_NTOHL (0x4e545f50),
ACE_NTOHL (0x524f5041),
ACE_NTOHL (0x47415445),
ACE_NTOHL (0x44000000), // name = CLIENT_PROPAGATED
16,
ACE_NTOHL (0x53455256),
ACE_NTOHL (0x45525f44),
ACE_NTOHL (0x45434c41),
ACE_NTOHL (0x52454400), // name = SERVER_DECLARED
};
static CORBA::TypeCode _tc_TAO_tc_RTCORBA_PriorityModel (
CORBA::tk_enum,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?