Mathew Sutcliffe
bda0f42c60
refs #815 Mark with \todo the remaining places where CJsonException needs to be caught.
2017-01-10 23:46:37 +00:00
Klaus Basan
5107d55115
refs #833 , use isShuttingDown in readers
...
(a bit stricter than this->isAbandoned)
2016-12-15 04:02:00 +01:00
Klaus Basan
90396e012f
refs #820 , get all getAircraftIcaoCodesForDesignator
2016-12-13 19:01:45 +01:00
Klaus Basan
967e3de226
refs #787 , adjusted readers
...
* mode for reading
* supported entities
* get URL for given mode
2016-12-13 19:01:26 +01:00
Klaus Basan
de7821ff86
refs #781 , use admit in database reader
...
* added amit functions in readers
* cacheHasChanged functions (needed because data of caches are loaded in background)
* pinned small caches
* CDatabaseReader::readInBackgroundThread uses admitCaches now
2016-12-06 09:34:35 +01:00
Klaus Basan
6a8c8c8889
refs #748 , airport JSON reader bug in changed URL fixed (URL was always flagged as changed)
...
In same step some code cleanup
2016-12-06 09:34:19 +01:00
Michał Garapich
a4b5b28cc1
refs #748 Move CAirportDataReader to the db/ subdirectory
...
* BlackCore::CAirportDataReader -> BlackCore::Db::CAirportDataReader
* fix typo in CDatabaseReader
2016-10-17 14:34:30 +01: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
c7d89c7b2c
refs #707 , allow to resolve airline by callsign directly in airline ICAO list
2016-07-14 18:49:21 +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
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
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