1 #ifndef TAO_SUPPORTS_TEST_IMPL_H
2 #define TAO_SUPPORTS_TEST_IMPL_H
4 #include "Supports_TestS.h"
5 #include "ace/Get_Opt.h"
11 public virtual OBV_Supports_Test::Node
,
12 public virtual CORBA::DefaultValueRefCountBase
17 node_impl (const char * name
);
19 virtual void add_edge (Supports_Test::Node
* neighbor
);
21 virtual void remove_edge (Supports_Test::Node
* neighbor
);
23 void change_weight (CORBA::Long new_weight
);
28 class node_init_impl
: public Supports_Test::Node_init
31 virtual Supports_Test::Node
* create ();
33 virtual CORBA::ValueBase
* create_for_unmarshal ();
38 public virtual OBV_Supports_Test::vt_graph
,
39 public virtual POA_Supports_Test::vt_graph
,
40 public virtual CORBA::DefaultValueRefCountBase
45 vt_graph_impl (int num_nodes
);
47 virtual CORBA::Long
size ();
49 virtual void add_node (const char * name
);
51 virtual void print ();
54 class vt_graph_init_impl
:
55 public Supports_Test::vt_graph_init
58 virtual Supports_Test::vt_graph
* create ();
60 virtual CORBA::ValueBase
* create_for_unmarshal ();
64 public virtual POA_Supports_Test::test
67 test_impl (CORBA::ORB_ptr orb
);
69 virtual ~test_impl ();
71 virtual void pass_obj_graph_in (Supports_Test::graph
* graph_param
);
73 virtual void pass_vt_graph_in (Supports_Test::vt_graph
* vt_graph_param
);
75 virtual void pass_obj_graph_out (Supports_Test::graph_out graph_param
);
77 virtual void pass_vt_graph_out (Supports_Test::vt_graph_out vt_graph_param
);
79 virtual void pass_obj_graph_inout (Supports_Test::graph
* &graph_param
);
81 virtual void pass_vt_graph_inout (Supports_Test::vt_graph
* &vt_graph_param
);
83 virtual void start ();
85 virtual void finish ();
91 #endif /* TAO_SUPPORTS_TEST_IMPL_H */