make the matcher public

This commit is contained in:
Sven Czarnian
2021-12-16 16:00:31 +01:00
parent 85600fcd57
commit 1570b9c7f1

View File

@@ -44,8 +44,6 @@ namespace aman {
Velocity indicatedAirspeed(const Length& altitude) const noexcept; Velocity indicatedAirspeed(const Length& altitude) const noexcept;
Velocity groundSpeed(const Length& altitude, const Velocity& ias, const Angle& heading); Velocity groundSpeed(const Length& altitude, const Velocity& ias, const Angle& heading);
void createWindTables(const google::protobuf::RepeatedPtrField<aman::WindData>& wind); 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); void predictETA(const EuroScopePlugIn::CRadarTarget& target, const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions);
public: public:
@@ -60,5 +58,8 @@ namespace aman {
const Time& timeToLose() const noexcept; const Time& timeToLose() const noexcept;
const Length& trackmiles() const noexcept; const Length& trackmiles() const noexcept;
const Time& flighttime() const noexcept; const Time& flighttime() const noexcept;
static int matchToPredictedPath(const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions, const GeoCoordinate& position,
const Velocity& groundspeed, Length& trackmiles);
}; };
} }