mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #386, further tests for interpolator
* calculate single vs. calculate all interpolations upfront * added clear for interpolator
This commit is contained in:
@@ -79,5 +79,12 @@ namespace BlackMisc
|
||||
emit addedRemoteAircraftSituation(situation);
|
||||
}
|
||||
|
||||
void CRemoteAircraftProviderDummy::clear()
|
||||
{
|
||||
m_situations.clear();
|
||||
m_parts.clear();
|
||||
m_aircraft.clear();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -65,6 +65,9 @@ namespace BlackMisc
|
||||
//! For testing, add new situation and fire signals
|
||||
void insertNewSituation(const BlackMisc::Aviation::CAircraftSituation &situation);
|
||||
|
||||
// clear all data
|
||||
void clear();
|
||||
|
||||
signals:
|
||||
//! \copydoc IRemoteAircraftProviderReadOnly::addedRemoteAircraftSituation
|
||||
void addedRemoteAircraftSituation(const BlackMisc::Aviation::CAircraftSituation &situation);
|
||||
|
||||
Reference in New Issue
Block a user