17#include <simgear/structure/SGReferenced.hxx>
18#include <simgear/structure/subsystem_mgr.hxx>
27typedef std::vector<FGATCController*>
AtcVec;
39 SGPropertyNode_ptr trans_num;
40 std::string destination;
42 std::unique_ptr<FGAISchedule> userAircraftTrafficRef;
43 std::unique_ptr<FGScheduledFlight> userAircraftScheduledFlight;
45 SGPropertyNode_ptr _routeManagerDestinationAirportNode;
54 void update(
double time)
override;
std::vector< FGATCController * > AtcVec
std::vector< FGATCController * >::iterator AtcVecIterator
class FGATCController NOTE: this class serves as an abstraction layer for all sorts of ATC controller...
void postinit() override
Sets up ATC subsystem parts depending on other subsystems Override of SGSubsystem::postinit() Will se...
FGATCController * getEnRouteController()
void addController(FGATCController *controller)
Adds FGATCController instance to std::vector activeStations.
void shutdown() override
Shutdown method Clears activeStations vector in preparation for clean shutdown Override of SGSubsyste...
static const char * staticSubsystemClassId()
FGATCManager()
Constructor, initializes values to private boolean and FGATCController instances.
virtual ~FGATCManager()
Default destructor.
void update(double time) override
Update the subsystem.
void removeController(FGATCController *controller)
Searches for and removes FGATCController instance from std::vector activeStations.