blob: 84ee7523a669a5f52379e6929a60ded51b703a80 (
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
49
50
51
52
53
54
55
56
57
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file executor_exh.h
*
* This provides code generation in the exec impl header,
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef _BE_COMPONENT_EXECUTOR_EXH_H_
#define _BE_COMPONENT_EXECUTOR_EXH_H_
/**
* This is a concrete visitor to generate
* the executor implementation class declaration.
*/
class be_visitor_executor_exh
: public be_visitor_component_scope
{
public:
be_visitor_executor_exh (be_visitor_context *ctx);
~be_visitor_executor_exh (void);
virtual int visit_attribute (be_attribute *node);
virtual int visit_component (be_component *node);
virtual int visit_provides (be_provides *node);
virtual int visit_consumes (be_consumes *node);
private:
// const char *comment_start_border_;
// const char *comment_end_border_;
};
// =============================================
/// Worker class passed to traverse_inheritance_graph(),
/// generates code to declare attribute members in
/// the executor impl class.
class Exec_Attr_Decl_Generator
: public TAO_IDL_Inheritance_Hierarchy_Worker
{
public:
Exec_Attr_Decl_Generator (
be_visitor_scope * visitor);
virtual int emit (be_interface * derived_interface,
TAO_OutStream * os,
be_interface * base_interface);
private:
be_visitor_scope * visitor_;
};
#endif /* _BE_COMPONENT_EXECUTOR_EXH_H_ */
|