Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Smart_Proxies / On_Demand / Smart_Test_Factory.h
blob974505ca8e0894707054ad6883f0f2969e3a0347
1 #include "Smart_Proxy_Impl.h"
2 #include "ace/Service_Object.h"
3 #include "ace/svc_export.h"
5 class ACE_Svc_Export Smart_Test_Factory
6 : public virtual TAO_Test_Default_Proxy_Factory,
7 public virtual ACE_Service_Object
10 public:
11 Smart_Test_Factory ();
13 // This method will create the smart_proxy.
14 virtual Test_ptr create_proxy (Test_ptr proxy);
17 // The following Factory is used by the ACE_Service_Config to
18 // dynamically initialize the state of the Smart_Proxy_Factory
19 ACE_SVC_FACTORY_DECLARE (Smart_Test_Factory)