utils::Timer Class Reference

This class is for timing purpose as a replacement for SDL_TIMER. More...

#include <timer.h>

List of all members.

Public Member Functions

 Timer (unsigned int ms, bool createActive=true)
 Constructor.
int poll ()
 Returns the number of elapsed ticks since last call.
void sleep ()
 Sleeps till the next tick occurs.
void start ()
 Activates the timer.
void stop ()
 Deactivates the timer.
void changeInterval (unsigned int newinterval)
 Changes the interval between two pulses.


Detailed Description

This class is for timing purpose as a replacement for SDL_TIMER.

Definition at line 37 of file timer.h.


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

Generated on Sun Apr 26 17:30:47 2009 for TMW Server Collection by  doxygen 1.5.5