diff options
Diffstat (limited to 'trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h')
-rw-r--r-- | trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h b/trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h new file mode 100644 index 00000000000..011c1bc2888 --- /dev/null +++ b/trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h @@ -0,0 +1,48 @@ +// +// $Id$ +// +/* -*- c++ -*- */ +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// component_sh.h +// +// = DESCRIPTION +// Concrete visitor for the Component node. +// This provides for code generation in the server header +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ + +#ifndef _BE_COMPONENT_COMPONENT_SH_H_ +#define _BE_COMPONENT_COMPONENT_SH_H_ + +class be_visitor_component_sh : public be_visitor_component +{ + // + // = TITLE + // be_visitor_component_sh + // + // = DESCRIPTION + // This is a concrete visitor to generate the server header for component. + // + // +public: + be_visitor_component_sh (be_visitor_context *ctx); + // constructor + + ~be_visitor_component_sh (void); + // destructor + + virtual int visit_component (be_component *node); + // set the right context and make a visitor +protected: + virtual int generate_amh_classes (be_component *node); +}; + +#endif /* _BE_COMPONENT_COMPONENT_SH_H_ */ |