6 #ifndef SWIFT_CORE_DB_INFODATAREADER_H
7 #define SWIFT_CORE_DB_INFODATAREADER_H
9 #include <QNetworkReply>
11 #include <QReadWriteLock>
37 int getInfoObjectCount()
const;
41 bool areAllInfoObjectsRead()
const;
51 swift::misc::network::CEntityFlags::Entity whatToRead,
52 bool overrideNewer)
override;
53 bool readFromJsonFilesInBackground(
const QString &dir, swift::misc::network::CEntityFlags::Entity whatToRead,
54 bool overrideNewer)
override;
57 swift::misc::network::CEntityFlags::Entity getSupportedEntities()
const override;
58 QDateTime getCacheTimestamp(swift::misc::network::CEntityFlags::Entity entity)
const override;
59 int getCacheCount(swift::misc::network::CEntityFlags::Entity entity)
const override;
60 swift::misc::network::CEntityFlags::Entity getEntitiesWithCacheCount()
const override;
61 swift::misc::network::CEntityFlags::Entity
62 getEntitiesWithCacheTimestampNewerThan(
const QDateTime &threshold)
const override;
63 void synchronizeCaches(swift::misc::network::CEntityFlags::Entity entities)
override;
64 void admitCaches(swift::misc::network::CEntityFlags::Entity entities)
override;
68 void invalidateCaches(swift::misc::network::CEntityFlags::Entity entities)
override;
88 void read(swift::misc::network::CEntityFlags::Entity entities,
Value object encapsulating a list of reader configs.
Specialized version of threaded reader for DB data.
Read information about data from Database or shared files such as when updated and number of entries.
Status messages, e.g. from Core -> GUI.
DataRetrievalModeFlag
Which data to read, requires corresponding readers.
Value object encapsulating a list of info objects.
EntityFlag
Which data to read, requires corresponding readers.
Value object encapsulating information of a location, kind of simplified CValueObject compliant versi...
Classes interacting with the swift database (aka "datastore").
#define SWIFT_CORE_EXPORT
Export a class or function from the library.