#include <Progress.hpp>
Definition at line 202 of file Progress.hpp.
◆ PacmanProgressBar()
| lvr2::PacmanProgressBar::PacmanProgressBar |
( |
size_t |
max_val, |
|
|
string |
prefix = "", |
|
|
size_t |
bar_length = 60 |
|
) |
| |
Ctor.
- Parameters
-
| max_val | The number of performed iterations |
| prefix | The prefix string for progress output |
Definition at line 163 of file Progress.cpp.
◆ ~PacmanProgressBar()
| lvr2::PacmanProgressBar::~PacmanProgressBar |
( |
| ) |
|
|
virtual |
◆ operator++()
| void lvr2::PacmanProgressBar::operator++ |
( |
| ) |
|
Increases the counter of performed iterations.
Definition at line 196 of file Progress.cpp.
◆ print_bar()
| void lvr2::PacmanProgressBar::print_bar |
( |
| ) |
|
|
protected |
◆ setProgressCallback()
Registers a callback that is called with the new value when the percentage of the progress changed.
- Parameters
-
Definition at line 186 of file Progress.cpp.
◆ setProgressTitleCallback()
Registers a callback that is called when a new progress instance is created.
- Parameters
-
Definition at line 191 of file Progress.cpp.
◆ m_bar_length
| int lvr2::PacmanProgressBar::m_bar_length |
|
protected |
◆ m_currentVal
| size_t lvr2::PacmanProgressBar::m_currentVal |
|
protected |
◆ m_fillstring
| string lvr2::PacmanProgressBar::m_fillstring |
|
protected |
A fill string for correct output alignment.
Definition at line 264 of file Progress.hpp.
◆ m_maxVal
| size_t lvr2::PacmanProgressBar::m_maxVal |
|
protected |
◆ m_mutex
| boost::mutex lvr2::PacmanProgressBar::m_mutex |
|
protected |
A mutex object for counter increment (for parallel executions)
Definition at line 252 of file Progress.hpp.
◆ m_percent
| int lvr2::PacmanProgressBar::m_percent |
|
protected |
The current progress in percent.
Definition at line 255 of file Progress.hpp.
◆ m_prefix
| string lvr2::PacmanProgressBar::m_prefix |
|
protected |
◆ m_progressCallback
◆ m_stream
| stringstream lvr2::PacmanProgressBar::m_stream |
|
protected |
A string stream for output generation.
Definition at line 261 of file Progress.hpp.
◆ m_titleCallback
The documentation for this class was generated from the following files: