|
Enroute Flight Navigation
A navigation app for VFR pilots
|
Plain-data record of a traffic factor. More...
#include <TrafficFactorData.h>
Public Attributes | |
| int | alarmLevel = 0 |
| Alarm level, in the range 0…3. | |
| QString | callSign |
| Call sign, or an empty string if unknown. | |
| Units::Distance | hDist |
| Horizontal distance to traffic, or an invalid distance if unknown. | |
| QString | ID |
| Identifier string, as assigned by the traffic receiver. | |
| TrafficFactor_Abstract::Type | type = TrafficFactor_Abstract::unknown |
| Aircraft type. | |
| Units::Distance | vDist |
| Vertical distance to traffic, or an invalid distance if unknown. | |
Plain-data record of a traffic factor.
This is a lightweight, copyable value type that carries the data of a traffic factor as parsed by a traffic data source. Unlike TrafficFactor_Abstract, it is not a QObject: it has no bindings, no lifetime counter and no derived/animated properties. Data sources construct records of this type and ship them to the TrafficDataProvider through signals; the provider then feeds them into its long-lived TrafficFactor_Abstract models via updateFrom()/replaceBy().
This struct holds the position-independent data shared by all traffic factors. The variants below add position information.
Definition at line 46 of file TrafficFactorData.h.