3#include <QtCore/QObject>
4#include <QtCore/QString>
5#include <QtCore/QStringList>
27 explicit ADSBTCPLink(
const QString &hostAddress, quint16 port = 30003, QObject *parent =
nullptr);
51 void _parseLine(
const QString &line);
69 quint16 _port = 30003;
71 QTcpSocket *_socket =
nullptr;
The ADSBTCPLink class handles the TCP connection to an ADS-B server and processes incoming ADS-B data...
bool init()
Attempts connection to a host.
void errorOccurred(const QString &errorMsg, bool stopped=false)
~ADSBTCPLink()
Destroys the ADSBTCPLink object.
void adsbVehicleUpdate(const ADSB::VehicleInfo_t &vehicleInfo)