3
//=============================================================================
7
* airplane_i.h,v 1.9 2002/01/29 20:20:55 okellogg Exp
9
* This class implements a simple CORBA server which returns a random
10
* paper airplane from the book "Oddballs, Wing-Flappers, & Spinners:
11
* Great Paper Airplanes" by John Bringhurst. ISBN: 0-07-067910-X (pbk.)
12
* An excellent book to have! I personally recommend getting it just
13
* for the wing-flappers.
16
* @author Darrell Brunsch <brunsch@cs.wustl.edu>
18
//=============================================================================
21
#if !defined (AIRPLANE_I_H)
24
#include "AirplaneS.h"
26
// Forward declarations.
30
typedef Airplane_i *Airplane_i_ptr;
31
typedef Airplane_i_ptr Airplane_i_ref;
36
* @brief Paper Airplane Server Implementation
38
* This server has one method that returns the featured paper airplane
39
* at this moment (in other words, a random airplane).
41
class Airplane_i: public POA_Paper_Airplane_Server
50
/// Returns a random plane.
51
virtual char *get_plane (ACE_ENV_SINGLE_ARG_DECL)
52
ACE_THROW_SPEC ((CORBA::SystemException));
55
#endif /* AIRPLANE_I_H */