swift
Functions | Public Slots
dot commands

Functions

bool swift::core::CAirspaceMonitor::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 Parse a given command line. More...
 
virtual bool swift::core::ISimulator::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 
virtual bool swift::simplugin::emulated::CSimulatorEmulated::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 
virtual bool swift::simplugin::fsxcommon::CSimulatorFsxCommon::parseDetails (const swift::misc::CSimpleCommandParser &parser)
 
virtual bool swift::simplugin::common::CSimulatorPluginCommon::parseDetails (const swift::misc::CSimpleCommandParser &parser)
 

Public Slots

virtual bool swift::core::context::CContextNetwork::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 Parse a given command line. More...
 
virtual bool swift::core::context::CContextOwnAircraft::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 Parse a given command line. More...
 
virtual bool swift::core::context::CContextSimulator::parseCommandLine (const QString &commandLine, const swift::misc::CIdentifier &originator)
 Parse a given command line. More...
 

Detailed Description

Function Documentation

◆ parseCommandLine() [1/3]

bool swift::core::CAirspaceMonitor::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)

Parse a given command line.

.fsd range distance        max.range e.g. ".fsd range 100NM"

Definition at line 367 of file airspacemonitor.cpp.

◆ parseCommandLine() [2/3]

bool swift::core::ISimulator::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)
virtual
.drv cg length clear|modelstring  set overridden CG for model string      swift::core::ISimulator
.drv unload                       unload plugin                           swift::core::ISimulator
.drv limit number                 limit the number of updates             swift::core::ISimulator
.drv logint callsign              log interpolator for callsign           swift::core::ISimulator
.drv logint off                   no log information for interpolator     swift::core::ISimulator
.drv logint write                 write interpolator log to file          swift::core::ISimulator
.drv logint clear                 clear current log                       swift::core::ISimulator
.drv pos callsign                 shows current position in simulator     swift::core::ISimulator
.drv spline|linear callsign       interpolator spline or linear           swift::core::ISimulator
.drv aircraft readd callsign      re-add (add again) aircraft             swift::core::ISimulator
.drv aircraft readd all           re-add all aircraft                     swift::core::ISimulator
.drv aircraft rm callsign         remove aircraft                         swift::core::ISimulator
.drv fsuipc   on|off              enable/disable FSUIPC (if applicable)
swift::simplugin::fscommon::CSimulatorFsCommon

Parse command line for simulator drivers, derived classes can add specific parsing by overriding ISimulator::parseDetails

Reimplemented in swift::simplugin::emulated::CSimulatorEmulated.

Definition at line 298 of file simulator.cpp.

◆ parseCommandLine() [3/3]

bool swift::simplugin::emulated::CSimulatorEmulated::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)
virtual

.drv show   show emulated driver window     swift::simplugin::emulated::CSimulatorEmulated
.drv hide   hide emulated driver window     swift::simplugin::emulated::CSimulatorEmulated
.drv cg length clear|modelstring  set overridden CG for model string      swift::core::ISimulator
.drv unload                       unload plugin                           swift::core::ISimulator
.drv limit number                 limit the number of updates             swift::core::ISimulator
.drv logint callsign              log interpolator for callsign           swift::core::ISimulator
.drv logint off                   no log information for interpolator     swift::core::ISimulator
.drv logint write                 write interpolator log to file          swift::core::ISimulator
.drv logint clear                 clear current log                       swift::core::ISimulator
.drv pos callsign                 shows current position in simulator     swift::core::ISimulator
.drv spline|linear callsign       interpolator spline or linear           swift::core::ISimulator
.drv aircraft readd callsign      re-add (add again) aircraft             swift::core::ISimulator
.drv aircraft readd all           re-add all aircraft                     swift::core::ISimulator
.drv aircraft rm callsign         remove aircraft                         swift::core::ISimulator
.drv fsuipc   on|off              enable/disable FSUIPC (if applicable)
swift::simplugin::fscommon::CSimulatorFsCommon

Parse command line for simulator drivers, derived classes can add specific parsing by overriding ISimulator::parseDetails

Reimplemented from swift::core::ISimulator.

Definition at line 227 of file simulatoremulated.cpp.

◆ parseDetails() [1/2]

bool swift::simplugin::fsxcommon::CSimulatorFsxCommon::parseDetails ( const swift::misc::CSimpleCommandParser parser)
protectedvirtual
.drv sendid  on|off      tracing simConnect sendId on/off

Reimplemented from swift::simplugin::common::CSimulatorPluginCommon.

Definition at line 1481 of file simulatorfsxcommon.cpp.

◆ parseDetails() [2/2]

bool swift::simplugin::common::CSimulatorPluginCommon::parseDetails ( const swift::misc::CSimpleCommandParser parser)
protectedvirtual
.drv intdisplay interpolation log display

Implements swift::core::ISimulator.

Reimplemented in swift::simplugin::fsxcommon::CSimulatorFsxCommon, and swift::simplugin::emulated::CSimulatorEmulated.

Definition at line 56 of file simulatorplugincommon.cpp.

Public Slots

◆ parseCommandLine [1/3]

bool swift::core::context::CContextNetwork::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)
virtualslot

Parse a given command line.

.m .msg .chat callsign|freq. message   message text
.altos .altoffset                      altitude offset for testing
.addtimeos .addtimeoffset              additional offset time for testing
.reinit .reinitialize                  re-initialize all aircraft
.watchdog on|off                       watchdog on/off
.wallop message                        send wallop message

Definition at line 380 of file contextnetworkimpl.cpp.

◆ parseCommandLine [2/3]

bool swift::core::context::CContextOwnAircraft::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)
virtualslot

Parse a given command line.

.x    .xpdr  code       set transponder code    swift::core::context::CContextOwnAircraft
.x    .xpdr  mode       set transponder mode    swift::core::context::CContextOwnAircraft
.com1 .com2  frequency  set COM1/2 frequency    swift::core::context::CContextOwnAircraft
.selcal      code       set SELCAL code         swift::core::context::CContextOwnAircraft

Definition at line 438 of file contextownaircraftimpl.cpp.

◆ parseCommandLine [3/3]

bool swift::core::context::CContextSimulator::parseCommandLine ( const QString &  commandLine,
const swift::misc::CIdentifier originator 
)
virtualslot

Parse a given command line.

.plugin           forwarded to plugin, see details there
.driver .drv      forwarded to plugin (same as above)
.ris show         show interpolation setup in console
.ris debug on|off interpolation/rendering setup, debug messages
.ris parts on|off interpolation/rendering setup, aircraft parts

Definition at line 1002 of file contextsimulatorimpl.cpp.