blob: 80110eaa08d54e2344223c921ffad3bb9e924f98 (
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
|
//
// $Id$
//
// ============================================================================
//
// = LIBRARY
// TAO_IDL_BE
//
// = FILENAME
// operation_svs.h
//
// = DESCRIPTION
// Visitor for generating code for IDL operations in
// CIAO servant implementations
//
// = AUTHOR
// Jeff Parsons
//
// ============================================================================
#ifndef _BE_VISITOR_OPERATION_OPERATION_SVS_H_
#define _BE_VISITOR_OPERATION_OPERATION_SVS_H_
// ************************************************************
// Operation visitor for CIAO servant implementations
// ************************************************************
class be_visitor_operation_svs : public be_visitor_scope
{
//
// = TITLE
// be_visitor_operation_svs
//
// = DESCRIPTION
// This is a concrete visitor to generate the CIAO servant
// implementations for operation
//
//
public:
be_visitor_operation_svs (be_visitor_context *ctx);
~be_visitor_operation_svs (void);
virtual int visit_operation (be_operation *node);
virtual int visit_argument (be_argument *node);
virtual int post_process (be_decl *bd);
void scope (be_interface *node);
private:
int gen_op_body (be_operation *node);
private:
be_interface *scope_;
bool swapping_;
};
#endif /* _BE_VISITOR_OPERATION_OPERATION_SVS_H_ */
|