diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_interface/base_proxy_impl_ch.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_interface/base_proxy_impl_ch.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/base_proxy_impl_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/base_proxy_impl_ch.h new file mode 100644 index 00000000000..4df4ef8d872 --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_interface/base_proxy_impl_ch.h @@ -0,0 +1,50 @@ +//$Id$ +// +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// base_proxy_impl_ch.h +// +// = DESCRIPTION +// Concrete visitor for the Interface node. This +// visitor handle the generation of the proxy +// implementations base clas. +// +// = AUTHOR +// Angelo Corsaro <corsaro@cs.wustl.edu> +// +// ============================================================================ + +#ifndef BE_BASE_PROXY_IMPL_CH_H_ +#define BE_BASE_PROXY_IMPL_CH_H_ + +class be_visitor_interface_base_proxy_impl_ch : public be_visitor_interface +{ + // = TITLE + // Generates the declaration for the base proxy + // implementation classes. + +public: + // -- Ctor/Dtor Decl. -- + be_visitor_interface_base_proxy_impl_ch (be_visitor_context *ctx); + + virtual ~be_visitor_interface_base_proxy_impl_ch (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_BASE_PROXY_IMPL_CH_H_ */ |