#include <TQueryResult.h>
Inheritance diagram for TQueryResult:
Definition at line 44 of file TQueryResult.h.
Definition at line 55 of file TQueryResult.h.
Definition at line 55 of file TQueryResult.h.
TQueryResult::TQueryResult | ( | Int_t | seqnum, | |
const char * | opt, | |||
TList * | inlist, | |||
Long64_t | entries, | |||
Long64_t | first, | |||
const char * | selec | |||
) | [protected] |
TQueryResult::TQueryResult | ( | ) | [inline] |
TQueryResult::~TQueryResult | ( | ) | [virtual] |
Definition at line 107 of file TQueryResult.cxx.
References fInputList, fLogFile, fOutputList, fSelecHdr, fSelecImp, and SafeDelete.
TQueryResult::TQueryResult | ( | Int_t | seqnum, | |
const char * | opt, | |||
TList * | inlist, | |||
Long64_t | entries, | |||
Long64_t | first, | |||
const char * | selec | |||
) | [protected] |
TQueryResult::TQueryResult | ( | ) | [inline] |
Definition at line 102 of file TQueryResult.h.
virtual TQueryResult::~TQueryResult | ( | ) | [virtual] |
void TQueryResult::AddInput | ( | TObject * | obj | ) | [protected] |
Definition at line 282 of file TQueryResult.cxx.
References TList::Add(), and fInputList.
Referenced by TProof::HandleInputMessage().
void TQueryResult::AddLogLine | ( | const char * | logline | ) | [protected] |
Definition at line 273 of file TQueryResult.cxx.
References TMacro::AddLine(), and fLogFile.
Referenced by TQueryResultManager::AddLogFile().
TQueryResult * TQueryResult::CloneInfo | ( | ) | [protected] |
Definition at line 119 of file TQueryResult.cxx.
References TDatime::Convert(), fArchived, fBytes, fEnd, fEntries, fFirst, fInitTime, fNumWrks, fOptions, fParList, fProcTime, fResultFile, fSelecHdr, fSelecImp, fSeqNum, fStart, fStatus, fUsedCPU, TNamed::GetName(), GetSelecHdr(), GetSelecImp(), TNamed::GetTitle(), TDatime::Set(), TNamed::SetName(), TNamed::SetTitle(), and TQueryResult().
Referenced by TProofLite::GetListOfQueries(), TProofServ::HandleQueryList(), TProofServ::ProcessNext(), TQueryResultManager::RemoveQuery(), and TQueryResultManager::ScanPreviousQueries().
void TQueryResult::RecordEnd | ( | EQueryStatus | status, | |
TList * | outlist = 0 | |||
) | [protected, virtual] |
Definition at line 238 of file TQueryResult.cxx.
References TCollection::Clone(), fEnd, fOutputList, fStatus, kAborted, kCompleted, SafeDelete, and TDatime::Set().
Referenced by TProofQueryResult::RecordEnd().
void TQueryResult::SaveSelector | ( | const char * | selec | ) | [protected] |
Definition at line 166 of file TQueryResult.cxx.
References TSystem::AccessPathName(), TSystem::BaseName(), TString::Data(), fOptions, Form(), fSelecHdr, fSelecImp, gDebug, TROOT::GetMacroPath(), gSystem, TString::Index(), TObject::Info(), kReadPermission, TString::Length(), p, TMacro::ReadFile(), TString::Remove(), TNamed::SetName(), TNamed::SetTitle(), TSystem::SplitAclicMode(), strlcpy(), TObject::Warning(), and TSystem::Which().
void TQueryResult::SetArchived | ( | const char * | archfile | ) | [protected] |
Definition at line 291 of file TQueryResult.cxx.
References fArchived, fResultFile, IsDone(), and kTRUE.
Referenced by TProofServ::HandleArchive(), and TProof::Retrieve().
virtual void TQueryResult::SetFinalized | ( | ) | [inline, protected, virtual] |
Definition at line 94 of file TQueryResult.h.
References fFinalized, and kTRUE.
Referenced by TProofPlayerLite::Finalize(), and TProofQueryResult::SetFinalized().
Definition at line 405 of file TQueryResult.cxx.
References fInputList, kFALSE, o, and SafeDelete.
Referenced by TProof::HandleInputMessage(), TProofServ::HandleProcess(), and TProofServ::ProcessNext().
Definition at line 431 of file TQueryResult.cxx.
References fOutputList, kFALSE, o, out, and SafeDelete.
Referenced by TProofPlayerLite::Finalize(), TProof::HandleInputMessage(), and TProofLite::Process().
void TQueryResult::SetProcessInfo | ( | Long64_t | ent, | |
Float_t | cpu = 0. , |
|||
Long64_t | siz = -1 , |
|||
Float_t | inittime = 0. , |
|||
Float_t | proctime = 0. | |||
) | [protected, virtual] |
Definition at line 260 of file TQueryResult.cxx.
References fBytes, fEntries, fInitTime, fProcTime, and fUsedCPU.
Referenced by TQueryResultManager::FinalizeQuery(), TProofPlayerLite::Process(), TProofLite::SetQueryRunning(), and TProofServ::SetQueryRunning().
void TQueryResult::Browse | ( | TBrowser * | b = 0 |
) | [virtual] |
Reimplemented from TObject.
Definition at line 396 of file TQueryResult.cxx.
References b, and fOutputList.
Int_t TQueryResult::GetSeqNum | ( | ) | const [inline] |
Definition at line 112 of file TQueryResult.h.
References fSeqNum.
Referenced by TQueryResultManager::FinalizeQuery(), TProof::GetQueryReference(), TProofServ::HandleSocketInput(), TQueryResultManager::LocateQuery(), operator==(), TPerfStats::PacketEvent(), TProofLite::Process(), TProofServ::ProcessNext(), TQueryResultManager::RemoveQuery(), TQueryResultManager::SaveQuery(), TProofLite::SetQueryRunning(), TProofServ::SetQueryRunning(), TProof::ShowLog(), and TPerfStats::WriteQueryLog().
EQueryStatus TQueryResult::GetStatus | ( | ) | const [inline] |
Definition at line 113 of file TQueryResult.h.
References fStatus.
Referenced by TSessionFrame::OnBtnGetQueriesClicked(), TSessionViewer::QueryResultReady(), TQueryResultManager::SaveQuery(), and TQueryResultManager::ScanPreviousQueries().
TDatime TQueryResult::GetStartTime | ( | ) | const [inline] |
Definition at line 114 of file TQueryResult.h.
References fStart.
Referenced by TProofPlayer::AddQueryResult().
TDatime TQueryResult::GetEndTime | ( | ) | const [inline] |
const char* TQueryResult::GetOptions | ( | ) | const [inline] |
Definition at line 116 of file TQueryResult.h.
References fOptions.
Referenced by TSessionFrame::OnBtnGetQueriesClicked(), TProofServ::ProcessNext(), and TProofPlayer::ReinitSelector().
TList* TQueryResult::GetInputList | ( | ) | [inline] |
Definition at line 117 of file TQueryResult.h.
References fInputList.
Referenced by TProof::HandleInputMessage(), TProofServ::HandleRetrieve(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionViewer::OnListTreeClicked(), TProofLite::Process(), TProofServ::ProcessNext(), TSessionViewer::QueryResultReady(), TProofPlayer::ReinitSelector(), TProof::SaveInputData(), and TProof::SendInputData().
TObject * TQueryResult::GetInputObject | ( | const char * | classname | ) | const |
Definition at line 482 of file TQueryResult.cxx.
References fInputList, and o.
Referenced by TProof::GetMissingFiles(), TProofServ::ProcessNext(), TSessionViewer::QueryResultReady(), TSessionViewer::StartViewer(), and TSessionQueryFrame::UpdateButtons().
Long64_t TQueryResult::GetEntries | ( | ) | const [inline] |
Definition at line 119 of file TQueryResult.h.
References fEntries.
Referenced by TSessionFrame::OnBtnGetQueriesClicked(), TProofServ::ProcessNext(), PT_CheckH1(), PT_CheckSimple(), PT_Event(), TProofLite::SetQueryRunning(), TProofServ::SetQueryRunning(), and TProof::ShowMissingFiles().
Long64_t TQueryResult::GetFirst | ( | ) | const [inline] |
Definition at line 120 of file TQueryResult.h.
References fFirst.
Referenced by TSessionFrame::OnBtnGetQueriesClicked(), and TProofServ::ProcessNext().
Long64_t TQueryResult::GetBytes | ( | ) | const [inline] |
Definition at line 121 of file TQueryResult.h.
References fBytes.
Referenced by TProofServ::ProcessNext().
Float_t TQueryResult::GetUsedCPU | ( | ) | const [inline] |
Definition at line 122 of file TQueryResult.h.
References fUsedCPU.
Referenced by TQueryResultManager::FinalizeQuery(), and TProofServ::ProcessNext().
TMacro* TQueryResult::GetLogFile | ( | ) | const [inline] |
TMacro* TQueryResult::GetSelecHdr | ( | ) | const [inline] |
Definition at line 124 of file TQueryResult.h.
References fSelecHdr.
Referenced by CloneInfo(), TProofServ::ProcessNext(), and TProofPlayer::ReinitSelector().
TMacro* TQueryResult::GetSelecImp | ( | ) | const [inline] |
Definition at line 125 of file TQueryResult.h.
References fSelecImp.
Referenced by CloneInfo(), finalizeProof(), TSessionFrame::OnBtnGetQueriesClicked(), TProofServ::ProcessNext(), PT_H1SimpleAsync(), and TProofPlayer::ReinitSelector().
const char* TQueryResult::GetLibList | ( | ) | const [inline] |
Definition at line 126 of file TQueryResult.h.
References fLibList.
Referenced by TProofPlayer::ReinitSelector().
const char* TQueryResult::GetParList | ( | ) | const [inline] |
TList* TQueryResult::GetOutputList | ( | ) | [inline] |
Definition at line 128 of file TQueryResult.h.
References fOutputList.
Referenced by TProofPlayerRemote::Finalize(), TProof::GetMissingFiles(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionViewer::OnCascadeMenu(), TSessionViewer::OnListTreeClicked(), PT_CheckH1(), PT_CheckSimple(), TSessionViewer::QueryResultReady(), TQueryResultManager::SaveQuery(), and TProof::ShowMissingFiles().
const char* TQueryResult::GetResultFile | ( | ) | const [inline] |
Float_t TQueryResult::GetInitTime | ( | ) | const [inline] |
Float_t TQueryResult::GetProcTime | ( | ) | const [inline] |
Int_t TQueryResult::GetNumWrks | ( | ) | const [inline] |
Bool_t TQueryResult::IsArchived | ( | ) | const [inline] |
Definition at line 134 of file TQueryResult.h.
References fArchived.
Referenced by TQueryResultManager::SaveQuery().
virtual Bool_t TQueryResult::IsDone | ( | ) | const [inline, virtual] |
Definition at line 135 of file TQueryResult.h.
References fStatus, and kRunning.
Referenced by finalizeProof(), and SetArchived().
Bool_t TQueryResult::IsDraw | ( | ) | const [inline] |
Definition at line 136 of file TQueryResult.h.
References fDraw.
Referenced by TProofPlayer::AddQueryResult(), TProofLite::Process(), TProofServ::ProcessNext(), and TQueryResultManager::SaveQuery().
Bool_t TQueryResult::IsFinalized | ( | ) | const [inline] |
Definition at line 137 of file TQueryResult.h.
References fFinalized.
Referenced by TProof::Finalize(), TProofPlayerRemote::Finalize(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionViewer::QueryResultReady(), and TSessionQueryFrame::UpdateButtons().
Bool_t TQueryResult::Matches | ( | const char * | ref | ) |
Definition at line 469 of file TQueryResult.cxx.
References Form(), TNamed::GetName(), TNamed::GetTitle(), kFALSE, and kTRUE.
Referenced by TProofPlayer::GetQueryResult(), and TProofPlayer::RemoveQueryResult().
void TQueryResult::Print | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 303 of file TQueryResult.cxx.
References TDatime::AsString(), TString::Atoi(), TDatime::Convert(), TString::Data(), fArchived, fBytes, fDraw, fEnd, fEntries, fFinalized, fFirst, fInitTime, fNumWrks, Form(), fOutputList, fParList, fProcTime, fResultFile, fSelecImp, fSeqNum, fStart, fStatus, fUsedCPU, TNamed::GetName(), TCollection::GetSize(), TNamed::GetTitle(), TString::Index(), kAborted, kCompleted, kFALSE, kNPOS, kTRUE, TString::Length(), Long64_t, TMath::Power(), Printf(), TString::Remove(), and size.
void TQueryResult::AddInput | ( | TObject * | obj | ) | [protected] |
void TQueryResult::AddLogLine | ( | const char * | logline | ) | [protected] |
TQueryResult* TQueryResult::CloneInfo | ( | ) | [protected] |
virtual void TQueryResult::RecordEnd | ( | EQueryStatus | status, | |
TList * | outlist = 0 | |||
) | [protected, virtual] |
void TQueryResult::SaveSelector | ( | const char * | selec | ) | [protected] |
void TQueryResult::SetArchived | ( | const char * | archfile | ) | [protected] |
virtual void TQueryResult::SetFinalized | ( | ) | [inline, protected, virtual] |
virtual void TQueryResult::SetProcessInfo | ( | Long64_t | ent, | |
Float_t | cpu = 0. , |
|||
Long64_t | siz = -1 , |
|||
Float_t | inittime = 0. , |
|||
Float_t | proctime = 0. | |||
) | [protected, virtual] |
Int_t TQueryResult::GetSeqNum | ( | ) | const [inline] |
EQueryStatus TQueryResult::GetStatus | ( | ) | const [inline] |
TDatime TQueryResult::GetStartTime | ( | ) | const [inline] |
TDatime TQueryResult::GetEndTime | ( | ) | const [inline] |
const char* TQueryResult::GetOptions | ( | ) | const [inline] |
TList* TQueryResult::GetInputList | ( | ) | [inline] |
TObject* TQueryResult::GetInputObject | ( | const char * | classname | ) | const |
Long64_t TQueryResult::GetEntries | ( | ) | const [inline] |
Long64_t TQueryResult::GetFirst | ( | ) | const [inline] |
Long64_t TQueryResult::GetBytes | ( | ) | const [inline] |
Float_t TQueryResult::GetUsedCPU | ( | ) | const [inline] |
TMacro* TQueryResult::GetLogFile | ( | ) | const [inline] |
TMacro* TQueryResult::GetSelecHdr | ( | ) | const [inline] |
TMacro* TQueryResult::GetSelecImp | ( | ) | const [inline] |
const char* TQueryResult::GetLibList | ( | ) | const [inline] |
const char* TQueryResult::GetParList | ( | ) | const [inline] |
TList* TQueryResult::GetOutputList | ( | ) | [inline] |
const char* TQueryResult::GetResultFile | ( | ) | const [inline] |
Float_t TQueryResult::GetInitTime | ( | ) | const [inline] |
Float_t TQueryResult::GetProcTime | ( | ) | const [inline] |
Int_t TQueryResult::GetNumWrks | ( | ) | const [inline] |
Bool_t TQueryResult::IsArchived | ( | ) | const [inline] |
virtual Bool_t TQueryResult::IsDone | ( | ) | const [inline, virtual] |
Bool_t TQueryResult::IsDraw | ( | ) | const [inline] |
Bool_t TQueryResult::IsFinalized | ( | ) | const [inline] |
Bool_t TQueryResult::Matches | ( | const char * | ref | ) |
TTreePlayer [friend] |
Definition at line 46 of file TQueryResult.h.
TProofPlayerLite [friend] |
Definition at line 47 of file TQueryResult.h.
TProofPlayerRemote [friend] |
Definition at line 48 of file TQueryResult.h.
TProof [friend] |
Definition at line 49 of file TQueryResult.h.
TProofLite [friend] |
Definition at line 50 of file TQueryResult.h.
TProofServ [friend] |
Definition at line 51 of file TQueryResult.h.
TQueryResultManager [friend] |
Definition at line 52 of file TQueryResult.h.
Int_t TQueryResult::fSeqNum [protected] |
Definition at line 60 of file TQueryResult.h.
Referenced by CloneInfo(), TProofLite::GetListOfQueries(), GetSeqNum(), TProofServ::HandleQueryList(), Print(), and TProofQueryResult::SetRunning().
Bool_t TQueryResult::fDraw [protected] |
EQueryStatus TQueryResult::fStatus [protected] |
Definition at line 62 of file TQueryResult.h.
Referenced by CloneInfo(), GetStatus(), IsDone(), Print(), RecordEnd(), and TProofQueryResult::SetRunning().
TDatime TQueryResult::fStart [protected] |
Definition at line 63 of file TQueryResult.h.
Referenced by CloneInfo(), GetStartTime(), Print(), and TProofQueryResult::SetRunning().
TDatime TQueryResult::fEnd [protected] |
Definition at line 64 of file TQueryResult.h.
Referenced by CloneInfo(), GetEndTime(), Print(), RecordEnd(), and TProofQueryResult::SetRunning().
Float_t TQueryResult::fUsedCPU [protected] |
Definition at line 65 of file TQueryResult.h.
Referenced by CloneInfo(), GetUsedCPU(), Print(), and SetProcessInfo().
TString TQueryResult::fOptions [protected] |
Definition at line 66 of file TQueryResult.h.
Referenced by CloneInfo(), GetOptions(), and SaveSelector().
TList* TQueryResult::fInputList [protected] |
Definition at line 67 of file TQueryResult.h.
Referenced by AddInput(), GetInputList(), GetInputObject(), SetInputList(), and ~TQueryResult().
Long64_t TQueryResult::fEntries [protected] |
Definition at line 68 of file TQueryResult.h.
Referenced by CloneInfo(), GetEntries(), Print(), and SetProcessInfo().
Long64_t TQueryResult::fFirst [protected] |
Long64_t TQueryResult::fBytes [protected] |
Definition at line 70 of file TQueryResult.h.
Referenced by CloneInfo(), GetBytes(), Print(), and SetProcessInfo().
TMacro* TQueryResult::fLogFile [protected] |
Definition at line 71 of file TQueryResult.h.
Referenced by AddLogLine(), GetLogFile(), TProofQueryResult::SetRunning(), and ~TQueryResult().
TMacro* TQueryResult::fSelecHdr [protected] |
Definition at line 72 of file TQueryResult.h.
Referenced by CloneInfo(), GetSelecHdr(), SaveSelector(), and ~TQueryResult().
TMacro* TQueryResult::fSelecImp [protected] |
Definition at line 73 of file TQueryResult.h.
Referenced by CloneInfo(), GetSelecImp(), Print(), SaveSelector(), and ~TQueryResult().
TString TQueryResult::fLibList [protected] |
TString TQueryResult::fParList [protected] |
Definition at line 75 of file TQueryResult.h.
Referenced by CloneInfo(), GetParList(), Print(), and TProofQueryResult::SetRunning().
TList* TQueryResult::fOutputList [protected] |
Definition at line 76 of file TQueryResult.h.
Referenced by Browse(), GetOutputList(), Print(), RecordEnd(), SetOutputList(), and ~TQueryResult().
Bool_t TQueryResult::fFinalized [protected] |
Definition at line 77 of file TQueryResult.h.
Referenced by IsFinalized(), Print(), and SetFinalized().
Bool_t TQueryResult::fArchived [protected] |
Definition at line 78 of file TQueryResult.h.
Referenced by CloneInfo(), IsArchived(), Print(), and SetArchived().
TString TQueryResult::fResultFile [protected] |
Definition at line 79 of file TQueryResult.h.
Referenced by CloneInfo(), GetResultFile(), Print(), SetArchived(), and TProofQueryResult::SetResultFile().
Float_t TQueryResult::fInitTime [protected] |
Definition at line 80 of file TQueryResult.h.
Referenced by CloneInfo(), GetInitTime(), Print(), and SetProcessInfo().
Float_t TQueryResult::fProcTime [protected] |
Definition at line 81 of file TQueryResult.h.
Referenced by CloneInfo(), GetProcTime(), Print(), and SetProcessInfo().
Int_t TQueryResult::fNumWrks [protected] |
Definition at line 82 of file TQueryResult.h.
Referenced by CloneInfo(), GetNumWrks(), Print(), and TProofQueryResult::SetRunning().
TList* TQueryResult::fInputList [protected] |
Definition at line 67 of file TQueryResult.h.
TMacro* TQueryResult::fLogFile [protected] |
Definition at line 71 of file TQueryResult.h.
TMacro* TQueryResult::fSelecHdr [protected] |
Definition at line 72 of file TQueryResult.h.
TMacro* TQueryResult::fSelecImp [protected] |
Definition at line 73 of file TQueryResult.h.
TList* TQueryResult::fOutputList [protected] |
Definition at line 76 of file TQueryResult.h.