//thru_poa_proxy_impl_sh.h,v 1.3 2002/09/25 16:25:38 parsons Exp
//
// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    thru_poa_proxy_impl_sh.h
//
// = DESCRIPTION
//     Concrete visitor for the Interface node. This
//     visitor handle the generation of the proxy
//     implementations ThruPOA clas.
//
// = AUTHOR
//     Angelo Corsaro <corsaro@cs.wustl.edu>
//
// ============================================================================

#ifndef BE_THRU_POA_PROXY_IMPL_SH_H_
#define BE_THRU_POA_PROXY_IMPL_SH_H_

class be_visitor_interface_thru_poa_proxy_impl_sh : public be_visitor_interface
{
  // = TITLE
  //   Generates the declaration for the ThruPOA proxy
  //   implementation classes.

public:
  // -- Ctor/Dtor Decl. --
  be_visitor_interface_thru_poa_proxy_impl_sh (be_visitor_context *ctx);

  virtual ~be_visitor_interface_thru_poa_proxy_impl_sh (void);

  virtual int visit_interface (be_interface *node);
  // visit an interface

  virtual int visit_component (be_component *node);
  // This will just call the above method - no need to create
  // another set of visitors for this stuff.

  static int gen_abstract_ops_helper (be_interface *node,
                                      be_interface *base,
                                      TAO_OutStream *os);
  // Helper to generate the declarations for the operations
  // of any abstract parents we may have.
};

#endif /* BE_THRU_POA_PROXY_IMPL_SH_H_ */
