Mathew Sutcliffe
0ae1e70923
refs #697 Data cache traits renamed with T prefix.
2016-08-03 02:20:27 +01:00
Klaus Basan
85d8d14a48
added "break"
2016-06-15 00:11:17 +02:00
Klaus Basan
dc64e9b6bd
allow to reset simulator if not appropriate for some reasons
2016-06-15 00:11:16 +02:00
Klaus Basan
2a99bed0cd
refs #656 , MS review items https://dev.vatsim-germany.org/issues/656#note-4
...
Remove defaultValue where not needed
2016-06-08 18:21:03 +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
c39882e5db
refs #649 , further fixes and improvements
...
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
8673d2eada
refs #649 , use utility function to emit signal
...
(can be better traced in debugger)
2016-06-08 18:20:45 +02:00
Klaus Basan
f58b3bf065
refs #649 , refs #659 use new timestamp function
2016-06-08 18:20:44 +02:00
Klaus Basan
81d88837f9
refs #649 , add.function getSyncronizedValues
...
Normally getValue should transparently sync. But this force me to make the function non-const.
2016-06-08 18:20:42 +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
bc926e592e
refs #649 , allow to guess used simulator (for default values)
2016-06-08 18:20:37 +02:00
Klaus Basan
e6f0db73c5
refs #656 , using deferred for large caches
2016-06-08 18:20:36 +02:00
Klaus Basan
c0fda8687d
refs #661 , improved own model set handling
...
* fixed simulator selector
* added simulator selector to own model set component
* pinned last selections
* fixed model cache to use "getCopy"
2016-06-08 18:20:25 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
bf2a84b67c
refs #614 , allow CCached::NotifySlot to refer to a base class method
2016-05-07 20:11:42 +02:00
Klaus Basan
43f9515eaa
refs #641 , moved last simulator selection to caches
...
* removed from component cache
* kept renamed component caches as stubs for later usage
refs #646 , removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
bb6eea6c72
refs #641 , using order in model caches
2016-05-05 20:49:24 +02:00
Klaus Basan
314c005ff2
refs #614 , a generic interface to modify / update models so I can write generic functions for that purpose and use them
...
* interface for the caches
* generic model interfaces
2016-04-11 20:22:15 +02:00
Klaus Basan
f3ef7ad7ea
refs #614 , renamed to CAircraftModelSetLoader and detect changes in cache
2016-04-11 20:16:26 +02:00
Klaus Basan
057c88b0f2
refs #614 , using threadsafe version of getCopy and Doxygen
2016-04-11 20:16:11 +02:00
Klaus Basan
a1d6492ff2
refs #614 , moved cache to vPilot reader
2016-04-11 20:16:03 +02:00
Klaus Basan
c339a3d1e0
refs #619 , use a combined cache class
...
* moved caches to blackmisc
* used CModelCaches in loader
* applied changes in simulator specific loader classes
* renamed find function to findFirstByModelStringOrDefault
* made merge function static so it can be used elsewhere
2016-03-30 13:41:51 +02:00
Klaus Basan
4087d63d9c
refs #619 , change model loader to use caches (one per simulator)
...
* removed caching from GUI component
* added caches in model loader
* adjusted samples
2016-03-23 03:24:54 +01:00