summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h')
-rw-r--r--trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h b/trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h
new file mode 100644
index 00000000000..fcfcc2a7517
--- /dev/null
+++ b/trunk/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h
@@ -0,0 +1,23 @@
+// $Id$
+
+#include "Smart_Proxy_Impl.h"
+#include "ace/Service_Object.h"
+#include "ace/svc_export.h"
+
+class ACE_Svc_Export Smart_Test_Factory
+ : public virtual TAO_Test_Default_Proxy_Factory,
+ public virtual ACE_Service_Object
+
+{
+public:
+
+ Smart_Test_Factory (void);
+
+ // This method will create the smart_proxy.
+ virtual Test_ptr create_proxy (Test_ptr proxy
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+};
+
+// The following Factory is used by the ACE_Service_Config to
+// dynamically initialize the state of the Smart_Proxy_Factory
+ACE_SVC_FACTORY_DECLARE (Smart_Test_Factory)