6#ifndef SWIFT_SIMPLUGIN_FSCOMMON_SIMULATORFSCOMMON_H
7#define SWIFT_SIMPLUGIN_FSCOMMON_SIMULATORFSCOMMON_H
18namespace swift::simplugin::fscommon
45 virtual void initSimulatorInternals()
override;
48 virtual void reset()
override;
51 static void registerHelp();
Interface to a simulator.
COM system (aka "radio").
Direct in memory access to client (network client) data.
Describing a simulator plugin.
Direct in memory access to interpolation setup, normally implemented by simulator.
Direct threadsafe in memory access to own aircraft.
Direct thread safe in memory access to remote aircraft.
Direct in memory access to elevation data.
Common base class for simulator plugins.
Common base class for MS flight simulators.
virtual bool disconnectFrom()
Disconnect from simulator.
virtual bool isPaused() const
Simulator paused?
swift::misc::aviation::CComSystem m_simCom1
cockpit COM1 state in simulator
swift::misc::aviation::CSelcal m_selcal
SELCAL as in cockpit.
swift::misc::aviation::CComSystem m_simCom2
cockpit COM2 state in simulator
bool m_simPaused
simulator paused?
int m_ownAircraftUpdateCycles
own aircraft updates, even with 50 updates/sec long enough even for 32bit
CSimulatorFsCommon(const swift::misc::simulation::CSimulatorPluginInfo &info, swift::misc::simulation::IOwnAircraftProvider *ownAircraftProvider, swift::misc::simulation::IRemoteAircraftProvider *renderedAircraftProvider, swift::misc::network::IClientProvider *clientProvider, QObject *parent=nullptr)
Constructor.
swift::misc::aviation::CTransponder m_simTransponder
cockpit xpdr state in simulator
int m_skipCockpitUpdateCycles
skip some update cycles to allow changes in simulator cockpit to be set
#define FSCOMMON_EXPORT
FSCommon Export Macro.