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

#include <ProgressCounters.hpp>

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

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.

Member Function Documentation

◆ finish()

void loos::BasicProgress::finish ( SimpleCounter * )
virtual

◆ start()

void loos::BasicProgress::start ( SimpleCounter * )
virtual

◆ update()

void loos::BasicProgress::update ( SimpleCounter * )
virtual

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