summaryrefslogtreecommitdiff
path: root/trunk/TAO/TAO_IDL/be_include/be_visitor_component/component_sh.h
blob: 011c1bc28885469acdf0dfda4e91dfe10074fe58 (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
//
// $Id$
//
/* -*- c++ -*- */
// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    component_sh.h
//
// = DESCRIPTION
//    Concrete visitor for the Component node.
//    This provides for code generation in the server header
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

#ifndef _BE_COMPONENT_COMPONENT_SH_H_
#define _BE_COMPONENT_COMPONENT_SH_H_

class be_visitor_component_sh : public be_visitor_component
{
  //
  // = TITLE
  //   be_visitor_component_sh
  //
  // = DESCRIPTION
  //   This is a concrete visitor to generate the server header for component.
  //
  //
public:
  be_visitor_component_sh (be_visitor_context *ctx);
  // constructor
  
  ~be_visitor_component_sh (void);
  // destructor
  
  virtual int visit_component (be_component *node);
  // set the right context and make a visitor
protected:
  virtual int generate_amh_classes (be_component *node);
};

#endif /* _BE_COMPONENT_COMPONENT_SH_H_ */