FlightGear next
rul.hxx
Go to the documentation of this file.
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#pragma once
26
27#include <simgear/compiler.h>
28
29#include <string>
30
31#include "protocol.hxx"
32
33
34class FGRUL : public FGProtocol {
35
36 char buf[ 10 ];
37 int length;
38
39public:
40
41 FGRUL();
42 ~FGRUL();
43
44 bool gen_message();
45 bool parse_message();
46
47 // process work for this port
48 bool process();
49};
FGRUL()
Definition rul.cxx:37
bool gen_message()
Definition rul.cxx:60
bool parse_message()
Definition rul.cxx:97
bool process()
Definition rul.cxx:105
~FGRUL()
Definition rul.cxx:41