blob: 2043482b95291959db345f16d049f476581719ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
//
// $Id$
//
ACE_RCSID (be_visitor_interface,
thru_poa_proxy_impl_ss,
"$Id$")
be_visitor_interface_thru_poa_proxy_impl_ss::
be_visitor_interface_thru_poa_proxy_impl_ss (be_visitor_context *ctx)
: be_visitor_interface (ctx)
{
// No-Op.
}
be_visitor_interface_thru_poa_proxy_impl_ss::
~be_visitor_interface_thru_poa_proxy_impl_ss (void)
{
// No-Op.
}
int
be_visitor_interface_thru_poa_proxy_impl_ss::visit_interface (
be_interface *node
)
{
TAO_OutStream *os = this->ctx_->stream ();
*os << be_nl
<< "///////////////////////////////////////////////////////////////////////"
<< be_nl
<< "// ThruPOA Proxy Implementation\n"
<< "//\n\n";
*os << "// TAO_IDL - Generated from" << be_nl
<< "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl;
// Ctor Implementation
*os << node->full_thru_poa_proxy_impl_name () << "::"
<< node->thru_poa_proxy_impl_name () << " (void)" << be_nl
<< "{}" << be_nl << be_nl;
// Generate the code for the ThruPOA Proxy Impl.
// operations
*os << "// ThruPOA Implementation of the IDL interface methods"
<< be_nl << be_nl;
if (this->visit_scope (node) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
"be_visitor_interface_ss::"
"visit_interface - "
"codegen for Base Proxy Broker class failed\n"),
-1);
}
*os << "//\n"
<< "// End ThruPOA Proxy Implementation\n"
<< "///////////////////////////////////////////////////////////////////////"
<< "\n\n";
return 0;
}
|