portableserverc.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 2,367 行 · 第 1/5 页
H
2,367 行
// -*- C++ -*-
//
// PortableServerC.h,v 1.25 2003/12/24 13:42:43 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
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
#ifndef _TAO_IDL_ORIG_PORTABLESERVERC_H_
#define _TAO_IDL_ORIG_PORTABLESERVERC_H_
#include /**/ "ace/pre.h"
#include "portableserver_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Exception.h"
#include "tao/PolicyC.h"
#include "tao/OctetSeqC.h"
#include "tao/CurrentC.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO TAO_PortableServer_Export
#if defined (TAO_EXPORT_NESTED_CLASSES)
# if defined (TAO_EXPORT_NESTED_MACRO)
# undef TAO_EXPORT_NESTED_MACRO
# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
# define TAO_EXPORT_NESTED_MACRO TAO_PortableServer_Export
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#endif /* _MSC_VER */
#if defined (__BORLANDC__)
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
class TAO_ServantBase;
class TAO_ServantBase_var;
class TAO_RefCountServantBase;
class TAO_Local_ServantBase;
class TAO_DynamicImplementation;
class TAO_POA;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
class Collocation_Proxy_Broker;
template<typename T> class Narrow_Utils;
}
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
namespace PortableServer
{
typedef TAO_ServantBase ServantBase;
typedef TAO_ServantBase_var ServantBase_var;
typedef TAO_RefCountServantBase RefCountServantBase;
typedef ServantBase *Servant;
typedef TAO_Local_ServantBase LocalServantBase;
typedef TAO_DynamicImplementation DynamicImplementation;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:601
#if !defined (_PORTABLESERVER_POA__VAR_OUT_CH_)
#define _PORTABLESERVER_POA__VAR_OUT_CH_
class POA;
typedef POA *POA_ptr;
typedef
TAO_Objref_Var_T<
POA
>
POA_var;
typedef
TAO_Objref_Out_T<
POA
>
POA_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:101
#if !defined (_PORTABLESERVER_POALIST_CH_)
#define _PORTABLESERVER_POALIST_CH_
class POAList;
typedef
TAO_MngSeq_Var_T<
POAList,
TAO_Object_Manager<
POA,
POA_var
>
>
POAList_var;
typedef
TAO_MngSeq_Out_T<
POAList,
POAList_var,
TAO_Object_Manager<
POA,
POA_var
>
>
POAList_out;
class TAO_PortableServer_Export POAList
: public
TAO_Unbounded_Object_Sequence<
POA,
POA_var
>
{
public:
POAList (void);
POAList (CORBA::ULong max);
POAList (
CORBA::ULong max,
CORBA::ULong length,
POA_ptr* buffer,
CORBA::Boolean release = 0
);
POAList (const POAList &);
~POAList (void);
static void _tao_any_destructor (void *);
typedef POAList_var _var_type;
};
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_POAList;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:426
typedef CORBA::OctetSeq ObjectId;
typedef CORBA::OctetSeq_var ObjectId_var;
typedef CORBA::OctetSeq_out ObjectId_out;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ObjectId;
#if (TAO_HAS_MINIMUM_CORBA == 0)
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_PORTABLESERVER_FORWARDREQUEST_CH_)
#define _PORTABLESERVER_FORWARDREQUEST_CH_
class TAO_PortableServer_Export ForwardRequest : public CORBA::UserException
{
public:
CORBA::Object_var forward_reference;
ForwardRequest (void);
ForwardRequest (const ForwardRequest &);
~ForwardRequest (void);
ForwardRequest &operator= (const ForwardRequest &);
static void _tao_any_destructor (void *);
static ForwardRequest *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
virtual CORBA::Exception *_tao_duplicate (void) const;
virtual void _raise (void) const;
virtual void _tao_encode (
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66
ForwardRequest (
const CORBA::Object_ptr _tao_forward_reference
);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ForwardRequest;
#endif /* end #if !defined */
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
#if (TAO_HAS_MINIMUM_POA == 0)
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_PORTABLESERVER_NOTAGROUPOBJECT_CH_)
#define _PORTABLESERVER_NOTAGROUPOBJECT_CH_
class TAO_PortableServer_Export NotAGroupObject : public CORBA::UserException
{
public:
NotAGroupObject (void);
NotAGroupObject (const NotAGroupObject &);
~NotAGroupObject (void);
NotAGroupObject &operator= (const NotAGroupObject &);
static void _tao_any_destructor (void *);
static NotAGroupObject *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
virtual CORBA::Exception *_tao_duplicate (void) const;
virtual void _raise (void) const;
virtual void _tao_encode (
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotAGroupObject;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:101
#if !defined (_PORTABLESERVER_IDS_CH_)
#define _PORTABLESERVER_IDS_CH_
class IDs;
typedef
TAO_VarSeq_Var_T<
IDs,
ObjectId
>
IDs_var;
typedef
TAO_Seq_Out_T<
IDs,
IDs_var,
ObjectId
>
IDs_out;
class TAO_PortableServer_Export IDs
: public
TAO_Unbounded_Sequence<
ObjectId
>
{
public:
IDs (void);
IDs (CORBA::ULong max);
IDs (
CORBA::ULong max,
CORBA::ULong length,
ObjectId* buffer,
CORBA::Boolean release = 0
);
IDs (const IDs &);
~IDs (void);
static void _tao_any_destructor (void *);
typedef IDs_var _var_type;
};
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IDs;
#endif /* TAO_HAS_MINIMUM_POA == 0 */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType THREAD_POLICY_ID = 16U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType LIFESPAN_POLICY_ID = 17U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType ID_UNIQUENESS_POLICY_ID = 18U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType ID_ASSIGNMENT_POLICY_ID = 19U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType IMPLICIT_ACTIVATION_POLICY_ID = 20U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType SERVANT_RETENTION_POLICY_ID = 21U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
const CORBA::PolicyType REQUEST_PROCESSING_POLICY_ID = 22U;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/enum_ch.cpp:57
enum ThreadPolicyValue
{
ORB_CTRL_MODEL,
SINGLE_THREAD_MODEL
};
#if (TAO_HAS_MINIMUM_POA == 0)
typedef ThreadPolicyValue &ThreadPolicyValue_out;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ThreadPolicyValue;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:601
#if !defined (_PORTABLESERVER_THREADPOLICY__VAR_OUT_CH_)
#define _PORTABLESERVER_THREADPOLICY__VAR_OUT_CH_
class ThreadPolicy;
typedef ThreadPolicy *ThreadPolicy_ptr;
typedef
TAO_Objref_Var_T<
ThreadPolicy
>
ThreadPolicy_var;
typedef
TAO_Objref_Out_T<
ThreadPolicy
>
ThreadPolicy_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:53
#if !defined (_PORTABLESERVER_THREADPOLICY_CH_)
#define _PORTABLESERVER_THREADPOLICY_CH_
class TAO_PortableServer_Export ThreadPolicy
: public virtual CORBA::Policy
{
public:
typedef ThreadPolicy_ptr _ptr_type;
typedef ThreadPolicy_var _var_type;
// The static operations.
static ThreadPolicy_ptr _duplicate (ThreadPolicy_ptr obj);
static ThreadPolicy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
static ThreadPolicy_ptr _nil (void)
{
return (ThreadPolicy_ptr)0;
}
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableServer::ThreadPolicyValue value (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
// TAO_IDL - Generated from
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?