Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / OBV / Factory / FactoryS_impl.cpp
blob711eb446d8eb8b6eb4c876f626ec858e15492cd0
1 #include "FactoryC_impl.h"
2 #include "FactoryS_impl.h"
4 Test_impl::Test_impl (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 OBV_FactoryTest::BaseValue *
10 Test_impl::get_base_value ()
12 OBV_FactoryTest::BaseValue* ret_val = 0;
13 ACE_NEW_RETURN (ret_val,
14 OBV_OBV_FactoryTest::BaseValue,
15 0);
17 return ret_val;
20 OBV_FactoryTest::Value1 *
21 Test_impl::get_value1 ()
23 OBV_FactoryTest::Value1* ret_val = 0;
24 ACE_NEW_RETURN (ret_val,
25 OBV_OBV_FactoryTest::Value1,
26 0);
28 return ret_val;
31 OBV_FactoryTest::Value2 *
32 Test_impl::get_value2 ()
34 OBV_FactoryTest::Value2* ret_val = 0;
35 ACE_NEW_RETURN (ret_val,
36 Value2_impl,
37 0);
39 return ret_val;
42 void
43 Test_impl::shutdown ()
45 this->orb_->shutdown (false);