Clock and Timers


Data Structures

class  nrEngine::Clock
 Global clock of the engine used to retrieve time or create timers. More...
class  nrEngine::ITimeObserver
 Interface for every kind of objects used to observe the ticking of the clock. More...
class  nrEngine::Timer
 Timers are used to retrieve time. You can hav emore than one timer in your app. More...
class  nrEngine::TimeSource
 Interface for time source give clock a current time. More...
class  nrEngine::TimeSourceVirtual
 Timesource ticking certain time steps. More...

Detailed Description

This groups contains all classes and interfaces you will need by working with the time. Time is relative like Einstein said. So this part of the engine allows you to use this aspect in your applications. To use this you have to derive a time source class and bind it to any clock. Then the clock should ticks and will give you always right time. Now you create any timer from the clock. The timer has its own speed relative to the clock. This allows you to use one timer for GUI and one for your game. If you pause the game timer gui is still working. Also some nice effects are possible by using more than one timer in you rapplication.
Generated on Wed Sep 12 23:19:43 2007 for nrEngine by  doxygen 1.5.1