|
void | Announce (ANNOUNCEMENT::AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) override |
|
void | RegisterActionListener (bool doRegister) |
|
bool | OnAction (const CAction &action) override |
| Handle a GUI action. More...
|
|
void | Process () override |
|
bool | IsRAOPRunningInternal () |
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
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 () |
|
|
static void | EnableActionProcessing (bool enable) |
|
static bool | StartServer (int port, bool nonlocal, bool usePassword, const std::string &password="") |
|
static void | StopServer (bool bWait) |
|
static bool | IsRunning () |
|
static void | SetMetadataFromBuffer (const char *buffer, unsigned int size) |
|
static void | SetCoverArtFromBuffer (const char *buffer, unsigned int size) |
|
static void | SetupRemoteControl () |
|
static void | FreeDACPRemote () |
|
static const std::thread::id | GetCurrentThreadId () |
|
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, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
| This call will wait on a CEvent in an interruptible way such that if stop is called on the thread the wait will return with a response indicating what happened.
|
|
std::atomic< bool > | m_bStop |
|
◆ OnAction()
bool CAirTunesServer::OnAction |
( |
const CAction & |
action | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: