]> git.mxchange.org Git - flightgear.git/blob - src/Network/rul.hxx
#346 related: missing status message for property server
[flightgear.git] / src / Network / rul.hxx
1 // rul.hxx -- "RUL" protocal class (for some sort of motion platform
2 //            some guy was building)
3 //
4 // Written by Curtis Olson, started November 1999.
5 //
6 // Copyright (C) 1999  Curtis L. Olson - http://www.flightgear.org/~curt
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 // General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 //
22 // $Id$
23
24
25 #ifndef _FG_RUL_HXX
26 #define _FG_RUL_HXX
27
28
29 #include <simgear/compiler.h>
30
31 #include <string>
32
33 #include "protocol.hxx"
34
35 using std::string;
36
37
38 class FGRUL : public FGProtocol {
39
40     char buf[ 10 ];
41     int length;
42
43 public:
44
45     FGRUL();
46     ~FGRUL();
47
48     bool gen_message();
49     bool parse_message();
50  
51     // process work for this port
52     bool process();
53 };
54
55
56 #endif // _FG_RUL_HXX
57
58