![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <AirPlayServer.h>
Public Member Functions | |
void | Announce (ANNOUNCEMENT::AnnouncementFlag flag, const char *sender, const char *message, const CVariant &data) 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 () |
![]() | |
IAnnouncer ()=default | |
virtual | ~IAnnouncer ()=default |
Static Public Member Functions | |
static bool | StartServer (int port, bool nonlocal) |
static void | StopServer (bool bWait) |
static bool | IsRunning () |
static bool | SetCredentials (bool usePassword, const std::string &password) |
static bool | IsPlaying () |
static void | backupVolume () |
static void | restoreVolume () |
![]() | |
static bool | IsCurrentThread (const ThreadIdentifier tid) |
static ThreadIdentifier | GetCurrentThreadId () |
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
static CThread * | GetCurrentThread () |
Static Public Attributes | |
static int | m_isPlaying = 0 |
Protected Member Functions | |
void | Process () override |
![]() | |
CThread (const char *ThreadName) | |
virtual void | OnStartup () |
virtual void | OnExit () |
WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Additional Inherited Members | |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
![]() | |
std::atomic< bool > | m_bStop |
|
overridevirtual |
Implements ANNOUNCEMENT::IAnnouncer.
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |