mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Ref T429, style and CLANG warnings
This commit is contained in:
@@ -541,20 +541,20 @@ namespace BlackCore
|
|||||||
bool m_pausedSimFreezesInterpolation = false; //!< paused simulator will also pause interpolation (so AI aircraft will hold)
|
bool m_pausedSimFreezesInterpolation = false; //!< paused simulator will also pause interpolation (so AI aircraft will hold)
|
||||||
bool m_updateRemoteAircraftInProgress = false; //!< currently updating remote aircraft
|
bool m_updateRemoteAircraftInProgress = false; //!< currently updating remote aircraft
|
||||||
int m_timerId = -1; //!< dispatch timer id
|
int m_timerId = -1; //!< dispatch timer id
|
||||||
int m_statsUpdateAircraftRuns = 0; //!< statistics update count
|
int m_statsUpdateAircraftRuns = 0; //!< statistics update count
|
||||||
int m_statsUpdateAircraftLimited = 0; //!< skipped because of max.update limitations
|
int m_statsUpdateAircraftLimited = 0; //!< skipped because of max.update limitations
|
||||||
double m_statsUpdateAircraftTimeAvgMs = 0; //!< statistics average update time
|
double m_statsUpdateAircraftTimeAvgMs = 0; //!< statistics average update time
|
||||||
qint64 m_updateAllRemoteAircraftUntil = 0; //!< force an update of all remote aircraft, used when own aircraft is moved, paused to make sure all remote aircraft are updated
|
qint64 m_updateAllRemoteAircraftUntil = 0; //!< force an update of all remote aircraft, used when own aircraft is moved, paused to make sure all remote aircraft are updated
|
||||||
qint64 m_statsUpdateAircraftTimeTotalMs = 0; //!< statistics total update time
|
qint64 m_statsUpdateAircraftTimeTotalMs = 0; //!< statistics total update time
|
||||||
qint64 m_statsCurrentUpdateTimeMs = 0; //!< statistics current update time
|
qint64 m_statsCurrentUpdateTimeMs = 0; //!< statistics current update time
|
||||||
qint64 m_statsMaxUpdateTimeMs = 0; //!< statistics max.update time
|
qint64 m_statsMaxUpdateTimeMs = 0; //!< statistics max.update time
|
||||||
qint64 m_statsLastUpdateAircraftRequestedMs = 0; //!< when was the last aircraft update requested
|
qint64 m_statsLastUpdateAircraftRequestedMs = 0; //!< when was the last aircraft update requested
|
||||||
qint64 m_statsUpdateAircraftRequestedDeltaMs = 0; //!< delta time between 2 aircraft updates
|
qint64 m_statsUpdateAircraftRequestedDeltaMs = 0; //!< delta time between 2 aircraft updates
|
||||||
|
|
||||||
BlackMisc::Simulation::CSimulatorInternals m_simulatorInternals; //!< setup object
|
BlackMisc::Simulation::CSimulatorInternals m_simulatorInternals; //!< setup object
|
||||||
BlackMisc::Simulation::CInterpolationLogger m_interpolationLogger; //!< log.interpolation
|
BlackMisc::Simulation::CInterpolationLogger m_interpolationLogger; //!< log.interpolation
|
||||||
BlackMisc::Aviation::CTimestampPerCallsign m_clampedLogMsg; //!< when logged last for this callsign, can be used so there is no log message overflow
|
BlackMisc::Aviation::CTimestampPerCallsign m_clampedLogMsg; //!< when logged last for this callsign, can be used so there is no log message overflow
|
||||||
BlackMisc::Aviation::CAircraftSituationPerCallsign m_lastSentSituations; //!< last situation sent to simulator
|
BlackMisc::Aviation::CAircraftSituationPerCallsign m_lastSentSituations; //!< last situations sent to simulator
|
||||||
BlackMisc::Aviation::CAircraftPartsPerCallsign m_lastSentParts; //!< last parts sent to simulator
|
BlackMisc::Aviation::CAircraftPartsPerCallsign m_lastSentParts; //!< last parts sent to simulator
|
||||||
|
|
||||||
// some optional functionality which can be used by the simulators as needed
|
// some optional functionality which can be used by the simulators as needed
|
||||||
|
|||||||
@@ -55,9 +55,18 @@ namespace BlackMisc
|
|||||||
IndexNormalVector
|
IndexNormalVector
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! Ctor
|
||||||
|
ICoordinateGeodetic() = default;
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
virtual ~ICoordinateGeodetic();
|
virtual ~ICoordinateGeodetic();
|
||||||
|
|
||||||
|
//! Copy constructor
|
||||||
|
ICoordinateGeodetic(const ICoordinateGeodetic &) = default;
|
||||||
|
|
||||||
|
//! Copy assignment operator
|
||||||
|
ICoordinateGeodetic &operator =(const ICoordinateGeodetic &) = default;
|
||||||
|
|
||||||
//! Latitude
|
//! Latitude
|
||||||
virtual CLatitude latitude() const = 0;
|
virtual CLatitude latitude() const = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user