]> git.mxchange.org Git - flightgear.git/blob - src/FDM/NullFDM.hxx
Fix a numeric_limits problem for older stdc++ libraries.
[flightgear.git] / src / FDM / NullFDM.hxx
1 // NullFDM.hxx -- a do-nothing flight model, used as a placeholder if the
2 //                action is externally driven.
3 //
4 // Written by Curtis Olson, started November 1999.
5 //
6 // Copyright (C) 1999 - 2001  Curtis L. Olson  - curt@flightgear.org
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., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22 // $Id$
23
24
25 #ifndef _NULLFDM_HXX
26 #define _NULLFDM_HXX
27
28
29 #include "flight.hxx"
30
31
32 class FGNullFDM: public FGInterface {
33
34 public:
35     FGNullFDM( double dt );
36     ~FGNullFDM();
37
38     // reset flight params to a specific position 
39     void init();
40
41     // update position based on inputs, positions, velocities, etc.
42     void update( double dt );
43 };
44
45
46 #endif // _NULLFDM_HXX