3 Test_impl::Test_impl (CORBA::ORB_ptr orb
)
4 : orb_ (CORBA::ORB::_duplicate (orb
))
9 Test_impl::get_something (
10 CORBA::Boolean need_vb
)
12 CORBA::Any_ptr ret_val_ptr
= 0;
13 ACE_NEW_RETURN (ret_val_ptr
, CORBA::Any
, 0);
14 CORBA::Any_var ret_val
= ret_val_ptr
;
16 const CORBA::ULong magic
= 3145;
20 OBV_AnyTest::VB_var vb
;
21 ACE_NEW_RETURN (vb
.inout (), OBV_OBV_AnyTest::VB
, 0);
25 ret_val
.inout () <<= vb
.in ();
29 OBV_AnyTest::VA_var va
;
30 ACE_NEW_RETURN (va
.inout (), OBV_OBV_AnyTest::VA
, 0);
34 OBV_AnyTest::VA
*va_ptr
= va
._retn ();
35 ret_val
.inout () <<= &va_ptr
;
38 return ret_val
._retn();
44 const CORBA::ULong magic
= 3145;
46 OBV_AnyTest::VB_var vb
;
47 ACE_NEW_RETURN (vb
.inout (), OBV_OBV_AnyTest::VB
, 0);
54 Test_impl::shutdown ()
56 this->orb_
->shutdown (false);