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
6e3b081fd2
refs #198 , refs #199 adjusted samples
2014-04-17 00:06:02 +02:00
Klaus Basan
4e8e2eb0d4
refs #198 , using settings with GUI
2014-04-17 00:06:00 +02:00
Klaus Basan
c43c3eed3c
refs #199 , adjusted GUI to new runtime. The central change is in mainwindow_init, where no longer own context pointers will be used, but an own runtime object.
2014-04-17 00:05:59 +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
4a180fc27f
refs #198 , updated network settings so they can read/write JSON and be used with persistent settings
2014-04-17 00:05:56 +02:00
Klaus Basan
f3148fdd49
refs #198 , changed keyboardkey classes so they can be initialized either by read settings or default values
2014-04-17 00:05:55 +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
2a0514fff9
refs #198 , added utility methods for read/write settings
2014-04-17 00:05:52 +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
d6191e97a0
refs #199 , moved operator for enum/DBus to own file. This operator is not CValueObject specific.
2014-04-17 00:05:42 +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
903ddf7841
fixed compiler warnings detected by jenkins build server
2014-04-07 15:47:12 +01:00
Mathew Sutcliffe
2f8efe5c3b
refs #179 updated sample_cli_client to recent changes in INetwork
2014-04-03 23:08:09 +01: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
Mathew Sutcliffe
f4a4eddca2
refs #48 value class for flight plans
2014-04-03 23:06:52 +01:00
Roland Winklmeier
6448ff65fd
Fix linker error by adding specific sources files
...
This is a temporary workaround, since some files in subfolder
fsx are build into the plugin and some are build in any case.
2014-04-01 15:56:25 +02:00
Roland Winklmeier
c4d3e85664
Build subfolder FSX only when enabled in the config.
2014-04-01 15:18:02 +02:00
Mathew Sutcliffe
f601334ffa
refs #192 tweaking include order and moving some JSON things into global namespace
...
so that we invoke ADL instead of relying on a particular include order
2014-03-31 23:48:39 +01:00
Mathew Sutcliffe
8405049a85
refs #140 added streaming for tuples to QDebug
2014-03-31 23:48:38 +01:00
Mathew Sutcliffe
a34357603d
integration fixes for JSON to be compatible with the nested tie workaround for tuples with more than 10 members
...
refs #202 , #192 & #182
2014-03-31 22:36:02 +01:00
Mathew Sutcliffe
f8d991ec04
tuples: make the fake variadics more simple by sharing more code with the real variadics
2014-03-31 22:35:42 +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
7f333da322
Adapted basic interpolator tests
...
refs #169
2014-03-30 13:46:10 +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
Roland Winklmeier
dd2e212f92
Add value object CAircraftSituationList
...
refs #169
2014-03-30 13:45:04 +02:00
Roland Winklmeier
f9519b7db8
Remove deprecated interpolator sample
...
refs #169
2014-03-30 13:45:03 +02:00
Mathew Sutcliffe
c847237505
Using nested tie to workaround implementations with a maximum tuple size of 10.
...
refs #182
2014-03-28 17:07:36 +00:00
Mathew Sutcliffe
e1e024e62e
Change compare to be recursive in the case of nested calls to tie.
...
refs #182
2014-03-28 17:04:50 +00:00
Mathew Sutcliffe
1dfb406d54
Replaced std::tie with BlackMisc::tie, to help workaround tuples with more than 10 members.
...
This required some changes to the signatures of compare, qHash, and stream operators.
refs #182
2014-03-28 17:02:49 +00:00
Mathew Sutcliffe
6cf5089b18
minor style improvement:
...
traits class should have a static const bool value member
2014-03-28 17:00:51 +00:00
Mathew Sutcliffe
bfce2d186f
removing/simplifying uses of enable_if for JSON streaming operators
2014-03-28 15:03:56 +00:00
Mathew Sutcliffe
3ac59f0872
fixing typos, doxygen, and style from #192
2014-03-28 15:02:47 +00:00
Roland Winklmeier
c02e2732ff
Enable auto tests for test_blackmisc and test_blackcore
...
make check will run them automatically now.
2014-03-27 14:52:43 +01:00