TGLStopwatch Class Reference

#include <TGLStopwatch.h>

List of all members.

Public Member Functions

 TGLStopwatch ()
virtual ~TGLStopwatch ()
void Start ()
Double_t Lap () const
Double_t End ()
Double_t LastRun () const
 TGLStopwatch ()
virtual ~TGLStopwatch ()
void Start ()
Double_t Lap () const
Double_t End ()
Double_t LastRun () const

Private Member Functions

Double_t GetClock (void) const
 time of last run (milisec)
Double_t GetClock (void) const
 time of last run (milisec)

Private Attributes

Double_t fStart
Double_t fEnd
 start time (millisec)
Double_t fLastRun
 end time (millisec)


Detailed Description

Definition at line 34 of file TGLStopwatch.h.


Constructor & Destructor Documentation

TGLStopwatch::TGLStopwatch (  ) 

Definition at line 33 of file TGLStopwatch.cxx.

TGLStopwatch::~TGLStopwatch (  )  [virtual]

Definition at line 39 of file TGLStopwatch.cxx.

TGLStopwatch::TGLStopwatch (  ) 

virtual TGLStopwatch::~TGLStopwatch (  )  [virtual]


Member Function Documentation

Double_t TGLStopwatch::GetClock ( void   )  const [private]

time of last run (milisec)

Definition at line 81 of file TGLStopwatch.cxx.

References gettimeofday(), and t.

Referenced by End(), Lap(), and Start().

void TGLStopwatch::Start (  ) 

Definition at line 45 of file TGLStopwatch.cxx.

References fEnd, fStart, and GetClock().

Referenced by TGLScenePad::BeginScene(), and TGLRnrCtx::StartStopwatch().

Double_t TGLStopwatch::Lap (  )  const

Definition at line 55 of file TGLStopwatch.cxx.

References fStart, and GetClock().

Referenced by TGLRnrCtx::HasStopwatchTimedOut().

Double_t TGLStopwatch::End (  ) 

Definition at line 67 of file TGLStopwatch.cxx.

References fEnd, fLastRun, fStart, and GetClock().

Referenced by TGLScenePad::BeginScene(), and TGLRnrCtx::StopStopwatch().

Double_t TGLStopwatch::LastRun (  )  const [inline]

Definition at line 52 of file TGLStopwatch.h.

References fLastRun.

Double_t TGLStopwatch::GetClock ( void   )  const [private]

time of last run (milisec)

void TGLStopwatch::Start (  ) 

Double_t TGLStopwatch::Lap (  )  const

Double_t TGLStopwatch::End (  ) 

Double_t TGLStopwatch::LastRun (  )  const [inline]

Definition at line 52 of file TGLStopwatch.h.

References fLastRun.


Member Data Documentation

Double_t TGLStopwatch::fStart [private]

Definition at line 38 of file TGLStopwatch.h.

Referenced by End(), Lap(), and Start().

Double_t TGLStopwatch::fEnd [private]

start time (millisec)

Definition at line 39 of file TGLStopwatch.h.

Referenced by End(), and Start().

Double_t TGLStopwatch::fLastRun [private]

end time (millisec)

Definition at line 40 of file TGLStopwatch.h.

Referenced by End(), and LastRun().


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