herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::progress_display Class Reference

Public Member Functions

 progress_display (unsigned long expected_count, std::ostream &os, const std::string &s1="\n", const std::string &s2="", const std::string &s3="")
 
 progress_display (const progress_display &)=delete
 
progress_displayoperator= (const progress_display &)=delete
 
void restart (unsigned long expected_count)
 
unsigned long operator+= (unsigned long increment)
 
unsigned long operator++ ()
 
unsigned long count () const
 
unsigned long expected_count () const
 

Private Member Functions

void display_tic ()
 

Private Attributes

std::ostream & m_os
 
const std::string m_s1
 
const std::string m_s2
 
const std::string m_s3
 
unsigned long _count
 
unsigned long _expected_count
 
unsigned long _next_tic_count
 
unsigned int _tic
 

Detailed Description

Definition at line 44 of file Progress.h.

Member Function Documentation

◆ count()

unsigned long Herwig::progress_display::count ( ) const
inline

Definition at line 59 of file Progress.h.

◆ expected_count()

unsigned long Herwig::progress_display::expected_count ( ) const
inline

Definition at line 60 of file Progress.h.

◆ operator++()

unsigned long Herwig::progress_display::operator++ ( )
inline

Definition at line 58 of file Progress.h.

Member Data Documentation

◆ _count

unsigned long Herwig::progress_display::_count
private

Definition at line 68 of file Progress.h.

◆ _expected_count

unsigned long Herwig::progress_display::_expected_count
private

Definition at line 68 of file Progress.h.

◆ _next_tic_count

unsigned long Herwig::progress_display::_next_tic_count
private

Definition at line 68 of file Progress.h.

◆ _tic

unsigned int Herwig::progress_display::_tic
private

Definition at line 69 of file Progress.h.

◆ m_os

std::ostream& Herwig::progress_display::m_os
private

Definition at line 63 of file Progress.h.

◆ m_s1

const std::string Herwig::progress_display::m_s1
private

Definition at line 64 of file Progress.h.

◆ m_s2

const std::string Herwig::progress_display::m_s2
private

Definition at line 65 of file Progress.h.

◆ m_s3

const std::string Herwig::progress_display::m_s3
private

Definition at line 66 of file Progress.h.


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