// -*- C++ -*-
//
// $Id$

// ****  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:153

#ifndef _TAO_IDL_COSTYPEDEVENTCHANNELADMINC_H_
#define _TAO_IDL_COSTYPEDEVENTCHANNELADMINC_H_

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


#include "ace/config-all.h"

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

#include "CosEvent/event_export.h"
#include "tao/ORB.h"
#include "tao/Environment.h"
#include "tao/Object.h"
#include "tao/Objref_VarOut_T.h"

#include "CosEventChannelAdminC.h"
#include "CosTypedEventCommC.h"

#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO TAO_Event_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_Event_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 CosTypedEventChannelAdmin
{
  
  // TAO_IDL - Generated from
  // be/be_visitor_exception/exception_ch.cpp:51

#if !defined (_COSTYPEDEVENTCHANNELADMIN_INTERFACENOTSUPPORTED_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_INTERFACENOTSUPPORTED_CH_
  
  class TAO_Event_Export InterfaceNotSupported : public CORBA::UserException
  {
  public:
    
    InterfaceNotSupported (void);
    InterfaceNotSupported (const InterfaceNotSupported &);
    ~InterfaceNotSupported (void);

    InterfaceNotSupported &operator= (const InterfaceNotSupported &);
    
    static void _tao_any_destructor (void *);
    
    static InterfaceNotSupported *_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
    // be/be_visitor_exception/exception_ch.cpp:125
    
    virtual CORBA::TypeCode_ptr _type (void) const;
  };
  
  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InterfaceNotSupported;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_exception/exception_ch.cpp:51

#if !defined (_COSTYPEDEVENTCHANNELADMIN_NOSUCHIMPLEMENTATION_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_NOSUCHIMPLEMENTATION_CH_
  
  class TAO_Event_Export NoSuchImplementation : public CORBA::UserException
  {
  public:
    
    NoSuchImplementation (void);
    NoSuchImplementation (const NoSuchImplementation &);
    ~NoSuchImplementation (void);

    NoSuchImplementation &operator= (const NoSuchImplementation &);
    
    static void _tao_any_destructor (void *);
    
    static NoSuchImplementation *_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
    // be/be_visitor_exception/exception_ch.cpp:125
    
    virtual CORBA::TypeCode_ptr _type (void) const;
  };
  
  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NoSuchImplementation;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_typedef/typedef_ch.cpp:376
  
  typedef char * Key;
  typedef CORBA::String_var Key_var;
  typedef CORBA::String_out Key_out;
  
  // TAO_IDL - Generated from
  // be/be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Key;
  
  // TAO_IDL - Generated from
  // be/be_interface.cpp:613

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER__VAR_OUT_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER__VAR_OUT_CH_
  
  class TypedProxyPushConsumer;
  typedef TypedProxyPushConsumer *TypedProxyPushConsumer_ptr;
  
  typedef
    TAO_Objref_Var_T<
        TypedProxyPushConsumer
      >
    TypedProxyPushConsumer_var;
  
  typedef
    TAO_Objref_Out_T<
        TypedProxyPushConsumer
      >
    TypedProxyPushConsumer_out;

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER_CH_
  
  class TAO_Event_Export TypedProxyPushConsumer
    : public virtual ::CosEventChannelAdmin::ProxyPushConsumer,
      public virtual ::CosTypedEventComm::TypedPushConsumer
  {
  public:
    friend class TAO::Narrow_Utils<TypedProxyPushConsumer>;
    typedef TypedProxyPushConsumer_ptr _ptr_type;
    typedef TypedProxyPushConsumer_var _var_type;
    
    // The static operations.
    static TypedProxyPushConsumer_ptr _duplicate (TypedProxyPushConsumer_ptr obj);
    
    static TypedProxyPushConsumer_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedProxyPushConsumer_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedProxyPushConsumer_ptr _nil (void)
    {
      return (TypedProxyPushConsumer_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:208
    
    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_TypedProxyPushConsumer_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    TypedProxyPushConsumer (void);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CosTypedEventChannelAdmin_TypedProxyPushConsumer_setup_collocation (void);
    
    // Concrete non-local interface only.
    TypedProxyPushConsumer (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    TypedProxyPushConsumer (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~TypedProxyPushConsumer (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    TypedProxyPushConsumer (const TypedProxyPushConsumer &);
    
    void operator= (const TypedProxyPushConsumer &);
  };

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER__VAR_OUT_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER__VAR_OUT_CH_
  
  class TypedProxyPullSupplier;
  typedef TypedProxyPullSupplier *TypedProxyPullSupplier_ptr;
  
  typedef
    TAO_Objref_Var_T<
        TypedProxyPullSupplier
      >
    TypedProxyPullSupplier_var;
  
  typedef
    TAO_Objref_Out_T<
        TypedProxyPullSupplier
      >
    TypedProxyPullSupplier_out;

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER_CH_
  
  class TAO_Event_Export TypedProxyPullSupplier
    : public virtual ::CosEventChannelAdmin::ProxyPullSupplier,
      public virtual ::CosTypedEventComm::TypedPullSupplier
  {
  public:
    friend class TAO::Narrow_Utils<TypedProxyPullSupplier>;
    typedef TypedProxyPullSupplier_ptr _ptr_type;
    typedef TypedProxyPullSupplier_var _var_type;
    
    // The static operations.
    static TypedProxyPullSupplier_ptr _duplicate (TypedProxyPullSupplier_ptr obj);
    
    static TypedProxyPullSupplier_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedProxyPullSupplier_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedProxyPullSupplier_ptr _nil (void)
    {
      return (TypedProxyPullSupplier_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:208
    
    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_TypedProxyPullSupplier_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    TypedProxyPullSupplier (void);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CosTypedEventChannelAdmin_TypedProxyPullSupplier_setup_collocation (void);
    
    // Concrete non-local interface only.
    TypedProxyPullSupplier (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    TypedProxyPullSupplier (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~TypedProxyPullSupplier (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    TypedProxyPullSupplier (const TypedProxyPullSupplier &);
    
    void operator= (const TypedProxyPullSupplier &);
  };

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN__VAR_OUT_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN__VAR_OUT_CH_
  
  class TypedSupplierAdmin;
  typedef TypedSupplierAdmin *TypedSupplierAdmin_ptr;
  
  typedef
    TAO_Objref_Var_T<
        TypedSupplierAdmin
      >
    TypedSupplierAdmin_var;
  
  typedef
    TAO_Objref_Out_T<
        TypedSupplierAdmin
      >
    TypedSupplierAdmin_out;

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN_CH_
  
  class TAO_Event_Export TypedSupplierAdmin
    : public virtual ::CosEventChannelAdmin::SupplierAdmin
  {
  public:
    friend class TAO::Narrow_Utils<TypedSupplierAdmin>;
    typedef TypedSupplierAdmin_ptr _ptr_type;
    typedef TypedSupplierAdmin_var _var_type;
    
    // The static operations.
    static TypedSupplierAdmin_ptr _duplicate (TypedSupplierAdmin_ptr obj);
    
    static TypedSupplierAdmin_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedSupplierAdmin_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedSupplierAdmin_ptr _nil (void)
    {
      return (TypedSupplierAdmin_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr obtain_typed_push_consumer (
        const char * supported_interface
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException,
        ::CosTypedEventChannelAdmin::InterfaceNotSupported
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosEventChannelAdmin::ProxyPullConsumer_ptr obtain_typed_pull_consumer (
        const char * uses_interface
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException,
        ::CosTypedEventChannelAdmin::NoSuchImplementation
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:208
    
    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_TypedSupplierAdmin_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    TypedSupplierAdmin (void);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CosTypedEventChannelAdmin_TypedSupplierAdmin_setup_collocation (void);
    
    // Concrete non-local interface only.
    TypedSupplierAdmin (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    TypedSupplierAdmin (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~TypedSupplierAdmin (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    TypedSupplierAdmin (const TypedSupplierAdmin &);
    
    void operator= (const TypedSupplierAdmin &);
  };

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN__VAR_OUT_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN__VAR_OUT_CH_
  
  class TypedConsumerAdmin;
  typedef TypedConsumerAdmin *TypedConsumerAdmin_ptr;
  
  typedef
    TAO_Objref_Var_T<
        TypedConsumerAdmin
      >
    TypedConsumerAdmin_var;
  
  typedef
    TAO_Objref_Out_T<
        TypedConsumerAdmin
      >
    TypedConsumerAdmin_out;

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN_CH_
  
  class TAO_Event_Export TypedConsumerAdmin
    : public virtual ::CosEventChannelAdmin::ConsumerAdmin
  {
  public:
    friend class TAO::Narrow_Utils<TypedConsumerAdmin>;
    typedef TypedConsumerAdmin_ptr _ptr_type;
    typedef TypedConsumerAdmin_var _var_type;
    
    // The static operations.
    static TypedConsumerAdmin_ptr _duplicate (TypedConsumerAdmin_ptr obj);
    
    static TypedConsumerAdmin_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedConsumerAdmin_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedConsumerAdmin_ptr _nil (void)
    {
      return (TypedConsumerAdmin_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr obtain_typed_pull_supplier (
        const char * supported_interface
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException,
        ::CosTypedEventChannelAdmin::InterfaceNotSupported
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosEventChannelAdmin::ProxyPushSupplier_ptr obtain_typed_push_supplier (
        const char * uses_interface
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException,
        ::CosTypedEventChannelAdmin::NoSuchImplementation
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:208
    
    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_TypedConsumerAdmin_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    TypedConsumerAdmin (void);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CosTypedEventChannelAdmin_TypedConsumerAdmin_setup_collocation (void);
    
    // Concrete non-local interface only.
    TypedConsumerAdmin (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    TypedConsumerAdmin (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~TypedConsumerAdmin (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    TypedConsumerAdmin (const TypedConsumerAdmin &);
    
    void operator= (const TypedConsumerAdmin &);
  };

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL__VAR_OUT_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL__VAR_OUT_CH_
  
  class TypedEventChannel;
  typedef TypedEventChannel *TypedEventChannel_ptr;
  
  typedef
    TAO_Objref_Var_T<
        TypedEventChannel
      >
    TypedEventChannel_var;
  
  typedef
    TAO_Objref_Out_T<
        TypedEventChannel
      >
    TypedEventChannel_out;

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

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL_CH_
  
  class TAO_Event_Export TypedEventChannel
    : public virtual CORBA::Object
  {
  public:
    friend class TAO::Narrow_Utils<TypedEventChannel>;
    typedef TypedEventChannel_ptr _ptr_type;
    typedef TypedEventChannel_var _var_type;
    
    // The static operations.
    static TypedEventChannel_ptr _duplicate (TypedEventChannel_ptr obj);
    
    static TypedEventChannel_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedEventChannel_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static TypedEventChannel_ptr _nil (void)
    {
      return (TypedEventChannel_ptr)0;
    }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr for_consumers (
        ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr for_suppliers (
        ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_ch.cpp:46
    
    virtual void destroy (
        ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
      )
      ACE_THROW_SPEC ((
        CORBA::SystemException
      ));
    
    // TAO_IDL - Generated from
    // be/be_visitor_interface/interface_ch.cpp:208
    
    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_TypedEventChannel_Proxy_Broker_;
  
  protected:
    // Concrete interface only.
    TypedEventChannel (void);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void CosTypedEventChannelAdmin_TypedEventChannel_setup_collocation (void);
    
    // Concrete non-local interface only.
    TypedEventChannel (
        IOP::IOR *ior,
        TAO_ORB_Core *orb_core = 0
      );
    
    // Non-local interface only.
    TypedEventChannel (
        TAO_Stub *objref,
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0,
        TAO_ORB_Core *orb_core = 0
      );
    
    virtual ~TypedEventChannel (void);
  
  private:
    // Private and unimplemented for concrete interfaces.
    TypedEventChannel (const TypedEventChannel &);
    
    void operator= (const TypedEventChannel &);
  };

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

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

} // module CosTypedEventChannelAdmin

// Proxy Broker Factory function pointer declarations.

// TAO_IDL - Generated from
// be/be_visitor_root/root.cpp:120

extern TAO_Event_Export
TAO::Collocation_Proxy_Broker *
(*CosTypedEventChannelAdmin__TAO_TypedProxyPushConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

extern TAO_Event_Export
TAO::Collocation_Proxy_Broker *
(*CosTypedEventChannelAdmin__TAO_TypedProxyPullSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

extern TAO_Event_Export
TAO::Collocation_Proxy_Broker *
(*CosTypedEventChannelAdmin__TAO_TypedSupplierAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

extern TAO_Event_Export
TAO::Collocation_Proxy_Broker *
(*CosTypedEventChannelAdmin__TAO_TypedConsumerAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

extern TAO_Event_Export
TAO::Collocation_Proxy_Broker *
(*CosTypedEventChannelAdmin__TAO_TypedEventChannel_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

// TAO_IDL - Generated from
// be/be_visitor_traits.cpp:59

// Traits specializations.
namespace TAO
{

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER__TRAITS_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPUSHCONSUMER__TRAITS_CH_
  
  ACE_TEMPLATE_SPECIALIZATION
  struct TAO_Event_Export Objref_Traits< ::CosTypedEventChannelAdmin::TypedProxyPushConsumer>
  {
    static ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr tao_duplicate (
        ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr
      );
    static void tao_release (
        ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr
      );
    static ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr tao_nil (void);
    static CORBA::Boolean tao_marshal (
        ::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr p,
        TAO_OutputCDR & cdr
      );
  };

#endif /* end #if !defined */

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER__TRAITS_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDPROXYPULLSUPPLIER__TRAITS_CH_
  
  ACE_TEMPLATE_SPECIALIZATION
  struct TAO_Event_Export Objref_Traits< ::CosTypedEventChannelAdmin::TypedProxyPullSupplier>
  {
    static ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr tao_duplicate (
        ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr
      );
    static void tao_release (
        ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr
      );
    static ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr tao_nil (void);
    static CORBA::Boolean tao_marshal (
        ::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr p,
        TAO_OutputCDR & cdr
      );
  };

#endif /* end #if !defined */

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN__TRAITS_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDSUPPLIERADMIN__TRAITS_CH_
  
  ACE_TEMPLATE_SPECIALIZATION
  struct TAO_Event_Export Objref_Traits< ::CosTypedEventChannelAdmin::TypedSupplierAdmin>
  {
    static ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr tao_duplicate (
        ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr
      );
    static void tao_release (
        ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr
      );
    static ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr tao_nil (void);
    static CORBA::Boolean tao_marshal (
        ::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr p,
        TAO_OutputCDR & cdr
      );
  };

#endif /* end #if !defined */

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN__TRAITS_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDCONSUMERADMIN__TRAITS_CH_
  
  ACE_TEMPLATE_SPECIALIZATION
  struct TAO_Event_Export Objref_Traits< ::CosTypedEventChannelAdmin::TypedConsumerAdmin>
  {
    static ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr tao_duplicate (
        ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr
      );
    static void tao_release (
        ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr
      );
    static ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr tao_nil (void);
    static CORBA::Boolean tao_marshal (
        ::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr p,
        TAO_OutputCDR & cdr
      );
  };

#endif /* end #if !defined */

#if !defined (_COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL__TRAITS_CH_)
#define _COSTYPEDEVENTCHANNELADMIN_TYPEDEVENTCHANNEL__TRAITS_CH_
  
  ACE_TEMPLATE_SPECIALIZATION
  struct TAO_Event_Export Objref_Traits< ::CosTypedEventChannelAdmin::TypedEventChannel>
  {
    static ::CosTypedEventChannelAdmin::TypedEventChannel_ptr tao_duplicate (
        ::CosTypedEventChannelAdmin::TypedEventChannel_ptr
      );
    static void tao_release (
        ::CosTypedEventChannelAdmin::TypedEventChannel_ptr
      );
    static ::CosTypedEventChannelAdmin::TypedEventChannel_ptr tao_nil (void);
    static CORBA::Boolean tao_marshal (
        ::CosTypedEventChannelAdmin::TypedEventChannel_ptr p,
        TAO_OutputCDR & cdr
      );
  };

#endif /* end #if !defined */
}

// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, const CosTypedEventChannelAdmin::InterfaceNotSupported &); // copying version
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::InterfaceNotSupported*); // noncopying version
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::InterfaceNotSupported *&); // deprecated
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CosTypedEventChannelAdmin::InterfaceNotSupported *&);

// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, const CosTypedEventChannelAdmin::NoSuchImplementation &); // copying version
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::NoSuchImplementation*); // noncopying version
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::NoSuchImplementation *&); // deprecated
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CosTypedEventChannelAdmin::NoSuchImplementation *&);

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr); // copying
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr *); // non-copying
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr); // copying
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr *); // non-copying
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr); // copying
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr *); // non-copying
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr); // copying
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr *); // non-copying
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_ch.cpp:52

TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedEventChannel_ptr); // copying
TAO_Event_Export void operator<<= (CORBA::Any &, CosTypedEventChannelAdmin::TypedEventChannel_ptr *); // non-copying
TAO_Event_Export CORBA::Boolean operator>>= (const CORBA::Any &, CosTypedEventChannelAdmin::TypedEventChannel_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_ch.cpp:52

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::InterfaceNotSupported &);
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::InterfaceNotSupported &);

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_ch.cpp:52

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::NoSuchImplementation &);
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::NoSuchImplementation &);

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_ch.cpp:55

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr );
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_ch.cpp:55

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr );
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_ch.cpp:55

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr );
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_ch.cpp:55

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr );
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr &);

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_ch.cpp:55

TAO_Event_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CosTypedEventChannelAdmin::TypedEventChannel_ptr );
TAO_Event_Export CORBA::Boolean operator>> (TAO_InputCDR &, CosTypedEventChannelAdmin::TypedEventChannel_ptr &);

// TAO_IDL - Generated from
// be/be_codegen.cpp:958

#if defined (__ACE_INLINE__)
#include "CosTypedEventChannelAdminC.inl"
#endif /* defined __ACE_INLINE__ */

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
#endif /* _MSC_VER */

#if defined (__BORLANDC__)
#pragma option pop
#endif /* __BORLANDC__ */

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

#endif /* ifndef */

