Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Progress Class Reference

Demidify progress callback interface. More...

#include <Progress.h>

List of all members.

Public Member Functions

virtual void progressRange (int min, int max)=0
virtual void progress (int value)=0


Detailed Description

Demidify progress callback interface.

Callback interface for TSE3 classes that provide progress information. This is used, for example, by the file import/export mechanisms (see TSE3MDL, MidiFileImport and MidiFileExport) and the Util::Demidify utility.

Author:
Pete Goodliffe
Version:
3.00
See also:
Demidify


Member Function Documentation

virtual void TSE3::Progress::progressRange int  min,
int  max
[pure virtual]
 

Called by a progress information generator before the first call to progress().

It defines the minimum and maximum values the progress values range between.

Parameters:
min Mimumum value returned from (i.e. the first value sent)
max Maximum value returned from (i.e. the last value sent)

virtual void TSE3::Progress::progress int  value  )  [pure virtual]
 

Whilst an operation is being performed by a class that uses the Progress interface, this callback will be intermittantly invoked.

Before it is called for the first time, the progressRange method will be invoked, to give meaning to the value parameter.

Parameters:
value Progress indication


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:46:52 2005 for TSE3 by doxygen 1.3.2