swift
Signals | Public Member Functions | Static Public Member Functions | List of all members
swift::core::CAircraftMatcher Class Reference

Matcher for all models. More...

Inheritance diagram for swift::core::CAircraftMatcher:
[legend]

Signals

void setupChanged ()
 Setup changed.
 

Public Member Functions

 CAircraftMatcher (const swift::misc::simulation::CAircraftMatcherSetup &setup, QObject *parent=nullptr)
 Constructor.
 
 CAircraftMatcher (QObject *parent=nullptr)
 Constructor.
 
virtual ~CAircraftMatcher ()
 Destructor. More...
 
 CAircraftMatcher (const CAircraftMatcher &)=delete
 Copy constructor.
 
CAircraftMatcheroperator= (const CAircraftMatcher &)=delete
 Copy assignment operator.
 
bool setSetup (const swift::misc::simulation::CAircraftMatcherSetup &setup)
 Set the setup.
 
swift::misc::simulation::CAircraftMatcherSetup getSetup () const
 Get the setup.
 
swift::misc::simulation::CAircraftModel getClosestMatch (const swift::misc::simulation::CSimulatedAircraft &remoteAircraft, swift::misc::simulation::MatchingLog whatToLog, swift::misc::CStatusMessageList *log, bool useMatchingScript) const
 Get the closest matching aircraft model from set. Result depends on setup. More...
 
virtual swift::misc::simulation::CAircraftModelList getModelSet () const
 Get the model set models. More...
 
virtual const swift::misc::simulation::CAircraftModelListgetModelSetRef () const
 Model set as reference.
 
virtual int getModelSetCount () const
 Model set count.
 
bool hasModels () const
 Models.
 
int setModelSet (const swift::misc::simulation::CAircraftModelList &models, const swift::misc::simulation::CSimulatorInfo &simulator, bool forced)
 Set the models we want to use. More...
 
void disableModelsForMatching (const swift::misc::simulation::CAircraftModelList &removedModels, bool incremental)
 Remove a model for matching. More...
 
swift::misc::simulation::CAircraftModelList getDisabledModelsForMatching () const
 The disabled models for matching.
 
void restoreDisabledModels ()
 Restore the models removed with CAircraftMatcher::disableModelForMatching.
 
const swift::misc::simulation::CAircraftModelgetDefaultModel () const
 Default model.
 
void setDefaultModel (const swift::misc::simulation::CAircraftModel &defaultModel)
 Set default model, can be set by driver specific for simulator.
 
const swift::misc::simulation::CMatchingStatisticsgetCurrentStatistics () const
 The current statistics.
 
void clearMatchingStatistics ()
 Clear the statistics.
 
void evaluateStatisticsEntry (const QString &sessionId, const swift::misc::aviation::CCallsign &callsign, const QString &aircraftIcao, const QString &airlineIcao, const QString &livery)
 Evaluate if a statistics entry makes sense and add it.
 
void addingRemoteModelFailed (const swift::misc::simulation::CSimulatedAircraft &remoteAircraft)
 Adding a model failed.
 
- Public Member Functions inherited from swift::misc::simulation::IAircraftModelSetProvider
 IAircraftModelSetProvider ()=default
 Constructor.
 
- Public Member Functions inherited from swift::misc::IProvider
virtual ~IProvider ()
 Dtor.
 
 IProvider (const IProvider &)=delete
 Copy constructor.
 
IProvideroperator= (const IProvider &)=delete
 Copy assignment operator.
 
virtual QObject * asQObject ()
 Return as QObject.
 

Static Public Member Functions

static const QStringList & getLogCategories ()
 Log categories.
 
static swift::misc::aviation::CAirlineIcaoCode failoverValidAirlineIcaoDesignator (const swift::misc::aviation::CCallsign &callsign, const QString &primaryIcao, const QString &secondaryIcao, bool airlineFromCallsign, const QString &airlineName, const QString &airlineTelephony, bool useWebServices, swift::misc::CStatusMessageList *log=nullptr)
 Return an valid airline ICAO code. More...
 
static swift::misc::aviation::CAirlineIcaoCode failoverValidAirlineIcaoDesignator (const swift::misc::aviation::CCallsign &callsign, const QString &primaryIcao, const QString &secondaryIcao, bool airlineFromCallsign, const QString &airlineName, const QString &airlineTelephony, const swift::misc::simulation::CAircraftModelList &models, swift::misc::CStatusMessageList *log=nullptr)
 Return an valid airline ICAO code from a given model list. More...
 
static swift::misc::aviation::CAirlineIcaoCode failoverValidAirlineIcaoDesignatorModelsFirst (const swift::misc::aviation::CCallsign &callsign, const QString &primaryIcao, const QString &secondaryIcao, bool airlineFromCallsign, const QString &airlineName, const QString &airlineTelephony, const swift::misc::simulation::CAircraftModelList &models, swift::misc::CStatusMessageList *log=nullptr)
 Return an valid airline ICAO code from a given model list and use webservices if NOT found. More...
 
static swift::misc::simulation::MatchingScriptReturnValues reverseLookupScript (const swift::misc::simulation::CAircraftModel &inModel, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::CStatusMessageList *log)
 Run the network reverse lookup script. More...
 
static swift::misc::simulation::MatchingScriptReturnValues matchingStageScript (const swift::misc::simulation::CAircraftModel &inModel, const swift::misc::simulation::CAircraftModel &matchedModel, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::CStatusMessageList *log)
 Run the matching stage lookup script. More...
 
static swift::misc::simulation::MatchingScriptReturnValues matchingScript (const QString &js, const swift::misc::simulation::CAircraftModel &inModel, const swift::misc::simulation::CAircraftModel &matchedModel, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::simulation::MatchingScript ms, swift::misc::CStatusMessageList *log)
 Run the matching script. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModel (const swift::misc::aviation::CCallsign &callsign, const swift::misc::aviation::CAircraftIcaoCode &networkAircraftIcao, const swift::misc::aviation::CAirlineIcaoCode &networkAirlineIcao, const QString &networkLiveryInfo, const QString &networkModelString, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::simulation::CAircraftModel::ModelType type, swift::misc::CStatusMessageList *log)
 Try to find the corresponding data in DB and get best information for given data. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModel (const swift::misc::simulation::CAircraftModel &modelToLookup, const QString &networkLiveryInfo, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::CStatusMessageList *log)
 Try to find the corresponding data in DB and get best information for following matching. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModelMs (const swift::misc::simulation::CAircraftModel &modelToLookup, const QString &networkLiveryInfo, const swift::misc::simulation::CAircraftMatcherSetup &setup, const swift::misc::simulation::CAircraftModelList &modelSet, swift::misc::CStatusMessageList *log)
 Try to find the corresponding data in DB and get best information for following matching. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModelStringInDB (const QString &modelString, const swift::misc::aviation::CCallsign &callsign, bool doLookupString, swift::misc::CStatusMessageList *log)
 Try to find model by model string. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModelStringInSet (const QString &modelString, const swift::misc::aviation::CCallsign &callsign, const swift::misc::simulation::CAircraftModelList &modelSet, bool useNonDbEntries, swift::misc::CStatusMessageList *log)
 Try to find model by model string in set. More...
 
static swift::misc::simulation::CAircraftModel reverseLookupModelId (int id, const swift::misc::aviation::CCallsign &callsign, swift::misc::CStatusMessageList *log)
 Try to find model by id. More...
 
static swift::misc::aviation::CAircraftIcaoCode reverseLookupAircraftIcao (const swift::misc::aviation::CAircraftIcaoCode &icaoDesignator, const swift::misc::aviation::CCallsign &logCallsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Try to find the DB corresponding ICAO code. More...
 
static swift::misc::aviation::CAircraftIcaoCode reverseLookupAircraftIcaoId (int id, const swift::misc::aviation::CCallsign &logCallsign, swift::misc::CStatusMessageList *log=nullptr)
 Lookup of ICAO by id. More...
 
static swift::misc::aviation::CAirlineIcaoCode reverseLookupAirlineIcao (const swift::misc::aviation::CAirlineIcaoCode &icaoPattern, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Try to find the DB corresponding ICAO code. More...
 
static swift::misc::aviation::CLivery reverseLookupStandardLivery (const swift::misc::aviation::CAirlineIcaoCode &airline, const swift::misc::aviation::CCallsign &callsign, swift::misc::CStatusMessageList *log=nullptr)
 Lookup of standard livery. More...
 
static swift::misc::aviation::CLivery reverseLookupLiveryId (int id, const swift::misc::aviation::CCallsign &logCallsign, swift::misc::CStatusMessageList *log=nullptr)
 Lookup of livery by id. More...
 
static int reverseLookupByIds (const swift::misc::simulation::DBTripleIds &ids, swift::misc::aviation::CAircraftIcaoCode &aircraftIcao, swift::misc::aviation::CLivery &livery, const swift::misc::aviation::CCallsign &logCallsign, swift::misc::CStatusMessageList *log=nullptr)
 Lookup by ids. More...
 
static QString reverseLookupAirlineName (const QString &candidate, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Lookup of airline name. More...
 
static QString reverseLookupTelephonyDesignator (const QString &candidate, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Lookup of telephony designator. More...
 
static bool isKnownAircraftDesignator (const QString &candidate, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Is this aircraft designator known? More...
 
static bool isKnownModelString (const QString &candidate, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Is this aircraft designator known? More...
 
static swift::misc::aviation::CAircraftIcaoCode searchAmongAirlineAircraft (const QString &icaoString, const swift::misc::aviation::CAirlineIcaoCode &airline, const swift::misc::aviation::CCallsign &callsign={}, swift::misc::CStatusMessageList *log=nullptr)
 Search among the airline aircraft. More...
 
static swift::misc::aviation::CAirlineIcaoCode callsignToAirline (const swift::misc::aviation::CCallsign &callsign, swift::misc::CStatusMessageList *log=nullptr)
 Turn callsign into airline. More...
 

Additional Inherited Members

- Protected Member Functions inherited from swift::misc::IProvider
 IProvider ()
 Constructor.
 

Detailed Description

Matcher for all models.

Reads the model set (ie the models the user wants to use). Also Allows to reverse lookup a model (from network to DB data).

Definition at line 40 of file aircraftmatcher.h.

Constructor & Destructor Documentation

◆ ~CAircraftMatcher()

swift::core::CAircraftMatcher::~CAircraftMatcher ( )
virtual

Destructor.

Remarks
saves a log of removed models if any

Definition at line 55 of file aircraftmatcher.cpp.

Member Function Documentation

◆ callsignToAirline()

CAirlineIcaoCode swift::core::CAircraftMatcher::callsignToAirline ( const swift::misc::aviation::CCallsign callsign,
swift::misc::CStatusMessageList log = nullptr 
)
static

Turn callsign into airline.

Remarks
This function is thread safe.

Definition at line 1601 of file aircraftmatcher.cpp.

◆ disableModelsForMatching()

void swift::core::CAircraftMatcher::disableModelsForMatching ( const swift::misc::simulation::CAircraftModelList removedModels,
bool  incremental 
)

Remove a model for matching.

Remarks
effective until new set is set

Definition at line 1680 of file aircraftmatcher.cpp.

◆ failoverValidAirlineIcaoDesignator() [1/2]

CAirlineIcaoCode swift::core::CAircraftMatcher::failoverValidAirlineIcaoDesignator ( const swift::misc::aviation::CCallsign callsign,
const QString &  primaryIcao,
const QString &  secondaryIcao,
bool  airlineFromCallsign,
const QString &  airlineName,
const QString &  airlineTelephony,
bool  useWebServices,
swift::misc::CStatusMessageList log = nullptr 
)
static

Return an valid airline ICAO code.

Remarks
This function is thread safe.

Definition at line 65 of file aircraftmatcher.cpp.

◆ failoverValidAirlineIcaoDesignator() [2/2]

CAirlineIcaoCode swift::core::CAircraftMatcher::failoverValidAirlineIcaoDesignator ( const swift::misc::aviation::CCallsign callsign,
const QString &  primaryIcao,
const QString &  secondaryIcao,
bool  airlineFromCallsign,
const QString &  airlineName,
const QString &  airlineTelephony,
const swift::misc::simulation::CAircraftModelList models,
swift::misc::CStatusMessageList log = nullptr 
)
static

Return an valid airline ICAO code from a given model list.

Remarks
model list could be the model set
This function is thread safe.

Definition at line 151 of file aircraftmatcher.cpp.

◆ failoverValidAirlineIcaoDesignatorModelsFirst()

CAirlineIcaoCode swift::core::CAircraftMatcher::failoverValidAirlineIcaoDesignatorModelsFirst ( const swift::misc::aviation::CCallsign callsign,
const QString &  primaryIcao,
const QString &  secondaryIcao,
bool  airlineFromCallsign,
const QString &  airlineName,
const QString &  airlineTelephony,
const swift::misc::simulation::CAircraftModelList models,
swift::misc::CStatusMessageList log = nullptr 
)
static

Return an valid airline ICAO code from a given model list and use webservices if NOT found.

Remarks
model list could be the model set
This function is thread safe.

Definition at line 303 of file aircraftmatcher.cpp.

◆ getClosestMatch()

CAircraftModel swift::core::CAircraftMatcher::getClosestMatch ( const swift::misc::simulation::CSimulatedAircraft remoteAircraft,
swift::misc::simulation::MatchingLog  whatToLog,
swift::misc::CStatusMessageList log,
bool  useMatchingScript 
) const

Get the closest matching aircraft model from set. Result depends on setup.

See also
swift::misc::simulation::CAircraftMatcherSetup
Remarks
This function is thread safe.

Definition at line 322 of file aircraftmatcher.cpp.

◆ getModelSet()

virtual swift::misc::simulation::CAircraftModelList swift::core::CAircraftMatcher::getModelSet ( ) const
inlinevirtual

Get the model set models.

Implements swift::misc::simulation::IAircraftModelSetProvider.

Definition at line 271 of file aircraftmatcher.h.

◆ isKnownAircraftDesignator()

bool swift::core::CAircraftMatcher::isKnownAircraftDesignator ( const QString &  candidate,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Is this aircraft designator known?

Remarks
This function is thread safe.

Definition at line 1532 of file aircraftmatcher.cpp.

◆ isKnownModelString()

bool swift::core::CAircraftMatcher::isKnownModelString ( const QString &  candidate,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Is this aircraft designator known?

Remarks
This function is thread safe.

Definition at line 1550 of file aircraftmatcher.cpp.

◆ matchingScript()

MatchingScriptReturnValues swift::core::CAircraftMatcher::matchingScript ( const QString &  js,
const swift::misc::simulation::CAircraftModel inModel,
const swift::misc::simulation::CAircraftModel matchedModel,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::simulation::MatchingScript  ms,
swift::misc::CStatusMessageList log 
)
static

Run the matching script.

Remarks
This function is thread safe.

Definition at line 664 of file aircraftmatcher.cpp.

◆ matchingStageScript()

MatchingScriptReturnValues swift::core::CAircraftMatcher::matchingStageScript ( const swift::misc::simulation::CAircraftModel inModel,
const swift::misc::simulation::CAircraftModel matchedModel,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::CStatusMessageList log 
)
static

Run the matching stage lookup script.

Remarks
This function is thread safe.

Definition at line 650 of file aircraftmatcher.cpp.

◆ reverseLookupAircraftIcao()

CAircraftIcaoCode swift::core::CAircraftMatcher::reverseLookupAircraftIcao ( const swift::misc::aviation::CAircraftIcaoCode icaoDesignator,
const swift::misc::aviation::CCallsign logCallsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Try to find the DB corresponding ICAO code.

Remarks
This function is thread safe.

Definition at line 1271 of file aircraftmatcher.cpp.

◆ reverseLookupAircraftIcaoId()

CAircraftIcaoCode swift::core::CAircraftMatcher::reverseLookupAircraftIcaoId ( int  id,
const swift::misc::aviation::CCallsign logCallsign,
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup of ICAO by id.

Remarks
This function is thread safe.

Definition at line 1375 of file aircraftmatcher.cpp.

◆ reverseLookupAirlineIcao()

CAirlineIcaoCode swift::core::CAircraftMatcher::reverseLookupAirlineIcao ( const swift::misc::aviation::CAirlineIcaoCode icaoPattern,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Try to find the DB corresponding ICAO code.

Remarks
This function is thread safe.

Definition at line 1396 of file aircraftmatcher.cpp.

◆ reverseLookupAirlineName()

QString swift::core::CAircraftMatcher::reverseLookupAirlineName ( const QString &  candidate,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup of airline name.

Remarks
This function is thread safe.

Definition at line 1498 of file aircraftmatcher.cpp.

◆ reverseLookupByIds()

int swift::core::CAircraftMatcher::reverseLookupByIds ( const swift::misc::simulation::DBTripleIds ids,
swift::misc::aviation::CAircraftIcaoCode aircraftIcao,
swift::misc::aviation::CLivery livery,
const swift::misc::aviation::CCallsign logCallsign,
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup by ids.

Remarks
This function is thread safe.

Definition at line 1480 of file aircraftmatcher.cpp.

◆ reverseLookupLiveryId()

CLivery swift::core::CAircraftMatcher::reverseLookupLiveryId ( int  id,
const swift::misc::aviation::CCallsign logCallsign,
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup of livery by id.

Remarks
This function is thread safe.

Definition at line 1460 of file aircraftmatcher.cpp.

◆ reverseLookupModel() [1/2]

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModel ( const swift::misc::aviation::CCallsign callsign,
const swift::misc::aviation::CAircraftIcaoCode networkAircraftIcao,
const swift::misc::aviation::CAirlineIcaoCode networkAirlineIcao,
const QString &  networkLiveryInfo,
const QString &  networkModelString,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::simulation::CAircraftModel::ModelType  type,
swift::misc::CStatusMessageList log 
)
static

Try to find the corresponding data in DB and get best information for given data.

Remarks
This function is thread safe.
NOT running matching script

Definition at line 618 of file aircraftmatcher.cpp.

◆ reverseLookupModel() [2/2]

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModel ( const swift::misc::simulation::CAircraftModel modelToLookup,
const QString &  networkLiveryInfo,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::CStatusMessageList log 
)
static

Try to find the corresponding data in DB and get best information for following matching.

Remarks
This function is thread safe.
NOT running matching script

Definition at line 870 of file aircraftmatcher.cpp.

◆ reverseLookupModelId()

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModelId ( int  id,
const swift::misc::aviation::CCallsign callsign,
swift::misc::CStatusMessageList log 
)
static

Try to find model by id.

Remarks
This function is thread safe.

Definition at line 1250 of file aircraftmatcher.cpp.

◆ reverseLookupModelMs()

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModelMs ( const swift::misc::simulation::CAircraftModel modelToLookup,
const QString &  networkLiveryInfo,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::CStatusMessageList log 
)
static

Try to find the corresponding data in DB and get best information for following matching.

Remarks
This function is thread safe.
Running matching script

Definition at line 1122 of file aircraftmatcher.cpp.

◆ reverseLookupModelStringInDB()

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModelStringInDB ( const QString &  modelString,
const swift::misc::aviation::CCallsign callsign,
bool  doLookupString,
swift::misc::CStatusMessageList log 
)
static

Try to find model by model string.

Remarks
This function is thread safe.

Definition at line 1145 of file aircraftmatcher.cpp.

◆ reverseLookupModelStringInSet()

CAircraftModel swift::core::CAircraftMatcher::reverseLookupModelStringInSet ( const QString &  modelString,
const swift::misc::aviation::CCallsign callsign,
const swift::misc::simulation::CAircraftModelList modelSet,
bool  useNonDbEntries,
swift::misc::CStatusMessageList log 
)
static

Try to find model by model string in set.

Remarks
This function is thread safe.
mostly needed to work witn NON-DB values in matching script

Definition at line 1186 of file aircraftmatcher.cpp.

◆ reverseLookupScript()

MatchingScriptReturnValues swift::core::CAircraftMatcher::reverseLookupScript ( const swift::misc::simulation::CAircraftModel inModel,
const swift::misc::simulation::CAircraftMatcherSetup setup,
const swift::misc::simulation::CAircraftModelList modelSet,
swift::misc::CStatusMessageList log 
)
static

Run the network reverse lookup script.

Remarks
This function is thread safe.

Definition at line 637 of file aircraftmatcher.cpp.

◆ reverseLookupStandardLivery()

CLivery swift::core::CAircraftMatcher::reverseLookupStandardLivery ( const swift::misc::aviation::CAirlineIcaoCode airline,
const swift::misc::aviation::CCallsign callsign,
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup of standard livery.

Remarks
This function is thread safe.

Definition at line 1424 of file aircraftmatcher.cpp.

◆ reverseLookupTelephonyDesignator()

QString swift::core::CAircraftMatcher::reverseLookupTelephonyDesignator ( const QString &  candidate,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Lookup of telephony designator.

Remarks
This function is thread safe.

Definition at line 1516 of file aircraftmatcher.cpp.

◆ searchAmongAirlineAircraft()

CAircraftIcaoCode swift::core::CAircraftMatcher::searchAmongAirlineAircraft ( const QString &  icaoString,
const swift::misc::aviation::CAirlineIcaoCode airline,
const swift::misc::aviation::CCallsign callsign = {},
swift::misc::CStatusMessageList log = nullptr 
)
static

Search among the airline aircraft.

Remarks
only works if an airline is know
This function is thread safe.

Definition at line 1561 of file aircraftmatcher.cpp.

◆ setModelSet()

int swift::core::CAircraftMatcher::setModelSet ( const swift::misc::simulation::CAircraftModelList models,
const swift::misc::simulation::CSimulatorInfo simulator,
bool  forced 
)

Set the models we want to use.

Note
uses a set from "somewhere else" so it can also be used with arbitrary sets for testing

Definition at line 1622 of file aircraftmatcher.cpp.


The documentation for this class was generated from the following files: