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 UDPClient *other)
 
bool operator== (const UDPClient &other) const
 
UDPClientoperator= (const UDPClient &other)
 

Public Attributes

QHostAddress address
 
quint16 port = 0
 

Detailed Description

Definition at line 29 of file UDPLink.h.

Constructor & Destructor Documentation

◆ UDPClient() [1/2]

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

Definition at line 31 of file UDPLink.h.

◆ UDPClient() [2/2]

UDPClient::UDPClient ( const UDPClient other)
inlineexplicit

Definition at line 36 of file UDPLink.h.

Member Function Documentation

◆ operator=()

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

Definition at line 46 of file UDPLink.h.

References address, and port.

◆ operator==()

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

Definition at line 41 of file UDPLink.h.

References address, and port.

Member Data Documentation

◆ address

QHostAddress UDPClient::address

Definition at line 54 of file UDPLink.h.

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

◆ port

quint16 UDPClient::port = 0

Definition at line 55 of file UDPLink.h.

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


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