libpappsomspp
Library for mass spectrometry
|
#include <uimonitorvoid.h>
Public Member Functions | |
virtual bool | shouldIstop () override |
should the procces be stopped ? If true, then cancel process Use this function at strategic point of your process in order to interrupt it cleanly Implementation must take care of thread resistance if implemented | |
virtual void | setTotalSteps (std::size_t total_number_of_steps) override |
use it if the number of steps is known in an algorithm the total number of steps is usefull to report to the user a progress message in percents or with a progress bar | |
virtual void | count () override |
count steps report when a step is computed in an algorithm | |
virtual void | setTitle (const QString &title) override |
current kind of process running | |
virtual void | setStatus (const QString &status) override |
current status of the process | |
virtual void | appendText (const QString &text) override |
append a text to a long report | |
Additional Inherited Members | |
![]() | |
std::size_t | m_totalSteps = 0 |
Definition at line 41 of file uimonitorvoid.h.
|
inlineoverridevirtual |
append a text to a long report
text | string to append in a long report |
Implements pappso::UiMonitorInterface.
Definition at line 55 of file uimonitorvoid.h.
|
inlineoverridevirtual |
count steps report when a step is computed in an algorithm
Implements pappso::UiMonitorInterface.
Definition at line 52 of file uimonitorvoid.h.
|
inlineoverridevirtual |
current status of the process
status | status message |
Implements pappso::UiMonitorInterface.
Definition at line 54 of file uimonitorvoid.h.
|
inlineoverridevirtual |
current kind of process running
title | process title |
Implements pappso::UiMonitorInterface.
Definition at line 53 of file uimonitorvoid.h.
|
inlineoverridevirtual |
use it if the number of steps is known in an algorithm the total number of steps is usefull to report to the user a progress message in percents or with a progress bar
total_number_of_steps | the total number of steps |
Reimplemented from pappso::UiMonitorInterface.
Definition at line 50 of file uimonitorvoid.h.
|
inlineoverridevirtual |
should the procces be stopped ? If true, then cancel process Use this function at strategic point of your process in order to interrupt it cleanly Implementation must take care of thread resistance if implemented
Implements pappso::UiMonitorInterface.
Definition at line 45 of file uimonitorvoid.h.