ifr_basicc.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 2,569 行 · 第 1/5 页

H
2,569
字号
// -*- C++ -*-
//
// IFR_BasicC.h,v 1.19 2003/12/28 17:09:08 bala 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:186

#ifndef _TAO_IDL_ORIG_IFR_BASICC_H_
#define _TAO_IDL_ORIG_IFR_BASICC_H_

#include /**/ "ace/pre.h"

#include "tao/ORB.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "ifr_client_export.h"
#include "tao/CDR.h"
#include "tao/Environment.h"
#include "tao/Object.h"
#include "tao/Typecode.h"
#include "tao/Any.h"
#include "tao/ParameterMode.h"
#include "tao/Sequence_T.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/Seq_Var_T.h"
#include "tao/Seq_Out_T.h"
#include "tao/VarOut_T.h"

#include "IFR_BaseC.h"

#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO TAO_IFR_Client_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_IFR_Client_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__ */

// TAO_IDL - Generated from 
// be/be_visitor_root/root_ch.cpp:63

namespace TAO
{
  class Collocation_Proxy_Broker;
  
  template<typename T> class Narrow_Utils;
  template<typename T> class AbstractBase_Narrow_Utils;
}

// TAO_IDL - Generated from
// be/be_visitor_module/module_ch.cpp:48

namespace CORBA
{
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_PRIMITIVEDEF__VAR_OUT_CH_)
#define _CORBA_PRIMITIVEDEF__VAR_OUT_CH_
  
  class PrimitiveDef;
  typedef PrimitiveDef *PrimitiveDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        PrimitiveDef
      >
    PrimitiveDef_var;
  
  typedef
    TAO_Objref_Out_T<
        PrimitiveDef
      >
    PrimitiveDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_STRINGDEF__VAR_OUT_CH_)
#define _CORBA_STRINGDEF__VAR_OUT_CH_
  
  class StringDef;
  typedef StringDef *StringDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        StringDef
      >
    StringDef_var;
  
  typedef
    TAO_Objref_Out_T<
        StringDef
      >
    StringDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_SEQUENCEDEF__VAR_OUT_CH_)
#define _CORBA_SEQUENCEDEF__VAR_OUT_CH_
  
  class SequenceDef;
  typedef SequenceDef *SequenceDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        SequenceDef
      >
    SequenceDef_var;
  
  typedef
    TAO_Objref_Out_T<
        SequenceDef
      >
    SequenceDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_ARRAYDEF__VAR_OUT_CH_)
#define _CORBA_ARRAYDEF__VAR_OUT_CH_
  
  class ArrayDef;
  typedef ArrayDef *ArrayDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        ArrayDef
      >
    ArrayDef_var;
  
  typedef
    TAO_Objref_Out_T<
        ArrayDef
      >
    ArrayDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_WSTRINGDEF__VAR_OUT_CH_)
#define _CORBA_WSTRINGDEF__VAR_OUT_CH_
  
  class WstringDef;
  typedef WstringDef *WstringDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        WstringDef
      >
    WstringDef_var;
  
  typedef
    TAO_Objref_Out_T<
        WstringDef
      >
    WstringDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_FIXEDDEF__VAR_OUT_CH_)
#define _CORBA_FIXEDDEF__VAR_OUT_CH_
  
  class FixedDef;
  typedef FixedDef *FixedDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        FixedDef
      >
    FixedDef_var;
  
  typedef
    TAO_Objref_Out_T<
        FixedDef
      >
    FixedDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_enum/enum_ch.cpp:57
  
  enum PrimitiveKind
  {
    pk_null,
    pk_void,
    pk_short,
    pk_long,
    pk_ushort,
    pk_ulong,
    pk_float,
    pk_double,
    pk_boolean,
    pk_char,
    pk_octet,
    pk_any,
    pk_TypeCode,
    pk_Principal,
    pk_string,
    pk_objref,
    pk_longlong,
    pk_ulonglong,
    pk_longdouble,
    pk_wchar,
    pk_wstring,
    pk_value_base
  };
  
  typedef PrimitiveKind &PrimitiveKind_out;
  
  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PrimitiveKind;
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_REPOSITORY__VAR_OUT_CH_)
#define _CORBA_REPOSITORY__VAR_OUT_CH_
  
  class Repository;
  typedef Repository *Repository_ptr;
  
  typedef
    TAO_Objref_Var_T<
        Repository
      >
    Repository_var;
  
  typedef
    TAO_Objref_Out_T<
        Repository
      >
    Repository_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_ch.cpp:54

#if !defined (_CORBA_REPOSITORY_CH_)
#define _CORBA_REPOSITORY_CH_
  
  class TAO_IFR_Client_Export Repository
    : public virtual CORBA::Container
  {
  public:
    friend class TAO::Narrow_Utils<Repository>;
    typedef Repository_ptr _ptr_type;
    typedef Repository_var _var_type;
    
    // The static operations.
    static Repository_ptr _duplicate (Repository_ptr obj);
    
    static Repository_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static Repository_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static Repository_ptr _nil (void)
    {
      return (Repository_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::Contained_ptr lookup_id (
        const char * search_id
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual CORBA::TypeCode_ptr get_canonical_typecode (
        CORBA::TypeCode_ptr tc
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::PrimitiveDef_ptr get_primitive (
        CORBA::PrimitiveKind kind
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::StringDef_ptr create_string (
        CORBA::ULong bound
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::WstringDef_ptr create_wstring (
        CORBA::ULong bound
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::SequenceDef_ptr create_sequence (
        CORBA::ULong bound,
        CORBA::IDLType_ptr element_type
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::ArrayDef_ptr create_array (
        CORBA::ULong length,
        CORBA::IDLType_ptr element_type
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CORBA::FixedDef_ptr create_fixed (
        CORBA::UShort digits,
        CORBA::Short scale
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:196
    
    virtual CORBA::Boolean _is_a (
        const char *type_id
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    virtual const char* _interface_repository_id (void) const;
    virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
  private:
    TAO::Collocation_Proxy_Broker *the_TAO_Repository_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    Repository (int collocated = 0);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CORBA_Repository_setup_collocation (int collocated);
    
    // Concrete non-local interface only.
    Repository (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    Repository (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~Repository (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    Repository (const Repository &);
    
    void operator= (const Repository &);
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Repository;
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:611

#if !defined (_CORBA_MODULEDEF__VAR_OUT_CH_)
#define _CORBA_MODULEDEF__VAR_OUT_CH_
  
  class ModuleDef;
  typedef ModuleDef *ModuleDef_ptr;
  
  typedef
    TAO_Objref_Var_T<
        ModuleDef
      >
    ModuleDef_var;
  
  typedef
    TAO_Objref_Out_T<
        ModuleDef
      >
    ModuleDef_out;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_ch.cpp:54

#if !defined (_CORBA_MODULEDEF_CH_)
#define _CORBA_MODULEDEF_CH_
  
  class TAO_IFR_Client_Export ModuleDef
    : public virtual CORBA::Container,
      public virtual CORBA::Contained
  {
  public:
    friend class TAO::Narrow_Utils<ModuleDef>;
    typedef ModuleDef_ptr _ptr_type;
    typedef ModuleDef_var _var_type;
    
    // The static operations.
    static ModuleDef_ptr _duplicate (ModuleDef_ptr obj);
    
    static ModuleDef_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?