Ardour
9.0-pre0-582-g084a23a80d
|
#include <progress.h>
Classes | |
struct | Level |
Public Member Functions | |
Progress () | |
virtual | ~Progress () |
void | set_progress (float) |
void | ascend () |
void | descend (float) |
bool | cancelled () const |
Protected Member Functions | |
void | cancel () |
Private Member Functions | |
virtual void | set_overall_progress (float p)=0 |
Private Attributes | |
std::list< Level > | _stack |
bool | _cancelled |
A class to handle reporting of progress of something
Definition at line 29 of file progress.h.
PBD::Progress::Progress | ( | ) |
|
inlinevirtual |
Definition at line 33 of file progress.h.
void PBD::Progress::ascend | ( | ) |
|
protected |
bool PBD::Progress::cancelled | ( | ) | const |
void PBD::Progress::descend | ( | float | ) |
|
privatepure virtual |
Report overall progress.
p | Current progress (from 0 to 1) |
Implemented in ProgressReporter, and PBD::Inflater.
void PBD::Progress::set_progress | ( | float | ) |
|
private |
Definition at line 58 of file progress.h.
|
private |
Definition at line 57 of file progress.h.