#include <TelemetryBarValues.h>
Classes | |
| struct | Value |
Public Member Functions | |
| void | readLayout () |
| std::optional< QList< Value > > | read () const |
The values the Fly View's telemetry bar shows, read from the active vehicle: what the video's telemetry subtitles and overlay show.
Definition at line 10 of file TelemetryBarValues.h.
| std::optional< QList< TelemetryBarValues::Value > > TelemetryBarValues::read | ( | ) | const |
The active vehicle's value of each of the bar's Facts it has, in the bar's order; nullopt without an active vehicle.
Definition at line 21 of file TelemetryBarValues.cc.
References MultiVehicleManager::activeVehicle(), Fact::cookedUnits(), Fact::cookedValueString(), FactGroup::factExists(), FactGroup::factGroups(), FactGroup::getFact(), MultiVehicleManager::instance(), Fact::shortDescription(), and InstrumentValueData::vehicleFactGroupName.
| void TelemetryBarValues::readLayout | ( | ) |
(Re)reads the bar's layout, defaults included: read() doesn't follow later changes to it. Without a layout, read() has no values.
Definition at line 12 of file TelemetryBarValues.cc.
References FactValueGrid::layoutFacts(), and HorizontalFactValueGrid::telemetryBarSettingsGroup.