summaryrefslogtreecommitdiff
path: root/modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp')
-rw-r--r--modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp b/modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp
new file mode 100644
index 00000000000..0cc8127cc76
--- /dev/null
+++ b/modules/CIAO/CIDLC/ExecImplHeaderGenerator.hpp
@@ -0,0 +1,43 @@
+// file : CIDLC/ServantHeaderGenerator.hpp
+// author : Jeff Parsons <j.parsons@vanderbilt.edu>
+// cvs-id : $Id$
+
+#ifndef EXEC_IMPL_HEADER_GENERATOR_HPP
+#define EXEC_IMPL_HEADER_GENERATOR_HPP
+
+#include "CCF/CodeGenerationKit/CommandLine.hpp"
+
+#include "CCF/CIDL/SemanticGraph.hpp"
+#include "CCF/CIDL/Traversal.hpp"
+
+using std::string;
+
+class ExecImplHeaderEmitter
+{
+public:
+ ExecImplHeaderEmitter (std::ostream& os_,
+ CommandLine const& cl,
+ string export_macro,
+ fs::path const& file);
+
+ virtual ~ExecImplHeaderEmitter () {}
+
+ virtual void
+ pre (CCF::CIDL::SemanticGraph::TranslationUnit& u);
+
+ virtual void
+ generate (CCF::CIDL::SemanticGraph::TranslationUnit& u);
+
+ virtual void
+ post (CCF::CIDL::SemanticGraph::TranslationUnit& u);
+
+private:
+ std::ostream& os;
+ CommandLine const& cl_;
+ string export_macro_;
+ fs::path file_;
+};
+
+
+#endif // EXEC_IMPL_HEADER_GENERATOR_HPP
+