FlightGear next
|
#include <atc_mgr.hxx>
Inherits SGSubsystem.
Public Member Functions | |
FGATCManager () | |
Constructor, initializes values to private boolean and FGATCController instances. | |
virtual | ~FGATCManager () |
Default destructor. | |
void | postinit () override |
Sets up ATC subsystem parts depending on other subsystems Override of SGSubsystem::postinit() Will set private boolean flag "initSucceeded" to true upon conclusion. | |
void | shutdown () override |
Shutdown method Clears activeStations vector in preparation for clean shutdown Override of SGSubsystem::shutdown() | |
void | update (double time) override |
Update the subsystem. | |
void | addController (FGATCController *controller) |
Adds FGATCController instance to std::vector activeStations. | |
void | removeController (FGATCController *controller) |
Searches for and removes FGATCController instance from std::vector activeStations. | |
FGATCController * | getEnRouteController () |
void | reposition () |
Static Public Member Functions | |
static const char * | staticSubsystemClassId () |
Definition at line 30 of file atc_mgr.hxx.
FGATCManager::FGATCManager | ( | ) |
Constructor, initializes values to private boolean and FGATCController instances.
Definition at line 47 of file atc_mgr.cxx.
|
virtual |
Default destructor.
Definition at line 59 of file atc_mgr.cxx.
void FGATCManager::addController | ( | FGATCController * | controller | ) |
Adds FGATCController instance to std::vector activeStations.
FGATCController is a basic class for every controller
Definition at line 280 of file atc_mgr.cxx.
FGATCController * FGATCManager::getEnRouteController | ( | ) |
Definition at line 460 of file atc_mgr.cxx.
|
override |
Sets up ATC subsystem parts depending on other subsystems Override of SGSubsystem::postinit() Will set private boolean flag "initSucceeded" to true upon conclusion.
Definition at line 67 of file atc_mgr.cxx.
void FGATCManager::removeController | ( | FGATCController * | controller | ) |
Searches for and removes FGATCController instance from std::vector activeStations.
Definition at line 287 of file atc_mgr.cxx.
void FGATCManager::reposition | ( | ) |
Definition at line 256 of file atc_mgr.cxx.
|
override |
Shutdown method Clears activeStations vector in preparation for clean shutdown Override of SGSubsystem::shutdown()
Definition at line 247 of file atc_mgr.cxx.
|
inlinestatic |
Definition at line 57 of file atc_mgr.hxx.
|
override |
Update the subsystem.
FlightGear invokes this method every time the subsystem should update its state.
time | The delta time, in seconds, since the last update. On first update, delta time will be 0. |
Definition at line 304 of file atc_mgr.cxx.