|
UniSet 2.32.1
|
#include <ThreadCreator.h>
Открытые типы | |
| typedef void(ThreadMaster::* | Action) (void) |
Открытые члены | |
| ThreadCreator (ThreadMaster *m, Action a) | |
| Poco::Thread::TID | getTID () const |
| void | setPriority (Poco::Thread::Priority prior) |
| Poco::Thread::Priority | getPriority () const |
| void | stop () |
| void | start () |
| void | sleep (long milliseconds) |
| bool | isRunning () const |
| void | join () |
| void | setFinalAction (ThreadMaster *m, Action a) |
| void | setInitialAction (ThreadMaster *m, Action a) |
Защищенные члены | |
| virtual void | run () |
| virtual void | final () |
| virtual void | initial () |
| virtual void | terminate () |
Шаблон для создания потоков с указанием функции вызова. Пример использования:
| typedef void(ThreadMaster::* uniset::ThreadCreator< ThreadMaster >::Action) (void) |
прототип функции вызова
| Poco::Thread::Priority uniset::ThreadCreator< ThreadMaster >::getPriority | ( | ) | const |
| void uniset::ThreadCreator< ThreadMaster >::setPriority | ( | Poco::Thread::Priority | prior | ) |