QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
UDPClient Struct Reference

#include <UDPLink.h>

Public Member Functions

 UDPClient (const QHostAddress &addr, quint16 portNum)
 UDPClient (const QString &host, const QHostAddress &addr, quint16 portNum)
 UDPClient (const UDPClient *other)
bool operator== (const UDPClient &other) const
UDPClient & operator= (const UDPClient &other)

Public Attributes

QString hostname
QHostAddress address
quint16 port = 0

Detailed Description

Definition at line 19 of file UDPLink.h.

Constructor & Destructor Documentation

◆ UDPClient() [1/3]

UDPClient::UDPClient ( const QHostAddress & addr,
quint16 portNum )
inline

Definition at line 21 of file UDPLink.h.

References address, and port.

Referenced by operator=(), operator==(), and UDPClient().

◆ UDPClient() [2/3]

UDPClient::UDPClient ( const QString & host,
const QHostAddress & addr,
quint16 portNum )
inline

Definition at line 26 of file UDPLink.h.

References address, hostname, and port.

◆ UDPClient() [3/3]

UDPClient::UDPClient ( const UDPClient * other)
inlineexplicit

Definition at line 32 of file UDPLink.h.

References address, hostname, port, and UDPClient().

Member Function Documentation

◆ operator=()

UDPClient & UDPClient::operator= ( const UDPClient & other)
inline

Definition at line 43 of file UDPLink.h.

References address, hostname, port, and UDPClient().

◆ operator==()

bool UDPClient::operator== ( const UDPClient & other) const
inline

Definition at line 38 of file UDPLink.h.

References address, port, and UDPClient().

Member Data Documentation

◆ address

QHostAddress UDPClient::address

Definition at line 53 of file UDPLink.h.

Referenced by operator=(), operator==(), UDPClient(), UDPClient(), and UDPClient().

◆ hostname

QString UDPClient::hostname

Definition at line 52 of file UDPLink.h.

Referenced by operator=(), UDPClient(), and UDPClient().

◆ port

quint16 UDPClient::port = 0

Definition at line 54 of file UDPLink.h.

Referenced by operator=(), operator==(), UDPClient(), UDPClient(), and UDPClient().


The documentation for this struct was generated from the following file: