common::Task Class Reference

#include <thread.h>

Inheritance diagram for common::Task:
Inheritance graph
[legend]

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

Detailed Description

Definition at line 81 of file thread.h.


Constructor & Destructor Documentation

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.

00038 {


Member Function Documentation

virtual void common::Task::execute (  )  [pure virtual]
bool common::Task::is_aborted (  )  const [inline]

Definition at line 94 of file thread.h.

Referenced by text::SearchTask::execute(), and text::PaginationTask::execute().

00095     {
00096         return aborted;
00097     }

Here is the caller graph for this function:

void common::Task::send_abort_request (  ) 

Send abort request to the current running task.

Definition at line 39 of file thread.cpp.

00042 {


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208