Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
TProofProgressDialog Class Reference

Definition at line 41 of file TProofProgressDialog.h.

Public Member Functions

 TProofProgressDialog (TProof *proof, const char *selector, Int_t files, Long64_t first, Long64_t entries)
 Create PROOF processing progress dialog. More...
 
virtual ~TProofProgressDialog ()
 Cleanup dialog. More...
 
void CloseWindow ()
 Called when dialog is closed. More...
 
void DisableAsyn ()
 Disable the asyn switch when an external request for going asynchronous is issued. More...
 
void DoAbort ()
 Handle Cancel button. More...
 
void DoAsyn ()
 Handle Asyn button. More...
 
void DoClose ()
 Close dialog. More...
 
void DoEnableSpeedo ()
 Enable/Disable speedometer. More...
 
void DoKeep (Bool_t on)
 Handle keep toggle button. More...
 
void DoLog ()
 Ask proof session for logs. More...
 
void DoMemoryPlot ()
 Do a memory plot. More...
 
void DoPlotRateGraph ()
 Handle Plot Rate Graph. More...
 
void DoSetLogQuery (Bool_t on)
 Handle log-current-query-only toggle button. More...
 
void DoStop ()
 Handle Stop button. More...
 
void IndicateStop (Bool_t aborted)
 Indicate that Cancel or Stop was clicked. More...
 
void LogMessage (const char *msg, Bool_t all)
 Load/append a log msg in the log frame, if open. More...
 
void Progress (Long64_t total, Long64_t processed)
 Update progress bar and status labels. More...
 
void Progress (Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti)
 
void Progress (Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti, Int_t actw, Int_t tses, Float_t eses)
 Update progress bar and status labels. More...
 
void ResetProgressDialog (const char *sel, Int_t sz, Long64_t fst, Long64_t ent)
 Reset dialog box preparing for new query. More...
 
void ToggleOdometerInfos ()
 Toggle information displayed in Analog Meter. More...
 
void ToggleThreshold ()
 

Private Types

enum  EQueryStatus {
  kRunning = 0, kDone, kStopped, kAborted,
  kIncomplete
}
 

Private Member Functions

Float_t AdjustBytes (Float_t mbs, TString &sf)
 Transform MBs to GBs ot TBs and get the correct suffix. More...
 

Private Attributes

TGTextButtonfAbort
 
TGraphfActWGraph
 
TGTextButtonfAsyn
 
Double_t fAvgMBRate
 
Double_t fAvgRate
 
TGProgressBarfBar
 
TGTextButtonfClose
 
TGTransientFramefDialog
 
TGraphfEffSGraph
 
TTime fEndTime
 
Long64_t fEntries
 
TGTextEntryfEntry
 
TGLabelfEstim
 
Int_t fFiles
 
TGLabelfFilesEvents
 
Long64_t fFirst
 
TGLabelfInit
 
Float_t fInitTime
 
Bool_t fKeep
 
TGCheckButtonfKeepToggle
 
TGTextButtonfLog
 
Bool_t fLogQuery
 
TGCheckButtonfLogQueryToggle
 
TProofProgressLogfLogWindow
 
TGraphfMBRtGraph
 
TGTextButtonfMemPlot
 
TProofProgressMemoryPlotfMemWindow
 
Long64_t fPrevProcessed
 
Long64_t fPrevTotal
 
TGLabelfProcessed
 
Float_t fProcTime
 
TProoffProof
 
TGLabelfRate
 
TGraphfRateGraph
 
TGTextButtonfRatePlot
 
TNtuplefRatePoints
 
Int_t fRightInfo
 
TGLabelfSelector
 
TString fSessionUrl
 
TGCheckButtonfSmoothSpeedo
 
TGSpeedofSpeedo
 
Bool_t fSpeedoEnabled
 
TTime fStartTime
 
EQueryStatus fStatus
 
TGTextButtonfStop
 
TGTextBufferfTextQuery
 
TGLabelfTimeLab
 
TGLabelfTitleLab
 
TGLabelfTotal
 
TGraphfTotSGraph
 
TGTextButtonfUpdtSpeedo
 

Static Private Attributes

static Bool_t fgKeepDefault = kTRUE
 
static Bool_t fgLogQueryDefault = kFALSE
 
static TString fgTextQueryDefault = "last"
 

Friends

class TProofProgressLog
 
class TProofProgressMemoryPlot
 

#include <TProofProgressDialog.h>

Member Enumeration Documentation

◆ EQueryStatus

Enumerator
kRunning 
kDone 
kStopped 
kAborted 
kIncomplete 

Definition at line 47 of file TProofProgressDialog.h.

Constructor & Destructor Documentation

◆ TProofProgressDialog()

TProofProgressDialog::TProofProgressDialog ( TProof proof,
const char *  selector,
Int_t  files,
Long64_t  first,
Long64_t  entries 
)

Create PROOF processing progress dialog.

Definition at line 62 of file TProofProgressDialog.cxx.

◆ ~TProofProgressDialog()

TProofProgressDialog::~TProofProgressDialog ( )
virtual

Cleanup dialog.

Definition at line 909 of file TProofProgressDialog.cxx.

Member Function Documentation

◆ AdjustBytes()

Float_t TProofProgressDialog::AdjustBytes ( Float_t  mbs,
TString sf 
)
private

Transform MBs to GBs ot TBs and get the correct suffix.

Definition at line 890 of file TProofProgressDialog.cxx.

◆ CloseWindow()

void TProofProgressDialog::CloseWindow ( )

Called when dialog is closed.

Definition at line 942 of file TProofProgressDialog.cxx.

◆ DisableAsyn()

void TProofProgressDialog::DisableAsyn ( )

Disable the asyn switch when an external request for going asynchronous is issued.

Definition at line 950 of file TProofProgressDialog.cxx.

◆ DoAbort()

void TProofProgressDialog::DoAbort ( )

Handle Cancel button.

Definition at line 1081 of file TProofProgressDialog.cxx.

◆ DoAsyn()

void TProofProgressDialog::DoAsyn ( )

Handle Asyn button.

Definition at line 1096 of file TProofProgressDialog.cxx.

◆ DoClose()

void TProofProgressDialog::DoClose ( )

Close dialog.

Definition at line 1007 of file TProofProgressDialog.cxx.

◆ DoEnableSpeedo()

void TProofProgressDialog::DoEnableSpeedo ( )

Enable/Disable speedometer.

Definition at line 1330 of file TProofProgressDialog.cxx.

◆ DoKeep()

void TProofProgressDialog::DoKeep ( Bool_t  on)

Handle keep toggle button.

Definition at line 1036 of file TProofProgressDialog.cxx.

◆ DoLog()

void TProofProgressDialog::DoLog ( )

Ask proof session for logs.

Definition at line 1016 of file TProofProgressDialog.cxx.

◆ DoMemoryPlot()

void TProofProgressDialog::DoMemoryPlot ( )

Do a memory plot.

Definition at line 1315 of file TProofProgressDialog.cxx.

◆ DoPlotRateGraph()

void TProofProgressDialog::DoPlotRateGraph ( )

Handle Plot Rate Graph.

Definition at line 1107 of file TProofProgressDialog.cxx.

◆ DoSetLogQuery()

void TProofProgressDialog::DoSetLogQuery ( Bool_t  on)

Handle log-current-query-only toggle button.

Definition at line 1047 of file TProofProgressDialog.cxx.

◆ DoStop()

void TProofProgressDialog::DoStop ( )

Handle Stop button.

Definition at line 1063 of file TProofProgressDialog.cxx.

◆ IndicateStop()

void TProofProgressDialog::IndicateStop ( Bool_t  aborted)

Indicate that Cancel or Stop was clicked.

Definition at line 959 of file TProofProgressDialog.cxx.

◆ LogMessage()

void TProofProgressDialog::LogMessage ( const char *  msg,
Bool_t  all 
)

Load/append a log msg in the log frame, if open.

Definition at line 991 of file TProofProgressDialog.cxx.

◆ Progress() [1/3]

void TProofProgressDialog::Progress ( Long64_t  total,
Long64_t  processed 
)

Update progress bar and status labels.

Use "processed == total" or "processed < 0" to indicate end of processing.

Definition at line 507 of file TProofProgressDialog.cxx.

◆ Progress() [2/3]

void TProofProgressDialog::Progress ( Long64_t  total,
Long64_t  processed,
Long64_t  bytesread,
Float_t  initTime,
Float_t  procTime,
Float_t  evtrti,
Float_t  mbrti 
)
inline

Definition at line 115 of file TProofProgressDialog.h.

◆ Progress() [3/3]

void TProofProgressDialog::Progress ( Long64_t  total,
Long64_t  processed,
Long64_t  bytesread,
Float_t  initTime,
Float_t  procTime,
Float_t  evtrti,
Float_t  mbrti,
Int_t  actw,
Int_t  tses,
Float_t  eses 
)

Update progress bar and status labels.

Use "processed == total" or "processed < 0" to indicate end of processing.

Definition at line 641 of file TProofProgressDialog.cxx.

◆ ResetProgressDialog()

void TProofProgressDialog::ResetProgressDialog ( const char *  sel,
Int_t  sz,
Long64_t  fst,
Long64_t  ent 
)

Reset dialog box preparing for new query.

Definition at line 421 of file TProofProgressDialog.cxx.

◆ ToggleOdometerInfos()

void TProofProgressDialog::ToggleOdometerInfos ( )

Toggle information displayed in Analog Meter.

Definition at line 390 of file TProofProgressDialog.cxx.

◆ ToggleThreshold()

void TProofProgressDialog::ToggleThreshold ( )

Definition at line 408 of file TProofProgressDialog.cxx.

Friends And Related Function Documentation

◆ TProofProgressLog

friend class TProofProgressLog
friend

Definition at line 43 of file TProofProgressDialog.h.

◆ TProofProgressMemoryPlot

friend class TProofProgressMemoryPlot
friend

Definition at line 44 of file TProofProgressDialog.h.

Member Data Documentation

◆ fAbort

TGTextButton* TProofProgressDialog::fAbort
private

Definition at line 53 of file TProofProgressDialog.h.

◆ fActWGraph

TGraph* TProofProgressDialog::fActWGraph
private

Definition at line 91 of file TProofProgressDialog.h.

◆ fAsyn

TGTextButton* TProofProgressDialog::fAsyn
private

Definition at line 54 of file TProofProgressDialog.h.

◆ fAvgMBRate

Double_t TProofProgressDialog::fAvgMBRate
private

Definition at line 97 of file TProofProgressDialog.h.

◆ fAvgRate

Double_t TProofProgressDialog::fAvgRate
private

Definition at line 96 of file TProofProgressDialog.h.

◆ fBar

TGProgressBar* TProofProgressDialog::fBar
private

Definition at line 50 of file TProofProgressDialog.h.

◆ fClose

TGTextButton* TProofProgressDialog::fClose
private

Definition at line 51 of file TProofProgressDialog.h.

◆ fDialog

TGTransientFrame* TProofProgressDialog::fDialog
private

Definition at line 49 of file TProofProgressDialog.h.

◆ fEffSGraph

TGraph* TProofProgressDialog::fEffSGraph
private

Definition at line 93 of file TProofProgressDialog.h.

◆ fEndTime

TTime TProofProgressDialog::fEndTime
private

Definition at line 79 of file TProofProgressDialog.h.

◆ fEntries

Long64_t TProofProgressDialog::fEntries
private

Definition at line 83 of file TProofProgressDialog.h.

◆ fEntry

TGTextEntry* TProofProgressDialog::fEntry
private

Definition at line 62 of file TProofProgressDialog.h.

◆ fEstim

TGLabel* TProofProgressDialog::fEstim
private

Definition at line 67 of file TProofProgressDialog.h.

◆ fFiles

Int_t TProofProgressDialog::fFiles
private

Definition at line 84 of file TProofProgressDialog.h.

◆ fFilesEvents

TGLabel* TProofProgressDialog::fFilesEvents
private

Definition at line 64 of file TProofProgressDialog.h.

◆ fFirst

Long64_t TProofProgressDialog::fFirst
private

Definition at line 82 of file TProofProgressDialog.h.

◆ fgKeepDefault

Bool_t TProofProgressDialog::fgKeepDefault = kTRUE
staticprivate

Definition at line 104 of file TProofProgressDialog.h.

◆ fgLogQueryDefault

Bool_t TProofProgressDialog::fgLogQueryDefault = kFALSE
staticprivate

Definition at line 105 of file TProofProgressDialog.h.

◆ fgTextQueryDefault

TString TProofProgressDialog::fgTextQueryDefault = "last"
staticprivate

Definition at line 106 of file TProofProgressDialog.h.

◆ fInit

TGLabel* TProofProgressDialog::fInit
private

Definition at line 70 of file TProofProgressDialog.h.

◆ fInitTime

Float_t TProofProgressDialog::fInitTime
private

Definition at line 94 of file TProofProgressDialog.h.

◆ fKeep

Bool_t TProofProgressDialog::fKeep
private

Definition at line 86 of file TProofProgressDialog.h.

◆ fKeepToggle

TGCheckButton* TProofProgressDialog::fKeepToggle
private

Definition at line 59 of file TProofProgressDialog.h.

◆ fLog

TGTextButton* TProofProgressDialog::fLog
private

Definition at line 55 of file TProofProgressDialog.h.

◆ fLogQuery

Bool_t TProofProgressDialog::fLogQuery
private

Definition at line 87 of file TProofProgressDialog.h.

◆ fLogQueryToggle

TGCheckButton* TProofProgressDialog::fLogQueryToggle
private

Definition at line 60 of file TProofProgressDialog.h.

◆ fLogWindow

TProofProgressLog* TProofProgressDialog::fLogWindow
private

Definition at line 75 of file TProofProgressDialog.h.

◆ fMBRtGraph

TGraph* TProofProgressDialog::fMBRtGraph
private

Definition at line 90 of file TProofProgressDialog.h.

◆ fMemPlot

TGTextButton* TProofProgressDialog::fMemPlot
private

Definition at line 57 of file TProofProgressDialog.h.

◆ fMemWindow

TProofProgressMemoryPlot* TProofProgressDialog::fMemWindow
private

Definition at line 76 of file TProofProgressDialog.h.

◆ fPrevProcessed

Long64_t TProofProgressDialog::fPrevProcessed
private

Definition at line 80 of file TProofProgressDialog.h.

◆ fPrevTotal

Long64_t TProofProgressDialog::fPrevTotal
private

Definition at line 81 of file TProofProgressDialog.h.

◆ fProcessed

TGLabel* TProofProgressDialog::fProcessed
private

Definition at line 66 of file TProofProgressDialog.h.

◆ fProcTime

Float_t TProofProgressDialog::fProcTime
private

Definition at line 95 of file TProofProgressDialog.h.

◆ fProof

TProof* TProofProgressDialog::fProof
private

Definition at line 77 of file TProofProgressDialog.h.

◆ fRate

TGLabel* TProofProgressDialog::fRate
private

Definition at line 69 of file TProofProgressDialog.h.

◆ fRateGraph

TGraph* TProofProgressDialog::fRateGraph
private

Definition at line 89 of file TProofProgressDialog.h.

◆ fRatePlot

TGTextButton* TProofProgressDialog::fRatePlot
private

Definition at line 56 of file TProofProgressDialog.h.

◆ fRatePoints

TNtuple* TProofProgressDialog::fRatePoints
private

Definition at line 88 of file TProofProgressDialog.h.

◆ fRightInfo

Int_t TProofProgressDialog::fRightInfo
private

Definition at line 98 of file TProofProgressDialog.h.

◆ fSelector

TGLabel* TProofProgressDialog::fSelector
private

Definition at line 71 of file TProofProgressDialog.h.

◆ fSessionUrl

TString TProofProgressDialog::fSessionUrl
private

Definition at line 100 of file TProofProgressDialog.h.

◆ fSmoothSpeedo

TGCheckButton* TProofProgressDialog::fSmoothSpeedo
private

Definition at line 74 of file TProofProgressDialog.h.

◆ fSpeedo

TGSpeedo* TProofProgressDialog::fSpeedo
private

Definition at line 73 of file TProofProgressDialog.h.

◆ fSpeedoEnabled

Bool_t TProofProgressDialog::fSpeedoEnabled
private

Definition at line 72 of file TProofProgressDialog.h.

◆ fStartTime

TTime TProofProgressDialog::fStartTime
private

Definition at line 78 of file TProofProgressDialog.h.

◆ fStatus

EQueryStatus TProofProgressDialog::fStatus
private

Definition at line 85 of file TProofProgressDialog.h.

◆ fStop

TGTextButton* TProofProgressDialog::fStop
private

Definition at line 52 of file TProofProgressDialog.h.

◆ fTextQuery

TGTextBuffer* TProofProgressDialog::fTextQuery
private

Definition at line 61 of file TProofProgressDialog.h.

◆ fTimeLab

TGLabel* TProofProgressDialog::fTimeLab
private

Definition at line 65 of file TProofProgressDialog.h.

◆ fTitleLab

TGLabel* TProofProgressDialog::fTitleLab
private

Definition at line 63 of file TProofProgressDialog.h.

◆ fTotal

TGLabel* TProofProgressDialog::fTotal
private

Definition at line 68 of file TProofProgressDialog.h.

◆ fTotSGraph

TGraph* TProofProgressDialog::fTotSGraph
private

Definition at line 92 of file TProofProgressDialog.h.

◆ fUpdtSpeedo

TGTextButton* TProofProgressDialog::fUpdtSpeedo
private

Definition at line 58 of file TProofProgressDialog.h.

Libraries for TProofProgressDialog:
[legend]

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