SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
CoutProgress Class Reference

A singleton class providing a standard output progress bar, including remaining time estimate. More...

#include <global_calls.hpp>

Collaboration diagram for CoutProgress:
Collaboration graph

Public Member Functions

void start (size_t workSize)
 Start displaying the progress bar and define the amout of work that's left to be done.
 
void update (size_t workProgress)
 Update the progress bar, 0 <= workProgress <= workSize.
 
void finish ()
 Call when the work is done to stop the progress bar.
 

Static Public Member Functions

static CoutProgressget ()
 Singleton instance getter.
 
static void printFormattedTime (size_t sec)
 

Protected Attributes

size_t m_workSize
 
size_t m_workProgress
 
int m_lastPercentage
 
QElapsedTimer m_startTime
 

Private Member Functions

 CoutProgress (CoutProgress const &)
 
void operator= (CoutProgress const &)
 

Detailed Description

A singleton class providing a standard output progress bar, including remaining time estimate.


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