diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h | 67 |
1 files changed, 7 insertions, 60 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h index 887f6c3dd0b..60c35235659 100644 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h +++ b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h @@ -49,10 +49,11 @@ public: // visit argument to generate ParamData entries // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; + virtual int gen_pre_stub_info (be_operation *node); // generate any info before the actual code for the stub is generated - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; + virtual int gen_marshal_and_invoke (be_operation *node, + be_type *bt); // generate code that marshals the arguments and transmits them // =helper @@ -60,16 +61,16 @@ 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 *excep, + const char *status); // helper that generates code for raising an exception virtual int gen_check_exception (be_type *); // helper that generates code for checking for an exception virtual int gen_raise_interceptor_exception (be_type *, - const char * excep, - const char * status); + const char *excep, + const char *status); // helper that generates code for raising an exception within // interceptor's try block @@ -85,58 +86,4 @@ private: char *operation_name_; }; -// specialized visitors - -class be_interpretive_visitor_operation_cs : public be_visitor_operation_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_cs : public be_visitor_operation_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - #endif /* _BE_VISITOR_OPERATION_OPERATION_CS_H_ */ |