From 1570b9c7f1804bbcec82718154f60603cb1680cf Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Thu, 16 Dec 2021 16:00:31 +0100 Subject: [PATCH] make the matcher public --- include/aman/types/Inbound.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/aman/types/Inbound.h b/include/aman/types/Inbound.h index f326f86..ea5b623 100644 --- a/include/aman/types/Inbound.h +++ b/include/aman/types/Inbound.h @@ -44,8 +44,6 @@ namespace aman { Velocity indicatedAirspeed(const Length& altitude) const noexcept; Velocity groundSpeed(const Length& altitude, const Velocity& ias, const Angle& heading); void createWindTables(const google::protobuf::RepeatedPtrField& wind); - static int matchToPredictedPath(const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions, const GeoCoordinate& position, - const Velocity& groundspeed, Length& trackmiles); void predictETA(const EuroScopePlugIn::CRadarTarget& target, const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions); public: @@ -60,5 +58,8 @@ namespace aman { const Time& timeToLose() const noexcept; const Length& trackmiles() const noexcept; const Time& flighttime() const noexcept; + + static int matchToPredictedPath(const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions, const GeoCoordinate& position, + const Velocity& groundspeed, Length& trackmiles); }; }