Mathew Sutcliffe
567025bdbd
fixed GCC 4.7 size_t error
2014-07-18 23:32:57 +01:00
Mathew Sutcliffe
f87b5aa5d5
refs #296 implemented CSimulatorXPlane::getAirportsInRange
2014-07-18 23:32:56 +01:00
Mathew Sutcliffe
b1ac4defdf
refs #296 minor improvements in initializing and sorting CAirport and CAirportList
2014-07-18 23:32:55 +01:00
Mathew Sutcliffe
527fa8a492
refs #296 implemented airportsInRange on XBus side
2014-07-18 23:32:55 +01:00
Mathew Sutcliffe
db6c6a6331
fixing GCC and Clang warnings and errors
2014-07-16 22:18:13 +01:00
Mathew Sutcliffe
f05c31871a
added sanity checks in ConditionalIterator
2014-07-14 23:30:11 +01:00
Mathew Sutcliffe
83b552faf6
refs #290 added CSequence::truncate method
2014-07-13 20:30:24 +01:00
Mathew Sutcliffe
63edca8ee8
incidental simplification
2014-07-13 20:30:23 +01:00
Mathew Sutcliffe
a4b317b100
refs #290 using a CRange of iterator adaptors in implementating the tertiary predicate-based methods of the derived containers,
...
but preserving the return-by-copy for API stability
2014-07-13 20:30:22 +01:00
Mathew Sutcliffe
98a6854f8c
refs #290 using a CRange of iterator adaptors to return from the secondary predicate-based methods of the containers without copying elements
2014-07-13 20:30:20 +01:00
Mathew Sutcliffe
101c5a4f98
refs #290 using a CRange of iterator adaptors to return from the primary predicate-based methods of CRangeBase without copying elements
2014-07-13 20:30:20 +01:00
Mathew Sutcliffe
bd02c74ea8
refs #290 using a CRange of iterator adaptors to return containers of keys and values from CDictionary without copying the elements
2014-07-13 20:30:19 +01:00
Mathew Sutcliffe
db453a6232
refs #290 added some new predicates and transform functions to use in combination with the iterator adaptors.
...
This required refactoring index_sequence out of tuple_private.h so it could be used by the predicates.
2014-07-13 20:30:19 +01:00
Mathew Sutcliffe
ae4413abdd
refs #290 added iterator adaptors which will allow to construct a CRange representing a transformation of its host container
2014-07-13 20:30:18 +01:00
Mathew Sutcliffe
a6fad0508f
refs #290 added CRange, a conceptual container constructed from a begin and end iterator of a real container,
...
which allows making a pseudo-copy of a container without copying the elements inside
2014-07-13 20:30:17 +01:00
Mathew Sutcliffe
32e3c0298c
refs #290 Preparatory to adding CRange, refactored all const algorithm-based methods from CContainerBase into a common base class CRangeBase
2014-07-13 20:30:16 +01:00
Mathew Sutcliffe
bcac93f593
CSequence: frontOrDefault and backOrDefault taking the default value as an argument
2014-07-13 20:30:16 +01:00
Mathew Sutcliffe
e23e418797
incidental refactoring: simplify some predicates by templating their call operators
2014-07-13 00:45:22 +01:00
Mathew Sutcliffe
5c1b608391
refs #287 Doxygen "threadsafe" alias command
2014-07-11 17:53:45 +01:00
Klaus Basan
7b546c7dba
Fixes 2,4,6 refs #287
...
https://dev.vatsim-germany.org/issues/287#note-14
2014-07-11 15:12:44 +02:00
Klaus Basan
82db2666be
Fixed missing time units
2014-07-11 01:21:20 +02:00
Klaus Basan
af17c2c4e6
refs #289 , negative time values supported, required for time offset
2014-07-11 01:20:57 +02:00
Klaus Basan
76cbb5348c
refs #289 , settings for simulator
2014-07-11 01:20:57 +02:00
Klaus Basan
c1a4cc6ff6
refs #292 , fixed the bug by adding missing init for m_queriedModelStringFlag(false)
...
credits to MS
2014-07-11 01:20:43 +02:00
Klaus Basan
0d01c460b0
Formatting
2014-07-11 01:20:41 +02:00
Klaus Basan
0a7d025b8d
refs #292 , found during debugging
...
* const override of toQVariant
* missing getter / setters
* metaTuple
* improved toQString
* CClient::setCapability bug
* Fixed wrong ICAO check
2014-07-11 01:20:34 +02:00
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