summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.h
blob: 2e4e350ed090a64870022de47b80fef51123613a (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
51
52
// $Id$

// @(#)cubit_i.cpp 05/14/97
// Copyright 1994-1995 by Sun Microsystems Inc.
// All Rights Reserved
//
// TEST:        hand-written Cubit Implementation
//
// Modified version of Cubit Example written by Sun Microsystems Inc.
// Modified by: Brian Mendel

/**************************************************************************
This file has been hand-crafted to work with the ORB API of the SUN's IIOP
implementation
***************************************************************************/

#ifndef _CUBIT_I_HH
#define _CUBIT_I_HH

#include "cubit_s.h"

class Cubit_i;
typedef Cubit_i *Cubit_i_ptr;
typedef Cubit_i_ptr Cubit_i_ref;

class Cubit_i : public Cubit_base_impl
{
public:
  Cubit_i (const char *obj_name = 0);
  ~Cubit_i (void);

  virtual
  CORBA::Octet cube_octet (CORBA::Octet       o);

  virtual
  CORBA::Short cube_short (CORBA::Short       s);

  virtual
  CORBA::Long cube_long (CORBA::Long        l);

  virtual
    Cubit::Many cube_struct (const Cubit::Many        &values);

  /*  virtual
  Cubit::oneof *cube_union (Cubit::oneof       &values,
  CORBA::Environment &env); */

  virtual
  void please_exit (void);
};

#endif  // _CUBIT_I_HH