refs #812, use individual signals for web services

* trigger other operations directly when data have been read (do not wait for "all data read")
* avoid retriggering for no reason
* new entity flag for all data req. for model matching
This commit is contained in:
Klaus Basan
2016-11-19 22:25:49 +01:00
parent 10d43798b0
commit 1f57f7ca61
9 changed files with 97 additions and 17 deletions

View File

@@ -110,14 +110,14 @@ namespace BlackSimPlugin
return true;
}
void CSimulatorFsCommon::ps_allSwiftDataRead()
void CSimulatorFsCommon::ps_airportsRead()
{
const CAirportList webServiceAirports = this->getWebServiceAirports();
if (!webServiceAirports.isEmpty())
{
this->m_airportsInRangeFromSimulator.updateMissingParts(webServiceAirports);
}
CSimulatorCommon::ps_allSwiftDataRead();
CSimulatorCommon::ps_airportsRead();
}
} // namespace
} // namespace

View File

@@ -47,7 +47,7 @@ namespace BlackSimPlugin
protected slots:
//! \copydoc BlackCore::CSimulatorCommon::ps_allSwiftDataRead
virtual void ps_allSwiftDataRead() override;
virtual void ps_airportsRead() override;
protected:
//! Constructor