TGShapedMain Class Reference

Inheritance diagram for TGShapedMain:

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

Public Member Functions

 TGShapedMain (const TGWindow *p, int w, int h)
virtual ~TGShapedMain ()
void CloseWindow ()
TGSpeedoGetSpeedo () const
Int_t GetActInfo () const
void ToggleInfos ()

Protected Attributes

const TGPicturefBgnd
TGSpeedofSpeedo
TTimerfTimer
Int_t fActInfo

Detailed Description

Definition at line 10 of file CPUMeter.C.


Constructor & Destructor Documentation

TGShapedMain::TGShapedMain ( const TGWindow p,
int  w,
int  h 
)

Definition at line 38 of file CPUMeter.C.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), TGMainFrame::DontCallClose(), fActInfo, fBgnd, fSpeedo, fTimer, TGCompositeFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGCompositeFrame::GetDefaultWidth(), TGPicture::GetHeight(), TGObject::GetId(), TGPicture::GetMask(), TGSpeedo::GetPicture(), TGPicture::GetPicture(), TGPicture::GetWidth(), gVirtualX, kLHintsCenterX, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGWindow::SetBackgroundPixmap(), TTimer::SetCommand(), TGSpeedo::SetDisplayText(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMSizeHints(), and TTimer::TurnOn().

TGShapedMain::~TGShapedMain (  )  [virtual]

Definition at line 91 of file CPUMeter.C.

References fSpeedo, and fTimer.


Member Function Documentation

void TGShapedMain::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 100 of file CPUMeter.C.

References TGWindow::DestroyWindow(), fTimer, and TTimer::TurnOff().

TGSpeedo* TGShapedMain::GetSpeedo (  )  const [inline]

Definition at line 23 of file CPUMeter.C.

References fSpeedo.

Referenced by CPUMeter().

Int_t TGShapedMain::GetActInfo (  )  const [inline]

Definition at line 24 of file CPUMeter.C.

References fActInfo.

Referenced by Update().

void TGShapedMain::ToggleInfos (  ) 

Definition at line 74 of file CPUMeter.C.

References fActInfo, fSpeedo, and TGSpeedo::SetDisplayText().


Member Data Documentation

const TGPicture* TGShapedMain::fBgnd [protected]

Definition at line 13 of file CPUMeter.C.

Referenced by TGShapedMain().

TGSpeedo* TGShapedMain::fSpeedo [protected]

Definition at line 14 of file CPUMeter.C.

Referenced by GetSpeedo(), TGShapedMain(), ToggleInfos(), and ~TGShapedMain().

TTimer* TGShapedMain::fTimer [protected]

Definition at line 15 of file CPUMeter.C.

Referenced by CloseWindow(), TGShapedMain(), and ~TGShapedMain().

Int_t TGShapedMain::fActInfo [protected]

Definition at line 16 of file CPUMeter.C.

Referenced by GetActInfo(), TGShapedMain(), and ToggleInfos().


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