LOOS  v2.3.2
loos::PercentProgressWithTime Class Reference

#include <ProgressCounters.hpp>

Inheritance diagram for loos::PercentProgressWithTime:
Collaboration diagram for loos::PercentProgressWithTime:

Public Member Functions

 PercentProgressWithTime (std::ostream &os, const std::string &prefix, const std::string &msg, const std::string &suffix)
 
 PercentProgressWithTime (const std::string &prefix, const std::string &msg, const std::string &suffix)
 
void update (SimpleCounter *)
 
void finish (SimpleCounter *)
 
- Public Member Functions inherited from loos::BasicProgress
 BasicProgress (std::ostream &os, const std::string &prefix, const std::string &msg, const std::string &suffix)
 
 BasicProgress (const std::string &prefix, const std::string &msg, const std::string &suffix)
 
virtual void start (SimpleCounter *)
 

Additional Inherited Members

- Protected Attributes inherited from loos::BasicProgress
std::ostream & os_
 
std::string prefix_
 
std::string msg_
 
std::string suffix_
 

Detailed Description

Provide feedback by percent-complete with estimates of time remaining

This class provides basically the same functionality as the BasicProgress class, except that we override the update and finish functions to provide more detailed information. This class requires a counter that implements the timeRemaining() and fractionComplete() functions.

Definition at line 232 of file ProgressCounters.hpp.


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