Enroute Flight Navigation
A navigation app for VFR pilots
|
Base class for all traffic receiver data sources that receive data via network sockets. More...
#include <TrafficDataSource_AbstractSocket.h>
Public Member Functions | |
TrafficDataSource_AbstractSocket (bool isCanonical, QObject *parent) | |
Default constructor. | |
![]() | |
TrafficDataSource_Abstract (bool isCanonical, QObject *parent) | |
Default constructor. | |
bool | canonical () const |
Getter function for the property with the same name. | |
virtual Traffic::ConnectionInfo | connectionInfo () const |
Getter function for the property with the same name. | |
QString | connectivityStatus () const |
Getter function for the property with the same name. | |
virtual QString | dataFormat () const =0 |
Getter function for the property with the same name. | |
QString | errorString () const |
Getter function for the property with the same name. | |
virtual QString | icon () const =0 |
Getter function for the property with the same name. | |
Units::Distance | pressureAltitude () const |
Getter method for property with the same name. | |
QBindable< Units::Distance > | bindablePressureAltitude () const |
Getter method for property with the same name. | |
bool | receivingHeartbeat () const |
Getter function for the property with the same name. | |
virtual QString | sourceName () const =0 |
Getter function for the property with the same name. | |
QString | trafficReceiverRuntimeError () const |
Getter function for the property with the same name. | |
QString | trafficReceiverSelfTestError () const |
Getter function for the property with the same name. | |
Additional Inherited Members | |
![]() | |
virtual void | connectToTrafficReceiver ()=0 |
Start attempt to connect to traffic receiver. | |
virtual void | disconnectFromTrafficReceiver ()=0 |
Disconnect from traffic receiver. | |
virtual void | setPassword (const QString &SSID, const QString &password) |
Set password. | |
![]() | |
void | connectivityStatusChanged (QString newStatus) |
Notifier signal. | |
void | errorStringChanged (QString newError) |
Notifier signal. | |
void | factorWithoutPosition (const Traffic::TrafficFactor_DistanceOnly &factor) |
Traffic factor without position. | |
void | factorWithPosition (const Traffic::TrafficFactor_WithPosition &factor) |
Traffic factor with position. | |
void | positionUpdated (Positioning::PositionInfo pInfo) |
Position info. | |
void | receivingHeartbeatChanged (bool) |
Notifier signal. | |
void | trafficReceiverRuntimeErrorChanged () |
Notifier signal. | |
void | trafficReceiverSelfTestErrorChanged () |
Notifier signal. | |
void | trafficReceiverHwVersion (QString result) |
Traffic receiver hardware version. | |
void | trafficReceiverObVersion (QString result) |
Traffic receiver obstacle database version. | |
void | trafficReceiverSwVersion (QString result) |
Traffic receiver software version. | |
void | warning (const Traffic::Warning &warning) |
Traffic warning. | |
![]() | |
void | processFLARMData (const QString &data) |
Process FLARM/NMEA data. | |
void | processGDLMessage (const QByteArray &message) |
Process one GDL90 message. | |
void | processXGPSString (const QByteArray &data) |
Process one XGPS string. | |
void | resetReceivingHeartbeat () |
Resetter method for the property with the same name. | |
void | setConnectivityStatus (const QString &newConnectivityStatus) |
Setter function for the property with the same name. | |
void | setErrorString (const QString &newErrorString=QString()) |
Setter function for the property with the same name. | |
void | setPressureAltitude (Units::Distance newPressureAltitude) |
Setter function for the property with the same name. | |
void | setReceivingHeartbeat (bool newReceivingHeartbeat) |
Setter method for the property with the same name. | |
void | setTrafficReceiverRuntimeError (const QString &newErrorString) |
Setter function for the property with the same name. | |
void | setTrafficReceiverSelfTestError (const QString &newErrorString) |
Setter function for the property with the same name. | |
![]() | |
bool | canonical |
Canonicity. | |
QString | connectivityStatus |
Connectivity status. | |
Traffic::ConnectionInfo | connectionInfo |
Connection Info. | |
QString | dataFormat |
Data format. | |
QString | errorString |
String describing the last socket error. | |
QString | icon |
Icon that can be used to represent the connection in a GUI. | |
Units::Distance | pressureAltitude |
Pressure altitude. | |
bool | receivingHeartbeat |
Heartbeat indicator. | |
QString | sourceName |
Source name. | |
QString | trafficReceiverRuntimeError |
String describing the last traffic data receiver runtime error. | |
QString | trafficReceiverSelfTestError |
String describing the last traffic data receiver self-test error. | |
Base class for all traffic receiver data sources that receive data via network sockets.
This is an abstract base class for all classes that connect to a traffic receiver via network sockets. In addition to TrafficDataSource_Abstract, it contains a few protected methods that will might be useful for Tcp and Udp connections.
It is assume that most users will connect to their traffic receicers via the WiFi network. On Android, this class will therefore acquire/relase a WiFi whenever traffic receiver heartbeat messages are detected or lost.
Definition at line 42 of file TrafficDataSource_AbstractSocket.h.
|
explicit |
Default constructor.
isCanonical | Intializer for property canonical |
parent | The standard QObject parent pointer |