summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_ss.h
blob: 2c63169caea0df65f0c07fb091b233bdd9701a3a (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
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    thru_poa_collocated_ss.h
//
// = DESCRIPTION
//    Visitor for generating code for IDL operations for the thru_poa collocated case
//    inside of the servant skeleton
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#ifndef _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_
#define _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_

// *****************************************************************
// Operation visitor for server skeletons for the thru_poa collocated class
// *****************************************************************

class be_visitor_operation_thru_poa_collocated_ss : public be_visitor_operation
{
  //
  // = TITLE
  //   be_visitor_operation_ss
  //
  // = DESCRIPTION
  //   This is a concrete visitor to generate the server skeletons for
  //   operation in the thru_poa collocated class
  //
  //
public:
  be_visitor_operation_thru_poa_collocated_ss (be_visitor_context *ctx);
  // constructor

  ~be_visitor_operation_thru_poa_collocated_ss (void);
  // destructor

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

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

  virtual int void_return_type (be_type *bt);
  // is my return type void?
};

#endif /* _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_ */