FlightGear
next
MagicCarpet.hxx
Go to the documentation of this file.
1
// MagicCarpet.hxx -- interface to the "Magic Carpet" flight model
2
//
3
// Written by Curtis Olson, started October 1999.
4
//
5
// Copyright (C) 1999 Curtis L. Olson - http://www.flightgear.org/~curt
6
//
7
// This program is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public License as
9
// published by the Free Software Foundation; either version 2 of the
10
// License, or (at your option) any later version.
11
//
12
// This program is distributed in the hope that it will be useful, but
13
// WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
// General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with this program; if not, write to the Free Software
19
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
//
21
// $Id$
22
23
24
#ifndef _MAGICCARPET_HXX
25
#define _MAGICCARPET_HXX
26
27
28
#include <
FDM/flight.hxx
>
29
30
31
class
FGMagicCarpet
:
public
FGInterface
32
{
33
public
:
34
FGMagicCarpet
(
double
dt );
35
~FGMagicCarpet
();
36
37
// Subsystem API.
38
void
init
()
override
;
39
void
update
(
double
dt)
override
;
40
41
// Subsystem identification.
42
static
const
char
*
staticSubsystemClassId
() {
return
"magic"
; }
43
};
44
45
#endif
// _MAGICCARPET_HXX
FGInterface::FGInterface
FGInterface()
Definition
flight.cxx:49
FGMagicCarpet::~FGMagicCarpet
~FGMagicCarpet()
Definition
MagicCarpet.cxx:42
FGMagicCarpet::staticSubsystemClassId
static const char * staticSubsystemClassId()
Definition
MagicCarpet.hxx:42
FGMagicCarpet::update
void update(double dt) override
Definition
MagicCarpet.cxx:54
FGMagicCarpet::FGMagicCarpet
FGMagicCarpet(double dt)
Definition
MagicCarpet.cxx:37
FGMagicCarpet::init
void init() override
Definition
MagicCarpet.cxx:48
flight.hxx
src
FDM
SP
MagicCarpet.hxx
Generated on Tue Jun 3 2025 12:58:38 for FlightGear by
1.13.2