mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T778, added/improved removeElevationValues, cleanElevationValues
This commit is contained in:
committed by
Mat Sutcliffe
parent
919b6e9515
commit
1821b6e6c5
@@ -146,9 +146,15 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
void resetSimulationEnvironmentStatistics();
|
||||
|
||||
//! Average elevation of "on ground" cached values
|
||||
//! Remove cached elevations outside range,
|
||||
//! "forced" cleans always, otherwise only if max.values are reached
|
||||
//! \threadsafe
|
||||
bool cleanElevationValues(const Aviation::CAircraftSituation &reference, const PhysicalQuantities::CLength &range, bool forced = false);
|
||||
bool cleanElevationValues(const Aviation::CAircraftSituation &reference, const PhysicalQuantities::CLength &keptRange, bool forced = false);
|
||||
|
||||
//! Remove cached elevations inside range,
|
||||
//! \remark this removes inside range, cleanElevationValues outside the range
|
||||
//! \threadsafe
|
||||
int removeElevationValues(const Aviation::CAircraftSituation &reference, const PhysicalQuantities::CLength &removeRange);
|
||||
|
||||
protected:
|
||||
//! Ctor
|
||||
|
||||
Reference in New Issue
Block a user