Commit Graph

606 Commits

Author SHA1 Message Date
Klaus Basan
b949a2635b Doxygen fixes 2014-07-11 01:20:33 +02:00
Klaus Basan
4d3b3d213d refs #291, improved airport class
* supports bearing (to own plane)
* elevation
* Fixed Property index
2014-07-11 01:20:18 +02:00
Klaus Basan
d8ca4241af refs #291, bearing
* method to calculate bearing between coordinates
* Helper methods to normalize degrees (0..360deg), e.g. -10deg -> 350deg
2014-07-11 01:20:16 +02:00
Klaus Basan
74988db472 refs #291, airports in range:
* added descriptive name for airport
* airport list model
2014-07-11 01:20:09 +02:00
Klaus Basan
5a4443487e Renamed to geodetic height, as discussed in meeting 2014-07-11 01:20:06 +02:00
Klaus Basan
b1166934e3 refs #291, member method great circle distance 2014-07-11 01:20:04 +02:00
Klaus Basan
e8baa37b9d Formatting, housekeeping 2014-07-11 01:20:00 +02:00
Klaus Basan
b65829444a Fixed object metadata registration 2014-07-11 01:19:59 +02:00
Klaus Basan
2c2a59e5a4 Fixed non-required override of propertyByIndexAsString 2014-07-11 01:19:58 +02:00
Klaus Basan
d9a1c0cc8c refs #287 Thread safety, fix "memory access violation"
* some improved comments and information
* QMetaObject::invokeMethod in tool.cpp as thread safe invocation
* common base class for threaded readers
* removed event class, using QMetaObject::invoke instead for forcing calls in main event loop
* stop methods for readers, as used for graceful shutdown (preparing for thread safe destruction of objects)
* graceful shutdown for network context
* calls in tool now via inkoke for thread safety (only thread safe methods called directly)
2014-07-11 01:15:18 +02:00
Klaus Basan
c03d45123d refs #291, airport class, list 2014-07-04 22:56:59 +02:00
Klaus Basan
18436f444a Fixed valid distance in ATC station 2014-07-04 22:56:56 +02:00
Klaus Basan
da3982fc5f refs #279, improved FSUIPC support, reading all standard values including SB3 xpdr indent 2014-07-04 22:56:55 +02:00
Klaus Basan
a9f0359666 Tweaks
* formatting
* default digits for PQs
* improved toQString in altitude / aircraft situation / coordinate
2014-07-04 22:56:52 +02:00
Klaus Basan
f989acb42e Removed validation by exception (no longer what we use) from com/xpdr 2014-07-04 22:56:50 +02:00
Mathew Sutcliffe
ef93477a82 CDictionary: fixed, enabled, and tested automatic selection of appropriate default implementation container.
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
482ddf2081 fixes #285 removing fake variadics in predicate-based container methods 2014-07-04 11:41:44 +02:00
Roland Winklmeier
d46c5edb9f Generic CDictionary as associative container
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
b5097a0e63 containers: added opaque pointer access to implementation container, to help with debugging 2014-07-01 01:03:32 +01:00
Klaus Basan
25122fad10 refs #273, fixed changed detection 2014-06-28 18:02:13 +02:00
Klaus Basan
4c14737d60 Fixed missing JSON methods 2014-06-28 18:02:12 +02:00
Klaus Basan
9afe8b0f8b Formatting, tweaks, style sheet 2014-06-28 18:02:05 +02:00
Klaus Basan
42db1fe9ae refs #273, added settings for simulator
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Klaus Basan
abd2d6d86d Some fixes / tweaks / Doxygen:
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +02:00
Klaus Basan
42d8c53290 Minor tweaks,
* formatting
* Startup screen tool window removed (as requested by RW)
2014-06-23 01:26:29 +02:00
Klaus Basan
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
b8390f470c refs #267, extended ICAO class 2014-06-23 01:19:20 +02:00
Klaus Basan
426dd4a09e refs #267, classes for model matching
* extended model class, refactored model class
* new mapping classes: value class / list
2014-06-23 01:19:18 +02:00
Mathew Sutcliffe
580b7edc35 refs #276 added async methods to CGenericDBusInterface 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
af1ededf9c refs #245 & #276 using variadic templates in CGenericDBusInterface 2014-06-20 15:39:42 +01:00
Mathew Sutcliffe
1afef03c6d refs #210 workaround an apparent bug in 64bit MSVC by using a signed type for tuple flags
(using a smaller unsigned type also worked)
2014-06-19 20:08:28 +01:00
Mathew Sutcliffe
fbb89375da refs #210 added jsonName in Private::Attribute
* Explicit JSON name can be set for tuple members
* Names can still be extracted by preprocessor stringification if not explicitly set
* In both cases, names are embedded in Attribute metadata, so no need to call jsonMembers() in the value classes
2014-06-18 23:46:31 +01:00
Mathew Sutcliffe
11824206a1 refs #210 added Private::Attribute
* An Attribute contains a reference to a data member, plus some metadata
* Creates the concept of a "meta tuple", a tuple of Attribute objects
* New facilities in TupleConverterBase to be used inside the macro
* Flags allow individual data members to be selectively enabled or disabled depending on how the tuple is used
* Selective enable/disable is implemented by removing the indices of the flagged members from the index_sequence
2014-06-18 23:45:01 +01:00
Mathew Sutcliffe
48a4bfdd10 refs #268 initialize CFrequency from an int,
useful in combination with c++11 braced initializer lists,
which do not perform implicit conversion of argument types
2014-06-17 21:18:58 +01:00
Roland Winklmeier
8cbff262d1 refs #256 Update CProject and project files to reflect BlackInput 2014-06-15 19:39:28 +02:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Mathew Sutcliffe
45260258d6 refs #245 & #210 moved TupleConverter's parsing of the stringified macro argument into a base class, ready for further extension 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
9766b5c63a refs #245 & #210 style 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
2eb16ce9da refs #245 & #210 with proper variadic templates we can use index_sequence to simplify some of the recursion in the tuple system 2014-06-13 13:16:06 +01:00
Mathew Sutcliffe
5d38812482 refs #245 TupleConverter specialization for class templates can use a variadic parameter pack to support templates taking any number of parameters 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
b0ecaff4da refs #245 removed nested tie workarounds for tuples with >10 members 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
05fd6fbcae refs #245 removed fake variadics for tuples and predicates 2014-06-13 13:16:04 +01:00
Klaus Basan
56430c860a refs #264, QPixmap enable list model base to simplify columns with icons
* new constructor in column class
* removed overridden data method, no longer needed
* added icons for ATC station views
* QPixmap comparison for such columns (free functions)
2014-06-10 02:05:44 +02:00
Klaus Basan
9ea1fd86ef Doxygen 2014-06-10 01:54:07 +02:00
Klaus Basan
61740fab0a Changed audio settings to CVariant after merge with master 2014-06-09 17:35:37 +02:00
Klaus Basan
251fe70dc9 Minor Tweaks
* renamed methods in aircraft class, new helper method
* renamed method in aircraft list
* renamed method in datafile reader
2014-06-09 14:44:25 +02:00
Klaus Basan
63b0fac72f Some bugfixes
* Missing registration
* wrong frequency in text messages, also some minor tweaks in text message
2014-06-09 14:44:23 +02:00
Klaus Basan
6b55b10b9b Prepared for voice capabilities 2014-06-09 14:44:21 +02:00