summaryrefslogtreecommitdiff
path: root/CIAO/CIDLC/ExecutorMappingGenerator.hpp
blob: b67892c0658a00621062cbaa9851787bc74c670b (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
// file      : CIDLC/ExecutorMappingGenerator.hpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#ifndef EXECUTOR_MAPPING_GENERATOR_HPP
#define EXECUTOR_MAPPING_GENERATOR_HPP

#include "CCF/CompilerElements/FileSystem.hpp"

#include "CCF/CodeGenerationKit/CommandLine.hpp"
#include "CCF/CodeGenerationKit/CommandLineDescriptor.hpp"

//@@ SemanticGraphFwd could be useful here.
//
#include "CCF/CIDL/SemanticGraph.hpp"

class ExecutorMappingGenerator
{
public:
  static void
  options (CL::Description& d);

  //@@ maybe I should introduce constant and non-constant
  //   traversal.
  //
  void
  generate (CommandLine const& cl,
            CCF::CIDL::SemanticGraph::TranslationUnit&,
            fs::path const& file);
};

#endif // EXECUTOR_MAPPING_GENERATOR_HPP