+ // helpers for Run
+ //TODO sort out which ones are better protected virtuals to allow
+ //subclasses to override specific behaviour
+ bool fpExecutable(time_t now);
+ void handleFirstWaypoint(void);
+ bool leadPointReached(FGAIFlightPlan::waypoint* curr);
+ bool handleAirportEndPoints(FGAIFlightPlan::waypoint* prev, time_t now);
+ bool aiTrafficVisible(void);
+ void controlHeading(FGAIFlightPlan::waypoint* curr);
+ void controlSpeed(FGAIFlightPlan::waypoint* curr,
+ FGAIFlightPlan::waypoint* next);
+ void updatePrimaryTargetValues();
+ void updateSecondaryTargetValues();
+ void updatePosition();
+ void updateHeading();
+ void updateBankAngleTarget();
+ void updateVerticalSpeedTarget();
+ void updatePitchAngleTarget();
+ void updateActualState();
+ void handleATCRequests();
+ void checkVisibility();
+