]> git.mxchange.org Git - flightgear.git/blob - src/Airports/gnnode.hxx
NewAtis: handle varying winds
[flightgear.git] / src / Airports / gnnode.hxx
1 // This program is free software; you can redistribute it and/or
2 // modify it under the terms of the GNU General Public License as
3 // published by the Free Software Foundation; either version 2 of the
4 // License, or (at your option) any later version.
5 //
6 // This program is distributed in the hope that it will be useful, but
7 // WITHOUT ANY WARRANTY; without even the implied warranty of
8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9 // General Public License for more details.
10 //
11 // You should have received a copy of the GNU General Public License
12 // along with this program; if not, write to the Free Software
13 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
14 //
15
16 #ifndef _GN_NODE_HXX_
17 #define _GN_NODE_HXX_
18
19 #include <simgear/compiler.h>
20 #include <simgear/structure/SGSharedPtr.hxx>
21
22 #include <Navaids/positioned.hxx>
23
24 class FGTaxiNode : public FGPositioned
25 {
26 protected:
27   bool isOnRunway;
28   int  holdType;
29
30 public:    
31   FGTaxiNode(PositionedID aGuid, const SGGeod& pos, bool aOnRunway, int aHoldType);
32   virtual ~FGTaxiNode();
33   
34   void setElevation(double val);
35
36   double getElevationM ();
37   double getElevationFt();
38   
39   PositionedID getIndex() const { return guid(); };
40   int getHoldPointType() const { return holdType; };
41   bool getIsOnRunway() const { return isOnRunway; };
42 };
43
44 #endif