FlightGear next
|
#include <TowerController.hxx>
Inherits FGATCController.
Public Member Functions | |
FGTowerController (FGAirportDynamics *parent) | |
virtual | ~FGTowerController () |
virtual void | announcePosition (int id, FGAIFlightPlan *intendedRoute, int currentRoute, double lat, double lon, double hdg, double spd, double alt, double radius, int leg, FGAIAircraft *aircraft) |
void | signOff (int id) |
Sign off the aircraft with the id from this controller. | |
bool | hasInstruction (int id) |
FGATCInstruction | getInstruction (int id) |
virtual void | updateAircraftInformation (int id, SGGeod geod, double heading, double speed, double alt, double dt) |
virtual void | render (bool) |
virtual std::string | getName () const |
virtual void | update (double dt) |
![]() | |
FGATCController () | |
virtual | ~FGATCController () |
void | init () |
void | setAirportGroundRadar (SGSharedPtr< AirportGroundRadar > groundRadar) |
bool | checkTransmissionState (int minState, int MaxState, TrafficVectorIterator i, time_t now, AtcMsgId msgId, AtcMsgDir msgDir) |
SGSharedPtr< FGTrafficRecord > | getRecord (int id) const |
virtual void | handover (SGSharedPtr< FGTrafficRecord > aiObject, int leg) |
We share the traffic record much like real life. | |
bool | hasInstruction (int id) |
FGATCInstruction | getInstruction (int id) |
bool | hasActiveTraffic () |
TrafficVector & | getActiveTraffic () |
double | getDt () |
void | setDt (double dt) |
void | transmit (FGTrafficRecord *rec, FGAirportDynamics *parent, AtcMsgId msgId, AtcMsgDir msgDir, bool audible) |
std::string | getGateName (FGAIAircraft *aircraft) |
Definition at line 42 of file TowerController.hxx.
FGTowerController::FGTowerController | ( | FGAirportDynamics * | parent | ) |
Definition at line 67 of file TowerController.cxx.
|
virtual |
Definition at line 73 of file TowerController.cxx.
|
virtual |
Implements FGATCController.
Definition at line 78 of file TowerController.cxx.
FGATCInstruction FGTowerController::getInstruction | ( | int | id | ) |
Definition at line 327 of file TowerController.cxx.
|
virtual |
Implements FGATCController.
Definition at line 346 of file TowerController.cxx.
bool FGTowerController::hasInstruction | ( | int | id | ) |
Definition at line 312 of file TowerController.cxx.
|
virtual |
Implements FGATCController.
Definition at line 341 of file TowerController.cxx.
|
virtual |
Sign off the aircraft with the id from this controller.
id | the id of the aircraft |
Reimplemented from FGATCController.
Definition at line 273 of file TowerController.cxx.
|
virtual |
Implements FGATCController.
Definition at line 351 of file TowerController.cxx.
|
virtual |
Implements FGATCController.
Definition at line 154 of file TowerController.cxx.