blob: 41a29abe67368084d77996bb84b06092faa66e40 (
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
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file component_exs.h
*
* Concrete visitor for the Component node.
* This provides for code generation in the exec impl source
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef _BE_COMPONENT_COMPONENT_EXS_H_
#define _BE_COMPONENT_COMPONENT_EXS_H_
/**
* This is a concrete visitor to generate the exec
* impl for component.
*/
class be_visitor_component_exs
: public be_visitor_component_scope
{
public:
be_visitor_component_exs (be_visitor_context *ctx);
~be_visitor_component_exs ();
virtual int visit_component (be_component *node);
};
// =============================================
/// Worker class passed to traverse_inheritance_graph(),
/// collects supported operations and attributes. Not used
/// by this visitor but by 2 visitors spawned from this one,
/// hence the central location for the code.
class Component_Exec_Op_Attr_Generator
: public TAO_IDL_Inheritance_Hierarchy_Worker
{
public:
Component_Exec_Op_Attr_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_COMPONENT_EXS_H_ */
|