OpenStructure
|
#include <progress.hh>
Public Member Functions | |
virtual | ~Progress () |
void | Register (const void *process, unsigned long steps, unsigned long delta=1) |
void | DeRegister (const void *process) |
void | AdvanceProgress (const void *process, unsigned long step=1) |
Real | GetProgress () |
void | AddCallback (void(*fpt)(void)) |
bool | IsActive () |
Static Public Member Functions | |
static Progress & | Instance () |
Definition at line 36 of file progress.hh.
|
virtual |
|
inline |
Definition at line 45 of file progress.hh.
void AdvanceProgress | ( | const void * | process, |
unsigned long | step = 1 |
||
) |
void DeRegister | ( | const void * | process | ) |
Real GetProgress | ( | ) |
|
static |
|
inline |
Definition at line 46 of file progress.hh.
void Register | ( | const void * | process, |
unsigned long | steps, | ||
unsigned long | delta = 1 |
||
) |