iipsrv 0.9.9

Task Class Reference

Generic class to encapsulate various commands. More...

#include <Task.h>

Inheritance diagram for Task:
CNT CVT DeepZoom FIF HEI ICC JTL JTLS LYR OBJ QLT RGN SDS SHD SPECTRA TIL WID Zoomify

List of all members.

Public Member Functions

virtual ~Task ()
 Virtual destructor.
virtual void run (Session *session, const std::string &argument)
 Main public function.
void checkImage ()
 Check image.

Static Public Member Functions

static Taskfactory (const std::string &type)
 Factory function.

Protected Attributes

Timer command_timer
 Timer for each task.
Sessionsession
 Pointer to our session data.
std::string argument
 Argument supplied to the task.

Detailed Description

Generic class to encapsulate various commands.


Member Function Documentation

static Task* Task::factory ( const std::string &  type) [static]

Factory function.

Parameters:
typecommand type

The documentation for this class was generated from the following file: