foobar2000 SDK
2015-08-03
|
#include <ThreadUtils.h>
Data Structures | |
class | command |
Protected Types | |
typedef pfc::rcptr_t< command > | command_ptr |
Protected Member Functions | |
CSingleThreadWrapper () | |
~CSingleThreadWrapper () | |
void | invokeCommand (command_ptr cmd, abort_callback &abort) |
Protected Member Functions inherited from CVerySimpleThread | |
CVerySimpleThread () | |
bool | IsThreadActive () const |
void | StartThread (int priority) |
void | StartThread () |
void | WaitTillThreadDone () |
Private Types | |
enum | status { success, fail, fail_io, fail_io_data, fail_abort } |
Private Member Functions | |
void | ThreadProc () |
Private Attributes | |
CObjectQueue< command_ptr > | m_commands |
win32_event | m_completionEvent |
abort_callback_impl | m_threadAbort |
Definition at line 168 of file ThreadUtils.h.
|
protected |
Definition at line 221 of file ThreadUtils.h.
|
private |
Enumerator | |
---|---|
success | |
fail | |
fail_io | |
fail_io_data | |
fail_abort |
Definition at line 170 of file ThreadUtils.h.
|
inlineprotected |
Definition at line 223 of file ThreadUtils.h.
|
inlineprotected |
Definition at line 229 of file ThreadUtils.h.
|
inlineprotected |
Definition at line 234 of file ThreadUtils.h.
|
inlineprivatevirtual |
Implements CVerySimpleThread.
Definition at line 246 of file ThreadUtils.h.
|
private |
Definition at line 260 of file ThreadUtils.h.
|
private |
Definition at line 259 of file ThreadUtils.h.
|
private |
Definition at line 261 of file ThreadUtils.h.