summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp33
1 files changed, 9 insertions, 24 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp
index cd133ec1bad..eda89699dd6 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/strategized_proxy_broker_sh.cpp
@@ -52,54 +52,39 @@ be_visitor_interface_strategized_proxy_broker_sh::visit_interface (be_interface
<< ");" << be_uidt_nl << be_nl;
- *os << "private:" << be_nl << be_nl
+ *os << "private:" << be_idt_nl
<< "// Helper methods that takes care to create the proxy" << be_nl
- << "// as soon as their use is necessary."
- << be_idt_nl
+ << "// as soon as their use is necessary." << be_nl
<< "void create_proxy (" << be_idt_nl << "int collocation_strategy,"
<< be_nl << "CORBA::Environment &ACE_TRY_ENV"
<< be_uidt_nl << ");"
- << be_uidt_nl << be_nl
- << "private:" << be_idt_nl << be_nl
+ << be_nl << be_nl
<< "// Caches the proxy implementations. The proxy implementation" << be_nl
<< "// are totally stateless, and those can be shared by all the" << be_nl
<< "// instances of a given IDL interface type." << be_nl
<< "::" << node->full_base_proxy_impl_name () << be_nl
- <<" *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];"
+ << "*proxy_cache_[TAO_Collocation_Strategies::CS_LAST];"
<< be_nl << be_nl
- << "TAO_SYNCH_MUTEX mutex_;"
- << be_uidt_nl;
+ << "TAO_SYNCH_MUTEX mutex_;" << be_nl;
// Factory Function declaration.
*os << "// This funxtion is used to get an handle to the unique instance" << be_nl
<< "// of the Strategized Proxy Broker that is available for a given" << be_nl
<< "// interface."
- << be_nl << be_nl;
+ << be_uidt_nl << be_nl;
*os << "public:" << be_idt_nl
- << "static " << node->strategized_proxy_broker_name () << " *the" << node->strategized_proxy_broker_name ()
+ << "static " << node->strategized_proxy_broker_name ()
+ << " *the" << node->strategized_proxy_broker_name ()
<< " (void);" << be_uidt_nl;
*os << "};" << be_nl << be_nl;
-
- /*
- if (node->is_nested ())
- *os << "TAO_NAMESPACE_STORAGE_CLASS ";
- else
- *os << "static ";
- */
-
-
-
- *os << be_nl
+ *os << be_nl
<< "//" << be_nl
<< "// End Strategized Proxy Broker Declaration " << be_nl
<< "///////////////////////////////////////////////////////////////////////"
<< be_nl << be_nl;
- // Close #ifdef Guard.
- // os->gen_endif ();
-
return 0;
}