Commit Graph

25 Commits

Author SHA1 Message Date
Mathew Sutcliffe
3e1eb350c5 refs #476 CThreadedReader::gracefulShutdown using the worker abandon feature, removed m_shutdown. 2015-11-26 18:24:11 +00:00
Klaus Basan
d131cd2d33 refs #507, changed setup reader and simplied global setup and setup reader
* a single base URL (shared), derived URLs by appended path
* simplified dir structure shared with sub directories
* renamed functions
* automatically synchronize setup with DB when initialized
* trigger download info loading when setup is completed
* allow to automatically read after setup data have been synchronized
* read DB data when setup has been loaded
* allow to reload from threaded reader
* improved handling (log messages, skip reading) when data are not available
2015-11-19 21:07:58 +00:00
Klaus Basan
4d3d9fa6be refs #476, improvements on gracefulShutdown
* gracefulShutdown in metar reader and other readers
* made m_shutdown thread safe
* Demoted log level for reader
* helper function finished or shutdown
2015-11-19 21:07:33 +00:00
Klaus Basan
53ba50dd3a refs #478, use data cache in readers
* URLs no longer have to be passed
* watchdog for DB readers to check DB status

In same step:
* fixed some log messages and comments
* allow to self signed SSL certificates
* adjusted namespace for CNetworkUtils (now in network)
2015-11-19 21:03:39 +00:00
Klaus Basan
8827b68b3b refs #452 signals in reader classes. adjusted METAR reader
* renamed to connectDataReadSignal
* removed unused individual signals, e.g. vatsimMetarsRead -> replace by data read signal + entity flag
* added data in METAR class (kept there, not in airspace monitor) -> reader aware
2015-11-19 21:00:15 +00:00
Klaus Basan
c760f1d424 refs #445, encapsulated web service based reading in CWebDataReader
* the reader will be used in context, but can also be used standalone (ie mapping GUI) GUI
* adjustments in context/airspace as required
** for web reader
** livery
* base class for database based reading (via JSON/web)
* model data reader for models
2015-11-19 20:57:22 +00:00
Mathew Sutcliffe
bacf771a15 refs #297 Added new network settings. 2015-11-19 20:51:29 +00:00
Klaus Basan
7b1beaf02d Introduced hint for callsign to specify callsign type (aircraft? ATC?) by context.
Background: Pilots can login in with virtually any callsign like XXX_OBS, resulting in wrong interpretations (as OBS here is no ATC station).
2015-05-12 20:46:36 +01:00
Klaus Basan
aafee8eafd refs #402, post merge feedback by MS 2015-04-11 02:09:10 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02: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
Mathew Sutcliffe
54e883c322 refs #334 VATSIM threaded reader classes using CContinuousWorker. 2014-11-30 02:49:15 +01:00
Klaus Basan
853caacddf Proper error messages for readers in case reading fails 2014-11-30 00:56:51 +01:00
Klaus Basan
a401ce439d refs #288, added FSD servers to VATSIM reader
* Voice and FSD servers can be obtained via context
* using QSCopedPointer for network reply
* minor fixes / renaming
2014-11-30 00:54:43 +01:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
3cf42b218a refs #306, refs #282 Thread safety of readers
In the same step:
* renaming private slots ps_xy
* doxygen
* removed outdated debug messages
2014-07-27 16:10:27 +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
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
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
a867a490e6 Improved details on the readers, regarding timestamp 2014-06-23 01:19:29 +02:00
Klaus Basan
cafc3f37f6 refs #259, parsing VATSIM files in background 2014-06-09 14:44:11 +02:00
Klaus Basan
79aa17cdaf refs #146 , renamed method to dataRead like in CVatsimDataFileReader 2014-02-26 03:44:35 +01:00
Klaus Basan
4ab59f77a5 refs #132 , based on RW's comment renamed method to loadFinished ( as in http://qt-project.org/doc/qt-4.8/qwebview.html ) 2014-02-21 18:27:07 +01:00
Klaus Basan
a7f7ddb4c2 refs #132, reader class for VATSIM booking. The functionality has been moved out of network context, and into this reader class. 2014-02-21 15:46:24 +01:00