gatb.core-API-1.4.2
ProgressTimer Class Reference

Progress information display feature with timing information. More...

#include <Progress.hpp>

Inheritance diagram for ProgressTimer:
Inheritance graph

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

ProgressTimer ( u_int64_t  ntasks,
const char *  msg,
std::ostream &  os = std::cerr 
)

Constructor.

Parameters
[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

Member Function Documentation

void init ( )
inlinevirtual

Initialization of the object.

Reimplemented from Progress.


The documentation for this class was generated from the following files: