![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RumbleGenerator.h>
Public Member Functions | |
CRumbleGenerator () | |
~CRumbleGenerator () override | |
std::string | ControllerID () const |
void | NotifyUser (IInputReceiver *receiver) |
bool | DoTest (IInputReceiver *receiver) |
void | AbortRumble (void) |
![]() | |
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 () |
Protected Member Functions | |
void | Process () override |
![]() | |
CThread (const char *ThreadName) | |
virtual void | OnStartup () |
virtual void | OnExit () |
WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
Additional Inherited Members | |
![]() | |
static const std::thread::id | GetCurrentThreadId () |
static CThread * | GetCurrentThread () |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
![]() | |
std::atomic< bool > | m_bStop |
CRumbleGenerator::CRumbleGenerator | ( | ) |
|
inlineoverride |
std::string CRumbleGenerator::ControllerID | ( | ) | const |
bool CRumbleGenerator::DoTest | ( | IInputReceiver * | receiver | ) |
void CRumbleGenerator::NotifyUser | ( | IInputReceiver * | receiver | ) |