Enroute Flight Navigation
A navigation app for VFR pilots
|
Transponder database. This class implements an algorithm to decode the 24-bit transponder address to a callsign for some countries. It is based on code from dump1090 at https://github.com/mutability/dump1090/blob/unmaintained/public_html/registrations.js under GPLv2 license. More...
#include <TransponderDB.h>
Public Member Functions | |
TransponderDB (QObject *parent=nullptr) | |
Default constructor. | |
Q_INVOKABLE QString | getRegistration (const QString &address) const |
Get registration for a given ICAO address. |
Transponder database. This class implements an algorithm to decode the 24-bit transponder address to a callsign for some countries. It is based on code from dump1090 at https://github.com/mutability/dump1090/blob/unmaintained/public_html/registrations.js under GPLv2 license.
Definition at line 22 of file TransponderDB.h.
|
explicit |
Default constructor.
This constructor initializes the database from a file or embedded data.
parent | The standard QObject parent pointer |
Q_INVOKABLE QString Traffic::TransponderDB::getRegistration | ( | const QString & | address | ) | const |
Get registration for a given ICAO address.
address | The ICAO 24-bit transponder address (hexadecimal string). |