summaryrefslogtreecommitdiff
path: root/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h')
-rw-r--r--trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h b/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h
new file mode 100644
index 00000000000..45124e346a1
--- /dev/null
+++ b/trunk/TAO/TAO_IDL/be_include/be_visitor_operation/upcall_command_ss.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// upcall_command_ss.cpp
+//
+// = DESCRIPTION
+// Visitor that generates operation-specific TAO::Upcall_Command
+// objects in skeletons.
+//
+// = AUTHOR
+// Ossama Othman
+//
+// ============================================================================
+
+#ifndef _BE_VISITOR_OPERATION_UPCALL_COMMAND_SS_H_
+#define _BE_VISITOR_OPERATION_UPCALL_COMMAND_SS_H_
+
+class be_visitor_operation_upcall_command_ss
+ : public be_visitor_operation
+{
+public:
+
+ /// constructor
+ be_visitor_operation_upcall_command_ss (be_visitor_context * ctx);
+
+ /// destructor
+ ~be_visitor_operation_upcall_command_ss (void);
+
+ /// Same as visit_operation() but override full_skel_name and
+ /// upcall_command_name.
+ int visit (be_operation * node,
+ char const * full_skel_name,
+ char const * upcall_command_name);
+
+ int gen_nested_namespace_begin (be_module *node);
+
+ int gen_nested_namespace_end (be_module *node);
+
+private:
+
+ /// Generate the upcall.
+ int gen_upcall (be_operation * node);
+
+};
+
+#endif /* _BE_VISITOR_OPERATION_UPCALL_COMMAND_SS_H_ */