diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_interface/ami_interface_ch.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_interface/ami_interface_ch.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_interface_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_interface_ch.h new file mode 100644 index 00000000000..2cd4ba82fab --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_interface_ch.h @@ -0,0 +1,49 @@ +// +// $Id$ +// +/* -*- c++ -*- */ +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// interface_ch.h +// +// = DESCRIPTION +// Concrete visitor for the AMI Interface node. +// This one provides code generation for interfaces in the client header. +// +// = AUTHOR +// Aniruddha Gokhale +// +// ============================================================================ + +#ifndef _BE_INTERFACE_AMI_INTERFACE_CH_H_ +#define _BE_INTERFACE_AMI_INTERFACE_CH_H_ + +// we need derived interface visitors for the client and server header files. For +// the others, they use the default interface visitor + +class be_visitor_ami_interface_ch : public be_visitor_interface +{ + // + // = TITLE + // be_visitor_interface_ch + // + // = DESCRIPTION + // This is a concrete visitor to generate the client header for interface + // + // +public: + be_visitor_ami_interface_ch (be_visitor_context *ctx); + // constructor + + ~be_visitor_ami_interface_ch (void); + // destructor + + virtual int visit_interface (be_interface *node); + // set the right context and make a visitor +}; + +#endif /* _BE_INTERFACE_AMI_INTERFACE_CH_H_ */ |