|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <UDPLink.h>
Inheritance diagram for UDPLink:
Collaboration diagram for UDPLink:Public Member Functions | |
| UDPLink (SharedLinkConfigurationPtr &config, QObject *parent=nullptr) | |
| virtual | ~UDPLink () |
| bool | isConnected () const override |
| void | disconnect () override |
| bool | isSecureConnection () const override |
| Returns true if the connection is secure (e.g. USB, wired ethernet) | |
Public Member Functions inherited from LinkInterface | |
| virtual | ~LinkInterface () |
| virtual bool | isLogReplay () const |
| SharedLinkConfigurationPtr | linkConfiguration () |
| const SharedLinkConfigurationPtr | linkConfiguration () const |
| uint8_t | mavlinkChannel () const |
| bool | mavlinkChannelIsSet () const |
| bool | decodedFirstMavlinkPacket () const |
| void | setDecodedFirstMavlinkPacket (bool decodedFirstMavlinkPacket) |
| void | writeBytesThreadSafe (const char *bytes, int length) |
| void | addVehicleReference () |
| void | removeVehicleReference () |
| void | reportMavlinkV1Traffic () |
| SigningController * | signing () |
| Per-link signing state and confirmation state machine. Non-null after channel allocation. | |
| const SigningController * | signing () const |
Protected Member Functions | |
| bool | _connect () override |
| connect is private since all links should be created through LinkManager::createConnectedLink calls | |
Protected Member Functions inherited from LinkInterface | |
| LinkInterface (SharedLinkConfigurationPtr &config, QObject *parent=nullptr) | |
| Links are only created by LinkManager so constructor is not public. | |
| virtual bool | _allocateMavlinkChannel () |
| virtual void | _freeMavlinkChannel () |
| void | _connectionRemoved () |
Additional Inherited Members | |
Signals inherited from LinkInterface | |
| void | bytesReceived (LinkInterface *link, const QByteArray &data) |
| void | bytesSent (LinkInterface *link, const QByteArray &data) |
| void | connected () |
| void | disconnected () |
| void | communicationError (const QString &title, const QString &error) |
Protected Attributes inherited from LinkInterface | |
| SharedLinkConfigurationPtr | _config |
|
explicit |
Definition at line 480 of file UDPLink.cc.
References UDPWorker::connected(), UDPWorker::dataReceived(), UDPWorker::dataSent(), UDPWorker::disconnected(), UDPWorker::errorOccurred(), LinkConfiguration::name(), and UDPWorker::setupSocket().
|
virtual |
Definition at line 504 of file UDPLink.cc.
References isConnected().
|
overrideprotectedvirtual |
connect is private since all links should be created through LinkManager::createConnectedLink calls
Implements LinkInterface.
Definition at line 524 of file UDPLink.cc.
|
overridevirtual |
|
overridevirtual |
Implements LinkInterface.
Definition at line 519 of file UDPLink.cc.
References UDPWorker::isConnected().
Referenced by disconnect(), and ~UDPLink().
|
overridevirtual |
Returns true if the connection is secure (e.g. USB, wired ethernet)
Reimplemented from LinkInterface.
Definition at line 570 of file UDPLink.cc.
References QGCNetworkHelper::isNetworkEthernet().