blob: 5a7fdca1a4649295da00b3f154e4ea16d601c5fb (
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
58
59
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file facet_ami_exh.h
*
* $Id$
*
* This provides code generation for facets in the AMI connector
* impl header,
*
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef _BE_COMPONENT_FACET_AMI_EXH_H_
#define _BE_COMPONENT_FACET_AMI_EXH_H_
class be_visitor_facet_ami_exh
: public be_visitor_component_scope
{
//
// = TITLE
// be_visitor_facet_ami_exh
//
// = DESCRIPTION
// This is a concrete visitor to generate
// the AMI connector implementation header for facets.
//
//
public:
be_visitor_facet_ami_exh (be_visitor_context *ctx);
~be_visitor_facet_ami_exh (void);
virtual int visit_component (be_component *node);
virtual int visit_provides (be_provides *node);
virtual int visit_operation (be_operation *node);
protected:
/// Common the this class and derived class.
void init (bool for_impl);
protected:
be_interface *iface_;
be_interface *callback_iface_;
ACE_CString handler_str_;
const char *scope_name_;
const char *iface_name_;
const char *smart_scope_;
bool sync_;
private:
int gen_reply_handler_class (void);
int gen_facet_executor_class (void);
};
#endif /* _BE_COMPONENT_FACET_AMI_EXH_H_ */
|