mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refs #322, fix for non-firing timer. Also adjusted input counts for online data
This commit is contained in:
@@ -154,8 +154,8 @@ namespace BlackCore
|
|||||||
INetwork::ConnectionStatus m_currentStatus; //!< used to detect pending connections
|
INetwork::ConnectionStatus m_currentStatus; //!< used to detect pending connections
|
||||||
|
|
||||||
BlackMisc::CDigestSignal m_dsAtcStationsBookedChanged { this, &IContextNetwork::changedAtcStationsBooked, &IContextNetwork::changedAtcStationsBookedDigest, 750, 2 };
|
BlackMisc::CDigestSignal m_dsAtcStationsBookedChanged { this, &IContextNetwork::changedAtcStationsBooked, &IContextNetwork::changedAtcStationsBookedDigest, 750, 2 };
|
||||||
BlackMisc::CDigestSignal m_dsAtcStationsOnlineChanged { this, &IContextNetwork::changedAtcStationsOnline, &IContextNetwork::changedAtcStationsOnlineDigest, 750, 2 };
|
BlackMisc::CDigestSignal m_dsAtcStationsOnlineChanged { this, &IContextNetwork::changedAtcStationsOnline, &IContextNetwork::changedAtcStationsOnlineDigest, 750, 4 };
|
||||||
BlackMisc::CDigestSignal m_dsAircraftsInRangeChanged { this, &IContextNetwork::changedAircraftsInRange, &IContextNetwork::changedAircraftsInRangeDigest, 750, 2 };
|
BlackMisc::CDigestSignal m_dsAircraftsInRangeChanged { this, &IContextNetwork::changedAircraftsInRange, &IContextNetwork::changedAircraftsInRangeDigest, 750, 4 };
|
||||||
|
|
||||||
// for reading XML and VATSIM data files
|
// for reading XML and VATSIM data files
|
||||||
CVatsimBookingReader *m_vatsimBookingReader;
|
CVatsimBookingReader *m_vatsimBookingReader;
|
||||||
|
|||||||
@@ -14,11 +14,7 @@ namespace BlackMisc
|
|||||||
|
|
||||||
void CDigestSignal::ps_inputSignal()
|
void CDigestSignal::ps_inputSignal()
|
||||||
{
|
{
|
||||||
if (m_timer.isActive())
|
m_timer.start(); // start or restart
|
||||||
{
|
|
||||||
m_timer.start();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_inputsCount++;
|
m_inputsCount++;
|
||||||
if (m_inputsCount >= m_maxInputsPerDigest)
|
if (m_inputsCount >= m_maxInputsPerDigest)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user