12 using namespace swift::misc::physical_quantities;
13 using namespace swift::misc::aviation;
14 using namespace swift::misc::geo;
15 using namespace swift::misc::network;
16 using namespace swift::misc::simulation;
17 using namespace swift::misc::simulation::fscommon;
19 using namespace swift::simplugin::common;
21 namespace swift::simplugin::fscommon
35 CSimulatorPluginCommon::initSimulatorInternals();
49 if (CSimpleCommandParser::registered(
"swift::simplugin::fscommon::CSimulatorFsCommon")) {
return; }
50 CSimpleCommandParser::registerCommand({
".drv",
"alias: .driver .plugin" });
57 const bool r = CSimulatorPluginCommon::disconnectFrom();
void emitSimulatorCombinedStatus(SimulatorStatus oldStatus=Unspecified)
Emit the combined status.
swift::misc::simulation::CSimulatorInternals m_simulatorInternals
setup read from the sim
Direct in memory access to client (network client) data.
void setSimulatorVersion(const QString &versionInfo)
Simulator version info, something like "10.3.2".
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.
Common base class for simulator plugins.
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.
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.