|
stdex
Additional custom or not Standard C++ covered algorithms
|
Progress indicator base class. More...
#include <stdex/progress.hpp>
Public Member Functions | |
| virtual void | set_text (const char *msg) |
| Set progress indicator text. | |
| virtual void | set_range (T start, T end) |
| Set progress range extent. | |
| virtual void | set (T value) |
| Set current progress. | |
| virtual void | show (bool show=true) |
| Show or hide progress. | |
| virtual bool | cancel () |
| Query whether user requested abort. | |
Progress indicator base class.
|
inlinevirtual |
Query whether user requested abort.
Reimplemented in stdex::aggregate_progress< T >::worker_progress, stdex::global_progress< T >, and stdex::timeout_progress< T >.
|
inlinevirtual |
Set current progress.
| [in] | value | Current value of the progress. Must be between start and end parameters provided in set_range() call. |
Reimplemented in stdex::aggregate_progress< T >::worker_progress, stdex::global_progress< T >, stdex::lazy_progress< T >, and stdex::timeout_progress< T >.
|
inlinevirtual |
Set progress range extent.
| [in] | start | Minimum value of the progress |
| [in] | end | Maximum value of the progress |
Reimplemented in stdex::aggregate_progress< T >::worker_progress, stdex::global_progress< T >, stdex::lazy_progress< T >, and stdex::timeout_progress< T >.
|
inlinevirtual |
Set progress indicator text.
| [in] | msg | Text to display |
Reimplemented in stdex::aggregate_progress< T >::worker_progress, stdex::global_progress< T >, and stdex::timeout_progress< T >.
|
inlinevirtual |
Show or hide progress.
| [in] | show | Shows or hides progress indicator |
Reimplemented in stdex::aggregate_progress< T >::worker_progress, stdex::global_progress< T >, and stdex::timeout_progress< T >.