HSUProgress
class description - source file - inheritance tree (.pdf)
public:
HSUProgress(Int_t iMax = 100)
HSUProgress(const HSUProgress&)
virtual ~HSUProgress()
static TClass* Class()
void Final()
Bool_t GetFullTimerOn()
Int_t GetLast()
Int_t GetMaxValue()
char GetProgressChar()
Bool_t GetProgressOn()
float GetProgressReal()
const char* GetSpinChars() const
Bool_t GetSpinOn()
Float_t GetSpinReal()
Bool_t GetTimerOn()
float GetTimerReal()
virtual TClass* IsA() const
void Next(Int_t iSteps = 1)
HSUProgress& operator=(const HSUProgress&)
void Reset()
void Restart()
void SetFullTimerOn(Bool_t b)
void SetMaxValue(Int_t i)
void SetProgressChar(char c)
void SetProgressEvents(Int_t i)
void SetProgressOn(Bool_t b)
void SetProgressPer(Float_t f)
void SetSpinChars(const char* pStr)
void SetSpinChars(Int_t iType)
void SetSpinEvents(Int_t i)
void SetSpinOn(Bool_t b)
void SetSpinPer(Float_t f)
void SetTimerEvents(Int_t i)
void SetTimerOn(Bool_t b)
void SetTimerPer(Float_t f)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t m_iMax max numer of envents
Int_t m_iLast current number
Bool_t m_bSpin spin option
Bool_t m_bSpinInPer m_fSpinSet in percents or events
Float_t m_fSpinSet how often spin
Float_t m_fSpinReal how often spin in events
TString m_psSpinChars list of spin's characters
Int_t m_iSpinLen length of the m_psSpinChars
Bool_t m_bProgress print progress bar
Bool_t m_bProgressInPer m_fProgressSet in percents
Float_t m_fProgressSet how often print progress
Float_t m_fProgressReal how often print progress / events
char m_cProgressChar a character for the progress bar
Bool_t m_bTimer print timer value
Bool_t m_bTimerInPer m_fTimerSet in percents
Float_t m_fTimerSet how often print timer info
Float_t m_fTimerReal how often print timer info in events
Bool_t m_bFullTimer print full time info at the end
TStopwatch tTimer timer for time info
Bool_t m_bWasOutOfRange flag if the progress was out of range
HSUProgress(Int_t iMax)
Constructor in which a maximum number of steps may be set.
The default value of iMax = 100
void Reset()
Reset all parameters to the default values
~HSUProgress()
An empty destructor
void Restart(void)
Reset the counter
void SetSpinPer(Float_t f)
How often the spin changes - in per cent of the iMax
void SetSpinEvents(Int_t i)
How often the spin changes - in events
void SetSpinChars(const char *pStr)
Set the string of characters used by spin
void SetSpinChars(Int_t iType)
Set the string of characters used by spin from two defaults:
0 - ".oOo"
1 - "-\|/"
Float_t GetSpinReal(void)
How often (in events) spin changes
void SetProgressPer(Float_t f)
How often the progress bar changes - in per cent
void SetProgressEvents(Int_t i)
How often the progress bar changes - in events
Float_t GetProgressReal(void)
How often (in events) progress bar changes
void SetTimerPer(Float_t f)
How often the timer info appears - in per cent
void SetTimerEvents(Int_t i)
How often the timer info appears - in events
Float_t GetTimerReal(void)
How often (in events) the timer info appears
void Next(Int_t iSteps)
Execute the progress for the next step
Default iSteps = 1
void Final(void)
Print the final line of the progress bar
Inline Functions
void SetMaxValue(Int_t i)
Int_t GetMaxValue()
Int_t GetLast()
void SetSpinOn(Bool_t b)
Bool_t GetSpinOn()
const char* GetSpinChars() const
void SetProgressOn(Bool_t b)
Bool_t GetProgressOn()
char GetProgressChar()
void SetProgressChar(char c)
void SetTimerOn(Bool_t b)
Bool_t GetTimerOn()
void SetFullTimerOn(Bool_t b)
Bool_t GetFullTimerOn()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HSUProgress HSUProgress(const HSUProgress&)
HSUProgress& operator=(const HSUProgress&)
Author: Marcin Jaskula
Last update: Fri Jan 26 12:32:15 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.