QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ADSBVehicle Class Reference

#include <ADSBVehicle.h>

Inheritance diagram for ADSBVehicle:
Collaboration diagram for ADSBVehicle:

Signals

void coordinateChanged ()
void callsignChanged ()
void altitudeChanged ()
void headingChanged ()
void velocityChanged ()
void verticalVelChanged ()
void squawkChanged ()
void alertChanged ()

Public Member Functions

 ADSBVehicle (const ADSB::VehicleInfo_t &vehicleInfo, QObject *parent=nullptr)
 ~ADSBVehicle ()
uint32_t icaoAddress () const
QString callsign () const
QGeoCoordinate coordinate () const
double altitude () const
double heading () const
double velocity () const
double verticalVel () const
uint16_t squawk () const
bool alert () const
bool expired () const
void update (const ADSB::VehicleInfo_t &vehicleInfo)

Friends

class ADSBTest

Detailed Description

Definition at line 11 of file ADSBVehicle.h.

Constructor & Destructor Documentation

◆ ADSBVehicle()

ADSBVehicle::ADSBVehicle ( const ADSB::VehicleInfo_t & vehicleInfo,
QObject * parent = nullptr )
explicit

Definition at line 9 of file ADSBVehicle.cc.

References ADSBVehicle(), and update().

Referenced by ADSBVehicle().

◆ ~ADSBVehicle()

ADSBVehicle::~ADSBVehicle ( )

Definition at line 18 of file ADSBVehicle.cc.

Member Function Documentation

◆ alert()

bool ADSBVehicle::alert ( ) const
inline

Definition at line 40 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ alertChanged

void ADSBVehicle::alertChanged ( )
signal

Referenced by ADSBTest, and update().

◆ altitude()

double ADSBVehicle::altitude ( ) const
inline

Definition at line 35 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ altitudeChanged

void ADSBVehicle::altitudeChanged ( )
signal

Referenced by ADSBTest, and update().

◆ callsign()

QString ADSBVehicle::callsign ( ) const
inline

Definition at line 33 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ callsignChanged

void ADSBVehicle::callsignChanged ( )
signal

Referenced by ADSBTest, and update().

◆ coordinate()

QGeoCoordinate ADSBVehicle::coordinate ( ) const
inline

Definition at line 34 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ coordinateChanged

void ADSBVehicle::coordinateChanged ( )
signal

Referenced by ADSBTest, and update().

◆ expired()

bool ADSBVehicle::expired ( ) const
inline

Definition at line 41 of file ADSBVehicle.h.

◆ heading()

double ADSBVehicle::heading ( ) const
inline

Definition at line 36 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ headingChanged

void ADSBVehicle::headingChanged ( )
signal

Referenced by ADSBTest, and update().

◆ icaoAddress()

uint32_t ADSBVehicle::icaoAddress ( ) const
inline

Definition at line 32 of file ADSBVehicle.h.

Referenced by ADSBTest, ADSBVehicleManager::adsbVehicleUpdate(), and update().

◆ squawk()

uint16_t ADSBVehicle::squawk ( ) const
inline

Definition at line 39 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ squawkChanged

void ADSBVehicle::squawkChanged ( )
signal

Referenced by ADSBTest, and update().

◆ update()

◆ velocity()

double ADSBVehicle::velocity ( ) const
inline

Definition at line 37 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ velocityChanged

void ADSBVehicle::velocityChanged ( )
signal

Referenced by ADSBTest, and update().

◆ verticalVel()

double ADSBVehicle::verticalVel ( ) const
inline

Definition at line 38 of file ADSBVehicle.h.

Referenced by ADSBTest, and update().

◆ verticalVelChanged

void ADSBVehicle::verticalVelChanged ( )
signal

Referenced by ADSBTest, and update().

◆ ADSBTest


The documentation for this class was generated from the following files: