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
Klaus Basan
8d20c5e061
refs #298 , implemented isPaused for FSX
...
In the same step renamed enum SystemEvent values to make them easier to spot
2014-07-12 18:25:29 +02:00
Klaus Basan
284a66a65c
Fixed gcc warnings
2014-07-11 21:45:34 +02: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
fde5139044
refs #289 , time sync values based on settings
2014-07-11 01:21:26 +02:00
Klaus Basan
b45279857f
Formatting, renaming
2014-07-11 01:21:24 +02:00
Klaus Basan
82db2666be
Fixed missing time units
2014-07-11 01:21:20 +02:00
Klaus Basan
5f4f6806da
refs #289 , added functionality in FSX plugin
...
* data definitions
* events
* improved error handling: HRESULT values, exception output
* sync time method
2014-07-11 01:21:17 +02:00
Klaus Basan
851bb70a68
refs #289 , added methods for time sync in context, plugin
...
Remark: in the same step added methods for paused simulator
2014-07-11 01:21:04 +02:00
Klaus Basan
fceea61e4c
refs #289 , simulator component GUI for time sync
2014-07-11 01:20:59 +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
cd88c79f7c
comparing just on name, used with plugin checks
2014-07-11 01:20:55 +02:00
Klaus Basan
3077494cb7
changed to +MULTILINE_CPP_IS_BRIEF = YES
...
discussion https://dev.vatsim-germany.org/boards/22/topics/1914?r=1930#message-1930
2014-07-11 01:20:54 +02:00
Klaus Basan
ecb2a6ff66
Doxygen fixes, improvements
2014-07-11 01:20:50 +02:00
Klaus Basan
161aec96a7
Prefix ps_ for some private slots
...
https://dev.vatsim-germany.org/boards/22/topics/1914?r=1920#message-1920
2014-07-11 01:20:45 +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
f408cf1c82
refs #292 , fixed DBus sample to reflect / test issues found during debugging
2014-07-11 01:20:38 +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
3729721fc3
refs #289 , method bodys for time sync as preparation
...
simulator can send messages to contexts
2014-07-11 01:20:29 +02:00
Klaus Basan
330919329d
refs #291 , timers for aircraft component independent of network connection
...
Remarks: sim can be connected, while network is not
2014-07-11 01:20:25 +02:00
Klaus Basan
db195bcd9b
refs #291 , airport view (panel aircrafts)
2014-07-11 01:20:22 +02:00
Klaus Basan
76bc6f0efc
Formatting, tweaks
2014-07-11 01:20:21 +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
9e4c58b209
Moved CSimulatorFsx::SimConnectProc in own cpp file, as discussed in meeting
2014-07-11 01:20:14 +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
bbdb8a293f
refs #291 , getAirportsInRange for simulator, simulator context
2014-07-11 01:20:05 +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
ce8a089949
Fixed object metadata registration
2014-07-11 01:19:55 +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
d2afd00011
refs #273 , fixes "QObject::disconnect: Unexpected null parameter"
2014-07-04 22:56:54 +02:00