Public Member Functions

Timer Class Reference

Provides a millisecond resolution timer. More...

#include <Timer.h>

Public Member Functions

void Start ()
 [AS - void Start()]
bool IsRunning ()
 [AS - bool IsRunning()]
void Stop ()
 [AS - void Stop()]
void Reset ()
 [AS - void Reset()]
float Elapsed ()
 [AS - float Elapsed()]

Detailed Description

Provides a millisecond resolution timer.


Member Function Documentation

float Timer::Elapsed ( )

[AS - float Elapsed()]

Return the time elapsed since this timer was created or since the last call to Start.

See also:
Start
bool Timer::IsRunning ( ) [inline]

[AS - bool IsRunning()]

Returns whether or not the timer is running.

void Timer::Reset ( )

[AS - void Reset()]

Sets the time elapsed back to zero.

void Timer::Start ( )

[AS - void Start()]

Starts the timer.

void Timer::Stop ( )

[AS - void Stop()]

Stops the timer.


The documentation for this class was generated from the following file:
 All Data Structures Functions