#include <TSessionViewer.h>
Inheritance diagram for TSessionQueryFrame:
Definition at line 399 of file TSessionViewer.h.
enum TSessionQueryFrame::EQueryStatus [private] |
Definition at line 403 of file TSessionViewer.h.
enum TSessionQueryFrame::EQueryStatus [private] |
Definition at line 403 of file TSessionViewer.h.
Definition at line 2332 of file TSessionViewer.cxx.
References fEntries, fFiles, fFirst, fModified, fPrevProcessed, fPrevTotal, fStatus, and kStopped.
TSessionQueryFrame::~TSessionQueryFrame | ( | ) | [virtual] |
virtual TSessionQueryFrame::~TSessionQueryFrame | ( | ) | [virtual] |
void TSessionQueryFrame::Build | ( | TSessionViewer * | gui | ) |
Definition at line 2355 of file TSessionViewer.cxx.
References TGCompositeFrame::AddFrame(), TGTab::AddTab(), TEditQueryFrame::Build(), TQObject::Connect(), fBtnAbort, fBtnFinalize, fBtnRetrieve, fBtnSave, fBtnShowLog, fBtnStop, fBtnSubmit, fECanvas, fEntries, fFB, fFC, fFD, fFirst, fInfoTextView, fLabInfos, fLabStatus, TSessionDescription::fLocal, fModified, fPrevProcessed, fPrevTotal, TSessionDescription::fProof, fRate, frmProg, fStatsCanvas, fTab, fTotal, fViewer, TSessionViewer::GetActDesc(), TRootEmbeddedCanvas::GetCanvas(), TProof::IsValid(), kDeepCleanup, kDoubleBorder, kFALSE, TGProgressBar::kFancy, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, kSunkenFrame, kVerticalFrame, TGFrame::Resize(), TGProgressBar::SetBarColor(), TPad::SetBorderMode(), TGCompositeFrame::SetCleanup(), TAttFill::SetFillColor(), TGCompositeFrame::SetLayoutManager(), TGButton::SetToolTipText(), TGHProgressBar::ShowPosition(), and TGCompositeFrame::TGCompositeFrame().
Referenced by TSessionViewer::Build().
TCanvas* TSessionQueryFrame::GetStatsCanvas | ( | ) | const [inline] |
Definition at line 440 of file TSessionViewer.h.
References fStatsCanvas.
Referenced by TSessionViewer::OnCascadeMenu().
TEditQueryFrame* TSessionQueryFrame::GetQueryEditFrame | ( | ) | const [inline] |
Definition at line 441 of file TSessionViewer.h.
References fFD.
Referenced by TSessionViewer::Build().
TGTab* TSessionQueryFrame::GetTab | ( | ) | const [inline] |
Definition at line 442 of file TSessionViewer.h.
References fTab.
Referenced by TEditQueryFrame::OnBtnSave().
void TSessionQueryFrame::Feedback | ( | TList * | objs | ) |
Definition at line 2508 of file TSessionViewer.cxx.
References TSessionDescription::fActQuery, TSessionDescription::fAttached, TSessionDescription::fProof, TQueryDescription::fStatus, fViewer, TSessionViewer::GetActDesc(), gTQSender, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQuerySubmitted, and UpdateHistos().
Definition at line 2490 of file TSessionViewer.cxx.
References fBtnSave, TSessionDescription::fLocal, fModified, TSessionDescription::fProof, fViewer, TSessionViewer::GetActDesc(), TProof::IsValid(), kButtonDisabled, kButtonUp, and TGButton::SetState().
Referenced by TEditQueryFrame::OnBtnSave(), and TEditQueryFrame::SettingsChanged().
Definition at line 2573 of file TSessionViewer.cxx.
References buf, TSessionViewer::ChangeRightLogo(), TString::Data(), TSessionDescription::fActQuery, TQueryDescription::fEndTime, fEntries, fFB, fFiles, fFirst, fLabInfos, fLabStatus, TString::Form(), fPrevProcessed, fPrevTotal, TSessionDescription::fProof, fRate, frmProg, TQueryDescription::fStartTime, TQueryDescription::fStatus, fTotal, fViewer, TSessionViewer::GetActDesc(), TProof::GetMaster(), TProof::GetParallel(), gSystem, gTQSender, kFALSE, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQuerySubmitted, TGCompositeFrame::Layout(), Long64_t, TSystem::Now(), TGProgressBar::Reset(), TSessionViewer::SetChangePic(), TGProgressBar::SetPosition(), and TGLabel::SetText().
Referenced by Progress().
Definition at line 2702 of file TSessionViewer.cxx.
References buf, TSessionViewer::ChangeRightLogo(), TString::Data(), TSessionDescription::fActQuery, TQueryDescription::fEndTime, fEntries, fFB, fFiles, fFirst, fLabInfos, fLabStatus, TString::Format(), fPrevProcessed, fPrevTotal, fRate, frmProg, TQueryDescription::fStartTime, TQueryDescription::fStatus, fTotal, fViewer, TSessionViewer::GetActDesc(), gSystem, kAborted, kDone, kFALSE, kRunning, TQueryDescription::kSessionQueryAborted, TQueryDescription::kSessionQueryCompleted, TQueryDescription::kSessionQueryFinalized, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQueryStopped, kStopped, TGCompositeFrame::Layout(), Long64_t, TSystem::Now(), TGProgressBar::Reset(), TGProgressBar::SetBarColor(), TSessionViewer::SetChangePic(), TGProgressBar::SetPosition(), and TGLabel::SetText().
Referenced by TSessionViewer::HandleTimer(), OnBtnSubmit(), and UpdateInfos().
void TSessionQueryFrame::IndicateStop | ( | Bool_t | aborted | ) |
Definition at line 2835 of file TSessionViewer.cxx.
References TQObject::Disconnect(), TSessionDescription::fProof, frmProg, fViewer, TSessionViewer::GetActDesc(), TProof::IsValid(), kTRUE, and TGProgressBar::SetBarColor().
void TSessionQueryFrame::ResetProgressDialog | ( | const char * | selec, | |
Int_t | files, | |||
Long64_t | first, | |||
Long64_t | entries | |||
) |
Definition at line 2860 of file TSessionViewer.cxx.
References buf, TCanvas::Clear(), TQObject::Connect(), fEntries, fFB, fFiles, fFirst, fLabInfos, fLabStatus, TSessionDescription::fLocal, fPrevProcessed, fPrevTotal, TSessionDescription::fProof, frmProg, fStatsCanvas, fViewer, TSessionViewer::GetActDesc(), TProof::GetMaster(), TProof::GetParallel(), TProof::IsValid(), TGCompositeFrame::Layout(), TGProgressBar::Reset(), TGProgressBar::SetBarColor(), and TGLabel::SetText().
Referenced by OnBtnSubmit(), TSessionViewer::OnCascadeMenu(), and UpdateInfos().
void TSessionQueryFrame::OnBtnSubmit | ( | ) |
Definition at line 3045 of file TSessionViewer.cxx.
References TProof::AddFeedback(), TProof::cd(), chain, xmlio::Class, TProof::ClearFeedback(), TQObject::Connect(), TString::Data(), TSessionViewer::EnableTimer(), TObject::Error(), TQueryDescription::fChain, TGObject::fClient, TQueryDescription::fFirstEntry, TSessionDescription::fLocal, TQueryDescription::fNbFiles, TSessionDescription::fNbHistos, TQueryDescription::fNoEntries, TQueryDescription::fOptions, TString::Format(), TSessionDescription::fProof, TQueryDescription::fQueryName, TQueryDescription::fReference, TQueryDescription::fSelectorString, TQueryDescription::fStartTime, TQueryDescription::fStatus, fViewer, TSessionViewer::GetActDesc(), TSessionViewer::GetCascadeMenu(), TChain::GetEntries(), TSessionViewer::GetOptionsMenu(), TSessionViewer::GetQueryFrame(), TChain::GetReadEntry(), TGClient::GetRoot(), TGListTree::GetSelected(), TProof::GetSeqNum(), TSessionViewer::GetSessionHierarchy(), TProof::GetSessionTag(), TGListTreeItem::GetUserData(), gPad, gROOT, gSystem, i, TGPopupMenu::IsEntryChecked(), TProof::IsLite(), TProof::IsValid(), kFALSE, kFeedbackHistos, kMBIconExclamation, kMBOk, kOptionsFeedback, TQueryDescription::kSessionQueryAborted, TQueryDescription::kSessionQueryCompleted, TQueryDescription::kSessionQueryCreated, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQueryStopped, TQueryDescription::kSessionQuerySubmitted, kTRUE, TProof::kUsingSessionGui, Long64_t, TSystem::Now(), OnBtnRetrieve(), ProgressLocal(), ResetProgressDialog(), retval, TObject::SetBit(), TSessionViewer::SetChangePic(), TROOT::Time(), and UpdateButtons().
Referenced by TSessionViewer::MyHandleMenu(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSubmitClicked(), and TSessionViewer::ProcessMessage().
void TSessionQueryFrame::OnBtnFinalize | ( | ) |
Definition at line 2909 of file TSessionViewer.cxx.
References chain, xmlio::Class, TSessionDescription::fActQuery, TQueryDescription::fChain, TProof::Finalize(), TSessionDescription::fLocal, TSessionDescription::fProof, TQueryDescription::fReference, fViewer, TSessionViewer::GetActDesc(), TGObject::GetId(), TTree::GetPlayer(), TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TGListTreeItem::GetUserData(), gPad, gVirtualX, TProof::IsValid(), kFALSE, kWatch, and UpdateButtons().
void TSessionQueryFrame::OnBtnStop | ( | ) |
Definition at line 2939 of file TSessionViewer.cxx.
References TSessionViewer::ChangeRightLogo(), TSessionDescription::fActQuery, TSessionDescription::fLocal, TSessionDescription::fProof, TQueryDescription::fStatus, fViewer, TSessionViewer::GetActDesc(), gROOT, TProof::IsValid(), kFALSE, TQueryDescription::kSessionQueryStopped, TSessionViewer::SetChangePic(), TROOT::SetInterrupt(), and TProof::StopProcess().
void TSessionQueryFrame::OnBtnAbort | ( | ) |
Definition at line 3025 of file TSessionViewer.cxx.
References TSessionViewer::ChangeRightLogo(), TSessionDescription::fActQuery, TSessionDescription::fLocal, TSessionDescription::fProof, TQueryDescription::fStatus, fViewer, TSessionViewer::GetActDesc(), gROOT, TProof::IsValid(), kFALSE, TQueryDescription::kSessionQueryAborted, kTRUE, TSessionViewer::SetChangePic(), TROOT::SetInterrupt(), and TProof::StopProcess().
void TSessionQueryFrame::OnBtnShowLog | ( | ) |
Definition at line 2959 of file TSessionViewer.cxx.
References xmlio::Class, TString::Data(), TQueryDescription::fReference, fViewer, TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TGListTreeItem::GetUserData(), and TSessionViewer::ShowLog().
void TSessionQueryFrame::OnBtnRetrieve | ( | ) |
Definition at line 2973 of file TSessionViewer.cxx.
References TGListTree::AddItem(), chain, xmlio::Class, TGContainer::ClearViewPort(), TSessionDescription::fActQuery, TSessionDescription::fAttached, TQueryDescription::fChain, TGObject::fClient, TGListTree::FindChildByName(), TGListTree::FindItemByObj(), TSessionDescription::fLocal, TSessionDescription::fProof, TQueryDescription::fReference, fViewer, TSessionViewer::GetActDesc(), TGObject::GetId(), TSelector::GetOutputList(), TTree::GetPlayer(), TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TSessionViewer::GetSessionItem(), gVirtualX, TProof::IsValid(), kWatch, TGClient::NeedRedraw(), TSessionViewer::OnCascadeMenu(), TProof::Retrieve(), UpdateButtons(), and UpdateInfos().
Referenced by OnBtnSubmit().
void TSessionQueryFrame::UpdateInfos | ( | ) |
Definition at line 3292 of file TSessionViewer.cxx.
References buffer, chain, TGTextView::Clear(), TSessionDescription::fActQuery, TSessionDescription::fAttached, fBtnSave, TQueryDescription::fChain, TGObject::fClient, TSessionDescription::fConnected, fFB, fFD, fInfoTextView, TSessionDescription::fLocal, TString::Format(), TSessionDescription::fProof, fRate, TQueryDescription::fResult, frmProg, fTotal, fViewer, TSessionViewer::GetActDesc(), TChain::GetEntries(), TChain::GetReadEntry(), TProof::IsValid(), TQueryResult::kAborted, TQueryResult::kCompleted, TQueryResult::kStopped, TGCompositeFrame::Layout(), TGTextView::LoadBuffer(), TGClient::NeedRedraw(), ProgressLocal(), TGProgressBar::Reset(), ResetProgressDialog(), result(), TGProgressBar::SetBarColor(), TGProgressBar::SetPosition(), TGTextButton::SetText(), TGLabel::SetText(), size, UpdateButtons(), and TEditQueryFrame::UpdateFields().
Referenced by OnBtnRetrieve(), TSessionViewer::OnCascadeMenu(), TSessionViewer::OnListTreeClicked(), and TSessionViewer::QueryResultReady().
void TSessionQueryFrame::UpdateButtons | ( | TQueryDescription * | desc | ) |
Definition at line 3184 of file TSessionViewer.cxx.
References xmlio::Class, TSessionDescription::fActQuery, fBtnAbort, fBtnFinalize, fBtnRetrieve, fBtnShowLog, fBtnStop, fBtnSubmit, TQueryDescription::fChain, TSessionDescription::fLocal, TSessionDescription::fProof, TQueryDescription::fResult, TQueryDescription::fStatus, fViewer, TSessionViewer::GetActDesc(), TQueryResult::GetInputObject(), TGListTree::GetSelected(), TSessionViewer::GetSessionHierarchy(), TGListTreeItem::GetUserData(), TQueryResult::IsFinalized(), TProof::IsValid(), kFALSE, TQueryDescription::kSessionQueryAborted, TQueryDescription::kSessionQueryCompleted, TQueryDescription::kSessionQueryCreated, TQueryDescription::kSessionQueryFinalized, TQueryDescription::kSessionQueryFromProof, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQueryStopped, TQueryDescription::kSessionQuerySubmitted, kTRUE, and TGButton::SetEnabled().
Referenced by OnBtnFinalize(), OnBtnRetrieve(), OnBtnSubmit(), TSessionViewer::OnListTreeClicked(), TSessionViewer::QueryResultReady(), and UpdateInfos().
void TSessionQueryFrame::UpdateHistos | ( | TList * | objs | ) |
Definition at line 2531 of file TSessionViewer.cxx.
References TVirtualPad::cd(), TCanvas::cd(), TH1::Draw(), TList::FindObject(), fStatsCanvas, fViewer, TSessionViewer::GetCascadeMenu(), gPad, h, h2, i, TGPopupMenu::IsEntryChecked(), kFeedbackHistos, kTRUE, TPad::Modified(), o, and TCanvas::Update().
Referenced by Feedback(), and TSessionViewer::OnCascadeMenu().
void TSessionQueryFrame::Build | ( | TSessionViewer * | gui | ) |
TCanvas* TSessionQueryFrame::GetStatsCanvas | ( | ) | const [inline] |
TEditQueryFrame* TSessionQueryFrame::GetQueryEditFrame | ( | ) | const [inline] |
TGTab* TSessionQueryFrame::GetTab | ( | ) | const [inline] |
void TSessionQueryFrame::Feedback | ( | TList * | objs | ) |
void TSessionQueryFrame::Progress | ( | Long64_t | total, | |
Long64_t | processed, | |||
Long64_t | bytesread, | |||
Float_t | initTime, | |||
Float_t | procTime, | |||
Float_t | evtrti, | |||
Float_t | mbrti | |||
) |
void TSessionQueryFrame::IndicateStop | ( | Bool_t | aborted | ) |
void TSessionQueryFrame::ResetProgressDialog | ( | const char * | selec, | |
Int_t | files, | |||
Long64_t | first, | |||
Long64_t | entries | |||
) |
void TSessionQueryFrame::OnBtnSubmit | ( | ) |
void TSessionQueryFrame::OnBtnFinalize | ( | ) |
void TSessionQueryFrame::OnBtnStop | ( | ) |
void TSessionQueryFrame::OnBtnAbort | ( | ) |
void TSessionQueryFrame::OnBtnShowLog | ( | ) |
void TSessionQueryFrame::OnBtnRetrieve | ( | ) |
void TSessionQueryFrame::UpdateInfos | ( | ) |
void TSessionQueryFrame::UpdateButtons | ( | TQueryDescription * | desc | ) |
void TSessionQueryFrame::UpdateHistos | ( | TList * | objs | ) |
TGTextButton* TSessionQueryFrame::fBtnSubmit [private] |
TGTextButton* TSessionQueryFrame::fBtnFinalize [private] |
TGTextButton* TSessionQueryFrame::fBtnStop [private] |
TGTextButton* TSessionQueryFrame::fBtnAbort [private] |
TGTextButton* TSessionQueryFrame::fBtnShowLog [private] |
TGTextButton* TSessionQueryFrame::fBtnRetrieve [private] |
TGTextButton* TSessionQueryFrame::fBtnSave [private] |
Definition at line 411 of file TSessionViewer.h.
Referenced by Build(), Modified(), and UpdateInfos().
TGTextView* TSessionQueryFrame::fInfoTextView [private] |
Bool_t TSessionQueryFrame::fModified [private] |
Definition at line 414 of file TSessionViewer.h.
Referenced by Build(), Modified(), and TSessionQueryFrame().
Int_t TSessionQueryFrame::fFiles [private] |
Definition at line 415 of file TSessionViewer.h.
Referenced by Progress(), ProgressLocal(), ResetProgressDialog(), and TSessionQueryFrame().
Long64_t TSessionQueryFrame::fFirst [private] |
Definition at line 416 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), ResetProgressDialog(), and TSessionQueryFrame().
Long64_t TSessionQueryFrame::fEntries [private] |
Definition at line 417 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), ResetProgressDialog(), and TSessionQueryFrame().
Long64_t TSessionQueryFrame::fPrevTotal [private] |
Definition at line 418 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), ResetProgressDialog(), and TSessionQueryFrame().
Long64_t TSessionQueryFrame::fPrevProcessed [private] |
Definition at line 419 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), ResetProgressDialog(), and TSessionQueryFrame().
TGLabel* TSessionQueryFrame::fLabInfos [private] |
Definition at line 420 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), and ResetProgressDialog().
TGLabel* TSessionQueryFrame::fLabStatus [private] |
Definition at line 421 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), and ResetProgressDialog().
TGLabel* TSessionQueryFrame::fTotal [private] |
Definition at line 422 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), and UpdateInfos().
TGLabel* TSessionQueryFrame::fRate [private] |
Definition at line 423 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), and UpdateInfos().
EQueryStatus TSessionQueryFrame::fStatus [private] |
TGTab* TSessionQueryFrame::fTab [private] |
TGCompositeFrame* TSessionQueryFrame::fFA [private] |
Definition at line 426 of file TSessionViewer.h.
TGCompositeFrame * TSessionQueryFrame::fFB [private] |
Definition at line 426 of file TSessionViewer.h.
Referenced by Build(), Progress(), ProgressLocal(), ResetProgressDialog(), and UpdateInfos().
TGCompositeFrame * TSessionQueryFrame::fFC [private] |
TEditQueryFrame* TSessionQueryFrame::fFD [private] |
Definition at line 427 of file TSessionViewer.h.
Referenced by Build(), GetQueryEditFrame(), and UpdateInfos().
TGHProgressBar* TSessionQueryFrame::frmProg [private] |
Definition at line 428 of file TSessionViewer.h.
Referenced by Build(), IndicateStop(), Progress(), ProgressLocal(), ResetProgressDialog(), and UpdateInfos().
TRootEmbeddedCanvas* TSessionQueryFrame::fECanvas [private] |
TCanvas* TSessionQueryFrame::fStatsCanvas [private] |
Definition at line 430 of file TSessionViewer.h.
Referenced by Build(), GetStatsCanvas(), ResetProgressDialog(), and UpdateHistos().
TSessionViewer* TSessionQueryFrame::fViewer [private] |
Definition at line 431 of file TSessionViewer.h.
Referenced by Build(), Feedback(), IndicateStop(), Modified(), OnBtnAbort(), OnBtnFinalize(), OnBtnRetrieve(), OnBtnShowLog(), OnBtnStop(), OnBtnSubmit(), Progress(), ProgressLocal(), ResetProgressDialog(), UpdateButtons(), UpdateHistos(), and UpdateInfos().
TQueryDescription* TSessionQueryFrame::fDesc [private] |
Definition at line 432 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnSubmit [private] |
Definition at line 405 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnFinalize [private] |
Definition at line 406 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnStop [private] |
Definition at line 407 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnAbort [private] |
Definition at line 408 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnShowLog [private] |
Definition at line 409 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnRetrieve [private] |
Definition at line 410 of file TSessionViewer.h.
TGTextButton* TSessionQueryFrame::fBtnSave [private] |
Definition at line 411 of file TSessionViewer.h.
TGTextView* TSessionQueryFrame::fInfoTextView [private] |
Definition at line 412 of file TSessionViewer.h.
TGLabel* TSessionQueryFrame::fLabInfos [private] |
Definition at line 420 of file TSessionViewer.h.
TGLabel* TSessionQueryFrame::fLabStatus [private] |
Definition at line 421 of file TSessionViewer.h.
TGLabel* TSessionQueryFrame::fTotal [private] |
Definition at line 422 of file TSessionViewer.h.
TGLabel* TSessionQueryFrame::fRate [private] |
Definition at line 423 of file TSessionViewer.h.
TGTab* TSessionQueryFrame::fTab [private] |
Definition at line 425 of file TSessionViewer.h.
TGCompositeFrame* TSessionQueryFrame::fFA [private] |
Definition at line 426 of file TSessionViewer.h.
TEditQueryFrame* TSessionQueryFrame::fFD [private] |
Definition at line 427 of file TSessionViewer.h.
TGHProgressBar* TSessionQueryFrame::frmProg [private] |
Definition at line 428 of file TSessionViewer.h.
TRootEmbeddedCanvas* TSessionQueryFrame::fECanvas [private] |
Definition at line 429 of file TSessionViewer.h.
TCanvas* TSessionQueryFrame::fStatsCanvas [private] |
Definition at line 430 of file TSessionViewer.h.
TSessionViewer* TSessionQueryFrame::fViewer [private] |
Definition at line 431 of file TSessionViewer.h.
TQueryDescription* TSessionQueryFrame::fDesc [private] |
Definition at line 432 of file TSessionViewer.h.