FlightGear
next
ADA.hxx
Go to the documentation of this file.
1
// ADA.hxx -- interface to the "External"-ly driven ADA flight model
2
//
3
// This program is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU General Public License as
5
// published by the Free Software Foundation; either version 2 of the
6
// License, or (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful, but
9
// WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program; if not, write to the Free Software
15
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
//
17
// $Id$
18
19
20
#ifndef _ADA_HXX
21
#define _ADA_HXX
22
23
24
class
SGSocket;
25
26
#include <
FDM/flight.hxx
>
27
28
29
class
FGADA
:
public
FGInterface
30
{
31
private
:
32
SGSocket *fdmsock;
33
#if 0
34
// Auxilliary Flight Model parameters, basically for HUD
35
double
aux1
;
// auxilliary flag
36
double
aux2
;
// auxilliary flag
37
double
aux3
;
// auxilliary flag
38
double
aux4
;
// auxilliary flag
39
double
aux5
;
// auxilliary flag
40
double
aux6
;
// auxilliary flag
41
double
aux7
;
// auxilliary flag
42
double
aux8
;
// auxilliary flag
43
float
aux9
;
// auxilliary flag
44
float
aux10
;
// auxilliary flag
45
float
aux11
;
// auxilliary flag
46
float
aux12
;
// auxilliary flag
47
float
aux13
;
// auxilliary flag
48
float
aux14
;
// auxilliary flag
49
float
aux15
;
// auxilliary flag
50
float
aux16
;
// auxilliary flag
51
float
aux17
;
// auxilliary flag
52
float
aux18
;
// auxilliary flag
53
int
iaux1
;
// auxilliary flag
54
int
iaux2
;
// auxilliary flag
55
int
iaux3
;
// auxilliary flag
56
int
iaux4
;
// auxilliary flag
57
int
iaux5
;
// auxilliary flag
58
int
iaux6
;
// auxilliary flag
59
int
iaux7
;
// auxilliary flag
60
int
iaux8
;
// auxilliary flag
61
int
iaux9
;
// auxilliary flag
62
int
iaux10
;
// auxilliary flag
63
int
iaux11
;
// auxilliary flag
64
int
iaux12
;
// auxilliary flag
65
#endif
66
// copy FDM state to FGADA structures
67
bool
copy_to_FGADA();
68
69
// copy FDM state from FGADA structures
70
bool
copy_from_FGADA();
71
72
public
:
73
FGADA
(
double
dt );
74
~FGADA
();
75
76
// Subsystem API.
77
void
init
()
override
;
78
void
update
(
double
dt)
override
;
79
80
// Subsystem identification.
81
static
const
char
*
staticSubsystemClassId
() {
return
"ada"
; }
82
};
83
84
#endif
// _ADA_HXX
iaux5
int iaux5
Definition
ADA.cxx:95
iaux11
int iaux11
Definition
ADA.cxx:101
aux12
float aux12
Definition
ADA.cxx:106
aux4
double aux4
Definition
ADA.cxx:86
iaux4
int iaux4
Definition
ADA.cxx:94
iaux10
int iaux10
Definition
ADA.cxx:100
aux18
float aux18
Definition
ADA.cxx:112
iaux7
int iaux7
Definition
ADA.cxx:97
iaux8
int iaux8
Definition
ADA.cxx:98
aux10
float aux10
Definition
ADA.cxx:104
iaux12
int iaux12
Definition
ADA.cxx:102
iaux1
int iaux1
Definition
ADA.cxx:91
aux15
float aux15
Definition
ADA.cxx:109
aux14
float aux14
Definition
ADA.cxx:108
aux17
float aux17
Definition
ADA.cxx:111
iaux3
int iaux3
Definition
ADA.cxx:93
iaux2
int iaux2
Definition
ADA.cxx:92
iaux9
int iaux9
Definition
ADA.cxx:99
iaux6
int iaux6
Definition
ADA.cxx:96
aux2
double aux2
Definition
ADA.cxx:84
aux16
float aux16
Definition
ADA.cxx:110
aux6
double aux6
Definition
ADA.cxx:88
aux5
double aux5
Definition
ADA.cxx:87
aux1
double aux1
Definition
ADA.cxx:83
aux7
double aux7
Definition
ADA.cxx:89
aux9
float aux9
Definition
ADA.cxx:103
aux11
float aux11
Definition
ADA.cxx:105
aux8
double aux8
Definition
ADA.cxx:90
aux3
double aux3
Definition
ADA.cxx:85
aux13
float aux13
Definition
ADA.cxx:107
FGADA::staticSubsystemClassId
static const char * staticSubsystemClassId()
Definition
ADA.hxx:81
FGADA::update
void update(double dt) override
Definition
ADA.cxx:211
FGADA::FGADA
FGADA(double dt)
Definition
ADA.cxx:165
FGADA::init
void init() override
Definition
ADA.cxx:179
FGADA::~FGADA
~FGADA()
Definition
ADA.cxx:172
FGInterface::FGInterface
FGInterface()
Definition
flight.cxx:49
flight.hxx
src
FDM
SP
ADA.hxx
Generated on Tue Jun 3 2025 12:58:38 for FlightGear by
1.13.2