Commit Graph

1264 Commits

Author SHA1 Message Date
Klaus Basan
5da3f55886 refs #277, removed QAudioOutput as discussed
(was used to work around a bug with muted sound)
2014-06-23 01:19:47 +02:00
Klaus Basan
317ea93701 refs #279, added version info to FSUIPC class 2014-06-23 01:19:44 +02:00
Mathew Sutcliffe
e7c14e2c1c moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors) 2014-06-23 01:19:42 +02:00
Klaus Basan
f775ac88d3 Doxygen 2014-06-23 01:19:40 +02:00
Klaus Basan
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
2ecef24c91 Register ENUMs in ISimulator like it is done in IVoice 2014-06-23 01:19:37 +02:00
Klaus Basan
c404d4cc5b refs #279, FSUIPC support 2014-06-23 01:19:35 +02:00
Klaus Basan
0a6f711e82 Doxygen 2014-06-23 01:19:32 +02:00
Klaus Basan
ca8cbc4a0a refs #274, pending connection state detection and disallowing further connection states while pending 2014-06-23 01:19:31 +02:00
Klaus Basan
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
a867a490e6 Improved details on the readers, regarding timestamp 2014-06-23 01:19:29 +02:00
Klaus Basan
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
ab77f19544 refs #267, moved vPilot reader in namespace fscommon, as it is specific for FSX/FS9/P3D 2014-06-23 01:19:27 +02:00
Klaus Basan
568fc46003 Fix after merge with latest master, renamed method 2014-06-23 01:19:25 +02:00
Klaus Basan
b058aac405 refs #267, samples for model matching 2014-06-23 01:19:23 +02:00
Klaus Basan
c2ac46c85e refs #267, model mappings backend class (used in context)
* interface
* implementation for vPilot mapping files
2014-06-23 01:19:22 +02:00
Klaus Basan
b8390f470c refs #267, extended ICAO class 2014-06-23 01:19:20 +02:00
Klaus Basan
426dd4a09e refs #267, classes for model matching
* extended model class, refactored model class
* new mapping classes: value class / list
2014-06-23 01:19:18 +02:00
Klaus Basan
dbc3339599 Fixes in samples
* removed qSleep / dependency of Qt test libs
* QCoreApplication not required
2014-06-23 01:19:14 +02:00
Klaus Basan
f0a2bc4f65 Fixed .pro files, removed redundant c++11 config and enabled Q_COMPILER_INITIALIZER_LISTS 2014-06-23 01:19:12 +02:00
Roland Winklmeier
db1c04aaf8 Remove Qt::Tool window flag from IntroWindow
Qt::Tool causes the dialog to not have a symbol in the taskbar
2014-06-20 23:17:25 +02:00
Mathew Sutcliffe
0ca7c76932 refs #276 fixed invalid radio frequencies in default X-Plane data 2014-06-20 15:39:44 +01:00
Mathew Sutcliffe
fb2af10bb3 refs #276 using async dbus calls to improve responsiveness of the xplane sim driver 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
580b7edc35 refs #276 added async methods to CGenericDBusInterface 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
af1ededf9c refs #245 & #276 using variadic templates in CGenericDBusInterface 2014-06-20 15:39:42 +01:00
Roland Winklmeier
a0f0c31a7f Fix GUI cockpit component bug due to wrong frequency unit.
X-Plane is using kHz for COM frequencies, hence the default unit
was kHz. But the GUI cockpit component expects Mhz.
2014-06-20 12:30:18 +02:00
Mathew Sutcliffe
325af5b174 only link with the X-Plane SDK on Windows;
Linux and Mac use different means
2014-06-19 20:08:49 +01:00
Mathew Sutcliffe
41ce54377a link with the correct 32bit or 64bit X-Plane SDK library 2014-06-19 20:08:48 +01:00
Mathew Sutcliffe
1afef03c6d refs #210 workaround an apparent bug in 64bit MSVC by using a signed type for tuple flags
(using a smaller unsigned type also worked)
2014-06-19 20:08:28 +01:00
Mathew Sutcliffe
fbb89375da refs #210 added jsonName in Private::Attribute
* Explicit JSON name can be set for tuple members
* Names can still be extracted by preprocessor stringification if not explicitly set
* In both cases, names are embedded in Attribute metadata, so no need to call jsonMembers() in the value classes
2014-06-18 23:46:31 +01:00
Mathew Sutcliffe
11824206a1 refs #210 added Private::Attribute
* An Attribute contains a reference to a data member, plus some metadata
* Creates the concept of a "meta tuple", a tuple of Attribute objects
* New facilities in TupleConverterBase to be used inside the macro
* Flags allow individual data members to be selectively enabled or disabled depending on how the tuple is used
* Selective enable/disable is implemented by removing the indices of the flagged members from the index_sequence
2014-06-18 23:45:01 +01:00
Mathew Sutcliffe
e89d5add0b fixed crash in xbus 2014-06-18 19:10:17 +01:00
Mathew Sutcliffe
8e3af6b8ce removed unnecessary workaround for problem which was due to a misunderstanding 2014-06-17 21:23:07 +01:00
Mathew Sutcliffe
fed270c068 Don't try to compile FSX driver for 64 bits.
This requires moving the config DEFINES into build.pri,
because projects include build.pri after config.pri,
and build.pri detects the WORD_SIZE.
2014-06-17 21:22:30 +01:00
Mathew Sutcliffe
976de540e8 refactored 32/64bit detection in qmake files to avoid duplication 2014-06-17 21:20:20 +01:00
Mathew Sutcliffe
072667b3b4 fixes #269 added parameter to CDBusServer constructor to choose a different service name,
allows two servers running on the same bus, needed when running xbus and sample_blackcore
2014-06-17 21:20:15 +01:00
Mathew Sutcliffe
c4a0207e4f refs #268 we can set the ICAO code of the CAircraft here 2014-06-17 21:19:00 +01:00
Mathew Sutcliffe
f430b65d39 refs #268 slots in XBus::CService to detect whether the aircraft is on the ground 2014-06-17 21:18:59 +01:00
Mathew Sutcliffe
19927ab9d4 refs #268 CSimulatorXPlane gets and sets radios and transponder via CXBusServiceProxy 2014-06-17 21:18:59 +01:00
Mathew Sutcliffe
48a4bfdd10 refs #268 initialize CFrequency from an int,
useful in combination with c++11 braced initializer lists,
which do not perform implicit conversion of argument types
2014-06-17 21:18:58 +01:00
Mathew Sutcliffe
b21adbe498 refs #268 added XBus::CService methods to get and set radios and transponder 2014-06-17 21:18:58 +01:00
Mathew Sutcliffe
4ebb03bd0d refs #268 populated CSimulatorXPlane with the implementation code to connect to XBus and get the aircraft situation and model via CXBusServiceProxy 2014-06-17 21:18:57 +01:00
Mathew Sutcliffe
271c973f6e refs #268 slots in XBus::CService to get the model strings 2014-06-17 21:18:56 +01:00
Mathew Sutcliffe
df67c249df refs #268 added DBus proxy object for XBus::CService 2014-06-17 21:18:56 +01:00
Mathew Sutcliffe
7d29049326 refs #268 added empty CSimulatorXPlane implementation of ISimulator, ready to be populated with code 2014-06-17 21:18:55 +01:00
Mathew Sutcliffe
4ed35ad539 refs #268 we can support X-Plane 8, 9, 10, and probably future versions, so CSimulatorInfo shouldn't specify a version 2014-06-17 21:18:55 +01:00
Mathew Sutcliffe
854b11ef10 refs #248 doxygen 2014-06-17 21:18:49 +01:00
Mathew Sutcliffe
ae5ce81d7f refs #248 fixed a GCC warning 2014-06-17 18:22:52 +01:00
Mathew Sutcliffe
edec05e41a refs #248 added actual XBus::CService class which is registered with DBus and provides access to the sim data 2014-06-17 18:22:51 +01:00
Mathew Sutcliffe
2393674088 refs #248 C++ API wrapper for the X-Plane Plugin SDK's C API for accessing datarefs 2014-06-17 18:22:50 +01:00