mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Ref T515, context function "isValidationInProgress"
This commit is contained in:
committed by
Mat Sutcliffe
parent
2dd396c0df
commit
0ac6739377
@@ -279,8 +279,16 @@ namespace BlackCore
|
||||
m_aircraftMatcher.restoreDisabledModels();
|
||||
}
|
||||
|
||||
bool CContextSimulator::isValidationInProgress() const
|
||||
{
|
||||
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
|
||||
if (!m_validator) { return false; }
|
||||
return m_validator->isValidating();
|
||||
}
|
||||
|
||||
bool CContextSimulator::triggerModelSetValidation(const CSimulatorInfo &simulator)
|
||||
{
|
||||
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
|
||||
if (!m_validator) { return false; }
|
||||
return m_validator->triggerValidation(simulator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user