FlightGear next
QmlPositioned Class Reference

#include <QmlPositioned.hxx>

Inherits QObject.

Public Types

enum  Type {
  Invalid = FGPositioned::INVALID , Airport = FGPositioned::AIRPORT , Heliport = FGPositioned::HELIPORT , Seaport = FGPositioned::SEAPORT ,
  Runway = FGPositioned::RUNWAY , Helipad = FGPositioned::HELIPAD , Taxiway = FGPositioned::TAXIWAY , Pavement = FGPositioned::PAVEMENT ,
  Waypoint = FGPositioned::WAYPOINT , Fix = FGPositioned::FIX , NDB = FGPositioned::NDB , VOR = FGPositioned::VOR ,
  ILS = FGPositioned::ILS , Localizer = FGPositioned::LOC , Glideslope = FGPositioned::GS , OuterMarker = FGPositioned::OM ,
  MiddleMarker = FGPositioned::MM , InnerMarker = FGPositioned::IM , DME = FGPositioned::DME , TACAN = FGPositioned::TACAN ,
  MobileTACAN = FGPositioned::MOBILE_TACAN , Tower = FGPositioned::TOWER , Parking = FGPositioned::PARKING , Country = FGPositioned::COUNTRY ,
  City = FGPositioned::CITY , Town = FGPositioned::TOWN , Village = FGPositioned::VILLAGE
}
 

Public Slots

void setGuid (qlonglong guid)
 

Signals

void guidChanged ()
 
void infoChanged ()
 

Public Member Functions

 QmlPositioned (QObject *parent=nullptr)
 
 QmlPositioned (FGPositionedRef p)
 
void setInner (FGPositionedRef p)
 
FGPositionedRef inner () const
 
bool valid () const
 
QString ident () const
 
QString name () const
 
qlonglong guid () const
 
Type type () const
 
bool isAirportType () const
 
bool isRunwayType () const
 
bool isNavaidType () const
 
QmlGeodgeod () const
 
double navaidFrequencyMHz () const
 
double navaidRangeNm () const
 
QmlPositionednavaidRunway () const
 
QmlPositionedcolocatedDME () const
 
QmlPositionedowningAirport () const
 
double runwayHeadingDeg () const
 
double runwayLengthFt () const
 
Q_INVOKABLE bool equals (QmlPositioned *other) const
 
bool airportHasParkings () const
 

Properties

QString ident
 
QString name
 
Type type
 
bool valid
 
QmlGeodgeod
 
qlonglong guid
 
bool isAirportType
 
bool isRunwayType
 
bool isNavaidType
 
double navaidFrequencyMHz
 
double navaidRangeNm
 
QmlPositionedcolocatedDME
 
QmlPositionednavaidRunway
 
QmlPositionedowningAirport
 
double runwayHeadingDeg
 
double runwayLengthFt
 
bool airportHasParkings
 

Detailed Description

Definition at line 87 of file QmlPositioned.hxx.

Member Enumeration Documentation

◆ Type

Enumerator
Invalid 
Airport 
Heliport 
Seaport 
Runway 
Helipad 
Taxiway 
Pavement 
Waypoint 
Fix 
NDB 
VOR 
ILS 
Localizer 
Glideslope 
OuterMarker 
MiddleMarker 
InnerMarker 
DME 
TACAN 
MobileTACAN 
Tower 
Parking 
Country 
City 
Town 
Village 

Definition at line 96 of file QmlPositioned.hxx.

Constructor & Destructor Documentation

◆ QmlPositioned() [1/2]

QmlPositioned::QmlPositioned ( QObject * parent = nullptr)
explicit

Definition at line 152 of file QmlPositioned.cxx.

◆ QmlPositioned() [2/2]

QmlPositioned::QmlPositioned ( FGPositionedRef p)
explicit

Definition at line 157 of file QmlPositioned.cxx.

Member Function Documentation

◆ airportHasParkings()

bool QmlPositioned::airportHasParkings ( ) const

Definition at line 321 of file QmlPositioned.cxx.

◆ colocatedDME()

QmlPositioned * QmlPositioned::colocatedDME ( ) const

Definition at line 277 of file QmlPositioned.cxx.

◆ equals()

bool QmlPositioned::equals ( QmlPositioned * other) const

Definition at line 316 of file QmlPositioned.cxx.

◆ geod()

QmlGeod * QmlPositioned::geod ( ) const

Definition at line 241 of file QmlPositioned.cxx.

◆ guid()

qlonglong QmlPositioned::guid ( ) const

Definition at line 199 of file QmlPositioned.cxx.

◆ guidChanged

void QmlPositioned::guidChanged ( )
signal

◆ ident()

QString QmlPositioned::ident ( ) const

Definition at line 183 of file QmlPositioned.cxx.

◆ infoChanged

void QmlPositioned::infoChanged ( )
signal

◆ inner()

FGPositionedRef QmlPositioned::inner ( ) const

Definition at line 173 of file QmlPositioned.cxx.

◆ isAirportType()

bool QmlPositioned::isAirportType ( ) const

Definition at line 226 of file QmlPositioned.cxx.

◆ isNavaidType()

bool QmlPositioned::isNavaidType ( ) const

Definition at line 236 of file QmlPositioned.cxx.

◆ isRunwayType()

bool QmlPositioned::isRunwayType ( ) const

Definition at line 231 of file QmlPositioned.cxx.

◆ name()

QString QmlPositioned::name ( ) const

Definition at line 191 of file QmlPositioned.cxx.

◆ navaidFrequencyMHz()

double QmlPositioned::navaidFrequencyMHz ( ) const

Definition at line 249 of file QmlPositioned.cxx.

◆ navaidRangeNm()

double QmlPositioned::navaidRangeNm ( ) const

Definition at line 259 of file QmlPositioned.cxx.

◆ navaidRunway()

QmlPositioned * QmlPositioned::navaidRunway ( ) const

Definition at line 268 of file QmlPositioned.cxx.

◆ owningAirport()

QmlPositioned * QmlPositioned::owningAirport ( ) const

Definition at line 286 of file QmlPositioned.cxx.

◆ runwayHeadingDeg()

double QmlPositioned::runwayHeadingDeg ( ) const

Definition at line 296 of file QmlPositioned.cxx.

◆ runwayLengthFt()

double QmlPositioned::runwayLengthFt ( ) const

Definition at line 306 of file QmlPositioned.cxx.

◆ setGuid

void QmlPositioned::setGuid ( qlonglong guid)
slot

Definition at line 215 of file QmlPositioned.cxx.

◆ setInner()

void QmlPositioned::setInner ( FGPositionedRef p)

Definition at line 162 of file QmlPositioned.cxx.

◆ type()

QmlPositioned::Type QmlPositioned::type ( ) const

Definition at line 207 of file QmlPositioned.cxx.

◆ valid()

bool QmlPositioned::valid ( ) const

Definition at line 178 of file QmlPositioned.cxx.

Property Documentation

◆ airportHasParkings

bool QmlPositioned::airportHasParkings
read

Definition at line 150 of file QmlPositioned.hxx.

◆ colocatedDME

QmlPositioned* QmlPositioned::colocatedDME
read

Definition at line 143 of file QmlPositioned.hxx.

◆ geod

QmlGeod* QmlPositioned::geod
read

Definition at line 133 of file QmlPositioned.hxx.

◆ guid

qlonglong QmlPositioned::guid
readwrite

Definition at line 134 of file QmlPositioned.hxx.

◆ ident

QString QmlPositioned::ident
read

Definition at line 128 of file QmlPositioned.hxx.

◆ isAirportType

bool QmlPositioned::isAirportType
read

Definition at line 136 of file QmlPositioned.hxx.

◆ isNavaidType

bool QmlPositioned::isNavaidType
read

Definition at line 138 of file QmlPositioned.hxx.

◆ isRunwayType

bool QmlPositioned::isRunwayType
read

Definition at line 137 of file QmlPositioned.hxx.

◆ name

QString QmlPositioned::name
read

Definition at line 129 of file QmlPositioned.hxx.

◆ navaidFrequencyMHz

double QmlPositioned::navaidFrequencyMHz
read

Definition at line 140 of file QmlPositioned.hxx.

◆ navaidRangeNm

double QmlPositioned::navaidRangeNm
read

Definition at line 141 of file QmlPositioned.hxx.

◆ navaidRunway

QmlPositioned* QmlPositioned::navaidRunway
read

Definition at line 144 of file QmlPositioned.hxx.

◆ owningAirport

QmlPositioned* QmlPositioned::owningAirport
read

Definition at line 145 of file QmlPositioned.hxx.

◆ runwayHeadingDeg

double QmlPositioned::runwayHeadingDeg
read

Definition at line 147 of file QmlPositioned.hxx.

◆ runwayLengthFt

double QmlPositioned::runwayLengthFt
read

Definition at line 148 of file QmlPositioned.hxx.

◆ type

Type QmlPositioned::type
read

Definition at line 130 of file QmlPositioned.hxx.

◆ valid

bool QmlPositioned::valid
read

Definition at line 132 of file QmlPositioned.hxx.


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