12 using namespace swift::misc::aviation;
14 namespace swift::core::fsd
16 VisualPilotDataToggle::VisualPilotDataToggle() : MessageBase() {}
18 VisualPilotDataToggle::VisualPilotDataToggle(
const QString &sender,
const QString &client,
bool active)
19 :
MessageBase(sender, {}), m_client(client), m_active(active)
27 tokens.push_back(QString::number(
m_active ? 1 : 0));
33 if (tokens.size() < 3)
QString m_sender
message sender
Message from server to start or stop sending visual pilot data updates.
static VisualPilotDataToggle fromTokens(const QStringList &tokens)
Construct from tokens.
QString m_client
Properties.
QStringList toTokens() const
Message converted to tokens.
Class for emitting a log message.
Derived & debug()
Set the severity to debug.
Free functions in swift::misc.