summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h')
-rw-r--r--TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h b/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h
new file mode 100644
index 00000000000..b3ac7e0c5d9
--- /dev/null
+++ b/TAO/tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h
@@ -0,0 +1,26 @@
+// $Id$
+
+#include "testC.h"
+class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory
+{
+public:
+
+ Smart_Test_Factory (void);
+
+ virtual Test_ptr create_proxy (Test_ptr proxy
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ // This method will create the smart_proxy.
+};
+
+class Smart_Test_Proxy : public virtual TAO_Test_Smart_Proxy_Base
+{
+public:
+ Smart_Test_Proxy (Test_ptr proxy);
+
+ virtual CORBA::Short box_prices(ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ // "Smartify" the method call!
+
+ private:
+ CORBA::Short price_;
+};