#include <progress.h>
◆ Progress()
| ug::Progress::Progress |
( |
int |
minSecondsUntilProgress = -1 | ) |
|
◆ ~Progress()
| ug::Progress::~Progress |
( |
| ) |
|
|
inline |
◆ calc_next_value()
| void ug::Progress::calc_next_value |
( |
| ) |
|
|
inline |
◆ set() [1/3]
| void ug::Progress::set |
( |
double |
now | ) |
|
|
inline |
◆ set() [2/3]
| void ug::Progress::set |
( |
int |
now | ) |
|
|
inline |
◆ set() [3/3]
| void ug::Progress::set |
( |
size_t |
now | ) |
|
|
inline |
◆ set_length()
| void ug::Progress::set_length |
( |
int |
l | ) |
|
|
inline |
◆ setD()
| void ug::Progress::setD |
( |
double |
now | ) |
|
References bStarted, calc_next_value(), ug::LogAssistant::flush(), ug::get_clock_s(), ug::GetLogAssistant(), lastUpdateDepth, m_length, m_minSecondsUntilProgress, m_msg, m_now, m_total, myDepth, posNow, ug::print_mark(), set(), startS, and UG_LOG.
Referenced by set(), set(), and set().
◆ start()
| void ug::Progress::start |
( |
double |
total, |
|
|
std::string |
msg = "" |
|
) |
| |
◆ stop()
| void ug::Progress::stop |
( |
| ) |
|
References bStarted, ug::get_clock_s(), lastUpdateDepth, m_length, m_minSecondsUntilProgress, m_msg, m_now, m_total, myDepth, posNow, ug::print_mark(), ug::reset_floats(), startS, and UG_LOG.
Referenced by ~Progress().
◆ bStarted
| bool ug::Progress::bStarted |
|
private |
◆ dNextValueToUpdate
| double ug::Progress::dNextValueToUpdate |
|
private |
◆ iNextValueToUpdate
| size_t ug::Progress::iNextValueToUpdate |
|
private |
◆ lastUpdateDepth
| int ug::Progress::lastUpdateDepth = -1 |
|
staticprivate |
◆ m_length
| int ug::Progress::m_length |
|
private |
◆ m_minSecondsUntilProgress
| int ug::Progress::m_minSecondsUntilProgress |
|
private |
◆ m_msg
| std::string ug::Progress::m_msg |
|
private |
◆ m_now
| double ug::Progress::m_now |
|
private |
◆ m_total
| double ug::Progress::m_total |
|
private |
◆ myDepth
| int ug::Progress::myDepth |
|
private |
◆ posNow
◆ startS
| double ug::Progress::startS |
|
private |
◆ totalDepth
| int ug::Progress::totalDepth = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: