summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_interface/tie_ss.h
blob: f5055a655d63945bde4bf832f6314cb058d98f99 (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
/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    tie_ss.h
 *
 *  Concrete visitor for the Interface node.
 *  This one provides the code generation for TIE classes
 *
 *  @author Aniruddha Gokhale
 */
//=============================================================================


#ifndef _BE_INTERFACE_TIE_SS_H_
#define _BE_INTERFACE_TIE_SS_H_

/**
 * @class be_visitor_interface_tie_ss
 *
 * @brief be_visitor_interface_tie_ss
 *
 * This is a concrete visitor to generate the server skeleton for operations
 * of the TIE class
 */
class be_visitor_interface_tie_ss : public be_visitor_interface
{
public:
  /// constructor
  be_visitor_interface_tie_ss (be_visitor_context *ctx);

  /// destructor
  ~be_visitor_interface_tie_ss ();

  /// set the right context and make a visitor
  virtual int visit_interface (be_interface *node);

  /// set the right context and make a visitor
  virtual int visit_component (be_component *node);

  /// helper method to generate method declaration in the TIE classes.
  static int method_helper (be_interface *,
                            be_interface *,
                            TAO_OutStream *os);
};

#endif /* _BE_INTERFACE_TIE_SS_H_ */