diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h new file mode 100644 index 00000000000..28dcf4909a3 --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h @@ -0,0 +1,43 @@ +/* -*- c++ -*- */ + +//============================================================================= +/** + * @file root_svts.h + * + * $Id$ + * + * Concrete visitor for the Root class + * This one provides code generation for elements of the Root node in the + * CIAO servant source. + * + * + * @author Marcel Smit + */ +//============================================================================= + +#ifndef _BE_VISITOR_ROOT_ROOT_SVTS_H_ +#define _BE_VISITOR_ROOT_ROOT_SVTS_H_ + +/** + * @class be_visitor_root_svts + * + * @brief be_visitor_root_svts + * + * This is a concrete visitor to generate the CIAO template servant + * source for root + */ +class be_visitor_root_svts : public be_visitor_root +{ +public: + be_visitor_root_svts (be_visitor_context *ctx); + + ~be_visitor_root_svts (void); + + virtual int visit_root (be_root *node); + +private: + /// Set the right context and make a visitor. + int init (void); +}; + +#endif /* _BE_VISITOR_ROOT_ROOT_SVTS_H_ */ |