summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h')
-rw-r--r--ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h109
1 files changed, 109 insertions, 0 deletions
diff --git a/ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h b/ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h
new file mode 100644
index 00000000000..976f570a3eb
--- /dev/null
+++ b/ACE/TAO/tests/OBV/Supports/Supports_Test_impl.h
@@ -0,0 +1,109 @@
+// $Id$
+
+#ifndef TAO_SUPPORTS_TEST_IMPL_H
+#define TAO_SUPPORTS_TEST_IMPL_H
+
+#include "Supports_TestS.h"
+#include "ace/Get_Opt.h"
+
+/**
+ * \class node_impl
+ *
+ *
+ */
+class node_impl :
+ public virtual OBV_Supports_Test::Node,
+ public virtual CORBA::DefaultValueRefCountBase
+{
+
+public:
+
+ node_impl (void);
+
+ node_impl (const char * name);
+
+ virtual void add_edge (Supports_Test::Node * neighbor);
+
+ virtual void remove_edge (Supports_Test::Node * neighbor);
+
+ void change_weight (CORBA::Long new_weight);
+
+ void print (void);
+
+};
+
+class node_init_impl : public Supports_Test::Node_init
+{
+
+ public:
+
+ virtual Supports_Test::Node * create (void);
+
+ virtual CORBA::ValueBase * create_for_unmarshal (void);
+};
+
+
+class vt_graph_impl :
+ public virtual OBV_Supports_Test::vt_graph,
+ public virtual POA_Supports_Test::vt_graph,
+ public virtual CORBA::DefaultValueRefCountBase
+{
+
+ public:
+
+ vt_graph_impl (void);
+
+ vt_graph_impl (int num_nodes);
+
+ virtual CORBA::Long size (void);
+
+ virtual void add_node (const char * name);
+
+ virtual void print (void);
+};
+
+class vt_graph_init_impl :
+ public Supports_Test::vt_graph_init
+{
+
+ public:
+
+ virtual Supports_Test::vt_graph * create (void);
+
+ virtual CORBA::ValueBase * create_for_unmarshal (void);
+
+};
+
+class test_impl :
+ public virtual POA_Supports_Test::test
+{
+
+ public:
+
+ test_impl (CORBA::ORB_ptr orb);
+
+ virtual ~test_impl (void);
+
+ virtual void pass_obj_graph_in (Supports_Test::graph * graph_param);
+
+ virtual void pass_vt_graph_in (Supports_Test::vt_graph * vt_graph_param);
+
+ virtual void pass_obj_graph_out (Supports_Test::graph_out graph_param);
+
+ virtual void pass_vt_graph_out (Supports_Test::vt_graph_out vt_graph_param);
+
+ virtual void pass_obj_graph_inout (Supports_Test::graph * &graph_param);
+
+ virtual void pass_vt_graph_inout (Supports_Test::vt_graph * &vt_graph_param);
+
+ virtual void start (void);
+
+ virtual void finish (void);
+
+ private:
+
+ CORBA::ORB_var orb_;
+
+};
+
+#endif /* TAO_SUPPORTS_TEST_IMPL_H */