LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
loos::PercentProgressWithTime Class Reference

#include <ProgressCounters.hpp>

Inheritance diagram for loos::PercentProgressWithTime:
Inheritance graph
[legend]
Collaboration diagram for loos::PercentProgressWithTime:
Collaboration graph
[legend]

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.

Member Function Documentation

◆ finish()

void loos::PercentProgressWithTime::finish ( SimpleCounter * s)
virtual

Reimplemented from loos::BasicProgress.

◆ update()

void loos::PercentProgressWithTime::update ( SimpleCounter * s)
virtual

Reimplemented from loos::BasicProgress.


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