Klaus Basan
5a15e74f63
Ref T241, misc. logger improvements
...
* string formatting of logger info
* display longer in simulator
* better formatting of message
2018-02-05 03:45:25 +01:00
Klaus Basan
78711487a6
Ref T241, moved inner logger classes out CInterpolationLogger
...
Reason: More options, such as forward declaration
2018-02-04 09:00:23 +01:00
Klaus Basan
bb65b7c280
Ref T226, renamed to swiftDbAllDataRead
2018-02-02 21:26:52 +01:00
Klaus Basan
cd5fdfaf14
Ref T231, Ref T236, Ref T238 improved logging of situation/parts logging
...
* "dot" commands to log parts/situations
* log can also be displayed in simulator (if simulator can display text messages)
* fixed missings locks for m_interpolationRenderingSetup
* more detailed output
* renamings
* using hints in log
2018-01-30 20:35:05 +01:00
Klaus Basan
897a6f301f
Ref T232, aircraft can be re-added or removed via "dot-commands"
...
* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
2018-01-30 20:31:59 +01:00
Klaus Basan
3ee5e68054
Ref T238, comments and formatting
2018-01-30 20:31:56 +01:00
Klaus Basan
b76a82398f
Ref T231, "dot" command to display position in simulator
2018-01-30 20:31:32 +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
dac1ee85f9
Ref T232, some (dispatch) timer code was duplicated
...
* fixed a bug, where a non existing timer was killed
* unified code in base class
2018-01-30 20:30:20 +01:00
Klaus Basan
fd62ef80e0
Ref T180, formatting and renaming of member/function
2017-11-09 04:42:08 +01:00
Klaus Basan
be8598e708
Ref T180, clear hints when all aircraft are cleared
2017-11-05 20:02:31 +01:00
Klaus Basan
d5bb1733f4
Ref T180, formatting / const
2017-11-04 16:03:40 +01:00
Klaus Basan
6e39b69933
Ref T171, locker for interpolator/rendering setup.
...
Actually this was missing, in other parts the lock was already used.
2017-10-18 22:58:52 +02:00
Klaus Basan
dafb3b0569
Ref T171, allow opening the interpolation log dir by command
2017-10-18 22:58:42 +02:00
Klaus Basan
418d0aa628
Ref T171, Ref T136, removed the remote provider's "remove aircraft part", as it is not used:
...
* remove is handled by context call logicallyRemoveRemoteAircraft
* so far no need to use the remote provider function
* can be used again whenever needed
2017-10-18 22:58:36 +02:00
Klaus Basan
bef47bf8ed
Ref T171, Ref T136, moved statistics counter to base class
...
* removed from emulated driver
* since we have the remote access providers functions, the counter functions have been moved to the base class. Therby we can use them for all drivers.
2017-10-18 22:58:35 +02:00
Klaus Basan
32398ce90a
Ref T171, Ref T136, check remote aircraft provider calls for connection
2017-10-18 22:58:31 +02:00
Klaus Basan
b6333e69d8
Ref T171, made remote aircraft provider and web service "protected slots" -> "protected"
...
* Unlike in other cases, the remote aircraft provider slots are also very frequently called. So besides "style", it might be also useful here to avoid the extra MOC layers.
* Also renamed 2 web service signals and made web service connections Qt::QueuedConnection
2017-10-18 22:58:24 +02:00
Klaus Basan
61a23d700b
Ref T171, driver formatting
2017-10-18 22:58:22 +02:00
Klaus Basan
2b3b173b76
Default calculation of distance/bearing for airports. Follow up of the discussion in slack/during T125
...
Summary: Default calculation of distance/bearing for airports.
Reviewers: msutcliffe, rwinklmeier
Reviewed By: msutcliffe, rwinklmeier
Subscribers: jenkins
Maniphest Tasks: T125
Differential Revision: https://dev.swift-project.org/D48
2017-09-24 19:53:31 +01:00
Klaus Basan
8bffc9b598
Ref T111, default implementation for physicallyRemoveAllRemoteAircraft() in CSimulatorCommon::physicallyRemoveAllRemoteAircraft().
2017-09-24 19:51:21 +01:00
Klaus Basan
d597dcec15
Ref T111, improved dot commands (e.g. ".drv") handling
...
* register help implementation to .cpp file
* tooltip HTML formatting
2017-09-24 19:51:17 +01:00
Klaus Basan
ba31171a10
Ref T111, allow to alter plugin info (needed for dummy driver)
2017-09-24 19:51:12 +01:00
Klaus Basan
29e1d54e05
Ref T111, some fixes in the vicinity of plugin / drivers
...
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Klaus Basan
bd67824ce6
Ref T27, utility functions for debug messages
2017-09-24 19:48:56 +01:00
Klaus Basan
39bd8aa2bb
Formatting
2017-09-24 19:48:53 +01:00
Klaus Basan
6d26c96569
Ref T27, preparation for refactoring, turned private slots into normal member functions
...
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
f34e80ea62
refs #935 , avoid issues when shutting down
2017-04-19 19:31:02 +01:00
Klaus Basan
277837bb30
refs #916 , dot command for interpolator mode
2017-04-18 00:01:03 +01:00
Klaus Basan
38ea336cbb
refs #894 , register dot commands for help
...
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Mathew Sutcliffe
04ddd3bfa5
refs #863 Move interpolator logging into a separate class.
...
A single logger instance can be shared between multiple interpolator instances.
2017-02-24 15:22:34 +00:00
Mathew Sutcliffe
b8fc62a2a4
refs #863 Removed unused method.
2017-02-24 15:22:24 +00:00
Mathew Sutcliffe
a167cc8e43
refs #863 Each aircraft gets its own interpolator instance,
...
so each one can cache calculations from one frame to the next.
The recent situations and parts are members of the interpolator.
2017-02-24 15:22:22 +00:00
Mathew Sutcliffe
2181702c5c
refs #863 Change interpolation setup member to be a method parameter instead.
2017-02-24 15:22:21 +00:00
Klaus Basan
af15929b30
refs #865 , allow to enable interpolator/parts logging
...
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Roland Winklmeier
1a6c7fa192
Add control button to activate and deactivate swift weather
...
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon
refs #807
2017-01-10 23:47:39 +00:00
Klaus Basan
c609c555b4
refs #848 , parse command line in simulator
...
* added default implementation
* sims can override parseDetails for specific cmd lines
* enable/disable FSUIPC in fscommon part
* added useFsuipc(bool on)
2017-01-10 23:46:21 +00:00
Klaus Basan
667009c85e
refs #840 , moved interpolator classes into Simulation namespace
2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0
refs #840 , add support for interpolation hints
2017-01-10 23:45:25 +00:00
Klaus Basan
534b9fb09e
refs #840 , style and const-correctness
2017-01-10 23:45:24 +00:00
Klaus Basan
1f57f7ca61
refs #812 , use individual signals for web services
...
* trigger other operations directly when data have been read (do not wait for "all data read")
* avoid retriggering for no reason
* new entity flag for all data req. for model matching
2016-12-13 19:01:16 +01:00
Klaus Basan
10d43798b0
refs #811 , airports default implementation
...
* if no sim data are available use reader data
* merge airport data for FSX
* Added "network" in .pro (needed for network classes such as readers)
2016-12-13 19:01:15 +01:00
Klaus Basan
c4dd888fa7
refs #808 , added support for internals object
...
* initInternalsObject
* some formatting
2016-12-13 19:01:00 +01:00
Klaus Basan
2163fd9b01
refs #808 , CSimulatorInternals
...
* renamed from CSimulatorSetup to CSimulatorInternals
* removed the FSX class, no longer needed
* utility functions for CNameVariantPair
2016-12-13 19:00:58 +01:00
Klaus Basan
6a66ab84c2
Added log categories for driver/plugin
2016-12-13 19:00:54 +01:00
Klaus Basan
3903a24696
refs #806 , apply CInterpolationAndRenderingSetup
...
* removed no longer needed signatures
* some renaming of CInterpolationAndRenderingSetup functions
* adjusted UI element
2016-12-13 19:00:53 +01:00
Klaus Basan
6f1a6deefd
refs #796 , started to move rendering distance/max.aircraft to CInterpolationAndRenderingSetup
...
(this will allow to remove a lot of signatures in context/simulator interface)
2016-12-13 19:00:08 +01:00
Klaus Basan
42549760ed
refs #789 , support for aircraft out of FSX reality bubble
...
* such aircraft will be tried to be added again
* removed qeueud adding as it was not solving the problem
2016-12-13 18:59:54 +01:00
Klaus Basan
94d6b8d6b8
refs #789 , improvements to try to solve FSX issue in driver
...
* more asserts to find issues
* limit number of exceptions displayed
* reset() function (there was an issue with not cleaned up values)
* using CSimConnectObjects and adjustments for the previous changes
2016-12-06 09:47:07 +01:00
Klaus Basan
9deedf1e10
refs #789 , improvements when addressing FSX driver issue
...
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00