Klaus Basan
adeea182da
Ref T261, provider support for CG/elevation update
2018-05-08 16:06:44 +02:00
Klaus Basan
d390116666
Relay when simulator isAvailable, otherwise FSX/P3D misses all calls when loading scenery or paused
2018-05-08 16:06:42 +02:00
Klaus Basan
eb0fa92e7e
Ref T260, function to add an offset to received situations for testing
...
* "dot" command
* context function
* provider functions
2018-05-08 16:06:40 +02:00
Klaus Basan
e97de13545
Ref T260, adjusted context/remote provider
...
* signal from simulator -> context
* return number of updated situations
2018-05-08 16:06:38 +02:00
Klaus Basan
056c257182
Ref T260, utility functions to set provider, plane ctor
2018-05-08 16:06:34 +02:00
Klaus Basan
c1ac229875
Formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
66b661fe9c
Ref T259, Ref T243 added number of parts/situations and last modified timestamp
...
* the spline interpolator might need the timestamp to create a new interpolant
* number of parts/situations is for info only
2018-04-13 23:37:44 +02:00
Klaus Basan
9abc57bb3d
Ref T259, Ref T243 remove aircraft parts and situations from interpolator
...
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly
Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
7a05a5ae3a
Formatting, minor fix
2018-04-13 23:37:23 +02:00
Klaus Basan
0c06ac26f7
Ref T259, Ref T243 removed interpolation hints
...
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
07589e8219
Avoid redundant update of model set ui
...
* added changed simulator in signal
* only changed once when cache changed
2018-04-13 23:36:45 +02:00
Klaus Basan
3b9a732fff
Ref T259, Ref T243 relay interpolation setup via context (DBus)
2018-04-13 23:36:43 +02:00
Klaus Basan
4b7237ce1b
Ref T259, Ref T243 adjusted providers to use common base classes
2018-04-06 02:56:57 +02:00
Klaus Basan
ad71a67a44
Fixes completer (model strings), show correct placeholder when simulator is changed
2018-04-05 02:54:48 +02:00
Klaus Basan
2a0b81de5b
Ref T259, Ref T243 client provider used with network classes
...
Also adds a dummy testing class
2018-04-05 02:54:46 +02:00
Klaus Basan
f64a4c432b
Ref T259, Ref T243 client provider used to share info about the other clients
...
Goal: this info can be used in interpolation to decide if ground flags, parts etc are available
2018-04-05 02:54:42 +02:00
Klaus Basan
42ef7c5633
Avoid long "hanging" if Windows UNC path is not reachable
...
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00
Klaus Basan
d7ac721d09
Ref T259, Ref T243 setSimulationEnvironmentProvider when simulator changes
2018-04-05 02:54:36 +02:00
Klaus Basan
8021cf76fd
Ref T259, Ref T243 formatting
2018-04-05 02:54:30 +02:00
Klaus Basan
3e41a91455
Ref T131, verifyPrerequisites in simulator context (checking XP conflicts)
2018-04-05 02:53:40 +02:00
Klaus Basan
3f086e1d52
Allow to display position logs also in the console window
...
* added requestUiConsoleMessage
* utility functions
2018-04-05 02:52:38 +02:00
Klaus Basan
8dc25fbad7
Allow to alter model set simulator in pilot client
...
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +01:00
Klaus Basan
ccd7c477e2
Ref T246, unified signal handling in model caches and loader
...
* setSimulator as checked, simulatorChanged as unchecked version
* some renamings
* made some functions private, turned public slots -> public
2018-02-10 01:33:48 +01:00
Klaus Basan
887d1ec401
Ref T246, some upfront formatting
2018-02-09 04:43:54 +01:00
Klaus Basan
10f942e702
Formatting, minor tweaks
2018-02-09 04:43:45 +01:00
Klaus Basan
bb65b7c280
Ref T226, renamed to swiftDbAllDataRead
2018-02-02 21:26:52 +01:00
Klaus Basan
bdda413386
Ref T231, Ref T236, Ref T238 made command parsing function mandatory for contexts
...
* we can send commands to any context
* to send to all contexts use the facade
* application relays to facade
2018-01-30 20:34:55 +01:00
Klaus Basan
301eb79eca
Renamings and adjustments of developer flag
2018-01-30 20:34:50 +01:00
Klaus Basan
5829917694
Ref T89, signal when server (flight network) connects
...
* server contains the ecosystem
* connect server signal with web data services (so ecosystem is available)
2018-01-30 20:34:38 +01:00
Klaus Basan
81ea636bc0
Assert / formatting
2018-01-30 20:31:41 +01:00
Klaus Basan
d118ea402f
Ref T232 clear remote aircraft data once network disconnects
...
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
a3bbb72185
Simplify (remove duplicate spaces) text messages
2018-01-30 20:30:46 +01:00
Klaus Basan
c1ee159ff9
Ref T232, some formatting
...
* made "private slots" -> "slots"
* cross context slots marked with "xCtx" prefix
2018-01-30 20:30:14 +01:00
Roland Winklmeier
704068d299
Add methods to receive and write raw FSD messages
...
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.
Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Roland Winklmeier
7edcc02f15
Return the plugin info of the emulated simulator rather than emulated itself
2018-01-22 14:07:02 +01:00
Klaus Basan
8bb47a555c
Formatting comments and "private slots" -> "private"
2018-01-15 22:50:26 +01:00
Roland Winklmeier
de4fe44156
Fix sending the correct pressure altitude for a pilot position
...
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.
Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Klaus Basan
728b3c0473
Formatting
2018-01-14 18:46:21 +01:00
Klaus Basan
9f79923848
Ref T219, removed unused signal webServiceDataRead
...
Remark: Can be directly used from web data services
2018-01-14 18:46:19 +01:00
Klaus Basan
2c5a6c0a3a
Ref T218, renamed some functions of CIdentifier
2018-01-14 18:45:48 +01:00
Klaus Basan
23f48a866d
Display VATLIB version in "about swift"
2018-01-14 18:45:45 +01:00
Klaus Basan
26b5a6ce28
Found during T215, rectify CIdentifier issues
...
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Roland Winklmeier
d68f678cc5
Upgrade to vatlib v0.9.7
2018-01-13 05:04:21 +01:00
Klaus Basan
0f8bbbbfc2
Ref T210, adjusting classes to use new functions
2017-12-21 19:49:52 +01:00
Klaus Basan
93909171b6
Ref T192, init for P2P via CDBusServer::coreServiceName(connection)
2017-12-21 19:47:03 +01:00
Klaus Basan
cc35619bbe
Ref T192, onConnectionTerminated was never fired and hence removed
2017-12-21 19:46:57 +01:00
Klaus Basan
63fbeecc00
Ref T192, formatting and minor tweaks
2017-12-21 19:46:33 +01:00
Klaus Basan
1386fcd0db
Ref T192, fqn for status enum
2017-12-21 19:46:29 +01:00
Klaus Basan
8103df18f7
Ref T195, formatting
2017-12-21 19:45:46 +01:00
Klaus Basan
31237b758e
Ref T195, audio utility function
2017-12-21 19:45:41 +01:00