kodi
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CGUIDialogCache Class Reference
Inheritance diagram for CGUIDialogCache:
Inheritance graph
[legend]
Collaboration diagram for CGUIDialogCache:
Collaboration graph
[legend]

Public Member Functions

 CGUIDialogCache (std::chrono::milliseconds delay=std::chrono::milliseconds(100), const std::string &strHeader="", const std::string &strMsg="")
 
void SetHeader (const std::string &strHeader)
 
void SetHeader (int nHeader)
 
void SetMessage (const std::string &strMessage)
 
bool IsCanceled () const
 
void ShowProgressBar (bool bOnOff)
 
void SetPercentage (int iPercentage)
 
void Close (bool bForceClose=false)
 
void Process () override
 
bool OnFileCallback (void *pContext, int ipercent, float avgSpeed) override
 
- Public Member Functions inherited from CThread
 CThread (IRunnable *pRunnable, const char *ThreadName)
 
void Create (bool bAutoDelete=false)
 
template<typename Rep , typename Period >
void Sleep (std::chrono::duration< Rep, Period > duration)
 
bool IsAutoDelete () const
 
virtual void StopThread (bool bWait=true)
 
bool IsRunning () const
 
bool IsCurrentThread () const
 
bool Join (std::chrono::milliseconds duration)
 
bool SetPriority (const ThreadPriority &priority)
 Set the threads priority. This uses the platforms native threading library to do so.
 
virtual void OnException ()
 

Protected Member Functions

void OpenDialog ()
 
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
 
virtual void OnStartup ()
 
virtual void OnExit ()
 
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
 This call will wait on a CEvent in an interruptible way such that if stop is called on the thread the wait will return with a response indicating what happened.
 

Protected Attributes

XbmcThreads::EndTime m_endtime
 
CGUIDialogProgressm_pDlg
 
std::string m_strHeader
 
std::string m_strLinePrev
 
std::string m_strLinePrev2
 
bool bSentCancel
 
- Protected Attributes inherited from CThread
std::atomic< bool > m_bStop
 

Additional Inherited Members

- Static Public Member Functions inherited from CThread
static const std::thread::id GetCurrentThreadId ()
 
static CThreadGetCurrentThread ()
 
- Protected Types inherited from CThread
enum  WaitResponse { WAIT_INTERRUPTED = -1, WAIT_SIGNALED = 0, WAIT_TIMEDOUT = 1 }
 

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