Commit Graph

17 Commits

Author SHA1 Message Date
Klaus Basan
b949a2635b Doxygen fixes 2014-07-11 01:20:33 +02:00
Klaus Basan
d9a1c0cc8c refs #287 Thread safety, fix "memory access violation"
* some improved comments and information
* QMetaObject::invokeMethod in tool.cpp as thread safe invocation
* common base class for threaded readers
* removed event class, using QMetaObject::invoke instead for forcing calls in main event loop
* stop methods for readers, as used for graceful shutdown (preparing for thread safe destruction of objects)
* graceful shutdown for network context
* calls in tool now via inkoke for thread safety (only thread safe methods called directly)
2014-07-11 01:15:18 +02:00
Klaus Basan
88c656ee61 refs #273, runtime context
* added send status message for convenience
* order in graceful shutdown
2014-06-28 18:02:17 +02:00
Mathew Sutcliffe
fede3fc4c7 refs #270 don't call CRuntime::gracefulShutdown from a different thread;
connect it to the QCoreApplication::aboutToQuit signal instead
2014-06-25 23:18:10 +01:00
Mathew Sutcliffe
81c6805822 refs #246 refactored isSlotLogForNetworkEnabled conditionals into CRuntime 2014-06-14 16:52:44 +01:00
Mathew Sutcliffe
26c270c9a6 refs #246 passing c++11 brace-initialized QStringList to CRuntime::logSlot 2014-06-14 16:52:44 +01:00
Klaus Basan
dac556c6e9 refs #262, fix update of aircraft position
Described here (3): https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Also renamed: setOwnAircraftAvionics -> setOwnCockpit to be consistent
* Removed outdated methods
2014-06-09 14:44:19 +02:00
Klaus Basan
e0b06e1555 refs #250, helper methods
* in aircraft class to compare COM
* in context / runtime component to check vitality of core
2014-06-09 14:42:37 +02:00
Klaus Basan
8236617fbc refs #242, context object from runtime 2014-06-09 14:42:25 +02:00
Klaus Basan
444aec4c8a refs #242, added aircraft context to runtime 2014-06-09 14:42:21 +02:00
Klaus Basan
2b07012e4f refs #199, fixed issues 7-14 of https://dev.vatsim-germany.org/issues/199
On top fixed bug for core mode in main.cpp
2014-04-17 00:10:03 +02:00
Klaus Basan
9f2e3a7c9d refs #205, using DBus address with runtime
# added further CRuntimeConfigs for remote audio
# fixed delete as in https://dev.vatsim-germany.org/issues/199 13
# fixed left-over from Proxy to server signals refs #199
2014-04-17 00:09:59 +02:00
Klaus Basan
6580ec48d5 refs #199, further slot logging for network / simulator , added log method for bool values 2014-04-17 00:09:54 +02:00
Klaus Basan
552e4129bb refs #199, just code formatting 2014-04-17 00:09:34 +02:00
Klaus Basan
426ad6a8ce refs #199, methods to enable / disable signal and slot logging in runtime 2014-04-17 00:09:27 +02:00
Klaus Basan
679b34c7f4 refs #199, cleaned up contexts a bit after rebasing to current master
* friend CRuntime on top
* fixed some public constructors (made protected)
* Also made registerWithDBus protected
* Fixed some copy/paste issues in getIContextXXX
* Reordered private/public sections
2014-04-17 00:06:05 +02:00
Klaus Basan
4441b44d53 refs #199 , the context runtime now can be initialized for local and for remote objects.
* In order to configure how a context is deployed, a runtime config object has been added
* Context now only can be obtained from the runtime, the constructors of contexts will be no longer public
* The runtime is responsible for connecting signal/slots among contexts
* The runtime reads the settings
2014-04-17 00:05:44 +02:00