summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_root/root_svts.h
blob: 28dcf4909a3115b3060ce0d8898a867b11a5ccef (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    root_svts.h
 *
 *  $Id$
 *
 *  Concrete visitor for the Root class
 *  This one provides code generation for elements of the Root node in the
 *  CIAO servant source.
 *
 *
 *  @author Marcel Smit
 */
//=============================================================================

#ifndef _BE_VISITOR_ROOT_ROOT_SVTS_H_
#define _BE_VISITOR_ROOT_ROOT_SVTS_H_

/**
 * @class be_visitor_root_svts
 *
 * @brief be_visitor_root_svts
 *
 * This is a concrete visitor to generate the CIAO template servant
 * source for root
 */
class be_visitor_root_svts : public be_visitor_root
{
public:
  be_visitor_root_svts (be_visitor_context *ctx);

  ~be_visitor_root_svts (void);

  virtual int visit_root (be_root *node);

private:
  /// Set the right context and make a visitor.
  int init (void);
};

#endif /* _BE_VISITOR_ROOT_ROOT_SVTS_H_ */