Timer Class Reference

#include <Timer.h>

List of all members.

Public Member Functions

 Timer ()
 ~Timer ()
void start ()
void stop ()
 operator double () const
 operator float () const
const bool IsRunning () const

Private Member Functions

const double GetCurrentClock () const
const double GetStartTime () const
const double GetCurrentTime () const

Private Attributes

double m_dStart
double m_dCurrent
bool m_bRunning

Static Private Attributes

static double s_dSecondsPerTick = 0.0


Constructor & Destructor Documentation

Timer::Timer (  )  [inline]

References s_dSecondsPerTick, and start().

Timer::~Timer (  )  [inline]


Member Function Documentation

const double Timer::GetCurrentClock (  )  const [inline, private]

Referenced by GetCurrentTime().

const double Timer::GetCurrentTime (  )  const [inline, private]

const double Timer::GetStartTime (  )  const [inline, private]

References m_dStart.

Referenced by operator double(), and operator float().

const bool Timer::IsRunning (  )  const [inline]

References m_bRunning.

Timer::operator double (  )  const [inline]

References GetCurrentTime(), and GetStartTime().

Timer::operator float (  )  const [inline]

References GetCurrentTime(), and GetStartTime().

void Timer::start (  )  [inline]

void Timer::stop (  )  [inline]


Member Data Documentation

bool Timer::m_bRunning [private]

Referenced by GetCurrentTime(), IsRunning(), start(), and stop().

double Timer::m_dCurrent [private]

Referenced by GetCurrentTime(), start(), and stop().

double Timer::m_dStart [private]

Referenced by GetStartTime(), and start().

double Timer::s_dSecondsPerTick = 0.0 [static, private]

Referenced by GetCurrentTime(), and Timer().


The documentation for this class was generated from the following files:

Generated on Mon Jan 12 21:15:45 2009 for Volume Visualization by  doxygen 1.5.8