12using namespace swift::misc::physical_quantities;
13using namespace swift::misc::aviation;
14using namespace swift::misc::geo;
15using namespace swift::misc::network;
16using namespace swift::misc::simulation;
17using namespace swift::misc::simulation::fscommon;
19using namespace swift::simplugin::common;
21namespace swift::simplugin::fscommon
void emitSimulatorCombinedStatus(SimulatorStatus oldStatus=Unspecified)
Emit the combined status.
virtual void reset()
Full reset of state.
swift::misc::simulation::CSimulatorInternals m_simulatorInternals
setup read from the sim
virtual void initSimulatorInternals()
Init the internals info from the simulator.
static void registerCommand(const CommandHtmlHelp &command)
Register a command.
static bool registered(const QString &helpContext)
Help already registered.
Direct in memory access to client (network client) data.
Describing a simulator plugin.
Direct threadsafe in memory access to own aircraft.
Direct thread safe in memory access to remote aircraft.
QString getSimulatorVersion() const
Simulator version as set from the running simulator.
CSimulatorPluginCommon(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.
bool disconnectFrom()
Disconnect from simulator.
virtual bool disconnectFrom()
Disconnect from simulator.
virtual ~CSimulatorFsCommon()
Destructor.
bool m_simPaused
simulator paused?
int m_ownAircraftUpdateCycles
own aircraft updates, even with 50 updates/sec long enough even for 32bit
virtual void reset()
Full reset of state.
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.
static void registerHelp()
Register help.
int m_skipCockpitUpdateCycles
skip some update cycles to allow changes in simulator cockpit to be set
virtual void initSimulatorInternals()
Init the internal objects.
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
QObject * parent() const const