TMemStatViewerGUI Class Reference

#include <TMemStatViewerGUI.h>

Inheritance diagram for TMemStatViewerGUI:

TGCompositeFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TMemStatViewerGUI ()
 TMemStatViewerGUI (const TGWindow *p, UInt_t w, UInt_t h, Option_t *option="read")
virtual ~TMemStatViewerGUI ()
void HandleButtonsSortStat (Int_t id=-1)
void HandleButtonsSortStamp (Int_t id=-1)
void HandleDeep (Long_t id)
void HandleStampSelect (const char *)
void HandleFuncSelect (const char *)
void HandleLibSelect (const char *)

Static Public Member Functions

static void ShowGUI ()

Protected Member Functions

void MakeContSortStat (TGCompositeFrame *frame)
void MakeContSortStamp (TGCompositeFrame *frame)
void MakeContDeep (TGCompositeFrame *frame)
void MakeStampList (TGCompositeFrame *frame)
void MakeSelection (TGCompositeFrame *frame)
void Initialize (Option_t *option)
void MakePrint ()
template<class T>
void HandleRButtons (Int_t id, Int_t FirstBtnId, T *ViewerSortType)

Protected Attributes

TMemStatfViewer
TGTextViewfText
TGNumberEntryfNmbStackDeep
TGNumberEntryfNmbSortDeep
std::string fCurLib
std::string fCurFunc

Detailed Description

Definition at line 35 of file TMemStatViewerGUI.h.


Constructor & Destructor Documentation

TMemStatViewerGUI::TMemStatViewerGUI (  )  [inline]

Definition at line 59 of file TMemStatViewerGUI.h.

Referenced by ShowGUI().

TMemStatViewerGUI::TMemStatViewerGUI ( const TGWindow p,
UInt_t  w,
UInt_t  h,
Option_t option = "read" 
)

Definition at line 81 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), TGTab::AddTab(), fText, fViewer, TGCompositeFrame::GetDefaultSize(), Initialize(), TMemStat::kCurrent, kDeepCleanup, kFitHeight, kFixedHeight, kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, TMemStat::kTotalAllocCount, kTRUE, kVerticalFrame, MakeContDeep(), MakeContSortStamp(), MakeContSortStat(), MakePrint(), MakeSelection(), MakeStampList(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGVSplitter::SetFrame(), TMemStat::SetSortStamp(), TMemStat::SetSortStat(), text(), and TGCompositeFrame::TGCompositeFrame().

TMemStatViewerGUI::~TMemStatViewerGUI (  )  [virtual]

Definition at line 148 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::Cleanup(), TObject::Delete(), and fViewer.


Member Function Documentation

void TMemStatViewerGUI::MakeContSortStat ( TGCompositeFrame frame  )  [protected]

Definition at line 168 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), kLHintsExpandX, rbtnAllocCount, rbtnAllocSize, rbtnTotalAllocCount, rbtnTotalAllocSize, and TGButtonGroup::SetButton().

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::MakeContSortStamp ( TGCompositeFrame frame  )  [protected]

Definition at line 184 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), kLHintsExpandX, rbtnCurrent, rbtnMaxCount, rbtnMaxSize, and TGButtonGroup::SetButton().

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::MakeContDeep ( TGCompositeFrame frame  )  [protected]

Definition at line 251 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), fNmbSortDeep, fNmbStackDeep, fViewer, TMemStat::GetSortDeep(), TMemStat::GetStackDeep(), kLHintsExpandX, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNESInteger, TGFrame::Resize(), and TGCompositeFrame::SetLayoutManager().

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::MakeStampList ( TGCompositeFrame frame  )  [protected]

Definition at line 199 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), TObjArray::At(), TIter::Begin(), TQObject::Connect(), TIter::End(), fViewer, TGComboBox::GetNumberOfEntries(), TGComboBox::GetSelected(), TMemStat::GetStampList(), kLHintsCenterY, kLHintsExpandX, kLHintsLeft, lstStamps, TGFrame::Resize(), TGComboBox::Select(), TMemStat::SetCurrentStamp(), and str.

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::MakeSelection ( TGCompositeFrame frame  )  [protected]

Definition at line 340 of file TMemStatViewerGUI.cxx.

References TGComboBox::AddEntry(), TGCompositeFrame::AddFrame(), TQObject::Connect(), fViewer, TMemStat::GetFillSelection(), TMemStat::kFunction, kLHintsExpandX, TMemStat::kLibrary, TGFrame::Resize(), and TGComboBox::Select().

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::Initialize ( Option_t option  )  [protected]

Definition at line 158 of file TMemStatViewerGUI.cxx.

References fViewer, and TMemStat::Report().

Referenced by TMemStatViewerGUI().

void TMemStatViewerGUI::MakePrint (  )  [protected]

Definition at line 332 of file TMemStatViewerGUI.cxx.

References fCurFunc, fCurLib, fText, fViewer, TGTextView::LoadFile(), and TMemStat::MakeReport().

Referenced by HandleButtonsSortStamp(), HandleButtonsSortStat(), HandleDeep(), HandleFuncSelect(), HandleLibSelect(), HandleStampSelect(), and TMemStatViewerGUI().

template<class T>
void TMemStatViewerGUI::HandleRButtons ( Int_t  id,
Int_t  FirstBtnId,
T ViewerSortType 
) [protected]

Definition at line 77 of file TMemStatViewerGUI.h.

Referenced by HandleButtonsSortStamp(), and HandleButtonsSortStat().

void TMemStatViewerGUI::ShowGUI (  )  [static]

Definition at line 313 of file TMemStatViewerGUI.cxx.

References TGCompositeFrame::AddFrame(), gClient, TGClient::GetRoot(), kDeepCleanup, kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGMainFrame::SetWindowName(), and TMemStatViewerGUI().

Referenced by MemStat().

void TMemStatViewerGUI::HandleButtonsSortStat ( Int_t  id = -1  ) 

Definition at line 283 of file TMemStatViewerGUI.cxx.

References fViewer, HandleRButtons(), MakePrint(), rbtnTotalAllocCount, TMemStat::SetSortStat(), and val.

void TMemStatViewerGUI::HandleButtonsSortStamp ( Int_t  id = -1  ) 

Definition at line 293 of file TMemStatViewerGUI.cxx.

References fViewer, HandleRButtons(), MakePrint(), rbtnCurrent, TMemStat::SetSortStamp(), and val.

void TMemStatViewerGUI::HandleDeep ( Long_t  id  ) 

Definition at line 303 of file TMemStatViewerGUI.cxx.

References fNmbSortDeep, fNmbStackDeep, fViewer, TGNumberEntry::GetIntNumber(), MakePrint(), TMemStat::SetSortDeep(), and TMemStat::SetStackDeep().

void TMemStatViewerGUI::HandleStampSelect ( const char *   ) 

Definition at line 242 of file TMemStatViewerGUI.cxx.

References fViewer, MakePrint(), and TMemStat::SetCurrentStamp().

void TMemStatViewerGUI::HandleFuncSelect ( const char *   ) 

Definition at line 389 of file TMemStatViewerGUI.cxx.

References fCurFunc, and MakePrint().

void TMemStatViewerGUI::HandleLibSelect ( const char *   ) 

Definition at line 401 of file TMemStatViewerGUI.cxx.

References fCurLib, and MakePrint().


Member Data Documentation

TMemStat* TMemStatViewerGUI::fViewer [protected]

Definition at line 38 of file TMemStatViewerGUI.h.

Referenced by HandleButtonsSortStamp(), HandleButtonsSortStat(), HandleDeep(), HandleStampSelect(), Initialize(), MakeContDeep(), MakePrint(), MakeSelection(), MakeStampList(), TMemStatViewerGUI(), and ~TMemStatViewerGUI().

TGTextView* TMemStatViewerGUI::fText [protected]

Definition at line 39 of file TMemStatViewerGUI.h.

Referenced by MakePrint(), and TMemStatViewerGUI().

TGNumberEntry* TMemStatViewerGUI::fNmbStackDeep [protected]

Definition at line 40 of file TMemStatViewerGUI.h.

Referenced by HandleDeep(), and MakeContDeep().

TGNumberEntry* TMemStatViewerGUI::fNmbSortDeep [protected]

Definition at line 41 of file TMemStatViewerGUI.h.

Referenced by HandleDeep(), and MakeContDeep().

std::string TMemStatViewerGUI::fCurLib [protected]

Definition at line 42 of file TMemStatViewerGUI.h.

Referenced by HandleLibSelect(), and MakePrint().

std::string TMemStatViewerGUI::fCurFunc [protected]

Definition at line 43 of file TMemStatViewerGUI.h.

Referenced by HandleFuncSelect(), and MakePrint().


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