summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/ImplRepo/airplane_i.h
blob: 2f2962f1d5a9882a2f35e54adf4fde07684eab33 (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
53
54
// -*- C++ -*-

//=============================================================================
/**
 *  @file    airplane_i.h
 *
 *  $Id$
 *
 *  This class implements a simple CORBA server which returns a random
 *  paper airplane from the book "Oddballs, Wing-Flappers, & Spinners:
 *  Great Paper Airplanes" by John Bringhurst.  ISBN: 0-07-067910-X (pbk.)
 *  An excellent book to have!  I personally recommend getting it just
 *  for the wing-flappers.
 *
 *
 *  @author Darrell Brunsch <brunsch@cs.wustl.edu>
 */
//=============================================================================


#if !defined (AIRPLANE_I_H)
#define AIRPLANE_I_H

#include "AirplaneS.h"

// Forward declarations.
class Airplane_i;

// Typedefs.
typedef Airplane_i *Airplane_i_ptr;
typedef Airplane_i_ptr Airplane_i_ref;

/**
 * @class Airplane_i:
 *
 * @brief Paper Airplane Server Implementation
 *
 * This server has one method that returns the featured paper airplane
 * at this moment (in other words, a random airplane).
 */
class Airplane_i: public POA_Paper_Airplane_Server
{
public:
  /// Constructor
  Airplane_i ();

  /// Destructor
  ~Airplane_i (void);

  /// Returns a random plane.
  virtual char *get_plane (void);
};

#endif /* AIRPLANE_I_H */