Commit Graph

27 Commits

Author SHA1 Message Date
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
f94fb8e7fb Use Qt::QueuedConnection for cross context (xCtx) to decouple 2018-05-08 16:06:41 +02:00
Klaus Basan
dcc348c9d9 Ref T260, correctly set simulation environment provider 2018-05-08 16:06:34 +02: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
Klaus Basan
8bb47a555c Formatting comments and "private slots" -> "private" 2018-01-15 22:50:26 +01:00
Klaus Basan
d2b84af1b6 Ref T192, use BLACK_VERIFY 2017-12-21 19:47:00 +01:00
Klaus Basan
9cb06c4d56 Ref T192, DBus utility functions, Service name empty for P2P 2017-12-21 19:46:51 +01:00
Klaus Basan
d01893a18a Ref T192, formatting 2017-12-21 19:45:32 +01:00
Klaus Basan
22c34f4e23 Ref T189, "private slot" -> "private" 2017-12-21 19:44:52 +01:00
Mathew Sutcliffe
0cf6034a29 Don't use member access notation to call static methods. 2017-10-10 00:56:54 +01:00
Klaus Basan
988a4791ab Ref T167, improved tryToReconnectWithDBus
* use exit to abort (close might fail)
* core facade init() now private
* CCoreFacade::getDBusAddress
* display DBusAddress
2017-10-10 00:27:14 +01:00
Klaus Basan
ed51d3c5dd Ref T167, allow to re-init facade
(a first approach to reconnect with DBus core)

* Changes are supposed to be backward compliant. Maybe re-init fails, but there should be no regression for the 1st init
* keep config as member to allow restart
* disconnect from DBus before connecting (allows reconnect)
* delete contexts if they are re-created
* function CCoreFacade::tryToReconnectWithDBus
2017-10-10 00:27:06 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
c5381b01c6 Ref T166, fixed parse command line: audio context can be empty 2017-09-29 23:26:23 +02:00
Klaus Basan
71fa0fc7b8 Ref T111, handle SELCAL in simulator context (fix, was missing so far) 2017-09-24 19:51:59 +01:00
Klaus Basan
d918ee4cfd refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
2017-02-24 15:21:54 +00:00
Klaus Basan
17b9d95a8a refs #849, connect cross context signals to update statistics 2017-01-10 23:47:03 +00:00
Klaus Basan
15020b2d5f refs #848, parse command line in simulator context
* forward to driver if applicable
* hook up with facade to receive command lines
2017-01-10 23:46:20 +00:00
Klaus Basan
ec5bbc37ad refs #801, shutdown flag in runtime
(can be used to skip functions/tasks no longer make sense during shutdown)
2016-12-13 19:00:03 +01:00
Klaus Basan
72fdf7c5bc refs #793, added function to reset model (after it was manually changed)
* located in context since context owns matcher object
* call from GUI
* some code formatting to indicate the cross simulator slots connected in runtime

refs #780
2016-12-06 09:34:56 +01:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Klaus Basan
83eca195a8 refs #702, access to reverse lookup log messages per callsign
* added functions in airspace / context
* allow to retrieve "aircraft in range" callsigns
2016-07-14 18:49:05 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00
Mathew Sutcliffe
d7a63c15d4 refs #644 Move initial settings load to CApplication::start. 2016-04-27 18:30:28 +01:00
Klaus Basan
96913c6dc1 refs #485, load settings in core facade
Idea: settings will be automatically available
2016-03-18 01:08:18 +00:00
Klaus Basan
d9aac6427b refs #485, renamed (CContextRuntime) to CCoreFacade
https://dev.vatsim-germany.org/issues/485#note-6
2016-03-18 01:07:58 +00:00