swift
Loading...
Searching...
No Matches
remoteaircraftproviderdummy.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_MISC_SIMULATION_REMOTEAIRCRAFTPROVIDERDUMMY_H
7#define SWIFT_MISC_SIMULATION_REMOTEAIRCRAFTPROVIDERDUMMY_H
8
16
17namespace swift::misc::simulation
18{
21 {
23
24 public:
27
30
37 void insertNewAircraftParts(const aviation::CCallsign &callsign, const aviation::CAircraftPartsList &partsList,
40
44 QObject *asQObject() override { return this; }
45 CAirspaceAircraftSnapshot getLatestAirspaceAircraftSnapshot() const override;
47 };
48} // namespace swift::misc::simulation
49
50#endif // SWIFT_MISC_SIMULATION_REMOTEAIRCRAFTPROVIDERDUMMY_H
Value object encapsulating information of aircraft's parts.
Value object encapsulating a list of aircraft parts.
Value object encapsulating information of an aircraft's situation.
Value object encapsulating information of a callsign.
Definition callsign.h:30
static CRemoteAircraftProviderDummy * instance()
Singleton.
void insertNewSituation(const aviation::CAircraftSituation &situation)
For testing, add new situation and fire signals.
void insertNewAircraftParts(const aviation::CCallsign &callsign, const aviation::CAircraftParts &parts, bool removeOutdatedParts)
For testing, add new situation and fire signals.
QObject * asQObject()
Members not implenented or fully implenented by CRemoteAircraftProvider.
void insertNewSituations(const aviation::CAircraftSituationList &situations)
For testing, add new situation and fire signals.
static void removeOutdatedParts(aviation::CAircraftPartsList &partsList)
Remove outdated aircraft parts, but never the most recent one.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
#define SWIFT_MISC_EXPORT
Export a class or function from the library.