Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_consumes.h
blob40b7fbfe7134d8be34e607a0555b7b1082e52473
1 // -*- C++ -*-
2 #ifndef BE_CONSUMES_H
3 #define BE_CONSUMES_H
5 #include "ast_consumes.h"
7 #include "be_field.h"
9 class be_eventtype;
10 class be_visitor;
12 class be_consumes : public virtual AST_Consumes,
13 public virtual be_field
15 public:
16 be_consumes (UTL_ScopedName *n,
17 AST_Type *consumes_type);
19 virtual ~be_consumes (void);
21 // Non-virtual override of frontend method.
22 be_eventtype *consumes_type (void) const;
24 // Narrowing.
25 DEF_NARROW_FROM_DECL (be_consumes);
27 // Visiting.
28 virtual int accept (be_visitor *visitor);
30 // Cleanup.
31 virtual void destroy (void);
34 #endif // BE_CONSUMES_H