Commit Graph

602 Commits

Author SHA1 Message Date
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
Roland Winklmeier
f1bf03067b Test executables should return instead of entering the event loop. The
test cases itself will run their own event loop anyway.
2014-03-27 14:51:58 +01:00
Roland Winklmeier
187dc04499 Fix copy command for unix platforms when parent folder does not exist 2014-03-27 14:50:37 +01: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
2c5b84beb4 Fixed gcc warning unused variable 2014-03-27 01:41:20 +01:00
Klaus Basan
d4f1221665 refs #197, unit test and preliminary fix for nullUnit comparison 2014-03-27 01:16:14 +01:00
Klaus Basan
5bdb8659ca refs #196, encapsulated transponder mode selection (combo box)
* promoted QComboBox in GUI
* features automatic reset for ident
* Conversion to CTransponder::TransponderMode from string
2014-03-27 01:13:19 +01:00
Klaus Basan
a4e6f0e20c refs #196, secondary GUI subproject for #151 2014-03-27 01:11:32 +01:00
Klaus Basan
e1e4fbb449 Fix for include of windows.h , as discussed
* Meeting 2014-03-25
* here https://dev.vatsim-germany.org/issues/185#note-4
2014-03-26 21:31:40 +01:00
Klaus Basan
5b11de4da0 refs #192 , minor fixes after integration of #126 2014-03-26 21:28:25 +01:00
Klaus Basan
f03d095e10 refs #192, JSON samples and fixed one other sample 2014-03-26 20:18:50 +01:00
Klaus Basan
87e4267872 Slightly improved version of compareImpl in containerbase.h 2014-03-26 20:18:49 +01:00
Klaus Basan
57435b2a73 refs #192, some housekeeping during the JSON introduction
* removed unused tryGet methods for transponder / COM
* adjusted unit tests
2014-03-26 20:18:47 +01:00
Klaus Basan
e2461cb67c refs #192, Doxygen / formatting 2014-03-26 20:18:46 +01:00
Klaus Basan
853259709a Fixed transponder mode from String conversion 2014-03-26 20:18:45 +01:00
Klaus Basan
b9ed8c7186 Fixed comparison of callsign, which should be string based, not tupel based 2014-03-26 20:18:43 +01:00
Klaus Basan
88fb9e8832 refs #192, enable value objects for JSON:
* from/toJson methods
* jsonMembers where applicable
2014-03-26 20:18:42 +01:00
Klaus Basan
586e1e4053 refs #192 , enabled CValueObject for JSON
* operators
* from/toJson method
2014-03-26 20:11:34 +01:00
Klaus Basan
0d4abb4c91 refs #192, JSON operators except for CValueObject 2014-03-26 20:11:32 +01:00
Klaus Basan
a724f7ee91 refs #192, Doxygen and other cosmetic changes 2014-03-26 20:11:31 +01:00
Klaus Basan
9aebf05e68 CSimConnectUtilities : public QObject as discussed in meeting 25-03-2014 2014-03-26 19:51:04 +01:00
Klaus Basan
9d1f8a63f3 refs #192 , added JSON support to tupel
* jsonMembers() method in Macro
* serializeJson / deserializeJson for tupels
2014-03-26 19:51:03 +01:00
Klaus Basan
23e54e383e refs #189, fixed CPqString::getMetaTypeId() 2014-03-26 19:51:02 +01:00
Klaus Basan
d0fd46ac7d refs #189 , added sample to test CPqString 2014-03-26 19:51:01 +01:00
Klaus Basan
f9246cb5f9 refs #189 , PQ string class which allows parsing strings like 100m/s.
pqbase contains template method to determine a valid unit.
2014-03-26 19:51:00 +01:00
Klaus Basan
7822800454 refs #185, fixed a Doxygen comment 2014-03-26 19:50:59 +01:00
Klaus Basan
d27aa92866 refs #185 , added config panel for FSX to GUI. Allows to write a simconnect.cfg, if FSX is running remotely. 2014-03-26 19:50:58 +01:00
Klaus Basan
747694dbcb Fixed shutdown for core 2014-03-26 19:50:57 +01:00
Klaus Basan
2daad2d734 #refs 185 , added samples for blacksim classes 2014-03-26 19:50:56 +01:00
Klaus Basan
ed60616409 refs #185 , utility class for FSX simconnect (e.g. writing simconnect.cfg , or error coded to QString) 2014-03-26 19:50:55 +01:00
Klaus Basan
09b1daf8ec refs #185 , new StatusMessage type: TypeSimulator, 2014-03-26 19:50:54 +01:00
Klaus Basan
8848655235 refs #185 , added checks for IPs 2014-03-26 19:50:53 +01:00
Klaus Basan
948947f8d7 Fixed conversion of new Cvatlib_Network::connStatus_ConnectionLost: 2014-03-26 19:50:52 +01:00