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

FSD Message: Add Pilot. More...

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

Public Member Functions

 AddPilot (const QString &callsign, const QString &cid, const QString &password, PilotRating rating, int protocolRevision, SimType simType, const QString &realName)
 Constructor.
 
const QString & cid () const
 Get user cid.
 
const QString & password () const
 Get user password.
 
PilotRating rating () const
 Get pilot rating.
 
int protocolVersion () const
 Get protocol version.
 
SimType simType () const
 Get simulator type.
 
const QString & realName () const
 Get real name.
 
QStringList toTokens () const
 Message converted to tokens.
 
- 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 AddPilot fromTokens (const QStringList &tokens)
 Construct from tokens.
 
static QString pdu ()
 PDU identifier.
 

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

FSD Message: Add Pilot.

Definition at line 18 of file addpilot.h.


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