Click here to Skip to main content
15,897,226 members
Articles / Programming Languages / C++

CORBA Application Wizard - A Tutorial on usage. Part II

Rate me:
Please Sign up or sign in to vote.
4.92/5 (9 votes)
3 Nov 20035 min read 43K   1.2K   16  
A tutorial on how to use the CORBA Application Wizard
// -*- 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/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151

#ifndef _TAO_IDL_QUOTERC_H_
#define _TAO_IDL_QUOTERC_H_


#include "tao/corba.h"

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


#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO 

#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 
#endif /* TAO_EXPORT_NESTED_CLASSES */

#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#pragma warning(disable:4290)
#endif /* _MSC_VER */

#if defined (__BORLANDC__)
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48

TAO_NAMESPACE  Quoter
{
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51

#if !defined (_QUOTER_INVALID_STOCK_SYMBOL_CH_)
#define _QUOTER_INVALID_STOCK_SYMBOL_CH_
  
  class  Invalid_Stock_Symbol : public CORBA::UserException
  {
  public:
    
    Invalid_Stock_Symbol (void);
    Invalid_Stock_Symbol (const Invalid_Stock_Symbol &);
    ~Invalid_Stock_Symbol (void);

    Invalid_Stock_Symbol &operator= (const Invalid_Stock_Symbol &);
    
    static void _tao_any_destructor (void *);
    
    static Invalid_Stock_Symbol *_downcast (CORBA::Exception *);
    static CORBA::Exception *_alloc (void);

    virtual CORBA::Exception *_tao_duplicate (void) const;

    virtual void _raise (void);

    virtual void _tao_encode (
        TAO_OutputCDR &
        ACE_ENV_ARG_DECL_NOT_USED
      ) const;
    
    virtual void _tao_decode (
        TAO_InputCDR &
        ACE_ENV_ARG_DECL_NOT_USED
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
    
    virtual CORBA::TypeCode_ptr _type (void) const;
  };
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Invalid_Stock_Symbol;

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52

#if !defined (_QUOTER_STOCK___PTR_CH_)
#define _QUOTER_STOCK___PTR_CH_
  
  class Stock;
  typedef Stock *Stock_ptr;

#endif /* end #if !defined */

#if !defined (_QUOTER_STOCK___VAR_CH_)
#define _QUOTER_STOCK___VAR_CH_
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:565
  
  class  Stock_var : public TAO_Base_var
  {
  public:
    Stock_var (void); // default constructor
    Stock_var (Stock_ptr p) : ptr_ (p) {} 
    Stock_var (const Stock_var &); // copy constructor
    ~Stock_var (void); // destructor
    
    Stock_var &operator= (Stock_ptr);
    Stock_var &operator= (const Stock_var &);
    Stock_ptr operator-> (void) const;
    
    operator const Stock_ptr &() const;
    operator Stock_ptr &();
    // in, inout, out, _retn 
    Stock_ptr in (void) const;
    Stock_ptr &inout (void);
    Stock_ptr &out (void);
    Stock_ptr _retn (void);
    Stock_ptr ptr (void) const;
    
    // Hooks used by template sequence and object manager classes
    // for non-defined forward declared interfaces.
    static Stock_ptr tao_duplicate (Stock_ptr);
    static void tao_release (Stock_ptr);
    static Stock_ptr tao_nil (void);
    static Stock_ptr tao_narrow (
        CORBA::Object *
        ACE_ENV_ARG_DECL_NOT_USED
      );
    static CORBA::Object * tao_upcast (void *);
  
  private:
    Stock_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    Stock_var (const TAO_Base_var &rhs);
    Stock_var &operator= (const TAO_Base_var &rhs);
  };

#endif /* end #if !defined */

#if !defined (_QUOTER_STOCK___OUT_CH_)
#define _QUOTER_STOCK___OUT_CH_
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:940
  
  class  Stock_out
  {
  public:
    Stock_out (Stock_ptr &);
    Stock_out (Stock_var &);
    Stock_out (const Stock_out &);
    Stock_out &operator= (const Stock_out &);
    Stock_out &operator= (const Stock_var &);
    Stock_out &operator= (Stock_ptr);
    operator Stock_ptr &();
    Stock_ptr &ptr (void);
    Stock_ptr operator-> (void);
  
  private:
    Stock_ptr &ptr_;
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110

#if !defined (_QUOTER_STOCK_CH_)
#define _QUOTER_STOCK_CH_
  
  class _TAO_Stock_Proxy_Impl;
  class _TAO_Stock_Remote_Proxy_Impl;
  class _TAO_Stock_Proxy_Broker;
  class _TAO_Stock_Remote_Proxy_Broker;
  
  class  Stock
    : public virtual CORBA::Object
  {
  public:
    typedef Stock_ptr _ptr_type;
    typedef Stock_var _var_type;
    static int _tao_class_id;
    
    // The static operations.
    static Stock_ptr _duplicate (Stock_ptr obj);
    
    static Stock_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static Stock_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static Stock_ptr _nil (void)
      {
        return (Stock_ptr)0;
      }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
    
    virtual CORBA::Double price (
        
      )
      throw (
        CORBA::SystemException
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
    
    virtual char * symbol (
        
      )
      throw (
        CORBA::SystemException
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
    
    virtual char * full_name (
        
      )
      throw (
        CORBA::SystemException
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
    
    virtual CORBA::Boolean _is_a (
        const char *type_id
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    virtual void *_tao_QueryInterface (ptr_arith_t type);
    
    virtual const char* _interface_repository_id (void) const;
  private:
    _TAO_Stock_Proxy_Broker *the_TAO_Stock_Proxy_Broker_;
  
  protected:
    Stock (int collocated = 0);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void Quoter_Stock_setup_collocation (int collocated);
    
    Stock (
        TAO_Stub *objref, 
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0
      );
    virtual ~Stock (void);
    
    friend class _TAO_Stock_Remote_Proxy_Impl;
    friend class _TAO_Stock_ThruPOA_Proxy_Impl;
    friend class _TAO_Stock_Direct_Proxy_Impl;
  
  private:
    Stock (const Stock &);
    void operator= (const Stock &);
  };
  
  // The Proxy Implementations are used by each interface to
  // perform a call. Each different implementation encapsulates
  // an invocation logic.
  
  
  ///////////////////////////////////////////////////////////////////////
  //                    Base Proxy Impl. Declaration
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_impl_ch.cpp:35
  
  class  _TAO_Stock_Proxy_Impl
    : public virtual TAO_Object_Proxy_Impl
  {
  public:
    virtual ~_TAO_Stock_Proxy_Impl (void) {}
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
    
    virtual CORBA::Double price (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      ) = 0;
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
    
    virtual char * symbol (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      ) = 0;
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
    
    virtual char * full_name (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      ) = 0;
  
  protected:
    _TAO_Stock_Proxy_Impl (void);
  };
  
  //
  //               End Base Proxy Impl. Declaration
  ///////////////////////////////////////////////////////////////////////
  
  
  ///////////////////////////////////////////////////////////////////////
  //                Remote Proxy Impl. Declaration
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_impl_ch.cpp:37
  
  class  _TAO_Stock_Remote_Proxy_Impl
    : public virtual _TAO_Stock_Proxy_Impl,
      public virtual TAO_Remote_Object_Proxy_Impl
  {
  public:
    _TAO_Stock_Remote_Proxy_Impl (void);
    
    virtual ~_TAO_Stock_Remote_Proxy_Impl (void) {}
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
    
    virtual CORBA::Double price (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
    
    virtual char * symbol (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
    
    virtual char * full_name (
        CORBA_Object *_collocated_tao_target_
      )
      throw (
        CORBA::SystemException
      );
  };
  
  //
  //             End Remote Proxy Impl. Declaration
  ///////////////////////////////////////////////////////////////////////
  
  // The Proxy Brokers are used by each interface to get
  // the right proxy for performing a call. In the new 
  // collocation scheme, the proxy to be used can vary on
  // a call by call basis.
  
  ///////////////////////////////////////////////////////////////////////
  //                 Base Proxy Broker Declaration 
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_broker_ch.cpp:35
  
  class  _TAO_Stock_Proxy_Broker
  {
  public:
    virtual ~_TAO_Stock_Proxy_Broker (void);
    virtual _TAO_Stock_Proxy_Impl &select_proxy (
        Stock *object
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      ) = 0;
    
  protected:
    _TAO_Stock_Proxy_Broker (void);
    
  };
  
  //
  //              End Base Proxy Broker Declaration 
  ///////////////////////////////////////////////////////////////////////
  
    
  ///////////////////////////////////////////////////////////////////////
  //                 Remote Proxy Broker Declaration 
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_broker_ch.cpp:40
  
  class  _TAO_Stock_Remote_Proxy_Broker
    : public virtual _TAO_Stock_Proxy_Broker
  {
  public: 
    _TAO_Stock_Remote_Proxy_Broker (void);
    
    virtual ~_TAO_Stock_Remote_Proxy_Broker (void);
    
    virtual _TAO_Stock_Proxy_Impl &select_proxy (
        Stock *object
        ACE_ENV_ARG_DECL
      );
    
  private:
    _TAO_Stock_Remote_Proxy_Impl remote_proxy_impl_;
  
  public:
    // This member function is used to get an handle to the unique instance
    // of the Remote Proxy Broker that is available for a given
    // interface.
    static _TAO_Stock_Remote_Proxy_Broker *the_TAO_Stock_Remote_Proxy_Broker (void);
  };
  
  //
  //              End Remote Proxy Broker Declaration 
  ///////////////////////////////////////////////////////////////////////

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Stock;
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52

#if !defined (_QUOTER_STOCKFACTORY___PTR_CH_)
#define _QUOTER_STOCKFACTORY___PTR_CH_
  
  class StockFactory;
  typedef StockFactory *StockFactory_ptr;

#endif /* end #if !defined */

#if !defined (_QUOTER_STOCKFACTORY___VAR_CH_)
#define _QUOTER_STOCKFACTORY___VAR_CH_
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:565
  
  class  StockFactory_var : public TAO_Base_var
  {
  public:
    StockFactory_var (void); // default constructor
    StockFactory_var (StockFactory_ptr p) : ptr_ (p) {} 
    StockFactory_var (const StockFactory_var &); // copy constructor
    ~StockFactory_var (void); // destructor
    
    StockFactory_var &operator= (StockFactory_ptr);
    StockFactory_var &operator= (const StockFactory_var &);
    StockFactory_ptr operator-> (void) const;
    
    operator const StockFactory_ptr &() const;
    operator StockFactory_ptr &();
    // in, inout, out, _retn 
    StockFactory_ptr in (void) const;
    StockFactory_ptr &inout (void);
    StockFactory_ptr &out (void);
    StockFactory_ptr _retn (void);
    StockFactory_ptr ptr (void) const;
    
    // Hooks used by template sequence and object manager classes
    // for non-defined forward declared interfaces.
    static StockFactory_ptr tao_duplicate (StockFactory_ptr);
    static void tao_release (StockFactory_ptr);
    static StockFactory_ptr tao_nil (void);
    static StockFactory_ptr tao_narrow (
        CORBA::Object *
        ACE_ENV_ARG_DECL_NOT_USED
      );
    static CORBA::Object * tao_upcast (void *);
  
  private:
    StockFactory_ptr ptr_;
    // Unimplemented - prevents widening assignment.
    StockFactory_var (const TAO_Base_var &rhs);
    StockFactory_var &operator= (const TAO_Base_var &rhs);
  };

#endif /* end #if !defined */

#if !defined (_QUOTER_STOCKFACTORY___OUT_CH_)
#define _QUOTER_STOCKFACTORY___OUT_CH_
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:940
  
  class  StockFactory_out
  {
  public:
    StockFactory_out (StockFactory_ptr &);
    StockFactory_out (StockFactory_var &);
    StockFactory_out (const StockFactory_out &);
    StockFactory_out &operator= (const StockFactory_out &);
    StockFactory_out &operator= (const StockFactory_var &);
    StockFactory_out &operator= (StockFactory_ptr);
    operator StockFactory_ptr &();
    StockFactory_ptr &ptr (void);
    StockFactory_ptr operator-> (void);
  
  private:
    StockFactory_ptr &ptr_;
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110

#if !defined (_QUOTER_STOCKFACTORY_CH_)
#define _QUOTER_STOCKFACTORY_CH_
  
  class _TAO_StockFactory_Proxy_Impl;
  class _TAO_StockFactory_Remote_Proxy_Impl;
  class _TAO_StockFactory_Proxy_Broker;
  class _TAO_StockFactory_Remote_Proxy_Broker;
  
  class  StockFactory
    : public virtual CORBA::Object
  {
  public:
    typedef StockFactory_ptr _ptr_type;
    typedef StockFactory_var _var_type;
    static int _tao_class_id;
    
    // The static operations.
    static StockFactory_ptr _duplicate (StockFactory_ptr obj);
    
    static StockFactory_ptr _narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static StockFactory_ptr _unchecked_narrow (
        CORBA::Object_ptr obj
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    static StockFactory_ptr _nil (void)
      {
        return (StockFactory_ptr)0;
      }
    
    static void _tao_any_destructor (void *);
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
    
    virtual ::Quoter::Stock_ptr get_stock (
        const char * stock_symbol
      )
      throw (
        CORBA::SystemException
        , Quoter::Invalid_Stock_Symbol
      );
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
    
    virtual CORBA::Boolean _is_a (
        const char *type_id
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      );
    
    virtual void *_tao_QueryInterface (ptr_arith_t type);
    
    virtual const char* _interface_repository_id (void) const;
  private:
    _TAO_StockFactory_Proxy_Broker *the_TAO_StockFactory_Proxy_Broker_;
  
  protected:
    StockFactory (int collocated = 0);
    
    // These methods travese the inheritance tree and set the
    // parents piece of the given class in the right mode.
    virtual void Quoter_StockFactory_setup_collocation (int collocated);
    
    StockFactory (
        TAO_Stub *objref, 
        CORBA::Boolean _tao_collocated = 0,
        TAO_Abstract_ServantBase *servant = 0
      );
    virtual ~StockFactory (void);
    
    friend class _TAO_StockFactory_Remote_Proxy_Impl;
    friend class _TAO_StockFactory_ThruPOA_Proxy_Impl;
    friend class _TAO_StockFactory_Direct_Proxy_Impl;
  
  private:
    StockFactory (const StockFactory &);
    void operator= (const StockFactory &);
  };
  
  // The Proxy Implementations are used by each interface to
  // perform a call. Each different implementation encapsulates
  // an invocation logic.
  
  
  ///////////////////////////////////////////////////////////////////////
  //                    Base Proxy Impl. Declaration
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_impl_ch.cpp:35
  
  class  _TAO_StockFactory_Proxy_Impl
    : public virtual TAO_Object_Proxy_Impl
  {
  public:
    virtual ~_TAO_StockFactory_Proxy_Impl (void) {}
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
    
    virtual ::Quoter::Stock_ptr get_stock (
        CORBA_Object *_collocated_tao_target_,
        const char * stock_symbol
      )
      throw (
        CORBA::SystemException
        , Quoter::Invalid_Stock_Symbol
      ) = 0;
  
  protected:
    _TAO_StockFactory_Proxy_Impl (void);
  };
  
  //
  //               End Base Proxy Impl. Declaration
  ///////////////////////////////////////////////////////////////////////
  
  
  ///////////////////////////////////////////////////////////////////////
  //                Remote Proxy Impl. Declaration
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_impl_ch.cpp:37
  
  class  _TAO_StockFactory_Remote_Proxy_Impl
    : public virtual _TAO_StockFactory_Proxy_Impl,
      public virtual TAO_Remote_Object_Proxy_Impl
  {
  public:
    _TAO_StockFactory_Remote_Proxy_Impl (void);
    
    virtual ~_TAO_StockFactory_Remote_Proxy_Impl (void) {}
    
    // TAO_IDL - Generated from
    // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
    
    virtual ::Quoter::Stock_ptr get_stock (
        CORBA_Object *_collocated_tao_target_,
        const char * stock_symbol
      )
      throw (
        CORBA::SystemException
        , Quoter::Invalid_Stock_Symbol
      );
  };
  
  //
  //             End Remote Proxy Impl. Declaration
  ///////////////////////////////////////////////////////////////////////
  
  // The Proxy Brokers are used by each interface to get
  // the right proxy for performing a call. In the new 
  // collocation scheme, the proxy to be used can vary on
  // a call by call basis.
  
  ///////////////////////////////////////////////////////////////////////
  //                 Base Proxy Broker Declaration 
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_broker_ch.cpp:35
  
  class  _TAO_StockFactory_Proxy_Broker
  {
  public:
    virtual ~_TAO_StockFactory_Proxy_Broker (void);
    virtual _TAO_StockFactory_Proxy_Impl &select_proxy (
        StockFactory *object
        ACE_ENV_ARG_DECL_WITH_DEFAULTS
      ) = 0;
    
  protected:
    _TAO_StockFactory_Proxy_Broker (void);
    
  };
  
  //
  //              End Base Proxy Broker Declaration 
  ///////////////////////////////////////////////////////////////////////
  
    
  ///////////////////////////////////////////////////////////////////////
  //                 Remote Proxy Broker Declaration 
  //
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_broker_ch.cpp:40
  
  class  _TAO_StockFactory_Remote_Proxy_Broker
    : public virtual _TAO_StockFactory_Proxy_Broker
  {
  public: 
    _TAO_StockFactory_Remote_Proxy_Broker (void);
    
    virtual ~_TAO_StockFactory_Remote_Proxy_Broker (void);
    
    virtual _TAO_StockFactory_Proxy_Impl &select_proxy (
        StockFactory *object
        ACE_ENV_ARG_DECL
      );
    
  private:
    _TAO_StockFactory_Remote_Proxy_Impl remote_proxy_impl_;
  
  public:
    // This member function is used to get an handle to the unique instance
    // of the Remote Proxy Broker that is available for a given
    // interface.
    static _TAO_StockFactory_Remote_Proxy_Broker *the_TAO_StockFactory_Remote_Proxy_Broker (void);
  };
  
  //
  //              End Remote Proxy Broker Declaration 
  ///////////////////////////////////////////////////////////////////////

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
  
  TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_StockFactory;

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67

}
TAO_NAMESPACE_CLOSE // module Quoter

// Proxy Broker Factory function pointer declarations.

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:80

extern 
Quoter::_TAO_Stock_Proxy_Broker *
(*Quoter__TAO_Stock_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

extern 
Quoter::_TAO_StockFactory_Proxy_Broker *
(*Quoter__TAO_StockFactory_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  );

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52

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

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52

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

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52

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

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48

#ifndef __ACE_INLINE__

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52

 CORBA::Boolean operator<< (TAO_OutputCDR &, const Quoter::Invalid_Stock_Symbol &);
 CORBA::Boolean operator>> (TAO_InputCDR &, Quoter::Invalid_Stock_Symbol &);

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ch.cpp:55

 CORBA::Boolean operator<< (TAO_OutputCDR &, const Quoter::Stock_ptr );
 CORBA::Boolean operator>> (TAO_InputCDR &, Quoter::Stock_ptr &);

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ch.cpp:55

 CORBA::Boolean operator<< (TAO_OutputCDR &, const Quoter::StockFactory_ptr );
 CORBA::Boolean operator>> (TAO_InputCDR &, Quoter::StockFactory_ptr &);

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64

#endif /* __ACE_INLINE__ */

// TAO_IDL - Generated from
// E:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1016

#if defined (__ACE_INLINE__)
#include "QuoterC.i"
#endif /* defined INLINE */

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

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

#endif /* ifndef */

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United Kingdom United Kingdom
I am a qualified Veterinary Surgeon who prefers treating computers with viruses than animals with viruses. I have recently completed a MEng German Informatics degree at the University of Reading with a 2:1. I also have the ISEB Foundation Certificate in Software Testing.

Currently I am umemployed and desparately looking for a job in the IT industry.

Comments and Discussions