summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_component/executor_private_exh.h
blob: da954b17b92d539400fc1dc395da4301c34f7734 (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
/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    executor_private_exh.h
 *
 *  This provides code generation for private members
 *  in the exec impl header,
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef _BE_COMPONENT_EXECUTOR_PRIVATE_EXH_H_
#define _BE_COMPONENT_EXECUTOR_PRIVATE_EXH_H_

/**
 * This is a concrete visitor to generate
 * the executor implementation's private facet
 * executor member(s).
 */
class be_visitor_executor_private_exh
  : public be_visitor_component_scope
{
public:
  be_visitor_executor_private_exh (be_visitor_context *ctx);

  ~be_visitor_executor_private_exh (void);

  virtual int visit_provides (be_provides *node);
  virtual int visit_attribute (be_attribute *node);
  virtual void set_flags (bool do_provides, bool do_attribute);
private:
  bool do_provides_;
  bool do_attribute_;
};

#endif /* _BE_COMPONENT_EXECUTOR_PRIVATE_EXH_H_ */