FlightGear next
Units Class Reference

#include <UnitsModel.hxx>

Inherits QObject.

Public Types

enum  Type {
  NoUnits = 0 , FeetMSL , FeetAGL , FeetAboveFieldElevation ,
  FlightLevel , MetersMSL , Knots , Mach ,
  KilometersPerHour , DegreesTrue , DegreesMagnetic , TimeUTC ,
  TimeLocal , NauticalMiles , Kilometers , FreqMHz ,
  FreqKHz
}
 This enum stores units / types of values used in the simulator. More...
 
enum  Mode {
  Altitude = 0 , AltitudeIncludingAGL , AltitudeIncludingMeters , Speed ,
  SpeedWithoutMach = 4 , Heading , Timezone , Distance = 7 ,
  AltitudeIncludingMetersAndAboveField , HeadingOnlyTrue
}
 

Detailed Description

Definition at line 31 of file UnitsModel.hxx.

Member Enumeration Documentation

◆ Mode

Enumerator
Altitude 
AltitudeIncludingAGL 
AltitudeIncludingMeters 
Speed 
SpeedWithoutMach 
Heading 
Timezone 
Distance 
AltitudeIncludingMetersAndAboveField 
HeadingOnlyTrue 

Definition at line 64 of file UnitsModel.hxx.

◆ Type

This enum stores units / types of values used in the simulator.

They're not strictly all units, but they map to the same concept for the user: selecting the dimension of values they are inputting

Enumerator
NoUnits 
FeetMSL 
FeetAGL 
FeetAboveFieldElevation 
FlightLevel 
MetersMSL 
Knots 
Mach 
KilometersPerHour 
DegreesTrue 
DegreesMagnetic 
TimeUTC 
TimeLocal 
NauticalMiles 
Kilometers 
FreqMHz 
FreqKHz 

Definition at line 43 of file UnitsModel.hxx.


The documentation for this class was generated from the following file: