TProofProgressLog Class Reference

#include <TProofProgressLog.h>

Inheritance diagram for TProofProgressLog:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TProofProgressLog (TProofProgressDialog *d, Int_t w=700, Int_t h=600)
 TProofProgressLog (const char *url=0, Int_t sessionidx=0, Int_t w=700, Int_t h=600)
virtual ~TProofProgressLog ()
void BuildLogList (Bool_t create=kFALSE)
void DoLog (Bool_t grep=kFALSE)
void LogMessage (const char *msg, Bool_t all)
void Rebuild ()
void LoadBuffer (const char *buffer)
void AddBuffer (const char *buffer)
void LoadFile (const char *file)
void Clear (Option_t *=0)
void Popup ()
void SaveToFile ()
void NoLineEntry ()
void Select (Int_t id, Bool_t all=kTRUE)
void SetUrl (const char *url)
void CloseWindow ()
 TProofProgressLog (TProofProgressDialog *d, Int_t w=700, Int_t h=600)
 TProofProgressLog (const char *url=0, Int_t sessionidx=0, Int_t w=700, Int_t h=600)
virtual ~TProofProgressLog ()
void BuildLogList (Bool_t create=kFALSE)
void DoLog (Bool_t grep=kFALSE)
void LogMessage (const char *msg, Bool_t all)
void Rebuild ()
void LoadBuffer (const char *buffer)
void AddBuffer (const char *buffer)
void LoadFile (const char *file)
void Clear (Option_t *=0)
void Popup ()
void SaveToFile ()
void NoLineEntry ()
void Select (Int_t id, Bool_t all=kTRUE)
void SetUrl (const char *url)
void CloseWindow ()

Private Types

enum  ETextType
enum  ETextType

Private Member Functions

void Init (Int_t w=700, Int_t h=600)
void Init (Int_t w=700, Int_t h=600)

Private Attributes

TString fSessionUrl
Int_t fSessionIdx
TGTextViewfText
TGTextButtonfClose
TGListBoxfLogList
TGTextButtonfLogNew
TProofProgressDialogfDialog
TProofLogfProofLog
TGNumberEntryfLinesFrom
TGNumberEntryfLinesTo
TGTextEntryfGrepText
TGTextEntryfUrlText
TGNumberEntryfSessNum
TGTextEntryfFileName
TGTextButtonfSave
TGTextButtonfGrepButton
TGTextButtonfUrlButton
TGCheckButtonfAllLines
TGCheckButtonfRawLines
TGSplitButtonfAllWorkers
TGVerticalFramefVworkers
Bool_t fFullText
Int_t fTextType
TGTextViewfText
TGTextButtonfClose
TGListBoxfLogList
TGTextButtonfLogNew
TProofProgressDialogfDialog
TProofLogfProofLog
TGNumberEntryfLinesFrom
TGNumberEntryfLinesTo
TGTextEntryfGrepText
TGTextEntryfUrlText
TGNumberEntryfSessNum
TGTextEntryfFileName
TGTextButtonfSave
TGTextButtonfGrepButton
TGTextButtonfUrlButton
TGCheckButtonfAllLines
TGCheckButtonfRawLines
TGSplitButtonfAllWorkers
TGVerticalFramefVworkers

Detailed Description

Definition at line 44 of file TProofProgressLog.h.


Member Enumeration Documentation

enum TProofProgressLog::ETextType [private]

Definition at line 47 of file TProofProgressLog.h.

enum TProofProgressLog::ETextType [private]

Definition at line 47 of file TProofProgressLog.h.


Constructor & Destructor Documentation

TProofProgressLog::TProofProgressLog ( TProofProgressDialog d,
Int_t  w = 700,
Int_t  h = 600 
)

TProofProgressLog::TProofProgressLog ( const char *  url = 0,
Int_t  sessionidx = 0,
Int_t  w = 700,
Int_t  h = 600 
)

Definition at line 55 of file TProofProgressLog.cxx.

References fDialog, fSessionIdx, fSessionUrl, and Init().

TProofProgressLog::~TProofProgressLog (  )  [virtual]

Definition at line 216 of file TProofProgressLog.cxx.

References TQObject::Disconnect(), fDialog, TProofProgressDialog::fLogWindow, TProofProgressDialog::fProof, fProofLog, and SafeDelete.

TProofProgressLog::TProofProgressLog ( TProofProgressDialog d,
Int_t  w = 700,
Int_t  h = 600 
)

TProofProgressLog::TProofProgressLog ( const char *  url = 0,
Int_t  sessionidx = 0,
Int_t  w = 700,
Int_t  h = 600 
)

virtual TProofProgressLog::~TProofProgressLog (  )  [virtual]


Member Function Documentation

void TProofProgressLog::Init ( Int_t  w = 700,
Int_t  h = 600 
) [private]

Definition at line 68 of file TProofProgressLog.cxx.

References TGCompositeFrame::AddFrame(), BuildLogList(), TGTransientFrame::CenterOnParent(), TQObject::Connect(), TString::Data(), fAllLines, fClose, fFileName, fFullText, fGrepButton, fGrepText, fLinesFrom, fLinesTo, fLogList, fLogNew, fProofLog, fRawLines, fSave, fSessionUrl, fSessNum, fText, fTextType, fUrlButton, fUrlText, fVworkers, TGNumberEntry::GetNumberEntry(), kButtonUp, kDeepCleanup, kFALSE, kLHintsBottom, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, TGNumberFormat::kNELLimitMax, TGNumberFormat::kNESInteger, kStd, kTRUE, TGCompositeFrame::MapSubwindows(), Popup(), TGListBox::Resize(), TGFrame::Resize(), Select(), TGFrame::SetBackgroundColor(), TGCompositeFrame::SetCleanup(), TGNumberEntry::SetIntNumber(), TGNumberEntry::SetLimits(), TGListBox::SetMultipleSelections(), TGCheckButton::SetState(), TGTextEntry::SetText(), TGTextButton::SetTextColor(), TGTextEntry::SetToolTipText(), and TGButton::SetToolTipText().

Referenced by TProofProgressLog().

void TProofProgressLog::BuildLogList ( Bool_t  create = kFALSE  ) 

Definition at line 287 of file TProofProgressLog.cxx.

References TGListBox::AddEntry(), TDatime::AsString(), buf, TString::Data(), TGListBox::FindEntry(), fLogList, fProofLog, fSessionIdx, fSessionUrl, fVworkers, gDebug, TProofLog::GetListOfLogs(), TNamed::GetName(), TGListBox::GetNumberOfEntries(), TProofMgr::GetSessionLogs(), TNamed::GetTitle(), TObject::Info(), TString::IsNull(), TProofMgr::IsValid(), TProofLogElem::IsWorker(), kDefaultActive, kLogElemFilled, TGListBox::Layout(), TProof::Mgr(), TGListBox::RemoveEntries(), TObject::ResetBit(), TObject::SetBit(), TGMainFrame::SetIconName(), TGMainFrame::SetWindowName(), TProofLog::StartTime(), title, and TObject::Warning().

Referenced by Init(), and Rebuild().

void TProofProgressLog::DoLog ( Bool_t  grep = kFALSE  ) 

Definition at line 356 of file TProofProgressLog.cxx.

References Clear(), TQObject::Connect(), TString::Data(), TQObject::Disconnect(), TProofLog::Display(), fAllLines, fDialog, fFullText, fGrepText, fLinesFrom, fLinesTo, fLogList, fProofLog, fRawLines, fSessionIdx, fSessionUrl, TProofProgressDialog::fStatus, fTextType, TGNumberEntry::GetIntNumber(), TGListBox::GetSelectedEntries(), TProofMgr::GetSessionLogs(), TGString::GetString(), TGTextLBEntry::GetText(), TGTextEntry::GetText(), TGCheckButton::IsOn(), kFALSE, TProofLog::kGrep, kGrep, kLogElemFilled, kNPOS, kRaw, TProofProgressDialog::kRunning, kStd, TProofLog::kTrailing, kTRUE, TProofLog::LogToBox(), TProof::Mgr(), ord, retrieve(), TProofLog::Retrieve(), TObject::SetBit(), TProofLog::SetLogToBox(), TObject::TestBit(), and TObject::Warning().

Referenced by TProofProgressDialog::DoLog(), and SaveToFile().

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

Definition at line 448 of file TProofProgressLog.cxx.

References AddBuffer(), and LoadBuffer().

void TProofProgressLog::Rebuild (  ) 

Definition at line 535 of file TProofProgressLog.cxx.

References BuildLogList(), TString::Data(), fLogList, fProofLog, fSessionIdx, fSessionUrl, fSessNum, fUrlText, TGNumberEntry::GetIntNumber(), TGTextEntry::GetText(), TObject::Info(), kFALSE, kTRUE, TGListBox::Layout(), and Select().

void TProofProgressLog::LoadBuffer ( const char *  buffer  ) 

Definition at line 249 of file TProofProgressLog.cxx.

References fText, and TGTextView::LoadBuffer().

Referenced by LogMessage(), and TProofProgressDialog::LogMessage().

void TProofProgressLog::AddBuffer ( const char *  buffer  ) 

Definition at line 267 of file TProofProgressLog.cxx.

References TGTextView::AddText(), fText, and TGText::LoadBuffer().

Referenced by LogMessage(), and TProofProgressDialog::LogMessage().

void TProofProgressLog::LoadFile ( const char *  file  ) 

Definition at line 258 of file TProofProgressLog.cxx.

References fText, and TGTextView::LoadFile().

void TProofProgressLog::Clear ( Option_t = 0  )  [virtual]

Reimplemented from TObject.

Definition at line 240 of file TProofProgressLog.cxx.

References TGTextView::Clear(), and fText.

Referenced by DoLog(), and TProofProgressDialog::DoLog().

void TProofProgressLog::Popup (  ) 

Definition at line 232 of file TProofProgressLog.cxx.

References TGFrame::MapWindow().

Referenced by Init().

void TProofProgressLog::SaveToFile (  ) 

Definition at line 462 of file TProofProgressLog.cxx.

References TString::Data(), DoLog(), fDialog, fFileName, fLogList, TString::Format(), TProofProgressDialog::fProof, fProofLog, TNamed::GetName(), TGListBox::GetSelectedEntries(), TGString::GetString(), TGTextLBEntry::GetText(), TGTextEntry::GetText(), TObject::Info(), TString::IsNull(), kFALSE, kNPOS, kTRUE, option, ord, and TProofLog::Save().

void TProofProgressLog::NoLineEntry (  ) 

Definition at line 499 of file TProofProgressLog.cxx.

References fAllLines, fLinesFrom, fLinesTo, TGCheckButton::IsOn(), kFALSE, kTRUE, and TGNumberEntry::SetState().

void TProofProgressLog::Select ( Int_t  id,
Bool_t  all = kTRUE 
)

Definition at line 514 of file TProofProgressLog.cxx.

References fLogList, TGListBox::GetEntry(), TGListBox::GetNumberOfEntries(), kDefaultActive, sel, TGListBox::Select(), and TObject::TestBit().

Referenced by Init(), and Rebuild().

void TProofProgressLog::SetUrl ( const char *  url  )  [inline]

Definition at line 98 of file TProofProgressLog.h.

References fSessionUrl.

void TProofProgressLog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 279 of file TProofProgressLog.cxx.

References TGFrame::DeleteWindow().

void TProofProgressLog::Init ( Int_t  w = 700,
Int_t  h = 600 
) [private]

void TProofProgressLog::BuildLogList ( Bool_t  create = kFALSE  ) 

void TProofProgressLog::DoLog ( Bool_t  grep = kFALSE  ) 

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

void TProofProgressLog::Rebuild (  ) 

void TProofProgressLog::LoadBuffer ( const char *  buffer  ) 

void TProofProgressLog::AddBuffer ( const char *  buffer  ) 

void TProofProgressLog::LoadFile ( const char *  file  ) 

void TProofProgressLog::Clear ( Option_t = 0  )  [virtual]

Reimplemented from TObject.

void TProofProgressLog::Popup (  ) 

void TProofProgressLog::SaveToFile (  ) 

void TProofProgressLog::NoLineEntry (  ) 

void TProofProgressLog::Select ( Int_t  id,
Bool_t  all = kTRUE 
)

void TProofProgressLog::SetUrl ( const char *  url  )  [inline]

Definition at line 98 of file TProofProgressLog.h.

References fSessionUrl.

void TProofProgressLog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.


Member Data Documentation

TString TProofProgressLog::fSessionUrl [private]

Definition at line 49 of file TProofProgressLog.h.

Referenced by BuildLogList(), DoLog(), Init(), Rebuild(), SetUrl(), and TProofProgressLog().

Int_t TProofProgressLog::fSessionIdx [private]

Definition at line 50 of file TProofProgressLog.h.

Referenced by BuildLogList(), DoLog(), Rebuild(), and TProofProgressLog().

TGTextView* TProofProgressLog::fText [private]

Definition at line 52 of file TProofProgressLog.h.

Referenced by AddBuffer(), Clear(), Init(), LoadBuffer(), and LoadFile().

TGTextButton* TProofProgressLog::fClose [private]

Definition at line 53 of file TProofProgressLog.h.

Referenced by Init().

TGListBox* TProofProgressLog::fLogList [private]

Definition at line 54 of file TProofProgressLog.h.

Referenced by BuildLogList(), DoLog(), Init(), Rebuild(), SaveToFile(), and Select().

TGTextButton* TProofProgressLog::fLogNew [private]

Definition at line 55 of file TProofProgressLog.h.

Referenced by Init().

TProofProgressDialog* TProofProgressLog::fDialog [private]

Definition at line 56 of file TProofProgressLog.h.

Referenced by DoLog(), SaveToFile(), TProofProgressLog(), and ~TProofProgressLog().

TProofLog* TProofProgressLog::fProofLog [private]

Definition at line 57 of file TProofProgressLog.h.

Referenced by BuildLogList(), DoLog(), Init(), Rebuild(), SaveToFile(), and ~TProofProgressLog().

TGNumberEntry* TProofProgressLog::fLinesFrom [private]

Definition at line 58 of file TProofProgressLog.h.

Referenced by DoLog(), Init(), and NoLineEntry().

TGNumberEntry* TProofProgressLog::fLinesTo [private]

Definition at line 59 of file TProofProgressLog.h.

Referenced by DoLog(), Init(), and NoLineEntry().

TGTextEntry* TProofProgressLog::fGrepText [private]

Definition at line 60 of file TProofProgressLog.h.

Referenced by DoLog(), and Init().

TGTextEntry* TProofProgressLog::fUrlText [private]

Definition at line 61 of file TProofProgressLog.h.

Referenced by Init(), and Rebuild().

TGNumberEntry* TProofProgressLog::fSessNum [private]

Definition at line 62 of file TProofProgressLog.h.

Referenced by Init(), and Rebuild().

TGTextEntry* TProofProgressLog::fFileName [private]

Definition at line 63 of file TProofProgressLog.h.

Referenced by Init(), and SaveToFile().

TGTextButton* TProofProgressLog::fSave [private]

Definition at line 64 of file TProofProgressLog.h.

Referenced by Init().

TGTextButton* TProofProgressLog::fGrepButton [private]

Definition at line 65 of file TProofProgressLog.h.

Referenced by Init().

TGTextButton* TProofProgressLog::fUrlButton [private]

Definition at line 66 of file TProofProgressLog.h.

Referenced by Init().

TGCheckButton* TProofProgressLog::fAllLines [private]

Definition at line 67 of file TProofProgressLog.h.

Referenced by DoLog(), Init(), and NoLineEntry().

TGCheckButton* TProofProgressLog::fRawLines [private]

Definition at line 68 of file TProofProgressLog.h.

Referenced by DoLog(), and Init().

TGSplitButton* TProofProgressLog::fAllWorkers [private]

Definition at line 69 of file TProofProgressLog.h.

TGVerticalFrame* TProofProgressLog::fVworkers [private]

Definition at line 70 of file TProofProgressLog.h.

Referenced by BuildLogList(), and Init().

Bool_t TProofProgressLog::fFullText [private]

Definition at line 72 of file TProofProgressLog.h.

Referenced by DoLog(), and Init().

Int_t TProofProgressLog::fTextType [private]

Definition at line 73 of file TProofProgressLog.h.

Referenced by DoLog(), and Init().

TGTextView* TProofProgressLog::fText [private]

Definition at line 52 of file TProofProgressLog.h.

TGTextButton* TProofProgressLog::fClose [private]

Definition at line 53 of file TProofProgressLog.h.

TGListBox* TProofProgressLog::fLogList [private]

Definition at line 54 of file TProofProgressLog.h.

TGTextButton* TProofProgressLog::fLogNew [private]

Definition at line 55 of file TProofProgressLog.h.

TProofProgressDialog* TProofProgressLog::fDialog [private]

Definition at line 56 of file TProofProgressLog.h.

TProofLog* TProofProgressLog::fProofLog [private]

Definition at line 57 of file TProofProgressLog.h.

TGNumberEntry* TProofProgressLog::fLinesFrom [private]

Definition at line 58 of file TProofProgressLog.h.

TGNumberEntry* TProofProgressLog::fLinesTo [private]

Definition at line 59 of file TProofProgressLog.h.

TGTextEntry* TProofProgressLog::fGrepText [private]

Definition at line 60 of file TProofProgressLog.h.

TGTextEntry* TProofProgressLog::fUrlText [private]

Definition at line 61 of file TProofProgressLog.h.

TGNumberEntry* TProofProgressLog::fSessNum [private]

Definition at line 62 of file TProofProgressLog.h.

TGTextEntry* TProofProgressLog::fFileName [private]

Definition at line 63 of file TProofProgressLog.h.

TGTextButton* TProofProgressLog::fSave [private]

Definition at line 64 of file TProofProgressLog.h.

TGTextButton* TProofProgressLog::fGrepButton [private]

Definition at line 65 of file TProofProgressLog.h.

TGTextButton* TProofProgressLog::fUrlButton [private]

Definition at line 66 of file TProofProgressLog.h.

TGCheckButton* TProofProgressLog::fAllLines [private]

Definition at line 67 of file TProofProgressLog.h.

TGCheckButton* TProofProgressLog::fRawLines [private]

Definition at line 68 of file TProofProgressLog.h.

TGSplitButton* TProofProgressLog::fAllWorkers [private]

Definition at line 69 of file TProofProgressLog.h.

TGVerticalFrame* TProofProgressLog::fVworkers [private]

Definition at line 70 of file TProofProgressLog.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:23 2011 for ROOT_528-00b_version by  doxygen 1.5.1