Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / airplane_i.h
blob7856da64539b0efddecd38912d1c3e873dbaa443
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 (void);
47 /// Returns a random plane.
48 virtual char *get_plane (void);
51 #endif /* AIRPLANE_I_H */