summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp
index 573c55c1493..6a0078aa52e 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_cs.cpp
@@ -251,6 +251,22 @@ int be_visitor_interface_smart_proxy_cs::visit_interface (be_interface *node)
<< "{" << be_nl
<< "}\n\n";
+ // Implement the <stubobj> method of the base class
+ os->indent ();
+ *os << "TAO_Stub *"<<be_nl;
+ *os << scope->full_name ();
+
+ // Only if there exists any nesting "::" is needed!
+ if (node->is_nested ())
+ *os << "::";
+
+ *os << "TAO_" << node->flat_name () << "_Smart_Proxy_Base::";
+ *os << "_stubobj (void) const"<<be_nl
+ << "{" << be_idt_nl
+ << "return this->base_proxy_->_stubobj ();"<< be_uidt_nl
+ << "}\n\n";
+
+
if (this->visit_scope (node) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,