summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Any/AnyS_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/OBV/Any/AnyS_impl.h')
-rw-r--r--TAO/tests/OBV/Any/AnyS_impl.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/tests/OBV/Any/AnyS_impl.h b/TAO/tests/OBV/Any/AnyS_impl.h
new file mode 100644
index 00000000000..1a22a2ae45c
--- /dev/null
+++ b/TAO/tests/OBV/Any/AnyS_impl.h
@@ -0,0 +1,48 @@
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/tests/OBV/Any
+//
+// = FILENAME
+// AnyS_impl.h
+//
+// = AUTHOR
+// Boris Kolpackov <bosk@ipmce.ru>
+//
+// ============================================================================
+
+#ifndef TAO_ANY_S_IMPL_H
+#define TAO_ANY_S_IMPL_H
+
+#include "AnyS.h"
+
+class Test_impl : public POA_OBV_AnyTest::Test
+{
+ // = TITLE
+ // Implementation of Test interface
+ //
+ // = DESCRIPTION
+ // This interface is provided to produce valuetypes and test
+ // marshaling
+ //
+public:
+ Test_impl (CORBA::ORB_ptr orb);
+ // ctor
+
+ virtual CORBA::Any * get_something (
+ CORBA::Boolean need_vb
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void shutdown (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ CORBA::ORB_var orb_;
+ CORBA::Boolean even_;
+ // The ORB
+};
+
+#endif /* TAO_ANY_S_IMPL_H */