Public Member Functions | List of all members
ProgressDisplayDriver Class Referenceabstract

#include <tjfeedback.h>

Inherited by ProgressDisplayConsole [virtual], and ProgressDisplayDialog [virtual].

Public Member Functions

virtual void init (unsigned int nsteps, const char *txt)=0
virtual void increase (const char *subj)=0
virtual bool refresh ()=0

Detailed Description

Base class for all display drivers of a progress, e.g. console, widget, ...

Definition at line 36 of file tjfeedback.h.

Member Function Documentation

§ increase()

virtual void ProgressDisplayDriver::increase ( const char *  subj)
pure virtual

Increments progress display. The message 'subj', if non-null, will be displayed.

§ init()

virtual void ProgressDisplayDriver::init ( unsigned int  nsteps,
const char *  txt 
pure virtual

Initializes the driver to display to expect 'nsteps' calls to 'increase()'. The message 'txt' will be displayed prior to the progress report.

§ refresh()

virtual bool ProgressDisplayDriver::refresh ( )
pure virtual

Refreshes display without increasing progress. Returns true if cancel is requested by the driver.

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