IShapeTransformer Struct Reference
[Interfaces for coding modules]

Interface for modules handling pixel-shape changes and/or splitting the single-color planes into independently processed parts. More...

#include <interfaces.h>

Inheritance diagram for IShapeTransformer:

Inheritance graph
[legend]
Collaboration diagram for IShapeTransformer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int createJobs (const PlaneList &planes)=0
 Creates jobs from the list of color planes, returns job count.
virtual int jobCount ()=0
 Returns the number of jobs.
virtual void jobEncode (int jobIndex)=0
 Starts encoding a job - thread-safe (for different jobs).
virtual void jobDecodeAct (int jobIndex, DecodeAct action, int count=1)=0
 Performs a decoding action for a job - thread-safe (for different jobs).
virtual void writeSettings (std::ostream &file)=0
 Writes all settings (shared by all jobs) needed for later reconstruction.
virtual void readSettings (std::istream &file)=0
 Reads settings (shared by all jobs) needed for reconstruction from a stream - needs to be done before the job creation.
virtual int phaseCount ()=0
 Returns the number of phases (progressive encoding), only depends on settings.
virtual void writeJobs (std::ostream &file, int phaseBegin, int phaseEnd)=0
 Writes any data needed for reconstruction of every job, phase parameters determine the range of saved phases.
virtual void readJobs (std::istream &file, int phaseBegin, int phaseEnd)=0
 Reads all data needed for reconstruction of every job and prepares for encoding, parameters like writeJobs.
void writeJobs (std::ostream &file, int phaseBegin=0)
 Shortcut - default parameters "phaseBegin=0,phaseEnd=phaseCount()".
void readJobs (std::istream &file, int phaseBegin=0)
 Shortcut - default parameters "phaseBegin=0,phaseEnd=phaseCount()".


Detailed Description

Interface for modules handling pixel-shape changes and/or splitting the single-color planes into independently processed parts.

Definition at line 160 of file interfaces.h.


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

Generated on Thu Aug 6 22:33:14 2009 for Fractal Image Compressor by  doxygen 1.5.8