Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
      Class Index
      File List
   Version 1.0.5dev
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads
StatusPrint Class Reference

A tool for printing running status on command line. More...

#include <statusprint.hpp>

Public Member Functions

 StatusPrint ()
 Constructor for printing status to stream os. More...
 
 ~StatusPrint ()
 Destructor. More...
 
void print (const std::string &str, bool force=false)
 Print str to output. More...
 

Detailed Description

A tool for printing running status on command line.

Constructor & Destructor Documentation

StatusPrint::StatusPrint ( )

Constructor for printing status to stream os.

StatusPrint::~StatusPrint ( )

Destructor.

Member Function Documentation

void StatusPrint::print ( const std::string &  str,
bool  force = false 
)

Print str to output.

Printing is only done is time returned by system time() has changed. This enforces a maximum update frequency of 1 update per second. If force is true the printing is done regardless of time.


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


Reference manual for Ion Beam Simulator 1.0.5new_solver
Generated by Doxygen 1.8.5 on Tue May 19 2015 09:15:44.