diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_interface/smart_proxy_ch.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_interface/smart_proxy_ch.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/smart_proxy_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/smart_proxy_ch.h new file mode 100644 index 00000000000..8a1a97ec2cc --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_interface/smart_proxy_ch.h @@ -0,0 +1,46 @@ +// +// $Id$ +// +/* -*- c++ -*- */ +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// smart_proxy_ch.h +// +// = DESCRIPTION +// Concrete visitor for the Interface node. +// This provides code generation for smart proxy classes for an +// interface in the client header. +// +// = AUTHOR +// Kirthika Parameswaran +// +// ============================================================================ + +#ifndef _BE_INTERFACE_SMART_PROXY_CH_H_ +#define _BE_INTERFACE_SMART_PROXY_CH_H_ + +class be_visitor_interface_smart_proxy_ch : public be_visitor_interface +{ + // = TITLE + // Generate the "smart proxy" class declaration. + +public: + be_visitor_interface_smart_proxy_ch (be_visitor_context *ctx); + // constructor + + virtual ~be_visitor_interface_smart_proxy_ch (void); + // destructor + + 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. +}; + +#endif /* _BE_INTERFACE_SMART_PROXY_CH_H_ */ |