diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-08-18 17:15:53 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-08-18 17:15:53 +0000 |
commit | 38c164463c09cb3ea5713256b9b29a4e567d4a56 (patch) | |
tree | 8a703d7fe65f7060cfbe4a837cf28253cb0dd367 /TAO/TAO_IDL | |
parent | 12659e9bf60cee6c90471e4eeeed68548e871d17 (diff) | |
download | ATCD-38c164463c09cb3ea5713256b9b29a4e567d4a56.tar.gz |
ChangeLogTag: Wed Aug 18 17:14:05 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp | 4 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp b/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp index 09a720a4674..cbac66f205c 100644 --- a/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp @@ -98,10 +98,10 @@ be_visitor_context_svh::visit_component (be_component *node) os_ << "virtual ~" << lname << "_Context (void);"; os_ << be_nl << be_nl - << "// CIAO-specific." << be_nl + << "/// CIAO-specific." << be_nl << "static " << lname << "_Context *" << be_nl << "_narrow ( ::Components::SessionContext_ptr p);"; - + os_ << be_nl << be_nl << "// Operations for " << lname << " receptacles and event sources," diff --git a/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp b/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp index e7153be92d1..0219d5716f9 100644 --- a/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp @@ -67,8 +67,13 @@ be_visitor_context_svs::visit_component (be_component *node) << "_Context::_narrow ( ::Components::SessionContext_ptr p)" << be_nl << "{" << be_idt_nl - << "return dynamic_cast<" << lname - << "_Context *> (p);" << be_uidt_nl + << "return" << be_idt_nl + << "dynamic_cast<" << lname << "_Context *> (" << be_idt_nl + << global << sname << "::CCM_" << lname + << "_Context::_duplicate (" << be_idt_nl + << "dynamic_cast< " << global << sname << "::CCM_" + << lname << "_Context_ptr> (p)));" + << be_uidt << be_uidt << be_uidt << be_uidt_nl << "}"; if (this->visit_component_scope (node) == -1) |