mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Formatting, renaming
This commit is contained in:
committed by
Roland Winklmeier
parent
eb0fa92e7e
commit
d021e2dcce
@@ -121,8 +121,20 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
// locked members
|
||||
{ QWriteLocker l(&m_lockParts); m_partsByCallsign.clear(); m_aircraftWithParts.clear(); m_partsAdded = 0; m_partsLastModified.clear(); }
|
||||
{ QWriteLocker l(&m_lockSituations); m_situationsByCallsign.clear(); m_situationsAdded = 0; m_situationsLastModified.clear(); }
|
||||
{
|
||||
QWriteLocker l(&m_lockParts);
|
||||
m_partsByCallsign.clear();
|
||||
m_aircraftWithParts.clear();
|
||||
m_partsAdded = 0;
|
||||
m_partsLastModified.clear();
|
||||
}
|
||||
{
|
||||
QWriteLocker l(&m_lockSituations);
|
||||
m_situationsByCallsign.clear();
|
||||
m_situationsAdded = 0;
|
||||
m_situationsLastModified.clear();
|
||||
m_testOffset.clear();
|
||||
}
|
||||
{ QWriteLocker l(&m_lockPartsHistory); m_aircraftPartsHistory.clear(); }
|
||||
{ QWriteLocker l(&m_lockMessages); m_reverseLookupMessages.clear(); }
|
||||
{ QWriteLocker l(&m_lockAircraft); m_aircraftInRange.clear(); }
|
||||
@@ -187,7 +199,7 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
// unify all inbound ground information
|
||||
if (situation.hasInboundGroundInformation())
|
||||
if (situation.hasInboundGroundDetails())
|
||||
{
|
||||
situationList.setOnGroundDetails(situation.getOnGroundDetails());
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
virtual bool updateFastPositionEnabled(const Aviation::CCallsign &callsign, bool enableFastPositonUpdates) = 0;
|
||||
|
||||
//! Ground elevation of aircraft
|
||||
//! Update the ground elevation
|
||||
//! \threadsafe
|
||||
virtual int updateAircraftGroundElevation(const Aviation::CCallsign &callsign, const Geo::CElevationPlane &elevation) = 0;
|
||||
|
||||
@@ -360,7 +360,7 @@ namespace BlackMisc
|
||||
//! \remark latest parts are kept first
|
||||
//! \threadsafe
|
||||
//! @{
|
||||
void storeAircraftParts(const Aviation::CCallsign &callsign, const BlackMisc::Aviation::CAircraftParts &parts, bool removeOutdated);
|
||||
void storeAircraftParts(const Aviation::CCallsign &callsign, const Aviation::CAircraftParts &parts, bool removeOutdated);
|
||||
void storeAircraftParts(const Aviation::CCallsign &callsign, const QJsonObject &jsonObject, int currentOffset);
|
||||
//! @}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user