messaging_no_implc.h

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

H
1,701
字号
// -*- C++ -*-
//
// Messaging_No_ImplC.h,v 1.12 2003/12/28 10:57:39 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:150

#ifndef _TAO_IDL_ORIG_MESSAGING_NO_IMPLC_H_
#define _TAO_IDL_ORIG_MESSAGING_NO_IMPLC_H_

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

#include "tao/ORB.h"

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

#include "messaging_export.h"
#include "tao/CDR.h"
#include "tao/Environment.h"
#include "tao/Object.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/VarOut_T.h"

#include "tao/TimeBaseC.h"
#include "tao/PolicyC.h"
#include "tao/PollableC.h"

#if defined(TRANSPARENT)
// Some platforms define this macro for ioctl()
#undef TRANSPARENT
#endif

#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO TAO_Messaging_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_Messaging_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 Messaging
{

  // TAO_IDL - Generated from
  // be/be_visitor_typedef/typedef_ch.cpp:342

  typedef CORBA::Short Priority;
  typedef CORBA::Short_out Priority_out;

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Priority;

  // TAO_IDL - Generated from
  // be/be_visitor_typedef/typedef_ch.cpp:342

  typedef CORBA::Short RebindMode;
  typedef CORBA::Short_out RebindMode_out;

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RebindMode;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RebindMode TRANSPARENT = 0;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RebindMode NO_REBIND = 1;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RebindMode NO_RECONNECT = 2;

  // TAO_IDL - Generated from
  // be/be_visitor_typedef/typedef_ch.cpp:342

  typedef CORBA::Short RoutingType;
  typedef CORBA::Short_out RoutingType_out;

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RoutingType;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RoutingType ROUTE_NONE = 0;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RoutingType ROUTE_FORWARD = 1;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::RoutingType ROUTE_STORE_AND_FORWARD = 2;

  // TAO_IDL - Generated from
  // be/be_visitor_typedef/typedef_ch.cpp:342

  typedef CORBA::UShort Ordering;
  typedef CORBA::UShort_out Ordering_out;

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Ordering;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::Ordering ORDER_ANY = 1U;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::Ordering ORDER_TEMPORAL = 2U;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::Ordering ORDER_PRIORITY = 4U;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const Messaging::Ordering ORDER_DEADLINE = 8U;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const CORBA::PolicyType REBIND_POLICY_TYPE = 23U;

  // TAO_IDL - Generated from
  // be/be_interface.cpp:610

#if !defined (_MESSAGING_REBINDPOLICY__VAR_OUT_CH_)
#define _MESSAGING_REBINDPOLICY__VAR_OUT_CH_

  class RebindPolicy;
  typedef RebindPolicy *RebindPolicy_ptr;

  typedef
    TAO_Objref_Var_T<
        RebindPolicy
      >
    RebindPolicy_var;

  typedef
    TAO_Objref_Out_T<
        RebindPolicy
      >
    RebindPolicy_out;

#endif /* end #if !defined */

  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_ch.cpp:54

#if !defined (_MESSAGING_REBINDPOLICY_CH_)
#define _MESSAGING_REBINDPOLICY_CH_

  class TAO_Messaging_Export RebindPolicy
    : public virtual CORBA::Policy
  {
  public:
    typedef RebindPolicy_ptr _ptr_type;
    typedef RebindPolicy_var _var_type;

    // The static operations.
    static RebindPolicy_ptr _duplicate (RebindPolicy_ptr obj);

    static RebindPolicy_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );

    static RebindPolicy_ptr _nil (void)
    {
      return (RebindPolicy_ptr)0;
    }

    static void _tao_any_destructor (void *);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46

    virtual Messaging::RebindMode rebind_mode (
        ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:192

    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);

  protected:
    // Abstract or local interface only.
    RebindPolicy (void);

    virtual ~RebindPolicy (void);

  private:
    // Private and unimplemented for concrete interfaces.
    RebindPolicy (const RebindPolicy &);

    void operator= (const RebindPolicy &);
  };

#endif /* end #if !defined */

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RebindPolicy;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const CORBA::PolicyType REQUEST_PRIORITY_POLICY_TYPE = 25U;

  // TAO_IDL - Generated from
  // be/be_type.cpp:258

  struct PriorityRange;

  typedef
    TAO_Fixed_Var_T<
        PriorityRange
      >
    PriorityRange_var;

  typedef
    PriorityRange &
    PriorityRange_out;

  // TAO_IDL - Generated from
  // be/be_visitor_structure/structure_ch.cpp:52

  struct TAO_Messaging_Export PriorityRange
  {
    typedef PriorityRange_var _var_type;

    static void _tao_any_destructor (void *);
    Messaging::Priority min;
    Messaging::Priority max;
  };

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PriorityRange;

  // TAO_IDL - Generated from
  // be/be_interface.cpp:610

#if !defined (_MESSAGING_REQUESTPRIORITYPOLICY__VAR_OUT_CH_)
#define _MESSAGING_REQUESTPRIORITYPOLICY__VAR_OUT_CH_

  class RequestPriorityPolicy;
  typedef RequestPriorityPolicy *RequestPriorityPolicy_ptr;

  typedef
    TAO_Objref_Var_T<
        RequestPriorityPolicy
      >
    RequestPriorityPolicy_var;

  typedef
    TAO_Objref_Out_T<
        RequestPriorityPolicy
      >
    RequestPriorityPolicy_out;

#endif /* end #if !defined */

  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_ch.cpp:54

#if !defined (_MESSAGING_REQUESTPRIORITYPOLICY_CH_)
#define _MESSAGING_REQUESTPRIORITYPOLICY_CH_

  class TAO_Messaging_Export RequestPriorityPolicy
    : public virtual CORBA::Policy
  {
  public:
    typedef RequestPriorityPolicy_ptr _ptr_type;
    typedef RequestPriorityPolicy_var _var_type;

    // The static operations.
    static RequestPriorityPolicy_ptr _duplicate (RequestPriorityPolicy_ptr obj);

    static RequestPriorityPolicy_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );

    static RequestPriorityPolicy_ptr _nil (void)
    {
      return (RequestPriorityPolicy_ptr)0;
    }

    static void _tao_any_destructor (void *);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46

    virtual ::Messaging::PriorityRange priority_range (
        ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      )) = 0;

    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:192

    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);

  protected:
    // Abstract or local interface only.
    RequestPriorityPolicy (void);

    virtual ~RequestPriorityPolicy (void);

  private:
    // Private and unimplemented for concrete interfaces.
    RequestPriorityPolicy (const RequestPriorityPolicy &);

    void operator= (const RequestPriorityPolicy &);
  };

#endif /* end #if !defined */

  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44

  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RequestPriorityPolicy;

  // TAO_IDL - Generated from
  // be/be_visitor_constant/constant_ch.cpp:52

  const CORBA::PolicyType REPLY_PRIORITY_POLICY_TYPE = 26U;

  // TAO_IDL - Generated from
  // be/be_interface.cpp:610

#if !defined (_MESSAGING_REPLYPRIORITYPOLICY__VAR_OUT_CH_)

⌨️ 快捷键说明

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