diff options
Diffstat (limited to 'trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h')
-rw-r--r-- | trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h b/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h new file mode 100644 index 00000000000..15368d492e3 --- /dev/null +++ b/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h @@ -0,0 +1,37 @@ +//============================================================================= +/** +* @file amh_sh.h +* +* $Id$ +* +* Creates code for AMH operations. +* +* @author Mayur Deshpande <mayur@ics.uci.edu> +*/ +//============================================================================= + +#ifndef AMH_OPERATION_SH_H +#define AMH_OPERATION_SH_H + +/** +* @class be_visitor_operation_amh_sh +* +* @brief This is a concrete visitor to generate the server header for +* AMH operations +*/ +class be_visitor_amh_operation_sh : public be_visitor_operation +{ +public: + be_visitor_amh_operation_sh (be_visitor_context *ctx); + ~be_visitor_amh_operation_sh (void); + + virtual int visit_operation (be_operation *node); + virtual int visit_attribute (be_attribute *node); + +private: + void generate_shared_prologue (be_decl *node, + TAO_OutStream *os, + const char *skel_prefix); +}; + +#endif /* AMH_OPERATION_SS_H */ |