UpdateInfo Struct Reference

Structure providing support for progress update and interruption (used for encoding). More...

#include <util.h>

Collaboration diagram for UpdateInfo:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void(* IncInt )(int increment)
 Type for used functions -> more readable code.

Public Member Functions

 UpdateInfo (const bool &terminate_, IncInt incMaxProgress_, IncInt incProgress_)
 Initializes the structure from supplied parametres.

Static Public Member Functions

static void emptyFunction (int)
 does nothing, default for IncInt functions

Public Attributes

volatile const bool * terminate
 true if the action should be terminated
IncInt incMaxProgress
 function for increasing the maximum progress (100%)
IncInt incProgress
 function for increasing the current progress

Static Public Attributes

static const bool noTerminate = false
 default for terminate, defined in modules.cpp
static const UpdateInfo none
 empty UpdateInfo instance, in modules.cpp


Detailed Description

Structure providing support for progress update and interruption (used for encoding).

Definition at line 173 of file util.h.


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

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