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. | |
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. | |
void | ToggleOdometerInfos () |
Toggle information displayed in Analog Meter. | |
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. | |
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>
|
private |
Enumerator | |
---|---|
kRunning | |
kDone | |
kStopped | |
kAborted | |
kIncomplete |
Definition at line 39 of file TProofProgressDialog.h.
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.
|
virtual |
Cleanup dialog.
Definition at line 900 of file TProofProgressDialog.cxx.
Transform MBs to GBs ot TBs and get the correct suffix.
Definition at line 881 of file TProofProgressDialog.cxx.
void TProofProgressDialog::CloseWindow | ( | ) |
Called when dialog is closed.
Definition at line 933 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DisableAsyn | ( | ) |
Disable the asyn switch when an external request for going asynchronous is issued.
Definition at line 941 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoAbort | ( | ) |
Handle Cancel button.
Definition at line 1072 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoAsyn | ( | ) |
Handle Asyn button.
Definition at line 1087 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoClose | ( | ) |
Close dialog.
Definition at line 998 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoEnableSpeedo | ( | ) |
Enable/Disable speedometer.
Definition at line 1321 of file TProofProgressDialog.cxx.
Handle keep toggle button.
Definition at line 1027 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoLog | ( | ) |
Ask proof session for logs.
Definition at line 1007 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoMemoryPlot | ( | ) |
Do a memory plot.
Definition at line 1306 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoPlotRateGraph | ( | ) |
Handle Plot Rate Graph.
Definition at line 1098 of file TProofProgressDialog.cxx.
Handle log-current-query-only toggle button.
Definition at line 1038 of file TProofProgressDialog.cxx.
void TProofProgressDialog::DoStop | ( | ) |
Handle Stop button.
Definition at line 1054 of file TProofProgressDialog.cxx.
Indicate that Cancel or Stop was clicked.
Definition at line 950 of file TProofProgressDialog.cxx.
Load/append a log msg in the log frame, if open.
Definition at line 982 of file TProofProgressDialog.cxx.
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.
|
inline |
Definition at line 107 of file TProofProgressDialog.h.
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.
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.
void TProofProgressDialog::ToggleOdometerInfos | ( | ) |
Toggle information displayed in Analog Meter.
Definition at line 381 of file TProofProgressDialog.cxx.
void TProofProgressDialog::ToggleThreshold | ( | ) |
Definition at line 399 of file TProofProgressDialog.cxx.
|
friend |
Definition at line 35 of file TProofProgressDialog.h.
|
friend |
Definition at line 36 of file TProofProgressDialog.h.
|
private |
Definition at line 45 of file TProofProgressDialog.h.
|
private |
Definition at line 83 of file TProofProgressDialog.h.
|
private |
Definition at line 46 of file TProofProgressDialog.h.
|
private |
Definition at line 89 of file TProofProgressDialog.h.
|
private |
Definition at line 88 of file TProofProgressDialog.h.
|
private |
Definition at line 42 of file TProofProgressDialog.h.
|
private |
Definition at line 43 of file TProofProgressDialog.h.
|
private |
Definition at line 41 of file TProofProgressDialog.h.
|
private |
Definition at line 85 of file TProofProgressDialog.h.
|
private |
Definition at line 71 of file TProofProgressDialog.h.
|
private |
Definition at line 75 of file TProofProgressDialog.h.
|
private |
Definition at line 54 of file TProofProgressDialog.h.
|
private |
Definition at line 59 of file TProofProgressDialog.h.
|
private |
Definition at line 76 of file TProofProgressDialog.h.
|
private |
Definition at line 56 of file TProofProgressDialog.h.
|
private |
Definition at line 74 of file TProofProgressDialog.h.
Definition at line 96 of file TProofProgressDialog.h.
Definition at line 97 of file TProofProgressDialog.h.
|
staticprivate |
Definition at line 98 of file TProofProgressDialog.h.
|
private |
Definition at line 62 of file TProofProgressDialog.h.
|
private |
Definition at line 86 of file TProofProgressDialog.h.
|
private |
Definition at line 78 of file TProofProgressDialog.h.
|
private |
Definition at line 51 of file TProofProgressDialog.h.
|
private |
Definition at line 47 of file TProofProgressDialog.h.
|
private |
Definition at line 79 of file TProofProgressDialog.h.
|
private |
Definition at line 52 of file TProofProgressDialog.h.
|
private |
Definition at line 67 of file TProofProgressDialog.h.
|
private |
Definition at line 82 of file TProofProgressDialog.h.
|
private |
Definition at line 49 of file TProofProgressDialog.h.
|
private |
Definition at line 68 of file TProofProgressDialog.h.
|
private |
Definition at line 72 of file TProofProgressDialog.h.
|
private |
Definition at line 73 of file TProofProgressDialog.h.
|
private |
Definition at line 58 of file TProofProgressDialog.h.
|
private |
Definition at line 87 of file TProofProgressDialog.h.
|
private |
Definition at line 69 of file TProofProgressDialog.h.
|
private |
Definition at line 61 of file TProofProgressDialog.h.
|
private |
Definition at line 81 of file TProofProgressDialog.h.
|
private |
Definition at line 48 of file TProofProgressDialog.h.
|
private |
Definition at line 80 of file TProofProgressDialog.h.
|
private |
Definition at line 90 of file TProofProgressDialog.h.
|
private |
Definition at line 63 of file TProofProgressDialog.h.
|
private |
Definition at line 92 of file TProofProgressDialog.h.
|
private |
Definition at line 66 of file TProofProgressDialog.h.
|
private |
Definition at line 65 of file TProofProgressDialog.h.
|
private |
Definition at line 64 of file TProofProgressDialog.h.
|
private |
Definition at line 70 of file TProofProgressDialog.h.
|
private |
Definition at line 77 of file TProofProgressDialog.h.
|
private |
Definition at line 44 of file TProofProgressDialog.h.
|
private |
Definition at line 53 of file TProofProgressDialog.h.
|
private |
Definition at line 57 of file TProofProgressDialog.h.
|
private |
Definition at line 55 of file TProofProgressDialog.h.
|
private |
Definition at line 60 of file TProofProgressDialog.h.
|
private |
Definition at line 84 of file TProofProgressDialog.h.
|
private |
Definition at line 50 of file TProofProgressDialog.h.