Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CBackgroundPicLoader Class Reference

#include <GUIWindowSlideShow.h>

Inheritance diagram for CBackgroundPicLoader:
CThread

Public Member Functions

 CBackgroundPicLoader ()
 
 ~CBackgroundPicLoader () override
 
void Create (CGUIWindowSlideShow *pCallback)
 
void LoadPic (int iPic, int iSlideNumber, const std::string &strFileName, const int maxWidth, const int maxHeight)
 
bool IsLoading ()
 
int SlideNumber () const
 
int Pic () const
 
- Public Member Functions inherited from CThread
 CThread (IRunnable *pRunnable, const char *ThreadName)
 
virtual ~CThread ()
 
void Create (bool bAutoDelete=false, unsigned stacksize=0)
 
void Sleep (unsigned int milliseconds)
 
int GetSchedRRPriority (void)
 
bool SetPrioritySched_RR (int iPriority)
 
bool IsAutoDelete () const
 
virtual void StopThread (bool bWait=true)
 
bool IsRunning () const
 
bool IsCurrentThread () const
 
int GetMinPriority (void)
 
int GetMaxPriority (void)
 
int GetNormalPriority (void)
 
int GetPriority (void)
 
bool SetPriority (const int iPriority)
 
bool WaitForThreadExit (unsigned int milliseconds)
 
float GetRelativeUsage ()
 
int64_t GetAbsoluteUsage ()
 
virtual void OnException ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CThread
static bool IsCurrentThread (const ThreadIdentifier tid)
 
static ThreadIdentifier GetCurrentThreadId ()
 
static ThreadIdentifier GetDisplayThreadId (const ThreadIdentifier tid)
 
static CThreadGetCurrentThread ()
 
- Protected Types inherited from CThread
enum  WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 }
 
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
 
virtual void OnStartup ()
 
virtual void OnExit ()
 
WaitResponse AbortableWait (CEvent &event, int timeoutMillis=-1)
 
- Protected Attributes inherited from CThread
std::atomic< bool > m_bStop
 

Constructor & Destructor Documentation

◆ CBackgroundPicLoader()

CBackgroundPicLoader::CBackgroundPicLoader ( )

◆ ~CBackgroundPicLoader()

CBackgroundPicLoader::~CBackgroundPicLoader ( )
override

Member Function Documentation

◆ Create()

void CBackgroundPicLoader::Create ( CGUIWindowSlideShow pCallback)

◆ IsLoading()

bool CBackgroundPicLoader::IsLoading ( )
inline

◆ LoadPic()

void CBackgroundPicLoader::LoadPic ( int  iPic,
int  iSlideNumber,
const std::string &  strFileName,
const int  maxWidth,
const int  maxHeight 
)

◆ Pic()

int CBackgroundPicLoader::Pic ( ) const
inline

◆ SlideNumber()

int CBackgroundPicLoader::SlideNumber ( ) const
inline

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