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