mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 09:45:44 +08:00
Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft * allow to display info in UI * unified naming to "contains" in situation list * updated client provider
This commit is contained in:
@@ -70,16 +70,23 @@ namespace BlackMisc
|
||||
//! Find if having inbound information
|
||||
CAircraftSituationList findByInboundGroundInformation(bool hasGroundInfo) const;
|
||||
|
||||
//! Any situation without ground info
|
||||
bool hasSituationWithoutGroundElevation() const;
|
||||
//! Any situation without ground info?
|
||||
bool containsSituationWithoutGroundElevation() const;
|
||||
|
||||
//! Any situation outside range?
|
||||
bool hasGroundElevationOutsideRange(const PhysicalQuantities::CLength &range) const;
|
||||
bool containsGroundElevationOutsideRange(const PhysicalQuantities::CLength &range) const;
|
||||
|
||||
//! Contains on ground details
|
||||
//! Contains on ground details?
|
||||
bool containsOnGroundDetails(CAircraftSituation::OnGroundDetails details) const;
|
||||
|
||||
//! Are all on ground details the same
|
||||
//! Contains any push back?
|
||||
//! \remark only valid for non VTOL aircraft
|
||||
bool containsPushBack() const;
|
||||
|
||||
//! Contains any gnd.flag \c true ?
|
||||
bool containsOnGroundFromNetwork() const;
|
||||
|
||||
//! Are all on ground details the same?
|
||||
bool areAllOnGroundDetailsSame(CAircraftSituation::OnGroundDetails details) const;
|
||||
|
||||
//! Are all situations on ground?
|
||||
@@ -112,10 +119,6 @@ namespace BlackMisc
|
||||
//! Is rotating up?
|
||||
bool isRotatingUp(bool alreadySortedLatestFirst = false) const;
|
||||
|
||||
//! Contains any push back
|
||||
//! \remark only valid for non VTOL aircraft
|
||||
bool containsPushBack() const;
|
||||
|
||||
//! Count the number of situations with CAircraftSituation::IsOnGround
|
||||
int countOnGround(CAircraftSituation::IsOnGround og) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user