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

#include <WinEventsOSX.h>

Inheritance diagram for CWinEventsOSX:
IWinEvents CThread

Public Member Functions

 CWinEventsOSX ()
 
 ~CWinEventsOSX ()
 
void MessagePush (XBMC_Event *newEvent)
 
bool MessagePump ()
 
size_t GetQueueSize ()
 
void enableInputEvents ()
 
void disableInputEvents ()
 
void signalMouseEntered ()
 
void signalMouseExited ()
 
void SendInputEvent (NSEvent *nsEvent)
 
- Public Member Functions inherited from IWinEvents
virtual ~IWinEvents ()=default
 
- 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)
 
virtual void OnStartup ()
 
virtual void OnExit ()
 
virtual void Process ()
 
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
 
- Protected Attributes inherited from CThread
std::atomic< boolm_bStop
 

Constructor & Destructor Documentation

◆ CWinEventsOSX()

CWinEventsOSX::CWinEventsOSX ( )

◆ ~CWinEventsOSX()

CWinEventsOSX::~CWinEventsOSX ( )

Member Function Documentation

◆ disableInputEvents()

void CWinEventsOSX::disableInputEvents ( )

◆ enableInputEvents()

void CWinEventsOSX::enableInputEvents ( )

◆ GetQueueSize()

size_t CWinEventsOSX::GetQueueSize ( )

◆ MessagePump()

bool CWinEventsOSX::MessagePump ( )
virtual

Implements IWinEvents.

◆ MessagePush()

void CWinEventsOSX::MessagePush ( XBMC_Event * newEvent)

◆ SendInputEvent()

void CWinEventsOSX::SendInputEvent ( NSEvent * nsEvent)

◆ signalMouseEntered()

void CWinEventsOSX::signalMouseEntered ( )

◆ signalMouseExited()

void CWinEventsOSX::signalMouseExited ( )

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