Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TProofProgressDialog Class Reference

This class provides a query progress bar.

Definition at line 33 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.
 
virtual ~TProofProgressDialog ()
 Cleanup dialog.
 
void CloseWindow ()
 Called when dialog is closed.
 
void DisableAsyn ()
 Disable the asyn switch when an external request for going asynchronous is issued.
 
void DoAbort ()
 Handle Cancel button.
 
void DoAsyn ()
 Handle Asyn button.
 
void DoClose ()
 Close dialog.
 
void DoEnableSpeedo ()
 Enable/Disable speedometer.
 
void DoKeep (Bool_t on)
 Handle keep toggle button.
 
void DoLog ()
 Ask proof session for logs.
 
void DoMemoryPlot ()
 Do a memory plot.
 
void DoPlotRateGraph ()
 Handle Plot Rate Graph.
 
void DoSetLogQuery (Bool_t on)
 Handle log-current-query-only toggle button.
 
void DoStop ()
 Handle Stop button.
 
void IndicateStop (Bool_t aborted)
 Indicate that Cancel or Stop was clicked.
 
virtual TClassIsA () const
 
void LogMessage (const char *msg, Bool_t all)
 Load/append a log msg in the log frame, if open.
 
void Progress (Long64_t total, Long64_t processed)
 Update progress bar and status labels.
 
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.
 
void ResetProgressDialog (const char *sel, Int_t sz, Long64_t fst, Long64_t ent)
 Reset dialog box preparing for new query.
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void ToggleOdometerInfos ()
 Toggle information displayed in Analog Meter.
 
void ToggleThreshold ()
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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.
 

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 39 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 63 of file TProofProgressDialog.cxx.

◆ ~TProofProgressDialog()

TProofProgressDialog::~TProofProgressDialog ( )
virtual

Cleanup dialog.

Definition at line 900 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 881 of file TProofProgressDialog.cxx.

◆ Class()

static TClass * TProofProgressDialog::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TProofProgressDialog::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TProofProgressDialog::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 133 of file TProofProgressDialog.h.

◆ CloseWindow()

void TProofProgressDialog::CloseWindow ( )

Called when dialog is closed.

Definition at line 933 of file TProofProgressDialog.cxx.

◆ DeclFileName()

static const char * TProofProgressDialog::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 133 of file TProofProgressDialog.h.

◆ DisableAsyn()

void TProofProgressDialog::DisableAsyn ( )

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

Definition at line 941 of file TProofProgressDialog.cxx.

◆ DoAbort()

void TProofProgressDialog::DoAbort ( )

Handle Cancel button.

Definition at line 1072 of file TProofProgressDialog.cxx.

◆ DoAsyn()

void TProofProgressDialog::DoAsyn ( )

Handle Asyn button.

Definition at line 1087 of file TProofProgressDialog.cxx.

◆ DoClose()

void TProofProgressDialog::DoClose ( )

Close dialog.

Definition at line 998 of file TProofProgressDialog.cxx.

◆ DoEnableSpeedo()

void TProofProgressDialog::DoEnableSpeedo ( )

Enable/Disable speedometer.

Definition at line 1321 of file TProofProgressDialog.cxx.

◆ DoKeep()

void TProofProgressDialog::DoKeep ( Bool_t  on)

Handle keep toggle button.

Definition at line 1027 of file TProofProgressDialog.cxx.

◆ DoLog()

void TProofProgressDialog::DoLog ( )

Ask proof session for logs.

Definition at line 1007 of file TProofProgressDialog.cxx.

◆ DoMemoryPlot()

void TProofProgressDialog::DoMemoryPlot ( )

Do a memory plot.

Definition at line 1306 of file TProofProgressDialog.cxx.

◆ DoPlotRateGraph()

void TProofProgressDialog::DoPlotRateGraph ( )

Handle Plot Rate Graph.

Definition at line 1098 of file TProofProgressDialog.cxx.

◆ DoSetLogQuery()

void TProofProgressDialog::DoSetLogQuery ( Bool_t  on)

Handle log-current-query-only toggle button.

Definition at line 1038 of file TProofProgressDialog.cxx.

◆ DoStop()

void TProofProgressDialog::DoStop ( )

Handle Stop button.

Definition at line 1054 of file TProofProgressDialog.cxx.

◆ IndicateStop()

void TProofProgressDialog::IndicateStop ( Bool_t  aborted)

Indicate that Cancel or Stop was clicked.

Definition at line 950 of file TProofProgressDialog.cxx.

◆ IsA()

virtual TClass * TProofProgressDialog::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 133 of file TProofProgressDialog.h.

◆ LogMessage()

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

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

Definition at line 982 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 498 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 107 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 632 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 412 of file TProofProgressDialog.cxx.

◆ Streamer()

virtual void TProofProgressDialog::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TProofProgressDialog::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 133 of file TProofProgressDialog.h.

◆ ToggleOdometerInfos()

void TProofProgressDialog::ToggleOdometerInfos ( )

Toggle information displayed in Analog Meter.

Definition at line 381 of file TProofProgressDialog.cxx.

◆ ToggleThreshold()

void TProofProgressDialog::ToggleThreshold ( )

Definition at line 399 of file TProofProgressDialog.cxx.

Friends And Related Symbol Documentation

◆ TProofProgressLog

friend class TProofProgressLog
friend

Definition at line 35 of file TProofProgressDialog.h.

◆ TProofProgressMemoryPlot

friend class TProofProgressMemoryPlot
friend

Definition at line 36 of file TProofProgressDialog.h.

Member Data Documentation

◆ fAbort

TGTextButton* TProofProgressDialog::fAbort
private

Definition at line 45 of file TProofProgressDialog.h.

◆ fActWGraph

TGraph* TProofProgressDialog::fActWGraph
private

Definition at line 83 of file TProofProgressDialog.h.

◆ fAsyn

TGTextButton* TProofProgressDialog::fAsyn
private

Definition at line 46 of file TProofProgressDialog.h.

◆ fAvgMBRate

Double_t TProofProgressDialog::fAvgMBRate
private

Definition at line 89 of file TProofProgressDialog.h.

◆ fAvgRate

Double_t TProofProgressDialog::fAvgRate
private

Definition at line 88 of file TProofProgressDialog.h.

◆ fBar

TGProgressBar* TProofProgressDialog::fBar
private

Definition at line 42 of file TProofProgressDialog.h.

◆ fClose

TGTextButton* TProofProgressDialog::fClose
private

Definition at line 43 of file TProofProgressDialog.h.

◆ fDialog

TGTransientFrame* TProofProgressDialog::fDialog
private

Definition at line 41 of file TProofProgressDialog.h.

◆ fEffSGraph

TGraph* TProofProgressDialog::fEffSGraph
private

Definition at line 85 of file TProofProgressDialog.h.

◆ fEndTime

TTime TProofProgressDialog::fEndTime
private

Definition at line 71 of file TProofProgressDialog.h.

◆ fEntries

Long64_t TProofProgressDialog::fEntries
private

Definition at line 75 of file TProofProgressDialog.h.

◆ fEntry

TGTextEntry* TProofProgressDialog::fEntry
private

Definition at line 54 of file TProofProgressDialog.h.

◆ fEstim

TGLabel* TProofProgressDialog::fEstim
private

Definition at line 59 of file TProofProgressDialog.h.

◆ fFiles

Int_t TProofProgressDialog::fFiles
private

Definition at line 76 of file TProofProgressDialog.h.

◆ fFilesEvents

TGLabel* TProofProgressDialog::fFilesEvents
private

Definition at line 56 of file TProofProgressDialog.h.

◆ fFirst

Long64_t TProofProgressDialog::fFirst
private

Definition at line 74 of file TProofProgressDialog.h.

◆ fgKeepDefault

Bool_t TProofProgressDialog::fgKeepDefault = kTRUE
staticprivate

Definition at line 96 of file TProofProgressDialog.h.

◆ fgLogQueryDefault

Bool_t TProofProgressDialog::fgLogQueryDefault = kFALSE
staticprivate

Definition at line 97 of file TProofProgressDialog.h.

◆ fgTextQueryDefault

TString TProofProgressDialog::fgTextQueryDefault = "last"
staticprivate

Definition at line 98 of file TProofProgressDialog.h.

◆ fInit

TGLabel* TProofProgressDialog::fInit
private

Definition at line 62 of file TProofProgressDialog.h.

◆ fInitTime

Float_t TProofProgressDialog::fInitTime
private

Definition at line 86 of file TProofProgressDialog.h.

◆ fKeep

Bool_t TProofProgressDialog::fKeep
private

Definition at line 78 of file TProofProgressDialog.h.

◆ fKeepToggle

TGCheckButton* TProofProgressDialog::fKeepToggle
private

Definition at line 51 of file TProofProgressDialog.h.

◆ fLog

TGTextButton* TProofProgressDialog::fLog
private

Definition at line 47 of file TProofProgressDialog.h.

◆ fLogQuery

Bool_t TProofProgressDialog::fLogQuery
private

Definition at line 79 of file TProofProgressDialog.h.

◆ fLogQueryToggle

TGCheckButton* TProofProgressDialog::fLogQueryToggle
private

Definition at line 52 of file TProofProgressDialog.h.

◆ fLogWindow

TProofProgressLog* TProofProgressDialog::fLogWindow
private

Definition at line 67 of file TProofProgressDialog.h.

◆ fMBRtGraph

TGraph* TProofProgressDialog::fMBRtGraph
private

Definition at line 82 of file TProofProgressDialog.h.

◆ fMemPlot

TGTextButton* TProofProgressDialog::fMemPlot
private

Definition at line 49 of file TProofProgressDialog.h.

◆ fMemWindow

TProofProgressMemoryPlot* TProofProgressDialog::fMemWindow
private

Definition at line 68 of file TProofProgressDialog.h.

◆ fPrevProcessed

Long64_t TProofProgressDialog::fPrevProcessed
private

Definition at line 72 of file TProofProgressDialog.h.

◆ fPrevTotal

Long64_t TProofProgressDialog::fPrevTotal
private

Definition at line 73 of file TProofProgressDialog.h.

◆ fProcessed

TGLabel* TProofProgressDialog::fProcessed
private

Definition at line 58 of file TProofProgressDialog.h.

◆ fProcTime

Float_t TProofProgressDialog::fProcTime
private

Definition at line 87 of file TProofProgressDialog.h.

◆ fProof

TProof* TProofProgressDialog::fProof
private

Definition at line 69 of file TProofProgressDialog.h.

◆ fRate

TGLabel* TProofProgressDialog::fRate
private

Definition at line 61 of file TProofProgressDialog.h.

◆ fRateGraph

TGraph* TProofProgressDialog::fRateGraph
private

Definition at line 81 of file TProofProgressDialog.h.

◆ fRatePlot

TGTextButton* TProofProgressDialog::fRatePlot
private

Definition at line 48 of file TProofProgressDialog.h.

◆ fRatePoints

TNtuple* TProofProgressDialog::fRatePoints
private

Definition at line 80 of file TProofProgressDialog.h.

◆ fRightInfo

Int_t TProofProgressDialog::fRightInfo
private

Definition at line 90 of file TProofProgressDialog.h.

◆ fSelector

TGLabel* TProofProgressDialog::fSelector
private

Definition at line 63 of file TProofProgressDialog.h.

◆ fSessionUrl

TString TProofProgressDialog::fSessionUrl
private

Definition at line 92 of file TProofProgressDialog.h.

◆ fSmoothSpeedo

TGCheckButton* TProofProgressDialog::fSmoothSpeedo
private

Definition at line 66 of file TProofProgressDialog.h.

◆ fSpeedo

TGSpeedo* TProofProgressDialog::fSpeedo
private

Definition at line 65 of file TProofProgressDialog.h.

◆ fSpeedoEnabled

Bool_t TProofProgressDialog::fSpeedoEnabled
private

Definition at line 64 of file TProofProgressDialog.h.

◆ fStartTime

TTime TProofProgressDialog::fStartTime
private

Definition at line 70 of file TProofProgressDialog.h.

◆ fStatus

EQueryStatus TProofProgressDialog::fStatus
private

Definition at line 77 of file TProofProgressDialog.h.

◆ fStop

TGTextButton* TProofProgressDialog::fStop
private

Definition at line 44 of file TProofProgressDialog.h.

◆ fTextQuery

TGTextBuffer* TProofProgressDialog::fTextQuery
private

Definition at line 53 of file TProofProgressDialog.h.

◆ fTimeLab

TGLabel* TProofProgressDialog::fTimeLab
private

Definition at line 57 of file TProofProgressDialog.h.

◆ fTitleLab

TGLabel* TProofProgressDialog::fTitleLab
private

Definition at line 55 of file TProofProgressDialog.h.

◆ fTotal

TGLabel* TProofProgressDialog::fTotal
private

Definition at line 60 of file TProofProgressDialog.h.

◆ fTotSGraph

TGraph* TProofProgressDialog::fTotSGraph
private

Definition at line 84 of file TProofProgressDialog.h.

◆ fUpdtSpeedo

TGTextButton* TProofProgressDialog::fUpdtSpeedo
private

Definition at line 50 of file TProofProgressDialog.h.

Libraries for TProofProgressDialog:

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