Browse Source

make the matcher public

Sven Czarnian 3 years ago
parent
commit
1570b9c7f1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      include/aman/types/Inbound.h

+ 3 - 2
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<aman::WindData>& 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);
     };
 }