#include <Timer.h>
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 |
Timer::Timer | ( | ) | [inline] |
Timer::~Timer | ( | ) | [inline] |
const double Timer::GetCurrentClock | ( | ) | const [inline, private] |
const double Timer::GetCurrentTime | ( | ) | const [inline, private] |
const double Timer::GetStartTime | ( | ) | const [inline, private] |
const bool Timer::IsRunning | ( | ) | const [inline] |
Timer::operator double | ( | ) | const [inline] |
Timer::operator float | ( | ) | const [inline] |
void Timer::start | ( | ) | [inline] |
void Timer::stop | ( | ) | [inline] |
bool Timer::m_bRunning [private] |
double Timer::m_dCurrent [private] |
double Timer::m_dStart [private] |
double Timer::s_dSecondsPerTick = 0.0 [static, private] |