summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_operation/direct_proxy_impl_ss.h
blob: 8a4a37e743b7724e57eeb966272eb96990a02c68 (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
//=============================================================================
/**
 *  @file    direct_proxy_impl_ss.h
 *
 *  Visitor that generates the code for the operation
 *  in the Direct Proxy Implementation.
 *
 *  @author Angelo Corsaro
 */
//=============================================================================


#ifndef _BE_VISITOR_OPERATION_DIRECT_PROXY_IMPL_SS_H_
#define _BE_VISITOR_OPERATION_DIRECT_PROXY_IMPL_SS_H_

/**
 * @class be_visitor_operation_direct_proxy_impl_ss
 *
 * @brief be_visitor_operation_direct_proxy_impl_ss
 *
 * This visitor generates the code for the
 * operation of the Direct Proxy Implementation.
 */
class be_visitor_operation_direct_proxy_impl_ss : public be_visitor_operation
{
public:
  /// constructor
  be_visitor_operation_direct_proxy_impl_ss (be_visitor_context *ctx);

  /// destructor
  ~be_visitor_operation_direct_proxy_impl_ss ();

  /// visit operation node.
  virtual int visit_operation (be_operation *node);

  /// A helper method to generate operation invocation code.
  virtual int gen_invoke (be_visitor_context &ctx, be_operation *node);
};

#endif /* _BE_VISITOR_OPERATION_DIRECT_PROXY_IMPL_SS_H_ */