#include <BackgroundInfoLoader.h>
|
| class | CItemHold |
| | Keeps the loader thread away from an item for as long as it lives, so that another thread can read or change the item meanwhile. Waits only while the loader thread is working on that very item. The loader thread puts a held item aside and goes on with the other items, and loads it between them once it is released, at the latest after them. More...
|
| |
◆ CBackgroundInfoLoader()
| CBackgroundInfoLoader::CBackgroundInfoLoader |
( |
| ) |
|
|
default |
◆ ~CBackgroundInfoLoader()
| CBackgroundInfoLoader::~CBackgroundInfoLoader |
( |
| ) |
|
|
override |
◆ IsLoading()
| bool CBackgroundInfoLoader::IsLoading |
( |
| ) |
|
◆ Load()
◆ LoadItem()
| virtual bool CBackgroundInfoLoader::LoadItem |
( |
CFileItem * | pItem | ) |
|
|
inlinevirtual |
◆ LoadItemCached()
| virtual bool CBackgroundInfoLoader::LoadItemCached |
( |
CFileItem * | pItem | ) |
|
|
inlinevirtual |
◆ LoadItemLookup()
| virtual bool CBackgroundInfoLoader::LoadItemLookup |
( |
CFileItem * | pItem | ) |
|
|
inlinevirtual |
◆ OnLoaderFinish()
| virtual void CBackgroundInfoLoader::OnLoaderFinish |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnLoaderStart()
| virtual void CBackgroundInfoLoader::OnLoaderStart |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Run()
| void CBackgroundInfoLoader::Run |
( |
| ) |
|
|
overridevirtual |
◆ SetObserver()
◆ SetProgressCallback()
◆ StopAsync()
| void CBackgroundInfoLoader::StopAsync |
( |
| ) |
|
◆ StopThread()
| void CBackgroundInfoLoader::StopThread |
( |
| ) |
|
◆ m_bIsLoading
| volatile bool CBackgroundInfoLoader::m_bIsLoading {false} |
|
protected |
◆ m_bStop
| volatile bool CBackgroundInfoLoader::m_bStop {true} |
|
protected |
◆ m_heldItems
| std::vector<const CFileItem*> CBackgroundInfoLoader::m_heldItems |
|
protected |
items the loader thread has to leave alone
◆ m_itemLock
| CCriticalSection CBackgroundInfoLoader::m_itemLock |
|
protected |
◆ m_lock
| CCriticalSection CBackgroundInfoLoader::m_lock |
|
protected |
◆ m_pObserver
◆ m_pProgressCallback
◆ m_pVecItems
◆ m_thread
| std::unique_ptr<CThread> CBackgroundInfoLoader::m_thread {} |
|
protected |
◆ m_vecItems
The documentation for this class was generated from the following files: