ifr_componentsc.h

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

H
2,307
字号
// -*- C++ -*-
//
// IFR_ComponentsC.h,v 1.19 2003/12/28 17:09:09 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_COMPONENTSC_H_
#define _TAO_IDL_ORIG_IFR_COMPONENTSC_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/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_ExtendedC.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_visitor_module/module_ch.cpp:48
  
  namespace ComponentIR
  {
    
    // TAO_IDL - Generated from
    // be/be_interface.cpp:611

#if !defined (_CORBA_COMPONENTIR_COMPONENTDEF__VAR_OUT_CH_)
#define _CORBA_COMPONENTIR_COMPONENTDEF__VAR_OUT_CH_
    
    class ComponentDef;
    typedef ComponentDef *ComponentDef_ptr;
    
    typedef
      TAO_Objref_Var_T<
          ComponentDef
        >
      ComponentDef_var;
    
    typedef
      TAO_Objref_Out_T<
          ComponentDef
        >
      ComponentDef_out;

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

#if !defined (_CORBA_COMPONENTIR_HOMEDEF__VAR_OUT_CH_)
#define _CORBA_COMPONENTIR_HOMEDEF__VAR_OUT_CH_
    
    class HomeDef;
    typedef HomeDef *HomeDef_ptr;
    
    typedef
      TAO_Objref_Var_T<
          HomeDef
        >
      HomeDef_var;
    
    typedef
      TAO_Objref_Out_T<
          HomeDef
        >
      HomeDef_out;

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

#if !defined (_CORBA_COMPONENTIR_EVENTDEF__VAR_OUT_CH_)
#define _CORBA_COMPONENTIR_EVENTDEF__VAR_OUT_CH_
    
    class EventDef;
    typedef EventDef *EventDef_ptr;
    
    typedef
      TAO_Objref_Var_T<
          EventDef
        >
      EventDef_var;
    
    typedef
      TAO_Objref_Out_T<
          EventDef
        >
      EventDef_out;

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

#if !defined (_CORBA_COMPONENTIR_EVENTDEF_CH_)
#define _CORBA_COMPONENTIR_EVENTDEF_CH_
    
    class TAO_IFR_Client_Export EventDef
      : public virtual CORBA::ExtValueDef
    {
    public:
      friend class TAO::Narrow_Utils<EventDef>;
      typedef EventDef_ptr _ptr_type;
      typedef EventDef_var _var_type;
      
      // The static operations.
      static EventDef_ptr _duplicate (EventDef_ptr obj);
      
      static EventDef_ptr _narrow (
          CORBA::Object_ptr obj
          ACE_ENV_ARG_DECL_WITH_DEFAULTS
        );
      
      static EventDef_ptr _unchecked_narrow (
          CORBA::Object_ptr obj
          ACE_ENV_ARG_DECL_WITH_DEFAULTS
        );
      
      static EventDef_ptr _nil (void)
      {
        return (EventDef_ptr)0;
      }
      
      static void _tao_any_destructor (void *);
      
      // 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_EventDef_Proxy_Broker_;
    
    protected:
      // Concrete interface only.
      EventDef (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_ComponentIR_EventDef_setup_collocation (int collocated);
      
      // Concrete non-local interface only.
      EventDef (
          IOP::IOR *ior,
          TAO_ORB_Core *orb_core = 0
        );
      
      // Non-local interface only.
      EventDef (
          TAO_Stub *objref,
          CORBA::Boolean _tao_collocated = 0,
          TAO_Abstract_ServantBase *servant = 0,
          TAO_ORB_Core *orb_core = 0
        );
      
      virtual ~EventDef (void);
    
    private:
      // Private and unimplemented for concrete interfaces.
      EventDef (const EventDef &);
      
      void operator= (const EventDef &);
    };

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

#if !defined (_CORBA_COMPONENTIR_CONTAINER__VAR_OUT_CH_)
#define _CORBA_COMPONENTIR_CONTAINER__VAR_OUT_CH_
    
    class Container;
    typedef Container *Container_ptr;
    
    typedef
      TAO_Objref_Var_T<
          Container
        >
      Container_var;
    
    typedef
      TAO_Objref_Out_T<
          Container
        >
      Container_out;

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

#if !defined (_CORBA_COMPONENTIR_CONTAINER_CH_)
#define _CORBA_COMPONENTIR_CONTAINER_CH_
    
    class TAO_IFR_Client_Export Container
      : public virtual CORBA::Container
    {
    public:
      friend class TAO::Narrow_Utils<Container>;
      typedef Container_ptr _ptr_type;
      typedef Container_var _var_type;
      
      // The static operations.
      static Container_ptr _duplicate (Container_ptr obj);
      
      static Container_ptr _narrow (
          CORBA::Object_ptr obj
          ACE_ENV_ARG_DECL_WITH_DEFAULTS
        );
      
      static Container_ptr _unchecked_narrow (
          CORBA::Object_ptr obj
          ACE_ENV_ARG_DECL_WITH_DEFAULTS
        );
      
      static Container_ptr _nil (void)
      {
        return (Container_ptr)0;
      }
      
      static void _tao_any_destructor (void *);
      
      // TAO_IDL - Generated from
      // be/be_visitor_operation/operation_ch.cpp:46
      
      virtual ::CORBA::ComponentIR::ComponentDef_ptr create_component (
          const char * id,
          const char * name,
          const char * version,
          CORBA::ComponentIR::ComponentDef_ptr base_component,
          const CORBA::InterfaceDefSeq & supports_interfaces
          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::ComponentIR::HomeDef_ptr create_home (
          const char * id,
          const char * name,
          const char * version,
          CORBA::ComponentIR::HomeDef_ptr base_home,
          CORBA::ComponentIR::ComponentDef_ptr managed_component,
          const CORBA::InterfaceDefSeq & supports_interfaces,
          CORBA::ValueDef_ptr primary_key
          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::ComponentIR::EventDef_ptr create_event (
          const char * id,
          const char * name,
          const char * version,
          CORBA::Boolean is_custom,
          CORBA::Boolean is_abstract,
          CORBA::ValueDef_ptr base_value,
          CORBA::Boolean is_truncatable,
          const CORBA::ValueDefSeq & abstract_base_values,
          const CORBA::InterfaceDefSeq & supported_interfaces,
          const CORBA::ExtInitializerSeq & initializers
          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_Container_Proxy_Broker_;
    
    protected:
      // Concrete interface only.
      Container (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_ComponentIR_Container_setup_collocation (int collocated);
      
      // Concrete non-local interface only.
      Container (
          IOP::IOR *ior,
          TAO_ORB_Core *orb_core = 0
        );
      
      // Non-local interface only.
      Container (
          TAO_Stub *objref,
          CORBA::Boolean _tao_collocated = 0,
          TAO_Abstract_ServantBase *servant = 0,
          TAO_ORB_Core *orb_core = 0
        );
      
      virtual ~Container (void);
    
    private:
      // Private and unimplemented for concrete interfaces.
      Container (const Container &);
      
      void operator= (const Container &);
    };

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

#if !defined (_CORBA_COMPONENTIR_MODULEDEF__VAR_OUT_CH_)
#define _CORBA_COMPONENTIR_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_COMPONENTIR_MODULEDEF_CH_)
#define _CORBA_COMPONENTIR_MODULEDEF_CH_
    
    class TAO_IFR_Client_Export ModuleDef
      : public virtual CORBA::ModuleDef,
        public virtual CORBA::ComponentIR::Container
    {
    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
        );
      
      static ModuleDef_ptr _unchecked_narrow (
          CORBA::Object_ptr obj

⌨️ 快捷键说明

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