Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / OBV / Truncatable / TruncatableS_impl.h
blob1d3210c2ea738a7c02694344ca9eb663a6b8a0fc
2 //=============================================================================
3 /**
4 * @file TruncatableS_impl.h
6 * @author Boris Kolpackov <bosk@ipmce.ru>
7 */
8 //=============================================================================
11 #ifndef TAO_TRUNCATABLE_S_IMPL_H
12 #define TAO_TRUNCATABLE_S_IMPL_H
14 #include "TruncatableS.h"
16 /**
17 * @class Test_impl
19 * @brief Implementation of Test interface
21 * This interface is provided to produce valuetypes and test
22 * marshaling
24 class Test_impl : public POA_OBV_TruncatableTest::Test
26 public:
27 /// ctor
28 Test_impl (CORBA::ORB_ptr orb);
30 virtual void op1 (
31 const char * id,
32 ::OBV_TruncatableTest::BaseValue * iv,
33 ::OBV_TruncatableTest::BaseValue_out ov,
34 char *& desc);
36 virtual void op2 (
37 ::OBV_TruncatableTest::TValue1 * iv,
38 const char * id,
39 ::OBV_TruncatableTest::TValue1_out ov,
40 char *& desc);
42 virtual void op3 (
43 const char * id,
44 ::OBV_TruncatableTest::TValue4 * iv,
45 ::OBV_TruncatableTest::TValue4_out ov,
46 char *& desc);
48 virtual ::OBV_TruncatableTest::BaseValue * op4 (
49 const char * id,
50 ::OBV_TruncatableTest::TValue1 * iv1,
51 ::CORBA::Short x,
52 ::OBV_TruncatableTest::TValue4 * iv2,
53 ::OBV_TruncatableTest::TValue4 * iv3,
54 ::OBV_TruncatableTest::TValue1 * iv4,
55 char *& desc);
57 virtual void op5 (const CORBA::Any& val,
58 const char * id,
59 ::OBV_TruncatableTest::TValue1_out ov,
60 char *& desc);
62 virtual void shutdown ();
64 private:
65 /// The ORB
66 CORBA::ORB_var orb_;
69 #endif /* TAO_TRUNCATABLE_S_IMPL_H */