summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_consumes.h
blob: 941d0381a0844a27a75d4666597b86609a8a1613 (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
// -*- C++ -*-
#ifndef BE_CONSUMES_H
#define BE_CONSUMES_H

#include "ast_consumes.h"

#include "be_field.h"

class be_eventtype;
class be_visitor;

class be_consumes : public virtual AST_Consumes,
                    public virtual be_field
{
public:
  be_consumes (UTL_ScopedName *n,
               AST_Type *consumes_type);

  virtual ~be_consumes ();

  // Non-virtual override of frontend method.
  be_eventtype *consumes_type () const;

  // Visiting.
  virtual int accept (be_visitor *visitor);

  // Cleanup.
  virtual void destroy ();
};

#endif // BE_CONSUMES_H