Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::JOYSTICK::CRumbleGenerator Class Reference

#include <RumbleGenerator.h>

Inheritance diagram for KODI::JOYSTICK::CRumbleGenerator:
CThread

Public Member Functions

 CRumbleGenerator ()
 
 ~CRumbleGenerator () override
 
std::string ControllerID () const
 
void NotifyUser (IInputReceiver *receiver)
 
bool DoTest (IInputReceiver *receiver)
 
void AbortRumble (void)
 
- 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 ()
 

Protected Member Functions

void Process () override
 
- 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))
 

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 Attributes inherited from CThread
std::atomic< boolm_bStop
 

Constructor & Destructor Documentation

◆ CRumbleGenerator()

CRumbleGenerator::CRumbleGenerator ( )

◆ ~CRumbleGenerator()

KODI::JOYSTICK::CRumbleGenerator::~CRumbleGenerator ( )
inlineoverride

Member Function Documentation

◆ AbortRumble()

void KODI::JOYSTICK::CRumbleGenerator::AbortRumble ( void )
inline

◆ ControllerID()

std::string CRumbleGenerator::ControllerID ( ) const

◆ DoTest()

bool CRumbleGenerator::DoTest ( IInputReceiver * receiver)

◆ NotifyUser()

void CRumbleGenerator::NotifyUser ( IInputReceiver * receiver)

◆ Process()

void CRumbleGenerator::Process ( void )
overrideprotectedvirtual

Reimplemented from CThread.


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