diff options
Diffstat (limited to 'trunk/TAO/tests/OBV/Any/AnyS_impl.h')
-rw-r--r-- | trunk/TAO/tests/OBV/Any/AnyS_impl.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/trunk/TAO/tests/OBV/Any/AnyS_impl.h b/trunk/TAO/tests/OBV/Any/AnyS_impl.h new file mode 100644 index 00000000000..d7ba0a3f399 --- /dev/null +++ b/trunk/TAO/tests/OBV/Any/AnyS_impl.h @@ -0,0 +1,51 @@ +// $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 + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual OBV_AnyTest::VB * get_vb (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void shutdown (ACE_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 */ |