summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_component/component_svts.h
blob: 778463cbb161784f13dc7bcebc2e715881eeb72f (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
/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    component_svts.h
 *
 *  Concrete visitor for the Component node.
 *  This provides for code generation in the templated servant source
 *
 *  @author Marcel Smit
 */
//=============================================================================

#ifndef _BE_COMPONENT_COMPONENT_SVTS_H_
#define _BE_COMPONENT_COMPONENT_SVTS_H_

/**
 * @class be_visitor_component_svts
 *
 * @brief be_visitor_component_svts
 *
 * This is a concrete visitor to generate the servant
 * source for component.
 */
class be_visitor_component_svts : public be_visitor_component
{
public:
  be_visitor_component_svts (be_visitor_context *ctx);

  ~be_visitor_component_svts ();

  virtual int visit_component (be_component *node);
  virtual int visit_connector (be_connector *node);

private:
  TAO_OutStream &os_;
  ACE_CString export_macro_;
};

#endif /* _BE_COMPONENT_COMPONENT_SVTS_H_ */