OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::ProgressBar Class Reference

#include <ProgressBar.hpp>

Public Member Functions

 ProgressBar ()
 
void clear ()
 
void update ()
 
void setStatus (RealType value, RealType maximum)
 

Private Attributes

RealType value_
 
RealType maximum_
 
int iteration_
 
time_t start_
 
time_t current_
 

Detailed Description

Definition at line 50 of file ProgressBar.hpp.

Constructor & Destructor Documentation

◆ ProgressBar()

OpenMD::ProgressBar::ProgressBar ( )

Definition at line 70 of file ProgressBar.cpp.

Member Function Documentation

◆ clear()

void OpenMD::ProgressBar::clear ( void  )

Definition at line 74 of file ProgressBar.cpp.

References iteration_, maximum_, start_, and value_.

◆ setStatus()

void OpenMD::ProgressBar::setStatus ( RealType  value,
RealType  maximum 
)

◆ update()

void OpenMD::ProgressBar::update ( )

Member Data Documentation

◆ current_

time_t OpenMD::ProgressBar::current_
private

Definition at line 62 of file ProgressBar.hpp.

Referenced by update().

◆ iteration_

int OpenMD::ProgressBar::iteration_
private

Definition at line 61 of file ProgressBar.hpp.

Referenced by clear(), and update().

◆ maximum_

RealType OpenMD::ProgressBar::maximum_
private

Definition at line 60 of file ProgressBar.hpp.

Referenced by clear(), setStatus(), and update().

◆ start_

time_t OpenMD::ProgressBar::start_
private

Definition at line 62 of file ProgressBar.hpp.

Referenced by clear(), and update().

◆ value_

RealType OpenMD::ProgressBar::value_
private

Definition at line 59 of file ProgressBar.hpp.

Referenced by clear(), setStatus(), and update().


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