LOOS  v2.3.2
loos::BasicProgress Class Reference

#include <ProgressCounters.hpp>

Inheritance diagram for loos::BasicProgress:
Collaboration diagram for loos::BasicProgress:

Public Member Functions

 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 *)
 
virtual void update (SimpleCounter *)
 
virtual void finish (SimpleCounter *)
 

Protected Attributes

std::ostream & os_
 
std::string prefix_
 
std::string msg_
 
std::string suffix_
 

Detailed Description

A basic progress update "watcher", outputting dots for each update

This class is the prototypic progress update class. It has pre- and post- condition output messages and then writes out a message at each update. You can control where the output goes by instantiating with an appropriate ostream object.

Definition at line 188 of file ProgressCounters.hpp.


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