summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h b/TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h
new file mode 100644
index 00000000000..04dc6a3e8f1
--- /dev/null
+++ b/TAO/TAO_IDL/be_include/be_visitor_component/executor_ex_idl.h
@@ -0,0 +1,62 @@
+//
+// $Id$
+//
+/* -*- c++ -*- */
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// executor_ex_idl.h
+//
+// = DESCRIPTION
+// Provides code generation for components in the CIAO executor IDL.
+//
+// = AUTHOR
+// Jeff Parsons
+//
+// ============================================================================
+
+#ifndef _BE_COMPONENT_EXECUTOR_EX_IDL_H_
+#define _BE_COMPONENT_EXECUTOR_EX_IDL_H_
+
+class be_visitor_executor_ex_idl
+ : public be_visitor_component_scope
+{
+ //
+ // = TITLE
+ // be_visitor_executor_ex_idl
+ //
+ // = DESCRIPTION
+ // This is a concrete visitor to generate the
+ // CIAO executor class IDL.
+ //
+ //
+public:
+ be_visitor_executor_ex_idl (be_visitor_context *ctx);
+
+ ~be_visitor_executor_ex_idl (void);
+
+ virtual int visit_component (be_component *node);
+
+ /// To regenerate attribute declarations.
+ virtual int visit_attribute (be_attribute *node);
+
+ /// To regenerate the name of the attribute's referenced
+ /// (anonymous) type. Anonymous arrays are not allowed.
+ virtual int visit_string (be_string *node);
+ virtual int visit_sequence (be_sequence *node);
+
+ virtual int visit_provides (be_provides *node);
+ virtual int visit_consumes (be_consumes *node);
+
+private:
+ void gen_supported (void);
+ void gen_exception_list (UTL_ExceptList *exceptions,
+ const char *prefix = "",
+ bool closed = true);
+};
+
+#endif /_BE_COMPONENT_EXECUTOR_EX_IDL_H_ */
+