Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tests / OBV / Supports / Supports_Test_impl.h
blob733d5beb0b45576a6dbcf91467f62e61bb858fcf
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"
7 /**
8 * \class node_impl
9 */
10 class node_impl :
11 public virtual OBV_Supports_Test::Node,
12 public virtual CORBA::DefaultValueRefCountBase
14 public:
15 node_impl ();
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);
25 void print ();
28 class node_init_impl : public Supports_Test::Node_init
30 public:
31 virtual Supports_Test::Node * create ();
33 virtual CORBA::ValueBase * create_for_unmarshal ();
37 class vt_graph_impl :
38 public virtual OBV_Supports_Test::vt_graph,
39 public virtual POA_Supports_Test::vt_graph,
40 public virtual CORBA::DefaultValueRefCountBase
42 public:
43 vt_graph_impl ();
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
57 public:
58 virtual Supports_Test::vt_graph * create ();
60 virtual CORBA::ValueBase * create_for_unmarshal ();
63 class test_impl :
64 public virtual POA_Supports_Test::test
66 public:
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 ();
87 private:
88 CORBA::ORB_var orb_;
91 #endif /* TAO_SUPPORTS_TEST_IMPL_H */