|
Medial Code Documentation
|
class to print progress of long process - multithreaded or not by time interval More...
#include <Logger.h>
Public Member Functions | |
| MedProgress (const string &title, int mprocess_cnt, int print_inter=30, int max_th=50) | |
| void | update () |
| update when completed process 1 item | |
| void | skip_update () |
| update action when skiping action - update job counter | |
| void | update_no_check () |
| update action when without checking if needs to print, faster | |
class to print progress of long process - multithreaded or not by time interval
| MedProgress::MedProgress | ( | const string & | title, |
| int | mprocess_cnt, | ||
| int | print_inter = 30, |
||
| int | max_th = 50 |
||
| ) |
| title | title to print in each time |
| mprocess_cnt | number of actions to preform in total |
| print_inter | number of seconds between each print |