|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <ADSBTCPLink.h>
Inheritance diagram for ADSBTCPLink:
Collaboration diagram for ADSBTCPLink:Signals | |
| void | adsbVehicleUpdate (const ADSB::VehicleInfo_t &vehicleInfo) |
| void | errorOccurred (const QString &errorMsg, bool stopped=false) |
Public Member Functions | |
| ADSBTCPLink (const QHostAddress &hostAddress, quint16 port=30003, QObject *parent=nullptr) | |
| ~ADSBTCPLink () | |
| Destroys the ADSBTCPLink object. | |
| bool | init () |
| Attempts connection to a host. | |
The ADSBTCPLink class handles the TCP connection to an ADS-B server and processes incoming ADS-B data.
Definition at line 16 of file ADSBTCPLink.h.
|
explicit |
Constructs an ADSBTCPLink object.
| hostAddress | The address of the host to connect to. |
| port | The port to connect to on the host. |
| parent | The parent object. |
Definition at line 10 of file ADSBTCPLink.cc.
References error.
| ADSBTCPLink::~ADSBTCPLink | ( | ) |
Destroys the ADSBTCPLink object.
Definition at line 52 of file ADSBTCPLink.cc.
|
signal |
Emitted when an ADS-B vehicle update is received.
| vehicleInfo | The updated vehicle information. |
|
signal |
Emitted when an error occurs.
| errorMsg | The error message. |
| bool ADSBTCPLink::init | ( | ) |
Attempts connection to a host.
Definition at line 57 of file ADSBTCPLink.cc.