// forward decls
class FGAirport;
+class FGNavRecord;
+class SGPropertyNode;
class FGRunway : public FGRunwayBase
{
bool _reciprocal;
double _displ_thresh;
double _stopway;
+ FGNavRecord* _ils;
public:
FGRunway(FGAirport* aAirport, const std::string& rwy_no,
double stopwayM() const
{ return _stopway * SG_FEET_TO_METER; }
- /**
+ /**
* Airport this runway is located at
*/
FGAirport* airport() const
// FIXME - should die once airport / runway creation is cleaned up
void setAirport(FGAirport* aAirport)
{ _airport = aAirport; }
+
+ FGNavRecord* ILS() const { return _ils; }
+ void setILS(FGNavRecord* nav) { _ils = nav; }
+
+ /**
+ * Helper to process property data loaded from an ICAO.threshold.xml file
+ */
+ void processThreshold(SGPropertyNode* aThreshold);
};
#endif // _FG_RUNWAYS_HXX