Ref T298, model matching settings trait and used settings in simulator context

This commit is contained in:
Klaus Basan
2018-08-06 15:21:36 +02:00
parent 5c5cab3d80
commit d310c9c843
3 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
/* Copyright (C) 2018
* swift project community / contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKMISC_SIMULATION_SETTINGS_MODELMATCHERSETTINGS_H
#define BLACKMISC_SIMULATION_SETTINGS_MODELMATCHERSETTINGS_H
#include "blackmisc/simulation/aircraftmatchersetup.h"
#include "blackmisc/settingscache.h"
namespace BlackMisc
{
namespace Simulation
{
namespace Settings
{
//! Trait for simulator settings
struct TModelMatching : public TSettingTrait<CAircraftMatcherSetup>
{
//! Key in data cache
static const char *key() { return "Matching"; }
//! \copydoc BlackCore::TSettingTrait::humanReadable
static const QString &humanReadable() { static const QString name("Model matching"); return name; }
};
} // ns
} // ns
} // ns
#endif // guard