diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-18 17:49:21 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-18 17:49:21 +0000 |
commit | e076f796a6bbff636cd67f0ae62e51a6b2318ef2 (patch) | |
tree | ee8f0602c68d0a9068ba3b0afdd57756139f08a2 /TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp | |
parent | c7b102fcafd3926f7af529e0402b9f3f00204d4a (diff) | |
download | ATCD-e076f796a6bbff636cd67f0ae62e51a6b2318ef2.tar.gz |
ChangeLogTag:Fri Jan 18 09:32:57 2002 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp index be1bb97d1a5..066dc8580bf 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp @@ -58,9 +58,10 @@ be_visitor_amh_operation_ss::visit_operation (be_operation *node) char *buf; intf->compute_full_name ("AMH_", "", buf); - ACE_CString amh_skel_name (buf); + ACE_CString amh_skel_name ("POA_"); + amh_skel_name += buf; delete[] buf; - + os->indent (); *os << "void" << be_nl << amh_skel_name.c_str () << "::"; @@ -133,7 +134,7 @@ be_visitor_amh_operation_ss::visit_operation (be_operation *node) ACE_CString response_handler_implementation_name ("POA_"); response_handler_implementation_name += buf; delete[] buf; - + *os << be_nl << response_handler_name.c_str () << "_var _tao_rh =" << be_idt_nl << "new " << response_handler_implementation_name.c_str () @@ -141,23 +142,12 @@ be_visitor_amh_operation_ss::visit_operation (be_operation *node) // Make the upcall. *os << be_nl << "_tao_impl->" - << node->local_name () << " (_tao_rh.in ()," + << node->local_name () << " (_tao_rh.in ()" << be_idt << be_idt_nl; - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for making upcall failed\n"), - -1); - } - delete visitor; - *os << be_uidt_nl << ");\n" << be_uidt; + // @@ Insert the IN and INOUT arguments here.. + + *os << "TAO_ENV_ARG_PARAMETER" << be_uidt_nl << ");\n" << be_uidt_nl; *os << be_uidt << "}\n\n"; |