MeVisLab Toolbox Reference
ml::Progress Class Reference

#include <mlProgress.h>

Public Member Functions

 Progress (boost::function< void(float)> *setProgress)
 Constructor.
 
void setStep (float step)
 Set progress step. This is added to the current progress anytime update function is invoked.
 
void update ()
 Adds current step to the progress.
 
void reset ()
 Set all internal fields to default values: step = 0 and progress = 0.
 

Detailed Description

Definition at line 22 of file mlProgress.h.

Constructor & Destructor Documentation

◆ Progress()

ml::Progress::Progress ( boost::function< void(float)> * setProgress)

Constructor.

\setProgress - Function invoked in order to set progress.

Member Function Documentation

◆ reset()

void ml::Progress::reset ( )

Set all internal fields to default values: step = 0 and progress = 0.

◆ setStep()

void ml::Progress::setStep ( float step)

Set progress step. This is added to the current progress anytime update function is invoked.

◆ update()

void ml::Progress::update ( )

Adds current step to the progress.


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