summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_operation/amh_sh.h
blob: 15368d492e3c6a7ecba16054a1ff20bdc28885ca (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
//=============================================================================
/**
*  @file   amh_sh.h
*
*  $Id$
*
*  Creates code for AMH operations.
*
*  @author Mayur Deshpande <mayur@ics.uci.edu>
*/
//=============================================================================

#ifndef AMH_OPERATION_SH_H
#define AMH_OPERATION_SH_H

/**
* @class be_visitor_operation_amh_sh
*
* @brief This is a concrete visitor to generate the server header for
*        AMH operations
*/
class be_visitor_amh_operation_sh : public be_visitor_operation
{
public:
  be_visitor_amh_operation_sh (be_visitor_context *ctx);
  ~be_visitor_amh_operation_sh (void);

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

private:
  void generate_shared_prologue (be_decl *node,
                                 TAO_OutStream *os,
                                 const char *skel_prefix);
};

#endif /* AMH_OPERATION_SS_H */