Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CPictureInfoLoader Class Reference

#include <PictureInfoLoader.h>

Inheritance diagram for CPictureInfoLoader:
CBackgroundInfoLoader IRunnable

Public Member Functions

 CPictureInfoLoader ()
 
 ~CPictureInfoLoader () override
 
void UseCacheOnHD (const std::string &strFileName)
 
bool LoadItem (CFileItem *pItem) override
 
bool LoadItemCached (CFileItem *pItem) override
 
bool LoadItemLookup (CFileItem *pItem) override
 
- Public Member Functions inherited from CBackgroundInfoLoader
 CBackgroundInfoLoader ()
 
 ~CBackgroundInfoLoader () override
 
void Load (CFileItemList &items)
 
bool IsLoading ()
 
void Run () override
 
void SetObserver (IBackgroundLoaderObserver *pObserver)
 
void SetProgressCallback (IProgressCallback *pCallback)
 
void StopThread ()
 
void StopAsync ()
 
- Public Member Functions inherited from IRunnable
virtual void Cancel ()
 
virtual ~IRunnable ()=default
 

Protected Member Functions

void OnLoaderStart () override
 
void OnLoaderFinish () override
 
- Protected Member Functions inherited from CBackgroundInfoLoader

Protected Attributes

CFileItemListm_mapFileItems
 
unsigned int m_tagReads
 
bool m_loadTags
 
- Protected Attributes inherited from CBackgroundInfoLoader
CFileItemListm_pVecItems {nullptr}
 
std::vector< CFileItemPtrm_vecItems
 
CCriticalSection m_lock
 
volatile bool m_bIsLoading {false}
 
volatile bool m_bStop {true}
 
CThreadm_thread {nullptr}
 
IBackgroundLoaderObserverm_pObserver {nullptr}
 
IProgressCallbackm_pProgressCallback {nullptr}
 

Constructor & Destructor Documentation

◆ CPictureInfoLoader()

CPictureInfoLoader::CPictureInfoLoader ( )

◆ ~CPictureInfoLoader()

CPictureInfoLoader::~CPictureInfoLoader ( )
override

Member Function Documentation

◆ LoadItem()

bool CPictureInfoLoader::LoadItem ( CFileItem * pItem)
overridevirtual

Reimplemented from CBackgroundInfoLoader.

◆ LoadItemCached()

bool CPictureInfoLoader::LoadItemCached ( CFileItem * pItem)
overridevirtual

Reimplemented from CBackgroundInfoLoader.

◆ LoadItemLookup()

bool CPictureInfoLoader::LoadItemLookup ( CFileItem * pItem)
overridevirtual

Reimplemented from CBackgroundInfoLoader.

◆ OnLoaderFinish()

void CPictureInfoLoader::OnLoaderFinish ( )
overrideprotectedvirtual

Reimplemented from CBackgroundInfoLoader.

◆ OnLoaderStart()

void CPictureInfoLoader::OnLoaderStart ( )
overrideprotectedvirtual

Reimplemented from CBackgroundInfoLoader.

◆ UseCacheOnHD()

void CPictureInfoLoader::UseCacheOnHD ( const std::string & strFileName)

Member Data Documentation

◆ m_loadTags

bool CPictureInfoLoader::m_loadTags
protected

◆ m_mapFileItems

CFileItemList* CPictureInfoLoader::m_mapFileItems
protected

◆ m_tagReads

unsigned int CPictureInfoLoader::m_tagReads
protected

The documentation for this class was generated from the following files: