#include <thread.h>
Public Member Functions | |
Task () | |
Constructors and destructors. | |
virtual | ~Task () |
virtual void | execute ()=0 |
Execute task with task context. | |
void | send_abort_request () |
Send abort request to the current running task. | |
bool | is_aborted () const |
Definition at line 81 of file thread.h.
common::Task::Task | ( | ) |
Constructors and destructors.
Definition at line 30 of file thread.cpp.
00030 { 00031 00032 Task::Task() 00033 {
common::Task::~Task | ( | ) | [virtual] |
Definition at line 35 of file thread.cpp.
virtual void common::Task::execute | ( | ) | [pure virtual] |
Execute task with task context.
Implemented in images::ImageRenderTask, text::InitializationTask, text::DeinitializationTask, text::PaginationTask, text::PaginationAbortTask, text::RenderTask, and text::SearchTask.
bool common::Task::is_aborted | ( | ) | const [inline] |
Definition at line 94 of file thread.h.
Referenced by text::SearchTask::execute(), and text::PaginationTask::execute().
void common::Task::send_abort_request | ( | ) |