Aclock Class Reference

#include <Aclock.h>

Inheritance diagram for Aclock:

TTimer TSysEvtHandler TSysEvtHandler TQObject TObject TQObject TObject TQObject TObject TQObject TObject List of all members.

Public Member Functions

 Aclock (Int_t csize=100)
virtual ~Aclock ()
virtual Bool_t Notify ()
void Paint (Option_t *option)
void Animate ()

Private Attributes

TPadfPad
MinuteHandfMinuteHand
HourHandfHourHand
SecondHandfSecondHand

Detailed Description

Definition at line 148 of file Aclock.h.


Constructor & Destructor Documentation

Aclock::Aclock ( Int_t  csize = 100  ) 

Definition at line 118 of file Aclock.cxx.

References TSystem::AddTimer(), Animate(), TObject::Draw(), fHourHand, fMinuteHand, fPad, fSecondHand, gSystem, TObject::kCanDelete, TObject::SetBit(), and TAttFill::SetFillColor().

Aclock::~Aclock (  )  [virtual]

Definition at line 136 of file Aclock.cxx.

References fHourHand, fMinuteHand, and fSecondHand.


Member Function Documentation

Bool_t Aclock::Notify (  )  [virtual]

Reimplemented from TTimer.

Definition at line 193 of file Aclock.cxx.

References Animate(), kFALSE, and TTimer::Reset().

void Aclock::Paint ( Option_t option  )  [virtual]

Reimplemented from TObject.

Definition at line 145 of file Aclock.cxx.

References fPad, TPoints::GetX(), TPad::GetX2(), TPoints::GetY(), TPad::GetY1(), i, TPad::PaintLine(), ClockPoints::Rotate(), ClockPoints::Scale(), ClockPoints::SetXY(), ClockPoints::Shift(), TPad::XtoPixel(), and TPad::YtoPixel().

void Aclock::Animate (  ) 

Definition at line 180 of file Aclock.cxx.

References fHourHand, fMinuteHand, fPad, fSecondHand, ClockHand::IsModified(), TPad::Modified(), ClockHand::Update(), and TPad::Update().

Referenced by Aclock(), and Notify().


Member Data Documentation

TPad* Aclock::fPad [private]

Definition at line 151 of file Aclock.h.

Referenced by Aclock(), Animate(), and Paint().

MinuteHand* Aclock::fMinuteHand [private]

Definition at line 152 of file Aclock.h.

Referenced by Aclock(), Animate(), and ~Aclock().

HourHand* Aclock::fHourHand [private]

Definition at line 153 of file Aclock.h.

Referenced by Aclock(), Animate(), and ~Aclock().

SecondHand* Aclock::fSecondHand [private]

Definition at line 154 of file Aclock.h.

Referenced by Aclock(), Animate(), and ~Aclock().


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