iipsrv 1.2
iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images
Task Class Reference

Generic class to encapsulate various commands. More...

#include <Task.h>

Inheritance diagram for Task:
CMP CNT CNV COL CTW CVT DeepZoom FIF GAM HEI ICC IIIF INV JTL JTLS LYR MINMAX OBJ PFL QLT RGN ROT SDS SHD SPECTRA TIL WID Zoomify

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

◆ factory()

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

Factory function.

Parameters
typecommand type

◆ run()

virtual void Task::run ( Session session,
const std::string &  argument 
)
inlinevirtual

Main public function.

Reimplemented in OBJ, QLT, SDS, MINMAX, CNT, GAM, WID, HEI, RGN, ROT, FIF, JTL, PTL, WTL, JTLS, TIL, CVT, ICC, SHD, CMP, INV, Zoomify, SPECTRA, PFL, LYR, DeepZoom, IIIF, CTW, COL, and CNV.


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