Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Timer Class Reference

CG3 Skeletal Animation Project Jason Winnebeck May 12, 2003. More...

#include <Timer.h>

List of all members.

Public Methods

int getFrameRate ()
 Returns the frame rate.

void setStartTime ()
 Starts the timer.

float getSecondsSinceStart ()
 Returns the number of seconds that have passed since the timer was started.

float getNumTicksPerMs ()
 Returns the number of ticks per millisecond.

void calcFrameCount ()
 Calculates the frame rate.

float getFrameDt ()
 Calculates and returns the number of seconds that have passed since the last frame.

 Timer ()
 Constructor.

 ~Timer ()
 Destructor.


Detailed Description

CG3 Skeletal Animation Project Jason Winnebeck May 12, 2003.


Member Function Documentation

float Timer::getFrameDt  
 

Calculates and returns the number of seconds that have passed since the last frame.

Returns:
the number of seconds that have passed since the last frame

int Timer::getFrameRate  
 

Returns the frame rate.

Returns:
the current frame rate

float Timer::getNumTicksPerMs  
 

Returns the number of ticks per millisecond.

Returns:
the number of ticks per millisecond


The documentation for this class was generated from the following files:
Generated on Wed May 14 01:38:08 2003 for CG Skeletal Animation Project by doxygen1.2.18