#include "QProgress.h"

QProgress


class description - header file - source file - inheritance tree (.pdf)

class QProgress

Inheritance Chart:
QProgress
    private:
Long_t GetTime() public:
QProgress(Int_t maxval = 0, Int_t interval = 1000) QProgress(const QProgress&) virtual ~QProgress() static TClass* Class() Int_t GetMaxVal() void Init() virtual TClass* IsA() const void operator()(Int_t curval, Bool_t force = kFALSE) QProgress& operator=(const QProgress&) void SetInterval(Int_t interval) void SetMaxVal(Int_t maxval) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fMaxVal Int_t fInterval Long_t fInitTime Long_t fLastTime

Class Description

                                                              
 QProgress                                                    
                                                              
 This class prints on stderr computing progress information.  
                                                              

void operator()(Int_t curval,Bool_t force)
This function refreshes the progress information on stderr only if it has
not been updated since a period of time equal or longer than the interval
specified by QProgress::SetInterval(). 
Long_t GetTime()
This private member function get the system time with a milisecond precision 
QProgress(Int_t maxval=0, Int_t interval=1000)


{}
virtual ~QProgress()


{}
void Init()


{fInitTime=GetTime(); fLastTime=fInitTime-fInterval;}
void SetMaxVal(Int_t maxval)


{fMaxVal=maxval;}
void SetInterval(Int_t interval)


{fInterval=interval;}
Int_t GetMaxVal()


{return fMaxVal;}

Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:12 2006


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.