]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/gnnode.hxx
Interim windows build fix
[flightgear.git] / src / Airports / gnnode.hxx
index 2ade6673d57bc43ff22a184b4131ed022b308098..437bc5a8611476f14d6c930d0fa0c27f7761e802 100644 (file)
 class FGTaxiNode : public FGPositioned
 {
 protected:
+    const int m_index;
+
   bool isOnRunway;
   int  holdType;
+  bool m_isPushback;
 
 public:    
-  FGTaxiNode(PositionedID aGuid, const SGGeod& pos, bool aOnRunway, int aHoldType);
+  FGTaxiNode(int index, const SGGeod& pos, bool aOnRunway, int aHoldType);
   virtual ~FGTaxiNode();
   
   void setElevation(double val);
@@ -36,13 +39,13 @@ public:
   double getElevationM ();
   double getElevationFt();
   
-  PositionedID getIndex() const { return guid(); };
+  int getIndex() const;
+
   int getHoldPointType() const { return holdType; };
   bool getIsOnRunway() const { return isOnRunway; };
-};
+  bool isPushback() const { return m_isPushback; }
 
-typedef SGSharedPtr<FGTaxiNode> FGTaxiNode_ptr;
-typedef std::vector<FGTaxiNode_ptr> FGTaxiNodeVector;
-typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
+  void setIsPushback();
+};
 
 #endif