swift
src
core
fsd
planeinforequest.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
2
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6
#ifndef SWIFT_CORE_FSD_PLANEINFOREQUEST_H
7
#define SWIFT_CORE_FSD_PLANEINFOREQUEST_H
8
9
#include "
core/fsd/messagebase.h
"
10
11
namespace
swift::core::fsd
12
{
15
class
SWIFT_CORE_EXPORT
PlaneInfoRequest
:
public
MessageBase
16
{
17
public
:
19
PlaneInfoRequest
(
const
QString
&sender,
const
QString
&receiver);
20
22
QStringList
toTokens()
const
;
23
25
static
PlaneInfoRequest
fromTokens(
const
QStringList
&tokens);
26
28
static
QString
pdu
() {
return
QStringLiteral(
"#SB"
); }
29
30
private
:
31
PlaneInfoRequest
();
32
};
33
35
inline
bool
operator==(
const
PlaneInfoRequest
&lhs,
const
PlaneInfoRequest
&rhs)
36
{
37
return
lhs.
sender
() == rhs.
sender
() && lhs.
receiver
() == rhs.
receiver
();
38
}
39
41
inline
bool
operator!=
(
const
PlaneInfoRequest
&lhs,
const
PlaneInfoRequest
&rhs) {
return
!(lhs == rhs); }
42
}
// namespace swift::core::fsd
43
44
#endif
// SWIFT_CORE_FSD_PLANEINFOREQUEST_H
swift::core::fsd::operator!=
bool operator!=(const AddAtc &lhs, const AddAtc &rhs)
Not equal operator.
Definition:
addatc.h:68
swift::core::fsd::MessageBase
FSD message base class.
Definition:
messagebase.h:58
swift::core::fsd::MessageBase::sender
QString sender() const
get message sender
Definition:
messagebase.h:73
swift::core::fsd::MessageBase::receiver
QString receiver() const
Get message receiver.
Definition:
messagebase.h:79
swift::core::fsd::PlaneInfoRequest
Request to send plane information. Shall be answered by a PlaneInformation message.
Definition:
planeinforequest.h:16
swift::core::fsd::PlaneInfoRequest::pdu
static QString pdu()
PDU identifier.
Definition:
planeinforequest.h:28
messagebase.h
QString
QStringList
SWIFT_CORE_EXPORT
#define SWIFT_CORE_EXPORT
Export a class or function from the library.
Definition:
swiftcoreexport.h:20
Generated on Sun Oct 12 2025 20:05:09 for swift by
1.9.1