foobar2000 SDK
2015-08-03
|
#include <completion_notify.h>
Public Member Functions | |
~completion_notify_receiver () | |
completion_notify::ptr | create_or_get_task (unsigned p_id) |
completion_notify_ptr | create_task (unsigned p_id) |
bool | have_task (unsigned p_id) const |
virtual void | on_task_completion (unsigned p_id, unsigned p_status) |
void | orphan_all_tasks () |
void | orphan_task (unsigned p_id) |
Static Private Member Functions | |
static void | orphanfunc (unsigned, completion_notify_orphanable_nnptr p_item) |
Private Attributes | |
pfc::map_t< unsigned, completion_notify_orphanable_nnptr > | m_tasks |
Helper base class for classes that manage nonblocking tasks and get notified back thru completion_notify interface.
Definition at line 62 of file completion_notify.h.
completion_notify_receiver::~completion_notify_receiver | ( | ) |
Definition at line 57 of file completion_notify.cpp.
completion_notify::ptr completion_notify_receiver::create_or_get_task | ( | unsigned | p_id | ) |
Definition at line 28 of file completion_notify.cpp.
completion_notify_ptr completion_notify_receiver::create_task | ( | unsigned | p_id | ) |
Definition at line 37 of file completion_notify.cpp.
bool completion_notify_receiver::have_task | ( | unsigned | p_id | ) | const |
Definition at line 45 of file completion_notify.cpp.
|
inlinevirtual |
Reimplemented in CSimpleThread, and InPlaceEdit::CTableEditHelperV2.
Definition at line 71 of file completion_notify.h.
void completion_notify_receiver::orphan_all_tasks | ( | ) |
Definition at line 61 of file completion_notify.cpp.
void completion_notify_receiver::orphan_task | ( | unsigned | p_id | ) |
Definition at line 49 of file completion_notify.cpp.
|
inlinestaticprivate |
Definition at line 73 of file completion_notify.h.
|
private |
Definition at line 74 of file completion_notify.h.