![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <Progress.hpp>
Public Member Functions | |
| Progress (const char *id="unknown") | |
| virtual | ~Progress () |
| void | set_max (double max_value) |
| void | add_value (double incr_value) |
| double | scale (double fMax) |
| int | scale (int iMax) |
| bool | check_limits () |
| virtual void | set_limits (double min_value, double max_value) |
| virtual void | set_value (double cur_value) |
| virtual void | set_comment (const char *text) |
| virtual Logic | user_break () |
Protected Member Functions | |
| virtual void | update () |
Protected Attributes | |
| char * | szName |
| double | vMin |
| double | vMax |
| double | vCur |
Base class for maintaining progress indicator. Here is the simpliest stdout implementation.
| Progress::Progress | ( | const char * | id = "unknown" | ) |
Create object which relates to progress indicator.
|
virtual |
Destroy object.
| void Progress::add_value | ( | double | incr_value | ) |
Mark yet another piece of work as completed
| bool Progress::check_limits | ( | ) |
Check for current value is inside the proposed range
| double Progress::scale | ( | double | fMax | ) |
Scale vCur from vMin..vMax to 0..fMax/0..iMax
|
virtual |
Change text comment of the progress indicator view.
Reimplemented in QfProgress, and ZmProgress.
|
virtual |
Set minimum and maximum allowed values of progress indicator
Reimplemented in QfProgress.
| void Progress::set_max | ( | double | max_value | ) |
Set maximum allowed value of progress indicator: 100%
|
virtual |
Set current value of progress; must be in range from 0 to max_value
Reimplemented in QfProgress.
|
protectedvirtual |
Update progress indicator view.
Reimplemented in QfProgress, ZmProgress, and ProgressPEP.
|
virtual |
Get interruption signal is set (TRUE) or not (FALSE).
Reimplemented in QfProgress, and ZmProgress.
|
protected |
Symbolic id of the progress indicator
|
protected |
Current value of indicator
|
protected |
Maximum value of indicator
|
protected |
Minimum value of indicator
1.8.5