summaryrefslogtreecommitdiff
path: root/trunk/CIAO/CCF/CCF/CIDL/SemanticAction/Impl/HomeExecutor.hpp
blob: 23d3a3e7cca9aa03d92f4d45a688779bf9eed539 (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
// file      : CCF/CIDL/SemanticAction/Impl/HomeExecutor.hpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#ifndef CCF_CIDL_SEMANTIC_ACTION_IMPL_HOME_EXECUTOR_HPP
#define CCF_CIDL_SEMANTIC_ACTION_IMPL_HOME_EXECUTOR_HPP

#include "CCF/CIDL/SemanticGraph/Executor.hpp"
#include "CCF/CIDL/SemanticAction/HomeExecutor.hpp"
#include "CCF/CIDL/SemanticAction/Impl/Elements.hpp"

namespace CCF
{
  namespace CIDL
  {
    namespace SemanticAction
    {
      namespace Impl
      {
        struct HomeExecutor : SemanticAction::HomeExecutor, Base
        {
          HomeExecutor (Context& c);

          virtual void
          begin (SimpleIdentifierPtr const& id);

          virtual void
          implements (IdentifierPtr const& id);

          virtual void
          manages (SimpleIdentifierPtr const& id);

          virtual void
          end ();

        private:
          SimpleIdentifierPtr id_;
          SemanticGraph::HomeExecutor* he_;
          SemanticGraph::Component* c_;
        };
      }
    }
  }
}

#endif  // CCF_CIDL_SEMANTIC_ACTION_IMPL_HOME_EXECUTOR_HPP