Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / airplane_i.h
blobaaa7b985bda1e440b57023470a6ff2570ffd5f5a
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file airplane_i.h
7 * This class implements a simple CORBA server which returns a random
8 * paper airplane from the book "Oddballs, Wing-Flappers, & Spinners:
9 * Great Paper Airplanes" by John Bringhurst. ISBN: 0-07-067910-X (pbk.)
10 * An excellent book to have! I personally recommend getting it just
11 * for the wing-flappers.
13 * @author Darrell Brunsch <brunsch@cs.wustl.edu>
15 //=============================================================================
18 #if !defined (AIRPLANE_I_H)
19 #define AIRPLANE_I_H
21 #include "AirplaneS.h"
23 // Forward declarations.
24 class Airplane_i;
26 // Typedefs.
27 typedef Airplane_i *Airplane_i_ptr;
28 typedef Airplane_i_ptr Airplane_i_ref;
30 /**
31 * @class Airplane_i:
33 * @brief Paper Airplane Server Implementation
35 * This server has one method that returns the featured paper airplane
36 * at this moment (in other words, a random airplane).
38 class Airplane_i: public POA_Paper_Airplane_Server
40 public:
41 /// Constructor
42 Airplane_i ();
44 /// Destructor
45 ~Airplane_i ();
47 /// Returns a random plane.
48 virtual char *get_plane ();
51 #endif /* AIRPLANE_I_H */