#include <parser/ParserProgress.h>
|
| ParserProgress (boost::function< void(long int)> fnc, long int total_steps=100) |
| initializes a progress objetc, with a callback functor if you are not reporting percentage, then set the total_steps to the goal, and report using the same unit, then
|
|
| ~ParserProgress () |
|
void | progress (long int p) |
| report progress, which in most cases executes the functor associated with this progress object to update progress information
|
|
void | setTotalSteps (long int total_steps) |
|
void | finish () |
| report progress finished
|
|
void | start () |
| report progress started
|
|
Definition at line 22 of file ParserProgress.h.
◆ Ptr
◆ ParserProgress()
zypp::parser::ParserProgress::ParserProgress |
( |
boost::function< void(long int)> |
fnc, |
|
|
long int |
total_steps = 100 |
|
) |
| |
|
inline |
initializes a progress objetc, with a callback functor if you are not reporting percentage, then set the total_steps to the goal, and report using the same unit, then
Definition at line 33 of file ParserProgress.h.
◆ ~ParserProgress()
zypp::parser::ParserProgress::~ParserProgress |
( |
| ) |
|
|
inline |
◆ progress()
void zypp::parser::ParserProgress::progress |
( |
long int |
p | ) |
|
|
inline |
report progress, which in most cases executes the functor associated with this progress object to update progress information
Definition at line 48 of file ParserProgress.h.
◆ setTotalSteps()
void zypp::parser::ParserProgress::setTotalSteps |
( |
long int |
total_steps | ) |
|
|
inline |
◆ finish()
void zypp::parser::ParserProgress::finish |
( |
| ) |
|
|
inline |
◆ start()
void zypp::parser::ParserProgress::start |
( |
| ) |
|
|
inline |
◆ _fnc
boost::function<void (long int)> zypp::parser::ParserProgress::_fnc |
|
private |
◆ _previous_progress
long int zypp::parser::ParserProgress::_previous_progress |
|
private |
◆ _total_steps
long int zypp::parser::ParserProgress::_total_steps |
|
private |
The documentation for this class was generated from the following file: