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
34
class
FGRUL
:
public
FGProtocol
{
35
36
char
buf[ 10 ];
37
int
length;
38
39
public
:
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
};
FGProtocol::FGProtocol
FGProtocol()
Definition
protocol.cxx:30
FGRUL::FGRUL
FGRUL()
Definition
rul.cxx:37
FGRUL::gen_message
bool gen_message()
Definition
rul.cxx:60
FGRUL::parse_message
bool parse_message()
Definition
rul.cxx:97
FGRUL::process
bool process()
Definition
rul.cxx:105
FGRUL::~FGRUL
~FGRUL()
Definition
rul.cxx:41
protocol.hxx
src
Network
rul.hxx
Generated on Tue Jun 3 2025 12:58:41 for FlightGear by
1.13.2