Commit Graph

26 Commits

Author SHA1 Message Date
Mathew Sutcliffe
ebab95dd06 refs #316 Application context relays messages over DBus between the CLogHandler instances of different processes. 2014-10-04 22:17:09 +01:00
Mathew Sutcliffe
eceb67c38f refs #316 Application context: removed old message handler. 2014-10-04 22:17:06 +01: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
Roland Winklmeier
f72ff4e495 refs #318 Add method in Application Context to process a remote event 2014-08-27 23:07:50 +02:00
Roland Winklmeier
fed035291f refs #313 doxygen 2014-08-19 15:30:05 +02:00
Roland Winklmeier
1adfd16ec9 refs #313 Application context acts as com layer between settings and InputManager 2014-08-19 15:29:55 +02:00
Mathew Sutcliffe
5c1b608391 refs #287 Doxygen "threadsafe" alias command 2014-07-11 17:53:45 +01:00
Klaus Basan
ecb2a6ff66 Doxygen fixes, improvements 2014-07-11 01:20:50 +02: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
Mathew Sutcliffe
9b27b93de0 refs #246 refactored construction of all remaining contexts into factory methods 2014-06-14 16:52:52 +01:00
Klaus Basan
3ae93190ae Round trip protection as described in (4)
https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Individual context id
* Allows to connect >1 GUIs with core, works for cockpit so far
2014-06-09 14:44:26 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
7930560be6 refs #209, fileExists method (remote enabled) 2014-04-17 00:11:57 +02:00
Klaus Basan
3c42a91596 refs #199, removed context_application_base (moved to IContext application)
* as discussed under 4, and in the meeting https://dev.vatsim-germany.org/boards/22/topics/1671?r=1676#message-1676
2014-04-17 00:11:56 +02:00
Klaus Basan
7e45a92969 refs #209, added remove file method to application context and some finetuning of the file methods 2014-04-17 00:11:51 +02:00
Klaus Basan
d58be30600 refs #207, added remote file read/write
* write simconnect.cfg either local or remote
* update in GUI to use new methods
2014-04-17 00:11:43 +02:00
Klaus Basan
4776b1e650 refs #199, removed reEmitSignal for time being.
* Discussion: https://dev.vatsim-germany.org/issues/199#note-11
* Turned widgetGuiStarted / Terminated in more generic method
2014-04-17 00:09:51 +02:00
Klaus Basan
60fc8b7074 refs #199, featuring proxy to server side DBus signals.
So far we only could send server to proxy side signals, causing inconsistencies between remote and local contexts
2014-04-17 00:09:32 +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
77fd3bcd70 refs #199 , adjusted context classes
* removed usingLocalObjects() now in CContext
* removed getRuntime() now in CContext
* Constructors no longer public, context can only be obtained via runtime object
* runtime class is friend class
2014-04-17 00:05:47 +02:00
Klaus Basan
8d5e06a439 refs #199 and refs #198, formatting / Doxygen as preparation for some refactoring.
Also added new icon as application and table view icon.
2014-04-17 00:05:41 +02:00
Roland Winklmeier
1e8a2a5b01 Refactored inheritance hierarchy of ContextApplication
refs #85
2014-03-11 21:26:19 +01:00
Klaus Basan
ee43f5598d new contexts
refs #81
2014-01-09 01:15:59 +00:00