summaryrefslogtreecommitdiff
path: root/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/amh_ss.h
blob: ee9855c6fbde4570d09cb320dad3618cca30acc9 (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
//=============================================================================
/**
*  @file   amh_ss.h
*
*  $Id$
*
*  Creates code for AMH operations.
*
*  @author Darrell Brunsch <brunsch@cs.wustl.edu>
*/
//=============================================================================

#ifndef AMH_OPERATION_SS_H
#define AMH_OPERATION_SS_H

/**
 * @class be_visitor_operation_amh_ss
 *
 * @brief This is a concrete visitor to generate the server source for
 *        AMH operations
 */
class be_visitor_amh_operation_ss : public be_visitor_operation
{
public:
  be_visitor_amh_operation_ss (be_visitor_context *ctx);

  ~be_visitor_amh_operation_ss (void);

  virtual int visit_operation (be_operation *node);
  virtual int visit_attribute (be_attribute *node);

protected:
  int generate_shared_prologue (be_decl *node,
                                TAO_OutStream *os,
                                const char *skel_prefix);
  int generate_shared_section (be_decl *node,
                               TAO_OutStream *os);
  int generate_shared_epilogue (TAO_OutStream *os);
};

#endif /* AMH_OPERATION_SS_H */