![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <AlarmClock.h>
Public Member Functions | |
CAlarmClock () | |
~CAlarmClock () override | |
void | Start (const std::string &strName, float n_secs, const std::string &strCommand, bool bSilent=false, bool bLoop=false) |
bool | IsRunning () const |
bool | HasAlarm (const std::string &strName) |
double | GetRemaining (const std::string &strName) |
void | Stop (const std::string &strName, bool bSilent=false) |
void | Process () override |
![]() | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
void | Sleep (unsigned int milliseconds) |
int | GetSchedRRPriority (void) |
bool | SetPrioritySched_RR (int iPriority) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
int | GetMinPriority (void) |
int | GetMaxPriority (void) |
int | GetNormalPriority (void) |
int | GetPriority (void) |
bool | SetPriority (const int iPriority) |
bool | WaitForThreadExit (unsigned int milliseconds) |
float | GetRelativeUsage () |
int64_t | GetAbsoluteUsage () |
virtual void | OnException () |
Additional Inherited Members | |
![]() | |
static bool | IsCurrentThread (const ThreadIdentifier tid) |
static ThreadIdentifier | GetCurrentThreadId () |
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
static CThread * | GetCurrentThread () |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
![]() | |
CThread (const char *ThreadName) | |
virtual void | OnStartup () |
virtual void | OnExit () |
WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
![]() | |
std::atomic< bool > | m_bStop |
CAlarmClock::CAlarmClock | ( | ) |
|
overridedefault |
|
inline |
|
inline |
|
inline |
void CAlarmClock::Start | ( | const std::string & | strName, |
float | n_secs, | ||
const std::string & | strCommand, | ||
bool | bSilent = false , |
||
bool | bLoop = false |
||
) |
void CAlarmClock::Stop | ( | const std::string & | strName, |
bool | bSilent = false |
||
) |