6 #ifndef SWIFT_CORE_DB_BACKGROUNDDATAUPDATER_H
7 #define SWIFT_CORE_DB_BACKGROUNDDATAUPDATER_H
12 #include <QReadWriteLock>
30 static const QStringList &getLogCategories();
44 mutable QReadWriteLock m_lockMsg;
45 std::atomic_int m_cycle { 0 };
46 std::atomic_bool m_inWork {
false };
47 std::atomic_bool m_updatePublishedModels {
true };
59 void triggerInfoReads();
65 syncModelOrModelSetCacheWithDbData(
bool modelSetFlag,
69 void syncDbEntity(swift::misc::network::CEntityFlags::Entity entity);
72 bool doWorkCheck()
const;
Update and consolidation of DB data.
void consolidating(bool running)
Consolidation.
Base class for a long-lived worker object which lives in its own thread.
Streamable status message, e.g.
Status messages, e.g. from Core -> GUI.
Value object encapsulating a list of aircraft models.
Bundle of caches for all simulators.
Bundle of caches for model sets of all simulators.
Cache for multiple simulators specified by CSimulatorInfo.
Classes interacting with the swift database (aka "datastore").
#define SWIFT_CORE_EXPORT
Export a class or function from the library.