]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runways.hxx
Create a real FlightPlan (and Leg) class
[flightgear.git] / src / Airports / runways.hxx
index e6f97ea95d7790c30898fbcd6e4ec9c7a5bc865d..651f1e68ef478bfbee7175d645e365011d09824b 100644 (file)
@@ -33,6 +33,12 @@ class FGAirport;
 class FGNavRecord;
 class SGPropertyNode;
 
+namespace flightgear {
+  class SID;
+  class STAR;
+  class Approach;
+}
+
 class FGRunway : public FGRunwayBase
 {
   FGAirport* _airport;
@@ -110,11 +116,25 @@ public:
   FGRunway* reciprocalRunway() const
   { return _reciprocal; }
   void setReciprocalRunway(FGRunway* other);
-  
+    
   /**
    * Helper to process property data loaded from an ICAO.threshold.xml file
    */
   void processThreshold(SGPropertyNode* aThreshold);
+  
+  /**
+   * Get SIDs (DPs) associated with this runway
+   */
+  std::vector<flightgear::SID*> getSIDs() const;
+  
+  /**
+   * Get STARs associared with this runway
+   */ 
+  std::vector<flightgear::STAR*> getSTARs() const;
+  
+  
+  std::vector<flightgear::Approach*> getApproaches() const;
+  
 };
 
 #endif // _FG_RUNWAYS_HXX