mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
refs #792, formatting
This commit is contained in:
@@ -33,9 +33,8 @@ namespace BlackCore
|
|||||||
{
|
{
|
||||||
/*!
|
/*!
|
||||||
* Matcher for all models.
|
* Matcher for all models.
|
||||||
* \details Reads all the mapping rules and all the available flight simulator models.
|
* \details Reads the model set (ie the models the user wants to use).
|
||||||
* Then all rules for models not existing are eliminated ( \sa synchronize ).
|
* Also Allows to reverse lookup a model (from network to DB data).
|
||||||
* Thereafter all existing models and mappings can be obtained from here.
|
|
||||||
*/
|
*/
|
||||||
class BLACKCORE_EXPORT CAircraftMatcher : public QObject
|
class BLACKCORE_EXPORT CAircraftMatcher : public QObject
|
||||||
{
|
{
|
||||||
@@ -66,13 +65,13 @@ namespace BlackCore
|
|||||||
//! Set the enabled matching modes
|
//! Set the enabled matching modes
|
||||||
void setMatchingModes(MatchingMode matchingModes);
|
void setMatchingModes(MatchingMode matchingModes);
|
||||||
|
|
||||||
//! Get the closest matching aircraft model.
|
//! Get the closest matching aircraft model from set.
|
||||||
//! Result depends on enabled modes.
|
//! Result depends on enabled modes.
|
||||||
//! \sa MatchingModeFlag
|
//! \sa MatchingModeFlag
|
||||||
//! \threadsafe
|
//! \threadsafe
|
||||||
BlackMisc::Simulation::CAircraftModel getClosestMatch(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, BlackMisc::CStatusMessageList *log = nullptr) const;
|
BlackMisc::Simulation::CAircraftModel getClosestMatch(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, BlackMisc::CStatusMessageList *log = nullptr) const;
|
||||||
|
|
||||||
//! Try to find the corresponding data in DB and get best information for following matching
|
//! Try to find the corresponding data in DB and get best information for given data
|
||||||
//! \threadsafe
|
//! \threadsafe
|
||||||
static BlackMisc::Simulation::CAircraftModel reverselLookupModel(
|
static BlackMisc::Simulation::CAircraftModel reverselLookupModel(
|
||||||
const BlackMisc::Aviation::CCallsign &callsign,
|
const BlackMisc::Aviation::CCallsign &callsign,
|
||||||
@@ -141,7 +140,7 @@ namespace BlackCore
|
|||||||
//! \threadsafe
|
//! \threadsafe
|
||||||
static BlackMisc::Simulation::CAircraftModelList ifPossibleReduceByCombinedCode(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, const BlackMisc::Simulation::CAircraftModelList &inList, bool relaxIfNotFound, bool &reduced, BlackMisc::CStatusMessageList *log);
|
static BlackMisc::Simulation::CAircraftModelList ifPossibleReduceByCombinedCode(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, const BlackMisc::Simulation::CAircraftModelList &inList, bool relaxIfNotFound, bool &reduced, BlackMisc::CStatusMessageList *log);
|
||||||
|
|
||||||
//! My military flag
|
//! By military flag
|
||||||
//! \threadsafe
|
//! \threadsafe
|
||||||
static BlackMisc::Simulation::CAircraftModelList ifPossibleReduceByMilitaryFlag(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, bool military, const BlackMisc::Simulation::CAircraftModelList &inList, bool &reduced, BlackMisc::CStatusMessageList *log);
|
static BlackMisc::Simulation::CAircraftModelList ifPossibleReduceByMilitaryFlag(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, bool military, const BlackMisc::Simulation::CAircraftModelList &inList, bool &reduced, BlackMisc::CStatusMessageList *log);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user