summaryrefslogtreecommitdiff
path: root/CIAO/CIDLC/ExecutorMappingGenerator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/CIDLC/ExecutorMappingGenerator.hpp')
-rw-r--r--CIAO/CIDLC/ExecutorMappingGenerator.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/CIAO/CIDLC/ExecutorMappingGenerator.hpp b/CIAO/CIDLC/ExecutorMappingGenerator.hpp
new file mode 100644
index 00000000000..b67892c0658
--- /dev/null
+++ b/CIAO/CIDLC/ExecutorMappingGenerator.hpp
@@ -0,0 +1,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