diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h | 78 |
1 files changed, 8 insertions, 70 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h index b1d0bceb5bd..1b73adb8edd 100644 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h +++ b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h @@ -50,13 +50,15 @@ public: // template methods - virtual int gen_pre_skel_info (be_operation *, be_type *) = 0; + virtual int gen_pre_skel_info (be_operation *node); // generate any pre skeleton code info - virtual int gen_demarshal_params (be_operation *, be_type *) = 0; + virtual int gen_demarshal_params (be_operation *node, + be_type *bt); // generate code for demarshaling incoming parameters - virtual int gen_marshal_params (be_operation *, be_type *) = 0; + virtual int gen_marshal_params (be_operation *node, + be_type *bt); // generate code for marshaling outgoing parameters // = helper @@ -64,9 +66,9 @@ public: // stuff to output after every member of the scope is handled virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status, - const char * env); + const char *excep, + const char *status, + const char *env); // helper that generates code for raising an exception virtual int gen_check_exception (be_type *, const char *env); @@ -84,68 +86,4 @@ private: char *operation_name_; }; -// concrete visitors - -class be_interpretive_visitor_operation_ss : public be_visitor_operation_ss -{ - // - // = TITLE - // be_interpretive_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation using interpretive marshaling - // - // -public: - be_interpretive_visitor_operation_ss (be_visitor_context *ctx); - // constructor - - ~be_interpretive_visitor_operation_ss (void); - // destructor - - // template methods - - virtual int gen_pre_skel_info (be_operation *, be_type *); - // generate any pre skeleton code info - - virtual int gen_demarshal_params (be_operation *, be_type *); - // generate code for demarshaling incoming parameters - - virtual int gen_marshal_params (be_operation *, be_type *); - // generate code for marshaling outgoing parameters - -}; - -class be_compiled_visitor_operation_ss : public be_visitor_operation_ss -{ - // - // = TITLE - // be_compiled_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation using compiled marshaling - // - // -public: - be_compiled_visitor_operation_ss (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_ss (void); - // destructor - - // template methods - - virtual int gen_pre_skel_info (be_operation *, be_type *); - // generate any pre skeleton code info - - virtual int gen_demarshal_params (be_operation *, be_type *); - // generate code for demarshaling incoming parameters - - virtual int gen_marshal_params (be_operation *, be_type *); - // generate code for marshaling outgoing parameters - -}; - #endif /* _BE_VISITOR_OPERATION_OPERATION_SS_H_ */ |