#include <Aclock.h>
Inheritance diagram for ClockHand:
Public Member Functions | |
ClockHand (Int_t n, Float_t *x, Float_t *y) | |
virtual | ~ClockHand () |
UInt_t | GetTime () |
UInt_t | GetHour () |
UInt_t | GetMinute () |
UInt_t | GetSecond () |
void | Update () |
Bool_t | IsModified () |
Protected Member Functions | |
void | Move (Float_t angle) |
virtual UInt_t | GetTimeValue () |
virtual Float_t | GetHandAngle () |
Protected Attributes | |
UInt_t | fPrevTimeValue |
Float_t * | fX0 |
Float_t * | fY0 |
Static Protected Attributes | |
static TDatime * | fgTime |
Definition at line 68 of file Aclock.h.
Definition at line 67 of file Aclock.cxx.
References fPrevTimeValue, TPolyLine::fX, fX0, TPolyLine::fY, fY0, TPolyLine::GetN(), i, and TAttFill::SetFillColor().
void ClockHand::Move | ( | Float_t | angle | ) | [protected] |
Definition at line 92 of file Aclock.cxx.
References TPolygon::fPad, TPolyLine::fX, fX0, TPolyLine::fY, fY0, TPolyLine::GetN(), TPad::GetX2(), TPad::GetY1(), i, n, points, TPad::XtoPixel(), and TPad::YtoPixel().
Referenced by Update().
virtual UInt_t ClockHand::GetTimeValue | ( | ) | [inline, protected, virtual] |
Definition at line 78 of file Aclock.h.
References GetMinute().
Referenced by IsModified(), and Update().
virtual Float_t ClockHand::GetHandAngle | ( | ) | [inline, protected, virtual] |
UInt_t ClockHand::GetTime | ( | ) | [inline] |
Definition at line 85 of file Aclock.h.
References fgTime, TDatime::GetTime(), and TDatime::Set().
Referenced by GetHour(), GetMinute(), and GetSecond().
UInt_t ClockHand::GetHour | ( | ) | [inline] |
Definition at line 86 of file Aclock.h.
References GetTime().
Referenced by HourHand::GetHandAngle().
UInt_t ClockHand::GetMinute | ( | ) | [inline] |
Definition at line 87 of file Aclock.h.
References GetTime().
Referenced by HourHand::GetHandAngle(), MinuteHand::GetHandAngle(), and GetTimeValue().
UInt_t ClockHand::GetSecond | ( | ) | [inline] |
Definition at line 88 of file Aclock.h.
References GetTime().
Referenced by MinuteHand::GetHandAngle(), SecondHand::GetHandAngle(), and SecondHand::GetTimeValue().
void ClockHand::Update | ( | ) |
Definition at line 82 of file Aclock.cxx.
References fPrevTimeValue, GetHandAngle(), GetTimeValue(), IsModified(), and Move().
Referenced by Aclock::Animate().
Bool_t ClockHand::IsModified | ( | ) | [inline] |
Definition at line 92 of file Aclock.h.
References fPrevTimeValue, and GetTimeValue().
Referenced by Aclock::Animate(), and Update().
UInt_t ClockHand::fPrevTimeValue [protected] |
Float_t* ClockHand::fX0 [protected] |
Float_t* ClockHand::fY0 [protected] |
TDatime * ClockHand::fgTime [static, protected] |