summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CIDLC/ExecutorMappingGenerator.hpp
blob: 048fd7984346620d670c9538d828744e93de4a05 (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
// 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:

  //@@ should be 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