mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Doxygen
This commit is contained in:
committed by
Mat Sutcliffe
parent
2c89275ea6
commit
11ee2413b5
@@ -21,16 +21,21 @@ namespace BlackCore
|
||||
{
|
||||
namespace Fsd
|
||||
{
|
||||
//! FSD Message: ATC data update
|
||||
class BLACKCORE_EXPORT AtcDataUpdate : public MessageBase
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
AtcDataUpdate(const QString &sender, int frequencykHz, BlackMisc::Network::CFacilityType facility, int visibleRange, AtcRating rating,
|
||||
double latitude, double longitude, int elevation);
|
||||
|
||||
virtual ~AtcDataUpdate() {}
|
||||
double latitude, double longitude, int elevation);
|
||||
|
||||
//! Message converted to tokens
|
||||
QStringList toTokens() const;
|
||||
|
||||
//! Construct from tokens
|
||||
static AtcDataUpdate fromTokens(const QStringList &tokens);
|
||||
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "%"; }
|
||||
|
||||
int m_frequencykHz = 0.0;
|
||||
@@ -45,6 +50,7 @@ namespace BlackCore
|
||||
AtcDataUpdate();
|
||||
};
|
||||
|
||||
//! Equal to operator
|
||||
inline bool operator==(const AtcDataUpdate &lhs, const AtcDataUpdate &rhs)
|
||||
{
|
||||
return lhs.sender() == rhs.sender() &&
|
||||
@@ -58,6 +64,7 @@ namespace BlackCore
|
||||
lhs.m_elevation == rhs.m_elevation;
|
||||
}
|
||||
|
||||
//! Not equal to operator
|
||||
inline bool operator!=(const AtcDataUpdate &lhs, const AtcDataUpdate &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
|
||||
Reference in New Issue
Block a user