|
stdex
Additional custom or not Standard C++ covered algorithms
|
Progress indicator for individual worker. More...
#include <stdex/progress.hpp>
Public Member Functions | |
| worker_progress (aggregate_progress< T > &host) | |
| virtual void | set_text (const char *msg) |
| Set progress indicator text. | |
| virtual void | set_range (T start, T end) |
| Set local extend of the progress indicator. | |
| virtual void | set (T value) |
| Set local current progress. | |
| virtual void | show (bool show=true) |
| Show or hide progress. | |
| virtual bool | cancel () |
| Query whether user requested abort. | |
Public Member Functions inherited from stdex::progress< T > | |
Protected Attributes | |
| aggregate_progress< T > & | m_host |
| T | m_start |
| T | m_end |
| T | m_value |
Progress indicator for individual worker.
|
inlinevirtual |
Query whether user requested abort.
Reimplemented from stdex::progress< T >.
|
inlinevirtual |
Set local current progress.
| [in] | value | Current value of the progress. Must be between start and end parameters provided in set_range() call. |
Reimplemented from stdex::progress< T >.
|
inlinevirtual |
Set local extend of the progress indicator.
| [in] | start | Minimum value of the progress |
| [in] | end | Maximum value of the progress |
Reimplemented from stdex::progress< T >.
|
inlinevirtual |
Set progress indicator text.
| [in] | msg | Text to display |
Reimplemented from stdex::progress< T >.
|
inlinevirtual |
Show or hide progress.
| [in] | show | Shows or hides progress indicator |
Reimplemented from stdex::progress< T >.