control::TaskWorker Class Reference

Inheritance diagram for control::TaskWorker:
Inheritance graph
[legend]
Collaboration diagram for control::TaskWorker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ActionType actionType () const
DataType dataType () const
QString description () const
QString name () const
void init (domain::TaskManagerData *data, ui::UiInterface *ui, ControllerFactory *factory)

Private Member Functions

void execute ()
void execute (const domain::StorableData *data)
bool userIsValid () const
void showTaskList ()

Private Attributes

QList< FocusInterface * > focusStrategies
ControllerInterfacetaskModifier
ControllerInterfacetaskUpdater
QList< domain::Task * > currentTasks

Detailed Description

Definition at line 16 of file taskworker.h.


Member Function Documentation

ControllerInterface::ActionType TaskWorker::actionType (  )  const [virtual]

Returns the action type of the controller

Implements control::ControllerInterface.

Definition at line 29 of file taskworker.cpp.

ControllerInterface::DataType TaskWorker::dataType (  )  const [virtual]

Returns the data type on which the controller acts

Implements control::ControllerInterface.

Definition at line 34 of file taskworker.cpp.

QString TaskWorker::description (  )  const [virtual]

Returns the description of the controller

Implements control::ControllerInterface.

Definition at line 39 of file taskworker.cpp.

void TaskWorker::execute ( const domain::StorableData data  )  [private, virtual]

Executes a use case for a given object

Parameters:
data Data that has to be executed

Reimplemented from control::ControllerInterface.

Definition at line 85 of file taskworker.cpp.

Here is the call graph for this function:

void TaskWorker::execute (  )  [private, virtual]

Executes a whole use case

Implements control::ControllerInterface.

Definition at line 54 of file taskworker.cpp.

Here is the call graph for this function:

void TaskWorker::init ( domain::TaskManagerData data,
ui::UiInterface ui,
ControllerFactory factory 
) [virtual]

Initiates the controller with a pointer to a TaskManagerData object, a user interface and a controller factory

Parameters:
data Pointer to TaskManagerData object
ui Pointer to a user interface
factory Pointer to a controller factory
See also:
domain::TaskManagerData, ui::UiInterface, ControllerFactory

Reimplemented from control::ControllerInterface.

Definition at line 164 of file taskworker.cpp.

QString TaskWorker::name (  )  const [virtual]

Returns the name of the controller

Implements control::ControllerInterface.

Definition at line 44 of file taskworker.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:08 2010 for MopTaskManager by  doxygen 1.6.3