blob: c9e250aa71d5b5afde12a435308911f86c37dcc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#include "FactoryC_impl.h"
#include "FactoryS_impl.h"
Test_impl::Test_impl (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
OBV_FactoryTest::BaseValue *
Test_impl::get_base_value (void)
{
OBV_FactoryTest::BaseValue* ret_val = 0;
ACE_NEW_RETURN (ret_val,
OBV_OBV_FactoryTest::BaseValue,
0);
return ret_val;
}
OBV_FactoryTest::Value1 *
Test_impl::get_value1 (void)
{
OBV_FactoryTest::Value1* ret_val = 0;
ACE_NEW_RETURN (ret_val,
OBV_OBV_FactoryTest::Value1,
0);
return ret_val;
}
OBV_FactoryTest::Value2 *
Test_impl::get_value2 (void)
{
OBV_FactoryTest::Value2* ret_val = 0;
ACE_NEW_RETURN (ret_val,
Value2_impl,
0);
return ret_val;
}
void
Test_impl::shutdown (void)
{
this->orb_->shutdown (0);
}
|