mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
Increased number of cycles when displaying interpolation log. in simulator
This commit is contained in:
@@ -823,7 +823,7 @@ namespace BlackCore
|
|||||||
const QPointer<CSimulatorCommon> myself(this);
|
const QPointer<CSimulatorCommon> myself(this);
|
||||||
QTimer::singleShot(t, this, [ = ]
|
QTimer::singleShot(t, this, [ = ]
|
||||||
{
|
{
|
||||||
if (myself.isNull()) { return; }
|
if (myself.isNull() || myself->isShuttingDown()) { return; }
|
||||||
this->displayLoggedSituationInSimulator(cs, stopLogging, times - 1);
|
this->displayLoggedSituationInSimulator(cs, stopLogging, times - 1);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,6 +130,7 @@ namespace BlackCore
|
|||||||
const BlackMisc::Simulation::CInterpolationLogger &interpolationLogger() const { return m_interpolationLogger; }
|
const BlackMisc::Simulation::CInterpolationLogger &interpolationLogger() const { return m_interpolationLogger; }
|
||||||
|
|
||||||
//! The latest logged data formatted
|
//! The latest logged data formatted
|
||||||
|
//! \remark public only for log. displays
|
||||||
QString latestLoggedDataFormatted(const BlackMisc::Aviation::CCallsign &cs) const;
|
QString latestLoggedDataFormatted(const BlackMisc::Aviation::CCallsign &cs) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -269,7 +270,7 @@ namespace BlackCore
|
|||||||
void callPhysicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &remoteCallsign);
|
void callPhysicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &remoteCallsign);
|
||||||
|
|
||||||
//! Display a logged situation in simulator
|
//! Display a logged situation in simulator
|
||||||
void displayLoggedSituationInSimulator(const BlackMisc::Aviation::CCallsign &cs, bool stopLogging, int times = 25);
|
void displayLoggedSituationInSimulator(const BlackMisc::Aviation::CCallsign &cs, bool stopLogging, int times = 40);
|
||||||
|
|
||||||
bool m_blinkCycle = false; //!< used for highlighting
|
bool m_blinkCycle = false; //!< used for highlighting
|
||||||
qint64 m_highlightEndTimeMsEpoch = 0; //!< end highlighting
|
qint64 m_highlightEndTimeMsEpoch = 0; //!< end highlighting
|
||||||
|
|||||||
Reference in New Issue
Block a user