Thread-safe bridge exposing C++ progress to Python frontends.
Definition at line 38 of file StatisticConfig.py.
◆ __init__()
| StatisticConfig.StatisticProgressMonitor.__init__ |
( |
|
self | ) |
|
◆ reset()
| None StatisticConfig.StatisticProgressMonitor.reset |
( |
|
self, |
|
|
str |
phase = "preparing", |
|
|
str |
message = "Preparing statistic workflow" |
|
) |
| |
Reset progress reporting and set the initial phase and message.
Definition at line 44 of file StatisticConfig.py.
◆ set_progress()
| None StatisticConfig.StatisticProgressMonitor.set_progress |
( |
|
self, |
|
|
str |
phase, |
|
|
str |
message, |
|
|
float |
fraction, |
|
|
*int |
completed = 0, |
|
|
int |
total = 0, |
|
|
float |
eta_seconds = -1.0, |
|
|
bool |
finished = False |
|
) |
| |
Publish a progress update to Python and graphical frontends.
Definition at line 50 of file StatisticConfig.py.
◆ snapshot()
Return an immutable snapshot of the latest progress event.
Definition at line 72 of file StatisticConfig.py.
◆ _cpp_obj
| StatisticConfig.StatisticProgressMonitor._cpp_obj |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/Hyperiso/Hyperiso/Hyperiso/Hyperiso/pyhyperiso/core/Statistic/StatisticConfig.py