6 #ifndef SWIFT_CORE_AIRCRAFTMATCHER_H
7 #define SWIFT_CORE_AIRCRAFTMATCHER_H
31 class CSimulatedAircraft;
47 static const QStringList &getLogCategories();
78 bool useMatchingScript)
const;
84 const QString &secondaryIcao,
bool airlineFromCallsign,
85 const QString &airlineName,
const QString &airlineTelephony,
93 bool airlineFromCallsign,
const QString &airlineName,
const QString &airlineTelephony,
101 bool airlineFromCallsign,
const QString &airlineName,
const QString &airlineTelephony,
234 static QString reverseLookupAirlineName(
const QString &candidate,
241 static QString reverseLookupTelephonyDesignator(
const QString &candidate,
247 static bool isKnownAircraftDesignator(
const QString &candidate,
280 bool hasModels()
const {
return !m_modelSet.isEmpty(); }
296 void restoreDisabledModels();
312 const QString &aircraftIcao,
const QString &airlineIcao,
const QString &livery);
323 bool saveDisabledForMatchingModels();
331 swift::misc::simulation::MatchingLog whatToLog,
339 int &maxScore, swift::misc::simulation::MatchingLog whatToLog,
349 swift::misc::simulation::MatchingLog whatToLog,
379 const QString &family,
bool allowPseudoFamily,
415 bool allowPseudoFamily,
465 const QString &airlineName,
const QString &airlineTelephony,
bool useSwiftDbData,
470 static bool isValidAirlineIcaoDesignator(
const QString &designator,
bool checkAgainstSwiftDb);
473 static bool constexpr UsePseudoFamily =
true;
482 QString m_modelSetInfo;
QMultiMap< int, CAircraftModel > ScoredModels
Individual (matching) score for each model.
void setupChanged()
Setup changed.
void clearMatchingStatistics()
Clear the statistics.
virtual const swift::misc::simulation::CAircraftModelList & getModelSetRef() const
Model set as reference.
swift::misc::simulation::CAircraftMatcherSetup getSetup() const
Get the setup.
virtual int getModelSetCount() const
Model set count.
CAircraftMatcher & operator=(const CAircraftMatcher &)=delete
Copy assignment operator.
CAircraftMatcher(const CAircraftMatcher &)=delete
Copy constructor.
const swift::misc::simulation::CMatchingStatistics & getCurrentStatistics() const
The current statistics.
swift::misc::simulation::CAircraftModelList getDisabledModelsForMatching() const
The disabled models for matching.
bool hasModels() const
Models.
const swift::misc::simulation::CAircraftModel & getDefaultModel() const
Default model.
virtual swift::misc::simulation::CAircraftModelList getModelSet() const
Get the model set models.
A sequence of log categories.
Status messages, e.g. from Core -> GUI.
Value object for ICAO classification.
Value object encapsulating a list of ICAO codes.
Value object for ICAO classification.
Value object encapsulating information of a callsign.
Value object encapsulating information about an airpot.
Aircraft model (used by another pilot, my models on disk)
Value object encapsulating a list of aircraft models.
Category matcher, uses the DB categories.
Value object for matching statistics.
Comprehensive information of an aircraft.
Simple hardcoded info about the corresponding simulator.
Value object encapsulating a list of aircraft models.
MatchingScript
Matching script type.
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.