#include <pausableclock.hpp>
Public Member Functions | |
PausableClock (bool paused=true) | |
Semi-default ctor. | |
void | Pause (void) |
Set the clock in 'pause' mode. | |
void | Start (void) |
Start the clock (again). | |
float | GetElapsedTime (void) const |
Get the time elapsed since last Reset. | |
void | Reset (bool paused=true) |
Reset the clock. |
PausableClock::PausableClock | ( | bool | paused = true |
) | [inline] |
Semi-default ctor.
pause | : does the clock start paused ? |
void PausableClock::Reset | ( | bool | paused = true |
) | [inline] |
Reset the clock.
pause | : does the clock start paused ? |