Commit Graph

219 Commits

Author SHA1 Message Date
Mathew Sutcliffe
08e978c8d6 moved from CContainerBase to CSequence those methods which only support sequential containers
refs #81
2014-01-10 00:20:21 +00:00
Mathew Sutcliffe
bc611263e9 slight change to how we declare our qHash overload for CValueObject,
which fixes some include order dependency shenanigans when compiling with GCC,
which was caused by the requirement to overload qHash for CCollection
and the way qHash interacts with the dreaded two-phase lookup for C++ templates

refs #81
2014-01-09 01:16:02 +00:00
Klaus Basan
64e14b7965 input and output volume stored as part of CModulator
refs #81
2014-01-09 01:16:02 +00:00
Klaus Basan
d15d0db431 post-voice changes in blackgui from the kbatclist branch
refs #81
2014-01-09 01:16:01 +00:00
Mathew Sutcliffe
b475d7eff1 INetwork builds up the ATIS as it is received, line-by-line, keeping this implementation detail more encapsulated
refs #81
2014-01-09 01:16:01 +00:00
Klaus Basan
f3758e5609 CContextNetwork builds up an ATIS as it is received, line-by-line
refs #81
2014-01-09 01:16:00 +00:00
Klaus Basan
37d1466a83 added CCallsign::m_callsignPronounced
refs #81
2014-01-09 01:15:59 +00:00
Klaus Basan
ee43f5598d new contexts
refs #81
2014-01-09 01:15:59 +00:00
Mathew Sutcliffe
0bad7bb2e8 Contexts' getRuntime method uses static_cast instead of reinterpret_cast.
This required a few changes in include order and forward declarations to fix the real reason why reinterpret_cast was mistakenly used.

refs #81
2014-01-09 01:15:58 +00:00
Klaus Basan
1c1fdabd2e all voice changes from kbatclist branch
refs #81
2014-01-09 01:15:58 +00:00
Klaus Basan
51cbd2a394 all app projects need QT+=network used by the core for downloading ATC bookings
refs #81
2014-01-09 01:15:57 +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
Mathew Sutcliffe
b5c3a5543f update CNetworkVatlib to new shimlib version with Create static member function
refs #81
2014-01-08 01:01:31 +00:00
Klaus Basan
0c01da4c8e Minor changes such as parameter warnings, added metatype registration for voice
refs #81
2014-01-08 01:01:26 +00:00
Roland Winklmeier
db4a3c5de4 Refactoring and clean up of voice implementation
refs #36
- Cleanup of library and sample code
- Completed now all signals in voice sample
- Fixed minor bugs with the user list
- TODO: Remove the VATSIM id from the user string

refs #81
2014-01-08 01:01:23 +00:00
Roland Winklmeier
0bae898db8 Added commands to voice sample. Test successfull refs #36 - Added commands to list input and output devices - Fixed some compiler errors on win - Voice confirmed working on windows and linux
Signed-off-by: Roland Winklmeier <roland.m.winklmeier@gmail.com>

refs #81
2014-01-08 01:01:20 +00:00
Roland Winklmeier
45b9f60444 Finalized voice vatlib implementation.
refs #36
- Implemented the rest of the methods
- Added more commands to the voice sample, to login to voice server
- Login successfull. However, no voice yet.

refs #81
2014-01-08 01:01:17 +00:00
Roland Winklmeier
f91525b65b Expanded voice sample to an interactive app
refs #36
- Based on the existing network sample, expanded the voice sample to an interactive app
- Implmenented commands: mic test, squelch test

refs #81
2014-01-08 01:01:10 +00:00
Roland Winklmeier
7292e265fb Added squelch and mic tests
refs #36

refs #81
2014-01-08 01:01:05 +00:00
Roland Winklmeier
b511f2ffaa Completed enumeration of audio devices
refs #36
- Cvatlib_Voice_Simple object is created and setup
- enumerates automatically a list of in and output devices.
- both device lists are accessable immediately
- added a sample demonstrating the interface so far

refs #81
2014-01-08 01:01:02 +00:00
Roland Winklmeier
158de31c0b Added CAudioDevice and cleaning up IVoice
refs #36
- Added a common class CAudioDevice encapsulating each audio device
- One subclass for input and output devices
- Changed IVoice interface slightly to better fit into the event flow

refs #81
2014-01-08 01:00:57 +00:00
Roland Winklmeier
fcebc44b02 Added class CVoiceRoom
refs #36
- This class encapsulates the information on a voice server room.
- It basically consists of the tuple hostname and channel

refs #81
2014-01-08 01:00:50 +00:00
Roland Winklmeier
62e1b411c5 Initial structure IVoiceClient and implementation
refs #36
- Added initial structure for IVoiceClient interface
- Added initial structure for the vatlib voice implementation

refs #81
2014-01-08 01:00:45 +00:00
Roland Winklmeier
f24d16019f Minor fixes for linux build
refs #36
- Fixed compiler error in context.cpp (is not used anymore, but was still annoying)
- GCC was complaining about the template definitons in blackgui. Removing typename fixed it.
- Fixed a bug in qmake. Unfortunately qmake mkspec was just linux-g++ (not linux-g++-64), so added this case.
- Fixed a PRE_TARGETDEPS bug
- QMake has strange behaviour with DBUS_ADAPTORS: include the header somewhere, otherwise it won't be generated.

refs #81
2014-01-08 01:00:39 +00:00
Klaus Basan
7410d6aeb2 translations files for all kbatclist branch changes
refs #81
2014-01-08 01:00:31 +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
1f2a88e502 context classes, runtime classes, and related infrastructure
refs #81
2014-01-08 01:00:24 +00:00
Klaus Basan
34774bd005 blackgui library with list model classes for our lists
refs #81
2014-01-08 01:00:21 +00:00
Mathew Sutcliffe
c77951743e INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
7cbfca1402 do rounding in CModulator::setFrequency functions
refs #81
2014-01-08 01:00:10 +00:00
Klaus Basan
2bf9042ffa fixed mistake in CModulator::getFrequencyStandby
refs #81
2014-01-08 01:00:06 +00:00
Klaus Basan
bf0a849a7c CTransponder: setting code as string and refactored validation
refs #81
2014-01-08 01:00:02 +00:00
Mathew Sutcliffe
c37e160a42 simple memory profiling on Windows using the CRT debug heap
refs #81
2014-01-08 00:59:59 +00:00
Klaus Basan
388d297a2d update client version numbers passed to shimlib
refs #81
2014-01-08 00:59:56 +00:00
Klaus Basan
3d48b29678 fixed formatting in error messages
refs #81
2014-01-08 00:59:52 +00:00
Klaus Basan
8d15f307c2 let INetwork have a QObject parent
refs #81
2014-01-08 00:59:49 +00:00
Klaus Basan
535ea65a9a start using our value classes as arguments in INetwork signals and slots
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
4747b3b484 new value objects for aviation, network, and settings
refs #81
2014-01-08 00:59:39 +00:00
Klaus Basan
fe1a570c39 classes for status messages
refs #81
2014-01-08 00:59:34 +00:00
Mathew Sutcliffe
a57e640398 generic type-erased container types CSequence and CCollection, including predicate-based algorithms
refs #81
2014-01-08 00:59:31 +00:00
Klaus Basan
c72e8a4a27 made strictness optional in CMeasurementUnit::unitFromSymbol
refs #81
2014-01-08 00:59:27 +00:00
Klaus Basan
f247399575 register CMeasurementUnit as a Qt meta type
refs #81
2014-01-08 00:59:24 +00:00
Klaus Basan
2cdc2abeb5 CMath::epsilonEqual fuzzy comparison function for doubles
refs #81
2014-01-08 00:59:19 +00:00
Klaus Basan
b0e212998f degree/radian conversion functions
refs #81
2014-01-08 00:59:16 +00:00
Klaus Basan
f49341841e suppress a compiler warning
refs #81
2014-01-08 00:59:13 +00:00
Klaus Basan
f6905d1d8b format latitude and longitude strings with cardinal directions
refs #81
2014-01-08 00:59:10 +00:00
Klaus Basan
76e2421ba2 WGS84 function in CCoordinateGeodetic
refs #81
2014-01-08 00:59:06 +00:00
Klaus Basan
bf1837b414 CValueMap generic representation of a value object as a map of QVariants
refs #81
2014-01-08 00:59:03 +00:00
Klaus Basan
a280d239e6 using hashes to perform comparisons between blackmisc value objects stored inside of QVariant
refs #81
2014-01-08 00:59:00 +00:00
Klaus Basan
67a5dbfe48 converting value objects to/from QVariant
refs #81
2014-01-08 00:58:56 +00:00