Commit Graph

29 Commits

Author SHA1 Message Date
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
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
Mathew Sutcliffe
cf10f9cc35 fixed new compiler error due to MSVC incorrect handling of
capturing the this pointer in a lambda inside another lambda
2014-03-26 13:34:13 +00:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Klaus Basan
c46878b873 Changed unit test testnetwork to reflect new status Disconnecting, then Disconnected 2014-02-07 03:05:35 +01:00
Mathew Sutcliffe
0af8c9eb3e refs #100 Rationalization of INetwork signals and slots
* Naming convention: "preset" only when disconnected, "send" only when connected, "set" both
* Every asynchronous pair is named as in "sendFooQuery" and "fooReplyReceived"
* Moved LoginMode from CNetworkVatlib constructor to INetwork::presetLoginMode
* Callsign and ICAO codes can only be changed when disconnected, so have their own "preset" methods
** Callsign and ICAO parts of setOwnAircraft are therefore ignored
** CUser part of setOwnAircraft is ignored, in favour of the CUser part of presetServer
* CNetworkVatlib takes care of reconstructing m_net if the LoginMode is changed
2014-01-25 19:36:37 +00:00
Mathew Sutcliffe
917e1829d1 reviewed backlog INetwork and CContextNetwork changes from kbatclist
* INetwork setOwnAircraft slots
* ATIS received shimlib callback triggers separate VoiceRoom and LogoffTime signals
* INetwork statusMessage signal emitted in response to shimlib errors
* INetwork::ConnectionStatus added a DisconnectedError value and toString conversion
* INetwork::isConnected method
* Argument in CNetworkVatlib constructor to enable stealth or observer mode
* Update CLI sample, tests, and CContextNetwork accordingly
2014-01-14 23:30:21 +00:00
Mathew Sutcliffe
60ad43d291 INetwork: removed the five connectionStatus signals and added one signal with an enum argument to replace them.
Requested by Klaus, to ease the implementation of signal consumers.
2014-01-11 17:59:45 +00:00
Klaus Basan
bb61654a29 style and consistency:
* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
2014-01-09 01:15:56 +00:00
Klaus Basan
ab17dabd5b samples and tests for all kbatclist branch changes
refs #81
2014-01-08 01:00:28 +00:00
Klaus Basan
c6da7b0d35 removing unneeded code
refs #81
2014-01-08 00:58:08 +00:00
Mathew Sutcliffe
ac1b014f1b minor fix, only in doxygen comments 2013-10-21 03:43:09 +01:00
Mathew Sutcliffe
e607121cc4 Updating IContext to our current style and making it less reliant on macros.
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00
Mathew Sutcliffe
5483f71c9b test_blackcore.pro includes externals.pri
removed TODO comments
fixed mistake regarding backslash line continuations
2013-09-21 14:50:01 +01:00
Mathew Sutcliffe
00473e6f5f improved error reporting in BlackCoreTest::Expect 2013-09-03 19:29:04 +01:00
Mathew Sutcliffe
891d47c8ff Pure Qt/C++ test harness for INetwork 2013-09-01 21:09:22 +01:00
Mathew Sutcliffe
7a7fd69ee1 Perl-based test harness for the commandline client sample 2013-08-31 01:04:34 +01:00
Mathew Sutcliffe
0ae6ae5fea fixed atclist unittest: call QCoreApplication::processEvents() after each signal is emitted, because they use Qt::QueuedConnection 2013-08-29 00:12:57 +01:00
Mathew Sutcliffe
20c33bf77c Merge branch 'fsd' 2013-08-28 23:29:10 +01:00
Mathew Sutcliffe
0107d24523 create a dummy implementation of INetwork for testing purposes, and use it in the atc list unittest 2013-08-24 16:54:36 +01:00
Mathew Sutcliffe
9b239f12aa fixes for MinGW, including adding CONFIG += c++11 in all qmake project files 2013-08-19 18:46:37 +01:00
Mathew Sutcliffe
e194773c5b CAtcListManager class 2013-08-09 00:55:46 +01:00
Klaus Basan
8b512ba818 DBus enabling of base classes plus sample for testing / show how to use them. Also qdbuscpp2xml plugin for blackmisc classes. 2013-07-22 14:33:50 +02:00
Klaus Basan
ad6ac0186b Cleaned up tests / samples a bit 2013-04-30 03:27:34 +02:00
Mathew Sutcliffe
3c2b894c93 fixed qmake files to support GNU make _and_ MSVC (discussed in #34) 2013-04-29 23:14:42 +01:00
Klaus Basan
c5b9c48cd6 Changed interpolator (preliminary) to work with PQs and new classes, added stubs for unit tests in BlackCore 2013-04-27 02:09:42 +02:00
Klaus Basan
525910c7a3 Moved PQs from blackcore to blackmisc, added header for namespace, mainpage.dox for Doxygen 2013-03-22 16:07:53 +01:00
Klaus Basan
969f0c879f Initial version of physical quantities 2013-03-20 16:59:32 +01:00