Commit Graph

24 Commits

Author SHA1 Message Date
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Klaus Basan
0357dbde8f refs #712, improved readers
* only trigger read when network interface is available
* do not trigger all reads at same time but slightly shifted
* renamed to hasReceivedOkReply()
2016-07-28 21:08:25 +02:00
Klaus Basan
31b03fe2e1 refs #712, signals when all DB data are read / the web services are started
(useful for GUI as it can be used to init only when data are available)
2016-07-28 21:08:24 +02:00
Klaus Basan
90c3c35609 refs #709, as result of testing created special database views for ICAO codes
* view already filter incomplete data
* as result, info object count values are aligned with data eventually parsed (which will allow to detect changes by comparing counts)
* smaller adjustments to allow airlines with designator
2016-07-28 21:08:20 +02:00
Klaus Basan
ff4097504c refs #709, config for launcher 2016-07-28 21:08:18 +02:00
Klaus Basan
4b1179cfd8 refs #709, allow to read directly from DB (bypassing caches)
* allow to reload
* copying array size of response for debugging purposes
2016-07-28 21:08:17 +02:00
Klaus Basan
6f840f4fd6 refs #709, access to timestamp/count per entity
* utility functions
* made protected functions public
2016-07-28 21:08:14 +02:00
Klaus Basan
c7d89c7b2c refs #707, allow to resolve airline by callsign directly in airline ICAO list 2016-07-14 18:49:21 +02:00
Klaus Basan
8d5020d78e Some Web readers adjustemnts
* do not init shared URLs before needed
* do not load info objects when DB is unavailable
* adjust reader flags when DB is down
* airport URL available in setup
2016-07-03 13:22:26 +02:00
Klaus Basan
488d437a2a #refs 686, used settings in readers
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00
Klaus Basan
959fc10c92 Fixed missing distributor read and minor improvements 2016-06-15 00:11:15 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
332d8e5fc8 refs #649, added caches to model data reader
* trait
* const fix distributor list
2016-06-08 18:21:00 +02:00
Klaus Basan
f02bf0ac0a refs #649, skip reading of info objects if only caches are used and emit signals when syncronized from cache
(applied after 1st performance fix for cache was ready)
* utility functions to detect if only caches are used
* renamed some functions
* renamed some db flags and added new ones
2016-06-08 18:20:58 +02:00
Klaus Basan
c31145b3a0 refs #649, made base URL static const to resolve threading issue
(crash when shutting down)
2016-06-08 18:20:57 +02:00
Klaus Basan
e752a3d73b refs #649, check for isAbandoned() 2016-06-08 18:20:56 +02:00
Klaus Basan
f58b3bf065 refs #649, refs #659 use new timestamp function 2016-06-08 18:20:44 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Klaus Basan
467f37db7f refs #649, added check for changed base URL to database reader
(continued #649 after fixes of #664)
2016-06-08 18:20:35 +02:00
Klaus Basan
cd8d06c0b5 Fix doxygen issue noticed on gcc Jenkins build 2016-06-08 18:20:31 +02:00
Klaus Basan
954ddfb2e7 refs #649, refs #656, using caches in ICAO data reader
* access to info data reader (get DB metadata)
* adjusted database base class to support caches, info objects
* moved classes to subdir
2016-06-08 18:20:21 +02:00
Klaus Basan
6b7e05077c refs #656, info data reader (load DB metadata) 2016-06-08 18:20:20 +02:00
Klaus Basan
2df190514f refs #649, added flags amd configuration class for caching strategies of DB data
(use cache? TTL? ...)
2016-06-08 03:59:00 +02:00
Klaus Basan
7767e53652 refs #649, refs #656, move swift DB classes to own namespace/directory 2016-06-08 03:58:59 +02:00