Merge pull request #2218 from jwillemsen/jwi-pthreadsigmask
[ACE_TAO.git] / TAO / tests / Smart_Proxies / On_Demand / Smart_Test_Factory.cpp
blob8379e0391a656ca6fe742309c54599cd76e1a7e6
1 #define ACE_BUILD_SVC_DLL
2 #include "Smart_Test_Factory.h"
4 Smart_Test_Factory::Smart_Test_Factory ()
6 ACE_DEBUG ((LM_DEBUG,
7 "Smart_Test_Factory\n"));
10 Test_ptr
11 Smart_Test_Factory::create_proxy (Test_ptr proxy)
13 ACE_DEBUG ((LM_DEBUG,
14 "create_smart_proxy\n"));
16 if (CORBA::is_nil (proxy) == 0)
17 ACE_NEW_RETURN (proxy, Smart_Test_Proxy (proxy), 0);
19 return proxy;
22 // The following Factory is used by the <ACE_Service_Config> to
23 // dynamically initialize the state of the Smart_Proxy_Factory
24 ACE_SVC_FACTORY_DEFINE (Smart_Test_Factory)