Formatting

This commit is contained in:
Klaus Basan
2018-03-26 02:49:59 +02:00
parent b28fb0e154
commit 785e35ee88
9 changed files with 25 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ namespace BlackMisc
{
namespace Simulation
{
//! Direct in memory access to client (network client) data
//! Direct in memory access to interpolation setup, normally implemented by simulator
class BLACKMISC_EXPORT IInterpolationSetupProvider : public IProvider
{
public:

View File

@@ -343,6 +343,7 @@ namespace BlackMisc
m_situationsByCallsign[callsign] = situations;
}
// aircraft updates
QWriteLocker l(&m_lockAircraft);
const int c = m_aircraftInRange.setGroundElevationChecked(callsign, elevation);
return c > 0;

View File

@@ -119,11 +119,11 @@ namespace BlackMisc
//! \threadsafe
virtual Aviation::CCallsignSet remoteAircraftSupportingParts() const = 0;
//! Enable/disable rendering
//! Enable/disable enabled aircraft
//! \threadsafe
virtual bool updateAircraftEnabled(const Aviation::CCallsign &callsign, bool enabledForRendering) = 0;
//! Rendered?
//! Aircraft rendered?
//! \threadsafe
virtual bool updateAircraftRendered(const Aviation::CCallsign &callsign, bool rendered) = 0;
@@ -358,8 +358,8 @@ namespace BlackMisc
CSituationsPerCallsign m_situationsByCallsign; //!< situations, for performance reasons per callsign, thread safe access required
CPartsPerCallsign m_partsByCallsign; //!< parts, for performance reasons per callsign, thread safe access required
Aviation::CCallsignSet m_aircraftWithParts; //!< aircraft supporting parts, thread safe access required
int m_situationsAdded = 0; //!< total number of situations added
int m_partsAdded = 0; //!< total number of parts added
int m_situationsAdded = 0; //!< total number of situations added, thread safe access required
int m_partsAdded = 0; //!< total number of parts added, thread safe access required
CSimulatedAircraftList m_aircraftInRange; //!< aircraft, thread safe access required
QMap<Aviation::CCallsign, CStatusMessageList> m_reverseLookupMessages;