Darc Library
2012.11
|
#include <dc_timer.h>
Public Member Functions | |
DC_Timer () | |
void | start () |
void | stop () |
void | zero () |
void | reset () |
bool | isRunning () |
Real64 | getTimeSeconds () |
Default constructor.
double darc::DC_Timer::getTimeSeconds | ( | ) |
Returns the elapsed dc_time.h
bool darc::DC_Timer::isRunning | ( | ) |
Returns whether the timer is running.
void darc::DC_Timer::reset | ( | ) | [inline] |
void darc::DC_Timer::start | ( | ) |
Starts the timer.
void darc::DC_Timer::stop | ( | ) |
Stops but doesn't reset the timer to zero.
void darc::DC_Timer::zero | ( | ) |
Sets the time to zero but doesn't stop the timer.