gatb.core-API-0.0.0
|
Progress information display feature with timing information. More...
#include <Progress.hpp>
Public Member Functions | |
ProgressTimer (u_int64_t ntasks, const char *msg, std::ostream &os=std::cerr) | |
void | init () |
Public Member Functions inherited from Progress | |
Progress (u_int64_t ntasks, const char *msg, std::ostream &os=std::cerr) | |
virtual | ~Progress () |
void | finish () |
void | inc (u_int64_t ntasks_done) |
void | set (u_int64_t ntasks_done) |
void | reset (u_int64_t ntasks) |
void | setMessage (const std::string &msg) |
Public Member Functions inherited from IteratorListener | |
virtual | ~IteratorListener () |
Public Member Functions inherited from SmartPointer | |
void | use () |
void | forget () |
Public Member Functions inherited from ISmartPointer | |
virtual | ~ISmartPointer () |
Additional Inherited Members | |
Protected Member Functions inherited from SmartPointer | |
SmartPointer () | |
virtual | ~SmartPointer () |
Progress information display feature with timing information.
This is another way of dumping information progressing, that provides information such as the elapsed time and an estimation of the remaining time.
ProgressTimer | ( | u_int64_t | ntasks, |
const char * | msg, | ||
std::ostream & | os = std::cerr |
||
) |
Constructor.
[in] | ntasks | : nb of items to be processed |
[in] | msg | : message to be displayed |
[in] | os | : output stream where progress information is to be displayed |
|
inlinevirtual |
Initialization of the object.
Reimplemented from Progress.