summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Any/AnyS_impl.h
blob: 610d83162a1bcc5218b62dcdeda0a1083f6509d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// $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_THROW_SPEC ((CORBA::SystemException));

  virtual OBV_AnyTest::VB * get_vb (void)
    ACE_THROW_SPEC ((CORBA::SystemException));

  virtual void shutdown (void)
    ACE_THROW_SPEC ((CORBA::SystemException));

private:
  CORBA::ORB_var orb_;
  CORBA::Boolean even_;
  // The ORB
};

#endif /* TAO_ANY_S_IMPL_H */