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
 
UDPClientoperator= (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.

◆ UDPClient() [2/3]

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

Definition at line 26 of file UDPLink.h.

◆ UDPClient() [3/3]

UDPClient::UDPClient ( const UDPClient other)
inlineexplicit

Definition at line 32 of file UDPLink.h.

Member Function Documentation

◆ operator=()

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

Definition at line 43 of file UDPLink.h.

References address, hostname, and port.

◆ operator==()

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

Definition at line 38 of file UDPLink.h.

References address, and port.

Member Data Documentation

◆ address

QHostAddress UDPClient::address

Definition at line 53 of file UDPLink.h.

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

◆ hostname

QString UDPClient::hostname

Definition at line 52 of file UDPLink.h.

Referenced by operator=().

◆ port

quint16 UDPClient::port = 0

Definition at line 54 of file UDPLink.h.

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


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