SPACE::Core::cTimerManager Class Reference

Manages the cTimer. More...

#include <cTimerManager.hpp>

Inheritance diagram for SPACE::Core::cTimerManager:
SPACE::Core::TSingleton< cTimerManager >

List of all members.

Public Member Functions

cTimerPush (void(*_pFunction)(ePurpose _Purpose))
bool Clear ()
bool Update ()
void PauseAll ()
void ResumeAll ()

Detailed Description

Manages the cTimer.

Manages the cTimer so that they handle themselfs.

Warning:
You have to set the Pointer to your time to NULL by your own! You recive the STOP_PURPOSE if the timer goes down. So clear your pointer then. Maybe this will be changed
See also:
SPACE::Core::cTimer

Member Function Documentation

bool cTimerManager::Clear (  ) 

Deletes every cTimer.

Returns:
true => Everything was ok
false => Something failed
void cTimerManager::PauseAll (  ) 

Pause all Timer

cTimer * cTimerManager::Push ( void(*)(ePurpose _Purpose)  _pFunction  ) 

Puts a new cTimer into the "Linked list of Timer"

Parameters:
(*_pFunction) The function of the state
Returns:
NULL => Something failed
Pointer to the cTimer.
void cTimerManager::ResumeAll (  ) 

Resume all timer

bool cTimerManager::Update (  ) 

Updates every cTimer. The ePurpose is "RUN_PURPOSE".

Returns:
true => Everything was ok
false => Something failed

The documentation for this class was generated from the following files:
Generated on Wed Apr 7 17:20:25 2010 for SPACE Engine by  doxygen 1.6.3