mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Preparation of T126: Minor tweaks, renaming and formatting of InfoDataReader
* unified member access (this->m_xy => m_xy) * set object name of readers * waitForSharedInfoObjectsThenRead (not just waiting, also reading afterwards)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2387edb5a0
commit
f694ded5f2
@@ -494,13 +494,15 @@ namespace BlackCore
|
||||
int getInfoObjectCount(BlackMisc::Network::CEntityFlags::Entity entity, BlackCore::Db::CInfoDataReader *reader) const;
|
||||
|
||||
//! Wait for DB info objects to be read
|
||||
bool waitForDbInfoObjects(BlackMisc::Network::CEntityFlags::Entity entities);
|
||||
bool waitForDbInfoObjectsThenRead(BlackMisc::Network::CEntityFlags::Entity entities);
|
||||
|
||||
//! Wait for shared info objects to be read
|
||||
bool waitForSharedInfoObjects(BlackMisc::Network::CEntityFlags::Entity entities);
|
||||
//! \return true means info objects available
|
||||
bool waitForSharedInfoObjectsThenRead(BlackMisc::Network::CEntityFlags::Entity entities);
|
||||
|
||||
//! Wait for info objects to be read
|
||||
bool waitForInfoObjects(BlackMisc::Network::CEntityFlags::Entity entities, const QString &info, BlackCore::Db::CInfoDataReader *reader, int &trials);
|
||||
//! \return true means info objects available
|
||||
bool waitForInfoObjectsThenRead(BlackMisc::Network::CEntityFlags::Entity entities, const QString &info, BlackCore::Db::CInfoDataReader *reader, int &trials);
|
||||
|
||||
CWebReaderFlags::WebReader m_readers = CWebReaderFlags::WebReaderFlag::None; //!< which readers are available
|
||||
BlackMisc::Network::CEntityFlags::Entity m_entitiesPeriodicallyRead = BlackMisc::Network::CEntityFlags::NoEntity; //!< entities permanently updated by timers
|
||||
|
||||
Reference in New Issue
Block a user