inVRsUtilities::Timer Class Reference

#include <Timer.h>

List of all members.


Public Member Functions

 Timer (bool start=false)
 ~Timer ()
void start ()
void stop ()
void reset ()
void setSpeed (double speed)
double getSystemTime ()
double getTime ()
double getTimeInMilliseconds ()
double getSpeed ()
bool isRunning ()

Protected Attributes

double startTime
 Time the timer was started.
double timerValue
 Value of the timer, always updated when getTime is called.
double previousTime
 Value of the system time at last request.
double speedFactor
 factor of timer speed
bool running
 defines if the timer is running

Constructor & Destructor Documentation

inVRsUtilities::Timer::Timer ( bool  start = false  ) 

Constructor

inVRsUtilities::Timer::~Timer (  ) 

Desctructor


Member Function Documentation

double inVRsUtilities::Timer::getSpeed (  ) 

double inVRsUtilities::Timer::getSystemTime (  ) 

double inVRsUtilities::Timer::getTime (  ) 

double inVRsUtilities::Timer::getTimeInMilliseconds (  ) 

bool inVRsUtilities::Timer::isRunning (  ) 

void inVRsUtilities::Timer::reset (  ) 

void inVRsUtilities::Timer::setSpeed ( double  speed  ) 

void inVRsUtilities::Timer::start (  ) 

void inVRsUtilities::Timer::stop (  ) 


Member Data Documentation

Value of the system time at last request.

defines if the timer is running

factor of timer speed

Time the timer was started.

Value of the timer, always updated when getTime is called.


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:12:03 2010 for inVRs by doxygen 1.5.8