29#include "IIPResponse.h"
30#include "JPEGCompressor.h"
32#include "TileManager.h"
37#include "Transforms.h"
40#include "PNGCompressor.h"
43#include "WebPCompressor.h"
52#ifdef HAVE_EXT_POOL_ALLOCATOR
53#include <ext/pool_allocator.h>
54typedef HASHMAP < std::string,
IIPImage,
55 __gnu_cxx::hash< const std::string >,
56 std::equal_to< const std::string >,
57 __gnu_cxx::__pool_alloc< std::pair<const std::string,IIPImage> >
60typedef HASHMAP <std::string,IIPImage> imageCacheMapType;
84 std::map <const std::string, std::string> headers;
85 std::map <const std::string, unsigned int> codecOptions;
87 imageCacheMapType *imageCache;
146 void resolution_number();
147 void colorspace( std::string arg );
149 void bits_per_channel();
150 void horizontal_views();
151 void vertical_views();
152 void min_max_values();
155 void metadata( std::string field );
Colormap Command.
Definition: Task.h:307
void run(Session *session, const std::string &argument)
Main public function.
Contrast Command.
Definition: Task.h:183
void run(Session *session, const std::string &argument)
Main public function.
CNV Convolution Filter Command.
Definition: Task.h:377
void run(Session *session, const std::string &argument)
Main public function.
Color Conversion Command.
Definition: Task.h:370
void run(Session *session, const std::string &argument)
Main public function.
Color Twist Command.
Definition: Task.h:363
void run(Session *session, const std::string &argument)
Main public function.
CVT Region Export Command.
Definition: Task.h:282
void run(Session *session, const std::string &argument)
Main public function.
void send(Session *session)
Send out our requested region.
Cache to store raw tile data.
Definition: Cache.h:90
DeepZoom Request Command.
Definition: Task.h:349
void run(Session *session, const std::string &argument)
Main public function.
FCGI Writer Class.
Definition: Writer.h:65
FIF Command.
Definition: Task.h:225
void run(Session *session, const std::string &argument)
Main public function.
File Writer Class.
Definition: Writer.h:121
Gamma Command.
Definition: Task.h:190
void run(Session *session, const std::string &argument)
Main public function.
CVT Height Command.
Definition: Task.h:204
void run(Session *session, const std::string &argument)
Main public function.
ICC Profile Command.
Definition: Task.h:293
void run(Session *session, const std::string &argument)
Main public function.
IIIF Command.
Definition: Task.h:356
void run(Session *session, const std::string &argument)
Main public function.
Main class to handle the pyramidal image source.
Definition: IIPImage.h:76
Class to handle non-image IIP responses including errors.
Definition: IIPResponse.h:40
Inversion Command.
Definition: Task.h:314
void run(Session *session, const std::string &argument)
Main public function.
Wrapper class to the IJG JPEG library.
Definition: JPEGCompressor.h:60
JPEG Tile Sequence Command.
Definition: Task.h:268
void run(Session *session, const std::string &argument)
Main public function.
JPEG Tile Export Command.
Definition: Task.h:232
void send(Session *session, int resolution, int tile)
Send out a single tile.
void run(Session *session, const std::string &argument)
Main public function.
Quality Layers Command.
Definition: Task.h:342
void run(Session *session, const std::string &argument)
Main public function.
Logger class - handles ofstreams and syslog.
Definition: Logger.h:79
MINMAX Command.
Definition: Task.h:176
void run(Session *session, const std::string &argument)
Main public function.
OBJ commands.
Definition: Task.h:137
void run(Session *session, const std::string &argument)
Main public function.
SPECTRA Request Command.
Definition: Task.h:335
void run(Session *session, const std::string &argument)
Main public function.
Wrapper class to PNG library: Handles 8 and 16 bit PNG as well as alpha transparency.
Definition: PNGCompressor.h:57
PNG Tile Command.
Definition: Task.h:246
void run(Session *session, const std::string &argument)
Main public function.
Definition: Task.h:248
JPEG Quality Command.
Definition: Task.h:162
void run(Session *session, const std::string &argument)
Main public function.
CVT Region Command.
Definition: Task.h:211
void run(Session *session, const std::string &argument)
Main public function.
ROT Rotation Command.
Definition: Task.h:218
void run(Session *session, const std::string &argument)
Main public function.
SDS Command.
Definition: Task.h:169
void run(Session *session, const std::string &argument)
Main public function.
Shading Command.
Definition: Task.h:300
void run(Session *session, const std::string &argument)
Main public function.
SPECTRA Request Command.
Definition: Task.h:328
void run(Session *session, const std::string &argument)
Main public function.
Tile Command.
Definition: Task.h:275
void run(Session *session, const std::string &argument)
Main public function.
Generic class to encapsulate various commands.
Definition: Task.h:102
std::string argument
Argument supplied to the task.
Definition: Task.h:113
virtual ~Task()
Virtual destructor.
Definition: Task.h:119
Session * session
Pointer to our session data.
Definition: Task.h:110
Timer command_timer
Timer for each task.
Definition: Task.h:107
void checkImage()
Check image.
virtual void run(Session *session, const std::string &argument)
Main public function.
Definition: Task.h:122
static Task * factory(const std::string &type)
Factory function.
Simple Timer class to allow us to time our responses.
Definition: Timer.h:40
Class to intelligently handle Image Transforms.
Definition: View.h:36
CompressionType output_format
Indicate whether we should embed ICC profiles.
Definition: View.h:80
CVT Width Command.
Definition: Task.h:197
void run(Session *session, const std::string &argument)
Main public function.
WebP Tile Command.
Definition: Task.h:257
void run(Session *session, const std::string &argument)
Main public function.
Definition: Task.h:259
Watermark class.
Definition: Watermark.h:41
Wrapper class to WebP library: Handles 8 and 16 bit PNG as well as alpha transparency.
Definition: WebPCompressor.h:34
Zoomify Request Command.
Definition: Task.h:321
void run(Session *session, const std::string &argument)
Main public function.
Structure to hold our session data.
Definition: Task.h:69