blob: 636e9e73e8846eead63af170c0946de68dc1f2d3 (
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
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file ami4ccm_rh_ex_idl.h
*
* Concrete visitor for the AMI4CCM Interface node.
* This one provides code generation for interfaces in the executor IDL.
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef _AMI4CCM_RH_EX_IDL_H_
#define _AMI4CCM_RH_EX_IDL_H_
/**
* @class be_visitor_ami4ccm_rh_ex_idl
*
* @brief be_visitor_ami4ccm_rh_ex_idl
*
* This is a concrete visitor to generate the reply handler
* interface IDL in the local executor mapping IDL file.
*/
class be_visitor_ami4ccm_rh_ex_idl : public be_visitor_scope
{
public:
be_visitor_ami4ccm_rh_ex_idl (be_visitor_context *ctx);
~be_visitor_ami4ccm_rh_ex_idl ();
virtual int visit_interface (be_interface *node);
virtual int visit_operation (be_operation *node);
virtual int visit_attribute (be_attribute *node);
virtual int visit_argument (be_argument *node);
virtual int visit_string (be_string *node);
virtual int visit_sequence (be_sequence *node);
virtual int pre_process (be_decl *node);
private:
void gen_attr_rh_ops (bool is_set_op,
be_attribute *node);
private:
TAO_OutStream &os_;
bool seen_in_or_inout_arg_;
};
#endif /* _AMI4CCM_RH_EX_IDL_H_ */
|