void readThresholdData(SGPropertyNode* aRoot);
void processThreshold(SGPropertyNode* aThreshold);
- void readILSData(SGPropertyNode* aRoot);
+ void readILSData(SGPropertyNode* aRoot);
void validateTowerData() const;
mutable bool mRunwaysLoaded;
mutable bool mTaxiwaysLoaded;
mutable bool mProceduresLoaded;
- bool mILSDataLoaded;
+ bool mILSDataLoaded;
mutable PositionedIDVec mRunways;
mutable PositionedIDVec mTaxiways;
PositionedIDVec mPavements;
- std::vector<flightgear::SID*> mSIDs;
- std::vector<flightgear::STAR*> mSTARs;
- std::vector<flightgear::Approach*> mApproaches;
+ typedef SGSharedPtr<flightgear::SID> SIDRef;
+ typedef SGSharedPtr<flightgear::STAR> STARRef;
+ typedef SGSharedPtr<flightgear::Approach> ApproachRef;
+
+ std::vector<SIDRef> mSIDs;
+ std::vector<STARRef> mSTARs;
+ std::vector<ApproachRef> mApproaches;
};
// find basic airport location info from airport database