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

#include <WindowHelper.h>

Inheritance diagram for CWHelper:

Public Member Functions

 CWHelper (void)
virtual ~CWHelper (void)
virtual void OnStartup ()
virtual void OnExit ()
virtual void Process ()
void SetHWND (HWND hwnd)
void SetHANDLE (HANDLE hProcess)
- Public Member Functions inherited from CThread
 CThread (IRunnable *pRunnable, const char *ThreadName)
virtual ~CThread ()
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 ()

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 }
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
- Protected Attributes inherited from CThread
std::atomic< boolm_bStop

Constructor & Destructor Documentation

◆ CWHelper()

CWHelper::CWHelper ( void )

◆ ~CWHelper()

CWHelper::~CWHelper ( void )

Member Function Documentation

◆ OnExit()

void CWHelper::OnExit ( )

Reimplemented from CThread.

◆ OnStartup()

void CWHelper::OnStartup ( )

Reimplemented from CThread.

◆ Process()

void CWHelper::Process ( void )

Reimplemented from CThread.


void CWHelper::SetHANDLE ( HANDLE hProcess)

◆ SetHWND()

void CWHelper::SetHWND ( HWND hwnd)

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