give the controller the information he needs and that he can configure the tags

This commit is contained in:
Sven Czarnian
2021-12-23 09:58:31 +01:00
parent ec9e9e285b
commit d7c41d1941
4 changed files with 153 additions and 273 deletions

View File

@@ -36,10 +36,10 @@ namespace aman {
* @brief Defines the different internal and external tag functions
*/
enum class TagItemFunction {
ForceToBackendMenu = 0, /**< Opens the menu to force tracks */
ForceToBackendSelect = 1, /**< Reacts on controller selection */
RunwaySelectMenu = 2, /**< Opens the runway selection menu */
RunwaySelect = 3 /**< Selects the runway */
RunwaySelect = 3, /**< Selects the runway */
DirectToMenu = 4, /**< Opens the direct to menu */
DirectTo = 5 /**< Selects the direct to */
};
private:
@@ -60,7 +60,6 @@ namespace aman {
void generateAircraftReportMessage(EuroScopePlugIn::CRadarTarget& radarTarget, aman::AircraftReport* report);
void addUpdateQueue(EuroScopePlugIn::CRadarTarget& radarTarget);
void updateInbound(EuroScopePlugIn::CRadarTarget& radarTarget);
void updateInbound(EuroScopePlugIn::CFlightPlan& plan);
void updateSequence(std::shared_ptr<aman::AircraftSequence>& sequence);
static void distanceToPredictedIaf(const EuroScopePlugIn::CRadarTarget& radarTarget, const EuroScopePlugIn::CFlightPlan& flightPlan,
const EuroScopePlugIn::CPosition& iafPosition, aman::AircraftReport* report);