Commit Graph

38 Commits

Author SHA1 Message Date
Mathew Sutcliffe
bacf771a15 refs #297 Added new network settings. 2015-11-19 20:51:29 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Klaus Basan
e695987fa2 refs #432 Doxygen, formatting, added new file types in *.pro
Minor tweaks:
* GUI infobar minimum size
* toogle lock protected
* removed unused function
* ASSERT_X
* object name
2015-05-28 23:57:14 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
de43caf451 refs #420, refs #421 Adjusted FSX driver to emit correct status flags and unloading
* added unload function to disconnect signals / slots and simulator
* changed remote provider to return signal/slot connections to manually disconnect functor connects
* flag so pause can freeze or continue AI aircraft
* slightly changed unload behaviour in simulator context

Remark: Tested for FSX only
Solves #424 for FSX
2015-05-16 03:26:30 +02:00
Roland Winklmeier
a13d90ada4 refs #403 add BlackCore shared library build 2015-05-05 21:34:28 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Klaus Basan
269c65b578 As of workshop RW/KB, improved / fixed text messages
Also refs #351
* messages can be formatted with style sheet
* fixed: removed command from message
* added originator to command line
* msg parsing now in core
* using ITimestampBased for text messages and status messages
* allow to resize rows to content (view base)
* model / views for text messages
* removed old qt stylesheets
2015-03-20 17:10:58 +01:00
Klaus Basan
fe4613a868 refs #369, adjusted contexts to use own aircraft provider
* removed unused functions / signals
* removed no longer used members / update timers
* Pass provider to contructors
* no direct access to monitor in other contexts
2015-03-20 16:30:40 +01:00
Klaus Basan
8a43efca92 refs #350 Extra static function registerMetadata, so it can be called explicitly 2014-12-28 22:20:24 +01:00
Klaus Basan
9e5f228b08 using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
2014-12-28 22:20:09 +01:00
Klaus Basan
788078f72a refs #288, parseCommand in runtime, which distributes it to the contexts (easier, also for core command line) 2014-11-30 00:56:09 +01:00
Klaus Basan
594df164a2 * Remove unused members. Re-added by mistake during merge.
Discussed here: https://dev.vatsim-germany.org/boards/22/topics/2124?r=2138#message-2138
2014-11-30 00:52:02 +01:00
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Klaus Basan
9e23b0a2c0 refs #310, used empty network context with runtime/context base classes
* refactored to member initialization
* adjusted asserts
* adjusted isXXObject methods
* changed create method for ContextNetwork to support empty context
* empty status message used as return value in empty context
2014-10-08 19:11:33 +02:00
Mathew Sutcliffe
aef7135e28 refs #316 Removed old statusMessage signals and sendStatusMessage slots. 2014-10-04 22:16:56 +01:00
Mathew Sutcliffe
b1c74d81e5 refs #316 Removed old logging mechanism in contexts. 2014-10-04 22:16:53 +01:00
Mathew Sutcliffe
5d123f798a refs #316 Changed blackcore to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:43 +01:00
Mathew Sutcliffe
f311582c28 refs #315 Style 2014-08-19 21:54:23 +01:00
Mathew Sutcliffe
96ca38a3db refs #315 Removed old/deprecated CRuntime::logSlot, changed contexts to use new CRuntime::logSlot.
Network context was already using new CRuntime::logSlot as of commit:81c68058.
2014-08-19 21:37:20 +01:00
Mathew Sutcliffe
5c1b608391 refs #287 Doxygen "threadsafe" alias command 2014-07-11 17:53:45 +01:00
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