FlightGear next
|
Thread encapsulating a cache rebuild. More...
Inherits SGThread.
Public Member Functions | |
RebuildThread (NavDataCache *cache) | |
~RebuildThread () | |
bool | isFinished () const |
virtual void | run () |
NavDataCache::RebuildPhase | currentPhase () const |
unsigned int | completionPercent () const |
void | setProgress (NavDataCache::RebuildPhase ph, unsigned int percent) |
Thread encapsulating a cache rebuild.
This is not used to parallelise the rebuild - we must still wait until completion before doing other startup, since many things rely on a complete cache. The thread is used so we don't block the main event loop for an unacceptable duration, which causes 'not responding' / spinning beachballs on Windows & Mac
Definition at line 166 of file NavDataCache.cxx.
|
inline |
Definition at line 169 of file NavDataCache.cxx.
|
inline |
Definition at line 178 of file NavDataCache.cxx.
|
inline |
Definition at line 209 of file NavDataCache.cxx.
|
inline |
Definition at line 201 of file NavDataCache.cxx.
|
inline |
Definition at line 183 of file NavDataCache.cxx.
|
inlinevirtual |
Definition at line 189 of file NavDataCache.cxx.
|
inline |
Definition at line 217 of file NavDataCache.cxx.