|
void | Start () |
|
void | Deinitialize () |
|
void | AddAnnouncer (IAnnouncer *listener) |
|
void | RemoveAnnouncer (IAnnouncer *listener) |
|
void | Announce (AnnouncementFlag flag, const std::string &message) |
|
void | Announce (AnnouncementFlag flag, const std::string &message, const CVariant &data) |
|
void | Announce (AnnouncementFlag flag, const std::string &message, const std::shared_ptr< const CFileItem > &item) |
|
void | Announce (AnnouncementFlag flag, const std::string &message, const std::shared_ptr< const CFileItem > &item, const CVariant &data) |
|
void | Announce (AnnouncementFlag flag, const std::string &sender, const std::string &message) |
|
void | Announce (AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) |
|
void | Announce (AnnouncementFlag flag, const std::string &sender, const std::string &message, const std::shared_ptr< const CFileItem > &item, const CVariant &data) |
|
| 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 () |
|
|
void | Process () override |
|
void | DoAnnounce (AnnouncementFlag flag, const std::string &sender, const std::string &message, const std::shared_ptr< CFileItem > &item, const CVariant &data) |
|
void | DoAnnounce (AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) |
|
| 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.
|
|