swift
Public Member Functions | Static Public Member Functions | List of all members
swift::core::fsd::VisualPilotDataStopped Class Reference

VisualPilotDataUpdate with velocity assumed to be zero. More...

Inheritance diagram for swift::core::fsd::VisualPilotDataStopped:
[legend]

Public Member Functions

 VisualPilotDataStopped (const QString &sender, double latitude, double longitude, double altitudeTrue, double heightAgl, double pitch, double bank, double heading, double noseGearAngle=0.0)
 Constructor.
 
QStringList toTokens () const
 Message converted to tokens. More...
 
VisualPilotDataUpdate toUpdate () const
 Return a regular visual update with the same values.
 
- Public Member Functions inherited from swift::core::fsd::MessageBase
 MessageBase ()
 Default Constructor.
 
 MessageBase (const QString &sender)
 Constructor.
 
 MessageBase (const QString &sender, const QString &receiver)
 Constructor.
 
void setCallsign (const QString &sender)
 Set callsign.
 
QString sender () const
 get message sender
 
void setReceiver (const QString &receiver)
 Set message receiver.
 
QString receiver () const
 Get message receiver.
 
bool isValid () const
 Is message valid?
 
void setValid (bool isValid)
 set message valid
 

Static Public Member Functions

static VisualPilotDataStopped fromTokens (const QStringList &tokens)
 Construct from tokens. More...
 
static QString pdu ()
 PDU identifier.
 

Public Attributes

double m_latitude = 0.0
 Properties.
 
double m_longitude = 0.0
 Properties.
 
double m_altitudeTrue = 0.0
 Properties.
 
double m_heightAgl = 0.0
 Properties.
 
double m_pitch = 0.0
 Properties.
 
double m_bank = 0.0
 Properties.
 
double m_heading = 0.0
 Properties.
 
double m_noseGearAngle = 0.0
 Properties.
 

Additional Inherited Members

- Protected Attributes inherited from swift::core::fsd::MessageBase
QString m_sender
 message sender
 
QString m_receiver
 message receiver
 
bool m_isValid = true
 is valid?
 

Detailed Description

VisualPilotDataUpdate with velocity assumed to be zero.

Definition at line 17 of file visualpilotdatastopped.h.

Member Function Documentation

◆ fromTokens()

VisualPilotDataStopped swift::core::fsd::VisualPilotDataStopped::fromTokens ( const QStringList &  tokens)
static

Construct from tokens.

Todo:
check if needed?

Definition at line 42 of file visualpilotdatastopped.cpp.

◆ toTokens()

QStringList swift::core::fsd::VisualPilotDataStopped::toTokens ( ) const

Message converted to tokens.

Todo:
check if needed?

Definition at line 26 of file visualpilotdatastopped.cpp.


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