6 #ifndef SWIFT_SIMPLUGIN_XPLANE_XPLANEMPAIRCRAFT_H
7 #define SWIFT_SIMPLUGIN_XPLANE_XPLANEMPAIRCRAFT_H
9 #include <QSharedPointer>
10 #include <QStringList>
19 namespace swift::simplugin::xplane
64 uint32_t aircraftNumber)
const;
75 QSharedPointer<swift::misc::simulation::CInterpolatorMulti>
Interface to a simulator.
Status messages, e.g. from Core -> GUI.
Value object encapsulating information of a callsign.
Value object for a set of callsigns.
Aircraft model (used by another pilot, my models on disk)
InterpolatorMode
Interpolator type.
Value object for interpolator and rendering per callsign.
Record internal state of interpolator for debugging.
Multiplexed interpolator which allows switching between modes at runtime.
Comprehensive information of an aircraft.
bool hasCallsign() const
Callsign not empty, no further checks.
const aviation::CCallsign & getCallsign() const
Get callsign.
const simulation::CAircraftModel & getModel() const
Get model (model used for mapping)
const QString & getModelString() const
Get model string.
Class representing a X-Plane multiplayer aircraft.
const swift::misc::aviation::CCallsign & getCallsign() const
Get callsign.
QString getInterpolatorInfo(swift::misc::simulation::CInterpolationAndRenderingSetupBase::InterpolatorMode mode) const
Get an interpolator info string (for debug info)
swift::misc::simulation::CInterpolatorMulti * getInterpolator() const
Interpolator.
CXPlaneMPAircraft()
Constructor.
bool hasCallsign() const
Has callsign.
void attachInterpolatorLogger(swift::misc::simulation::CInterpolationLogger *logger) const
Attach an observer to read the interpolator's state for debugging.
const QString & getAircraftModelString() const
Simulated aircraft model string.
void setSimulatedAircraft(const swift::misc::simulation::CSimulatedAircraft &simulatedAircraft)
Set simulated aircraft.
const swift::misc::simulation::CSimulatedAircraft & getAircraft() const
Simulated aircraft (as added)
~CXPlaneMPAircraft()
Destructor.
const swift::misc::simulation::CAircraftModel & getAircraftModel() const
Simulated aircraft model.
swift::misc::CStatusMessageList getInterpolationMessages(swift::misc::simulation::CInterpolationAndRenderingSetupBase::InterpolatorMode mode) const
Interpolation messages.
swift::misc::simulation::CInterpolationResult getInterpolation(qint64 currentTimeSinceEpoch, const swift::misc::simulation::CInterpolationAndRenderingSetupPerCallsign &setup, uint32_t aircraftNumber) const
Get interpolated situation.
Simulator objects (aka AI aircraft)
void toggleInterpolatorMode(const swift::misc::aviation::CCallsign &callsign)
Toggle interpolator modes.
QStringList getAllCallsignStrings(bool sorted=false) const
Get all callsign strings.
void toggleInterpolatorModes()
Toggle interpolator modes.
QString getAllCallsignStringsAsString(bool sorted=false, const QString &separator=", ") const
Get all callsign strings as string.
swift::misc::aviation::CCallsignSet getAllCallsigns() const
Get all callsigns.
Backend services of the swift project, like dealing with the network or the simulators.