Commit Graph

2587 Commits

Author SHA1 Message Date
Klaus Basan
20ad5d39ce refs #199, simplified initialization of runtime 2014-04-17 00:09:42 +02:00
Klaus Basan
8fc2c5c8a6 refs #199, graceful shutdown of a runtime 2014-04-17 00:09:40 +02:00
Klaus Basan
f72cd21ce0 refs #199, implementation of signal and slot logging in runtime 2014-04-17 00:09:37 +02:00
Klaus Basan
8f9b0d702c refs #199, removed Q_ASSERT as nullptr shall be a valid return value for non-existing contexts 2014-04-17 00:09:35 +02:00
Klaus Basan
552e4129bb refs #199, just code formatting 2014-04-17 00:09:34 +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
760376d848 refs #199, convenience methods for easier initializations 2014-04-17 00:09:30 +02:00
Klaus Basan
8b8a1d44b3 refs #199, added unique id to context.
A unique id allows to detect roundtrips when redirecting output (qDebug, qWarning)
2014-04-17 00:09:29 +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
673c4eb999 Fixing plugin directory message 2014-04-17 00:09:26 +02:00
Klaus Basan
94ed481b25 refs #199 , fail safe method to register contexts with DBus server, easer way to initialize in runtime 2014-04-17 00:09:23 +02:00
Klaus Basan
e7c9d7d294 refs #199 , method to unregister DBus objects for a graceful shutdown of our DBusServer 2014-04-17 00:09:22 +02:00
Klaus Basan
62109ac7f3 refs #199 , removed statusMessage sending and log from all contexts but application context
Goal: Single place to send status messages and log -> application context
2014-04-17 00:09:19 +02:00
Klaus Basan
7b7fbee4c3 refs #199, code formatting and Doxygen, icons, comments, typos 2014-04-17 00:09:12 +02:00
Klaus Basan
16b9c714af refs #199, direct access to other context convenience methods 2014-04-17 00:09:10 +02:00
Klaus Basan
dc1e08b312 refs #199, integration with latest simulator context
* Fixed warning HRESULT hr = S_OK; uint/int warning
* loadPlugins in constructor
* init removed, wiring in runtime class
* Using getRuntime to refer to other contexts
* Fixed reading of plugins, with no exisiting "plugin" dir this did hang
2014-04-17 00:08:59 +02:00
Klaus Basan
661db4356c refs #199, fixed merge issue, overlooked HEAD line 2014-04-17 00:06:06 +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
fad31aa09a refs #198, enabled settings context to read / write JSON settings from/to file 2014-04-17 00:05:58 +02:00
Klaus Basan
6327c3a1cb refs #198 , made DBus address static, so it can be used elsewhere in the settings 2014-04-17 00:05:54 +02:00
Klaus Basan
0d53d44157 refs #199 , refs #85 Moved specialized value method into right place (impl, not proxy - it is a receiver method)
This specialized method can be removed with refs #116
2014-04-17 00:05:51 +02:00
Klaus Basan
3c23963a25 refs #199 , init removed
cross context wiring should be done in the runtime class.
2014-04-17 00:05:50 +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
0b033fdcac refs #199 , context base class to simplify handling
* usingLocalObjects() now derived from runtime config, no need to override it in contexts
* getRuntime in base class, no longer to implement it in each context class
2014-04-17 00:05:46 +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
Klaus Basan
8603bc1cb0 refs #199, renamed coreruntime to context_runtime 2014-04-17 00:05:43 +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
Klaus Basan
cf009d7b17 refs #198, renaming of method (for consistency) and Doxygen/formatting only 2014-04-17 00:05:39 +02:00
Roland Winklmeier
54fe898ff8 Fix crash when a plugin with a different interface
is found
2014-04-13 18:40:19 +02:00
Mathew Sutcliffe
37296e1822 refs #179 & #147 Added INetwork methods getStatusUrls and getKnownServers.
Added CServer member isAcceptingConnections.
2014-04-03 23:08:09 +01:00
Mathew Sutcliffe
da5a42c556 refs #179 sendCustomPacket slot and customPacketReceived signal 2014-04-03 23:08:07 +01:00
Mathew Sutcliffe
fde307e661 refs #179 don't call terminate from onKicked, as the shim lib does this now 2014-04-03 23:08:05 +01:00
Mathew Sutcliffe
6558052757 refs #179 using the correct capabilities string constant for stealth mode 2014-04-03 23:08:03 +01:00
Mathew Sutcliffe
8e732b1ad6 refs #179
added ConnectionStatus enum values DisconnectedFailed and DisconnectedLost
added extra argument to connectionStatusChanged signal, containing the socket error message
2014-04-03 23:08:01 +01:00
Mathew Sutcliffe
b4256298e7 refs #48 INetwork sending flight plans 2014-04-03 23:06:54 +01:00
Roland Winklmeier
dec49dba7f Moved FSX specific implementation into blacksim/fsx and
converted it into a plugin.

refs #190
2014-03-30 14:49:22 +02:00
Roland Winklmeier
05d96fa48d Connect CContextNetwork with CContextSimulator
refs #186
2014-03-30 14:47:22 +02:00
Roland Winklmeier
6439431030 Add methods to add and remove remote aircrafts/situations
Extend gear to 100 % by default. Aircraft is default B737
refs #186
2014-03-30 14:47:21 +02:00
Roland Winklmeier
08fd9a5cbc Add data definition for remote aircraft and configuration
refs #186
2014-03-30 14:47:21 +02:00
Roland Winklmeier
00356bbef6 Linear interpolator implementation
refs #169
2014-03-30 13:46:10 +02:00
Roland Winklmeier
fcbbe694ec Refactored Interpolator to be an abstract interface class
CInterpolator is now an IInterpolator interface. Sublcass in order
to implement different types of interpolation.

refs #169
2014-03-30 13:45:04 +02:00
Klaus Basan
bbb4ddbaef refs #196, fixed wrong inits with ModeS instead of StateStdby (Transponder) 2014-03-27 01:55:19 +01:00
Klaus Basan
948947f8d7 Fixed conversion of new Cvatlib_Network::connStatus_ConnectionLost: 2014-03-26 19:50:52 +01:00
Mathew Sutcliffe
cc98a86e42 moved metarReplyReceived to the correct section (weather signals) 2014-03-22 17:47:10 +00:00
Klaus Basan
b1a5ada3a4 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-03-12 02:28:50 +01:00
Klaus Basan
1dbb44d31d refs #85 , removed xml files (DBus) 2014-03-12 02:25:05 +01:00
Klaus Basan
f2364692e3 refs #145, fixed some .pro/.pri files to new style 2014-03-12 02:23:34 +01:00
Roland Winklmeier
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +01:00
Roland Winklmeier
200c2612e5 Fixed typo introduced by former shimlib (corrected in shimlib 0.4.15) 2014-03-11 22:28:04 +01:00
Roland Winklmeier
5cac09f625 Fixed issues arised after merge
- wrong namespace in newly created headers
- wrong includes
- Fixed members in CKeyboardKey
- Fixed CKeyboardKey unit test
2014-03-11 22:24:25 +01:00