#ifndef ALITPCCALIBVIEWERGUI
#define ALITPCCALIBVIEWERGUI
#include <string>
#include <memory>
#include "TGFrame.h"
class TGTextView;
class TGNumberEntry;
class TGComboBox;
class TMemStatViewerGUI : public TGCompositeFrame
{
protected:
TMemStat *fViewer;
TGTextView *fText;
TGNumberEntry *fNmbStackDeep;
TGNumberEntry *fNmbSortDeep;
std::string fCurLib;
std::string fCurFunc;
protected:
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);
public:
TMemStatViewerGUI() {;}
TMemStatViewerGUI(const TGWindow *p, UInt_t w, UInt_t h, Option_t* option = "read");
virtual ~TMemStatViewerGUI();
static void ShowGUI();
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*);
ClassDef(TMemStatViewerGUI, 0)
};
template< class T >
void TMemStatViewerGUI::HandleRButtons(Int_t id, Int_t FirstBtnId, T *ViewerSortType)
{
*ViewerSortType = static_cast<T>(id - FirstBtnId);
}
#endif
Last change: Fri Jul 4 14:51:21 2008
Last generated: 2008-07-04 14:51
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.