4 Test_impl::Test_impl (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
11 reflect_node (BaseNode
* bn
)
15 reflect_node (bn
->left ());
16 reflect_node (bn
->right ());
18 BaseNode_var old_right
= bn
->right ();
19 BaseNode_var old_left
= bn
->left ();
21 CORBA::add_ref (old_right
.in ());
22 CORBA::add_ref (old_left
.in ());
24 bn
->right (old_left
.in ());
25 bn
->left (old_right
.in ());
29 Test_impl::reflect (TreeController
* tc
)
33 reflect_node (tc
-> root());
40 Test_impl::shutdown (void)
42 this->orb_
->shutdown (0);