#include <ProgressCounter.h>
|
| using | Updater_t = std::function< void(std::chrono::duration< double >)> |
| |
|
| static void | Tick () |
| |
| static std::string | TimeToStr (double secs) |
| | TimeToStr converts seconds to HH:MM:SS string. More...
|
| |
|
| static long int | Interval = 0 |
| | Interval for progress output in seconds. More...
|
| |
◆ clock_t
◆ registry_t
◆ timepoint_t
◆ Updater_t
◆ ProgressCounter()
◆ ~ProgressCounter()
| ProgressCounter::~ProgressCounter |
( |
| ) |
|
◆ GetTotalSecs()
| double ProgressCounter::GetTotalSecs |
( |
| ) |
const |
◆ Tick()
| void ProgressCounter::Tick |
( |
| ) |
|
|
static |
◆ TimeToStr()
| string ProgressCounter::TimeToStr |
( |
double |
secs | ) |
|
|
static |
TimeToStr converts seconds to HH:MM:SS string.
- Parameters
-
- Returns
- string with format HH:MM:SS
◆ first_now
| timepoint_t ant::ProgressCounter::first_now = clock_t::now() |
|
protected |
◆ Interval
| long int ProgressCounter::Interval = 0 |
|
static |
Interval for progress output in seconds.
◆ last_now
◆ registry
◆ Updater
The documentation for this struct was generated from the following files: