Blender V5.0
Freestyle::ProgressBar Class Reference

#include <ProgressBar.h>

Public Member Functions

 ProgressBar ()
virtual ~ProgressBar ()
virtual void reset ()
virtual void setTotalSteps (uint n)
virtual void setProgress (uint i)
virtual void setLabelText (const string &s)
uint getTotalSteps () const
uint getProgress () const
string getLabelText () const

Protected Attributes

uint _numtotalsteps
uint _progress
string _label

Detailed Description

Definition at line 20 of file ProgressBar.h.

Constructor & Destructor Documentation

◆ ProgressBar()

Freestyle::ProgressBar::ProgressBar ( )
inline

Definition at line 22 of file ProgressBar.h.

References _numtotalsteps, and _progress.

◆ ~ProgressBar()

virtual Freestyle::ProgressBar::~ProgressBar ( )
inlinevirtual

Definition at line 28 of file ProgressBar.h.

Member Function Documentation

◆ getLabelText()

string Freestyle::ProgressBar::getLabelText ( ) const
inline

Definition at line 62 of file ProgressBar.h.

References _label.

◆ getProgress()

uint Freestyle::ProgressBar::getProgress ( ) const
inline

Definition at line 57 of file ProgressBar.h.

References _progress.

◆ getTotalSteps()

uint Freestyle::ProgressBar::getTotalSteps ( ) const
inline

accessors

Definition at line 52 of file ProgressBar.h.

References _numtotalsteps.

◆ reset()

virtual void Freestyle::ProgressBar::reset ( )
inlinevirtual

Definition at line 30 of file ProgressBar.h.

References _numtotalsteps, and _progress.

◆ setLabelText()

virtual void Freestyle::ProgressBar::setLabelText ( const string & s)
inlinevirtual

Definition at line 46 of file ProgressBar.h.

References _label.

◆ setProgress()

virtual void Freestyle::ProgressBar::setProgress ( uint i)
inlinevirtual

Definition at line 41 of file ProgressBar.h.

References _progress, and i.

◆ setTotalSteps()

virtual void Freestyle::ProgressBar::setTotalSteps ( uint n)
inlinevirtual

Definition at line 36 of file ProgressBar.h.

References _numtotalsteps.

Member Data Documentation

◆ _label

string Freestyle::ProgressBar::_label
protected

Definition at line 70 of file ProgressBar.h.

Referenced by getLabelText(), and setLabelText().

◆ _numtotalsteps

uint Freestyle::ProgressBar::_numtotalsteps
protected

Definition at line 68 of file ProgressBar.h.

Referenced by getTotalSteps(), ProgressBar(), reset(), and setTotalSteps().

◆ _progress

uint Freestyle::ProgressBar::_progress
protected

Definition at line 69 of file ProgressBar.h.

Referenced by getProgress(), ProgressBar(), reset(), and setProgress().


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