Commit Graph

668 Commits

Author SHA1 Message Date
Klaus Basan
eca8c5b637 Reflecting discussed changes for interpolation performance refs #386
(based on FSX testing)
* Only send changed situation to SIM
* Split sending of parts / situations
* Only send parts with a reduced frequency (means slower as positions)
* Mark geodetic height as null for default values (the value is usually unavailable)
* Fixed altitude to MSL for network data
* Trace which aircrafts support aircraft parts via network
* Renamed insert_fron push_front (as proposed by Roland)

Status quo / lessons learnt
* On slower PCs jitter is still noticed for interpolated aircraft.
* Running interpolation in an independent process (aka core, not in GUI) reduced load dependencies
  => it seems to make sense to run driver in own thread
* The onGround flag in parts seems clumsy as it required to retrieve parts for position updates
* In interpolation performance really matters
2015-03-20 17:00:41 +01:00
Klaus Basan
420a47e90c refs #369, changed interpolation to a working (but still too bad performing) version
* using split by callsign everywhere
* helper function to insert_front
* revised linear interpolator
* renamed to remoteAircraft
* renamed to container() in providers (gettters are usually copies)

Issues why changes did so long:
* insert in list is not adding in front, but same as push_back (that was confusing)
* naming of values before/after in interpolator was ambigious
* QMap keeps values sorted by key, not arbitrarily
2015-03-20 16:49:07 +01:00
Klaus Basan
190e2c3757 refs #386, performance issues
* keep split per callsign map in IInterpolator (so it is available for all interpolators)
* added signals to provider to add split situations / callsigns
* adjustments to airspace / context for those signals
* thread safe access to those from interpolator
* renamed from rendered to remote aircraft as discussed
* adjust samples
* removed no longer required functions in timestampobjectlist
2015-03-20 16:49:03 +01:00
Klaus Basan
f8bebf5ffa refs #386, performance issues
* keep split per callsign map in IInterpolator (so it is available for all interpolators)
* Interpolator using CWorker, so it can run in background
* added signals to provider to add split situations / callsigns
* adjustments to airspace / context for those signals
* thread safe access to those from interpolator
* renamed from rendered to remote aircraft as discussed
* adjust samples
* removed no longer required functions in timestampobjectlist
* changed connectioStatusChanged from uint -> int
2015-03-20 16:48:58 +01:00
Klaus Basan
29bb7d02d0 Allow to split callsign based list + samples 2015-03-20 16:34:26 +01:00
Klaus Basan
38a8c45b9e refs #369, thread safe access to aircraft parts, situations 2015-03-20 16:33:54 +01:00
Klaus Basan
c47871b813 refs #382, reviewed audio context handling
* only init QDbusServer for P2P
* changed init order of contexts in runtime
* use "fake" signal to call setComVoiceRooms (remote in GUI)
* added slot to change voice room callsign
* used "org.swift" instead of "net.vatim" (just style)
* used const QString for serviceName
* added correct copyright header (just style)
2015-03-20 16:33:51 +01:00
Klaus Basan
067aecdeca Fixed missing metadata registration 2015-03-20 16:33:47 +01:00
Klaus Basan
5d491b9456 refs #380, use CWorker instead of QConcurrent for threaded reader (bookings/VATSIM file) 2015-03-20 16:33:43 +01:00
Klaus Basan
1da3f58fec refs #369, fixed / adjusted testing and samples
* changed from qDebug() to QTextStream
* setter for voice room
* set fake voice room URL, otherwise no nonger displayed in GUI
2015-03-20 16:33:39 +01:00
Klaus Basan
16bee441e1 refs #381, adjust GUI for new voice vatlib
* Only 1 volume
* No tests (squelch ...)
* loopback
* required backed functions in context
2015-03-20 16:33:31 +01:00
Klaus Basan
f0db7ed660 refs #380, QConcurrent vs QThread sample and fix
* in same step fixed nullptr issue in worker (with no parent)
* Changed from QConccurennt::run to CWorker in core
2015-03-20 16:33:23 +01:00
Roland Winklmeier
d5731cf8d9 refs #321 Add parts synchronized flag to CSimulatedAircraft 2015-03-20 16:33:11 +01:00
Roland Winklmeier
afea320a2e refs #321 Handle aircraft config client capability 2015-03-20 16:33:07 +01:00
Klaus Basan
6aea013b23 refs #369, added access for renderedAircraftPositions 2015-03-20 16:32:08 +01:00
Klaus Basan
ee3417ff8b refs #369, adjusted aircraft parts/lights and list to new style
* support of property index
* used support classes BlackMisc::ITimestampBased, ITimestampObjectList and ICallsignObjectList
* fixed some issues in related aircraft situation class in same step
2015-03-20 16:32:00 +01:00
Roland Winklmeier
466a9a24ef refs #321 Methods to read/write aircraft config packets from/to network 2015-03-20 16:31:56 +01:00
Roland Winklmeier
ccec06fc80 refs #328 add CAircraftParts to CAircraft
Conflicts:
	src/blackmisc/avaircraft.h
2015-03-20 16:31:48 +01:00
Roland Winklmeier
0a46a4a0bd refs #328 CAircraftParts value classes 2015-03-20 16:31:45 +01:00
Klaus Basan
16042c1fb2 refs #369, gcc fixes 2015-03-20 16:31:41 +01:00
Klaus Basan
89424647aa refs #369, smaller changes
* rendered attribute in CSimulatedAircraft
* Formatting
* contains in CPropertyIndex
* CAircraftModel, new type
2015-03-20 16:31:22 +01:00
Klaus Basan
366721d9ad refs #369, first version of IRenderedAircraftProvider in airspace monitor
(no aircraft parts yet)
2015-03-20 16:31:18 +01:00
Klaus Basan
02eb531367 refs #369, simulated aircraft to aircraft list 2015-03-20 16:31:03 +01:00
Klaus Basan
8e8f9e4804 refs #369, prepend function for properties 2015-03-20 16:30:59 +01:00
Klaus Basan
cec59c5d72 refs #369, revised atc station and client list
* function to get only stations with valid callsign
* use ICallsignObjectList in client list
* removeByCallsign
2015-03-20 16:30:56 +01:00
Klaus Basan
107e343673 refs #369, direct access to own aircraft (in memory)
* provider interface
* implementations
2015-03-20 16:30:37 +01:00
Klaus Basan
b170113d2a refs #369, adjusted value objects
* convenience functions
* removed COM3
2015-03-20 16:30:33 +01:00
Klaus Basan
39150a1bc1 Formatting, added icons for callsign 2015-03-20 16:30:21 +01:00
Klaus Basan
ce86c902b5 Upfront of refs #369
* consolidated ICoordinateGeodetic (e.g. fixed nested properties)
* shifted common functionality for objects/containers with callsign into interface
* shifted common functionality for objects/containers with geo position into interface
* shifted common functionality for objects/containers with timestamp into interface
* updated corresponding value objects / specialized lists
* adjusted all places where renamed functions are used
2015-03-20 16:30:18 +01:00
Klaus Basan
c86b1984ef fixup! Improved samples and debugging information 2015-01-25 04:31:33 +01:00
Klaus Basan
3a4e5ef556 refs #364, refs #368 improved handling of manually set models
* make sure manually set model is not subject of model matching
* added convenience member functions to detect manually set models
2015-01-25 03:55:45 +01:00
Klaus Basan
2e06f054e8 Fixed / changed metadata registration 2015-01-25 03:55:42 +01:00
Klaus Basan
ca07e68c34 Improved samples and debugging information
* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
2015-01-25 03:55:39 +01:00
Klaus Basan
8612377bff Fixed property index class, class failedto work with DBus 2015-01-25 03:55:33 +01:00
Klaus Basan
8d37d24e21 New icons (for callsign) 2015-01-24 01:16:54 +01:00
Klaus Basan
4e1db5c837 Fixes of MS'review as proposed
https://dev.vatsim-germany.org/issues/368#change-2380 (1,2)
https://dev.vatsim-germany.org/issues/364#change-2379 (1-11,13)
2015-01-24 01:16:50 +01:00
Klaus Basan
9d14f8f42d Some convenience functions ATC station 2015-01-24 01:16:34 +01:00
Klaus Basan
b629a9325b Tweak in icon / callsign
* conversion to Icon in callsign
* toQIcon function
2015-01-24 01:16:26 +01:00
Klaus Basan
799b640379 refs #364, refs #368 adjusted metadata registration and header files to reflect new classes 2015-01-24 01:15:09 +01:00
Klaus Basan
6bcc8940fa Convenience functions for aircraft list 2015-01-23 18:47:53 +01:00
Klaus Basan
ac87e7ef60 refs #368, pixmap class which is DBus compliant 2015-01-23 18:47:50 +01:00
Klaus Basan
f8cc656692 Moved icon paths in .cpp file 2015-01-23 18:47:43 +01:00
Klaus Basan
2d6e906176 refs #364, refs #368 Updated some value classes: user, client, icao, callsign, aircraft
* parsing homebase from user
* updating to Simulation/AircraftModel
* known ICAO function
* renaming, style changes
* convenience functions
2015-01-23 18:47:39 +01:00
Klaus Basan
5505222461 refs #364, Simulated aircraft
* Simulated aircraft, basically aircraft + model + client
* moved corresponding model classes to subdir simulation
2015-01-23 18:47:31 +01:00
Klaus Basan
1e480d52b9 Avoid compiler warning with JSON disabled 2015-01-23 18:47:27 +01:00
Mathew Sutcliffe
d10c2a0709 Changed file encoding to UTF-8. 2015-01-07 00:11:02 +00:00
Mathew Sutcliffe
4960ba5170 Fixed error in CSequence::useImplOf. 2015-01-03 17:55:39 +00:00
Mathew Sutcliffe
77efea3377 Added a dummy argument in Private::Equals constructor, so it is not mistakenly used as copy constructor. 2015-01-03 17:55:38 +00:00
Klaus Basan
4f0bf6d62c refs #358, changes of MS' review
https://dev.vatsim-germany.org/issues/358#note-11
2014-12-29 23:11:23 +01:00
Klaus Basan
b26fa651ed Allow to select COM frequencies from ATC view (context menu)
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +01:00