swift
|
Class representing a FSUIPC "interface". More...
Public Member Functions | |
CFsuipc (QObject *parent=nullptr) | |
Constructor. | |
virtual | ~CFsuipc () |
Destructor. | |
bool | open (bool force=false) |
Open connection with FSUIPC. | |
void | close () |
Disconnect. | |
bool | isOpened () const |
Is opened? | |
bool | isOpen () const |
Really open, means connected and data can be sent. | |
bool | write (const swift::misc::aviation::CTransponder &xpdr) |
Write variables. | |
bool | setSimulatorTime (int hour, int minute) |
Set simulator time. | |
QString | getVersion () const |
Get the version. | |
bool | read (swift::misc::simulation::CSimulatedAircraft &aircraft, bool cockpit, bool situation, bool aircraftParts) |
Read data from FSUIPC. More... | |
Static Public Member Functions | |
static const QStringList & | errorMessages () |
Error messages. | |
static const QString & | errorMessage (int index) |
Message for index. | |
static const QStringList & | simulators () |
Simulators. | |
static const QString & | simulator (int index) |
Simulator for index. | |
bool swift::simplugin::fscommon::CFsuipc::read | ( | swift::misc::simulation::CSimulatedAircraft & | aircraft, |
bool | cockpit, | ||
bool | situation, | ||
bool | aircraftParts | ||
) |
Read data from FSUIPC.
aircraft | object to be updated |
cockpit | update cockpit data |
situation | update situation data |
aircraftParts | update parts |
Definition at line 47 of file fsuipcdummy.cpp.