diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-08 18:04:16 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-08 18:04:16 +0000 |
commit | f2467c5915867c006aa16fd22e482816e029a2db (patch) | |
tree | 61d8fcb4aa8a71d9034ff510ee52b2b7ca13fb5c /TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp | |
parent | a2b8eda5d51dca5496c94600a7d3082b1a5f3601 (diff) | |
download | ATCD-ReDaC_01.tar.gz |
made a copyReDaC_01
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp index 9703b55a0f4..bdf0aff984d 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp @@ -189,7 +189,9 @@ be_visitor_operation_upcall_command_ss::visit (be_operation * node, << "}" << be_nl << be_nl; // Generate execute() method. - os << "virtual void execute (void)" << be_nl + os << "virtual void execute (" + << (be_global->use_raw_throw () ? "void" : "ACE_ENV_SINGLE_ARG_DECL") + << ")" << be_nl << "{" << be_idt_nl; if (!node->void_return_type ()) @@ -385,6 +387,15 @@ be_visitor_operation_upcall_command_ss::gen_upcall (be_operation * node) << (i == 0 ? "" : ", ") << "arg_" << i + 1; } + if (count > 0) + { + os << env_arg; + } + else + { + os << env_sngl_arg; + } + os << ");"; if (!node->void_return_type ()) @@ -393,7 +404,7 @@ be_visitor_operation_upcall_command_ss::gen_upcall (be_operation * node) } os << be_uidt - << be_uidt_nl; + << TAO_ACE_CHECK () << be_uidt_nl; return 0; } |