#define _AIRPORT_DYNAMICS_HXX_
-#ifndef __cplusplus
+#ifndef __cplusplus
# error This library requires C++
-#endif
+#endif
+
+#include <simgear/xml/easyxml.hxx>
+
+#include "parking.hxx"
+#include "groundnetwork.hxx"
+#include "runwayprefs.hxx"
+#include "trafficcontrol.hxx"
-
class FGAirportDynamics : public XMLVisitor {
-
+
private:
double _longitude; // degrees
double _latitude; // degrees
double _elevation; // ft
string _id;
- FGParkingVec parkings;
+ FGParkingVec parkings;
FGRunwayPreference rwyPrefs;
- FGGroundNetwork groundNetwork;
+ FGGroundNetwork groundNetwork;
+ FGTowerController towerController;
time_t lastUpdate;
string prevTrafficType;
//const string &getName() const { return _name;};
// Returns degrees
- FGGroundNetwork* getGroundNetwork() { return &groundNetwork; };
+ FGGroundNetwork *getGroundNetwork() { return &groundNetwork; };
+ FGTowerController *getTowerController() { return &towerController; };
void setRwyUse(const FGRunwayPreference& ref);