swift
modelmatchersettings.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_MISC_SIMULATION_SETTINGS_MODELMATCHERSETTINGS_H
7 #define SWIFT_MISC_SIMULATION_SETTINGS_MODELMATCHERSETTINGS_H
8 
9 #include "misc/settingscache.h"
11 
12 namespace swift::misc::simulation::settings
13 {
15  struct TModelMatching : public TSettingTrait<CAircraftMatcherSetup>
16  {
18  static const char *key() { return "matching"; }
19 
21  static const QString &humanReadable()
22  {
23  static const QString name("Model matching");
24  return name;
25  }
26  };
27 } // namespace swift::misc::simulation::settings
28 
29 #endif // SWIFT_MISC_SIMULATION_SETTINGS_MODELMATCHERSETTINGS_H
Base class for traits to be used as template argument to swift::misc::CSetting.
static const char * key()
Key in data cache.
static const QString & humanReadable()
Optional human readable name.