Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.6dev
      Class Index
      File List
   Version 1.0.6
   Version 1.0.5new_solver
   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::StatusPrint ( )

Constructor for printing status to stream os.

◆ ~StatusPrint()

StatusPrint::~StatusPrint ( )

Destructor.

Member Function Documentation

◆ print()

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.6dev
Generated by Doxygen 1.9.1 on Thu Sep 11 2025 09:37:24.