#include <src/orxonox/tools/Timer.h>
Public Member Functions | |
void | setTimer (float interval, bool bLoop, T *object, ExecutorMember< T > *executor, bool bKillAfterCall=false) |
Initializes the Timer with given values. | |
Timer (float interval, bool bLoop, T *object, ExecutorMember< T > *exeuctor, bool bKillAfterCall=false) | |
Constructor: Initializes the Timer with given values. | |
Timer () |
orxonox::Timer< T >::Timer | ( | ) | [inline] |
orxonox::Timer< T >::Timer | ( | float | interval, | |
bool | bLoop, | |||
T * | object, | |||
ExecutorMember< T > * | exeuctor, | |||
bool | bKillAfterCall = false | |||
) | [inline] |
Constructor: Initializes the Timer with given values.
interval | The timer-interval in seconds | |
bLoop | If true, the function gets called every 'interval' seconds | |
object | The object owning the timer and the function | |
exeuctor | A executor of the function to call |
void orxonox::Timer< T >::setTimer | ( | float | interval, | |
bool | bLoop, | |||
T * | object, | |||
ExecutorMember< T > * | executor, | |||
bool | bKillAfterCall = false | |||
) | [inline] |
Initializes the Timer with given values.
interval | The timer-interval in seconds | |
bLoop | If true, the function gets called every 'interval' seconds | |
object | The object owning the timer and the function | |
exeuctor | A executor of the function to call |
Referenced by orxonox::Timer< orxonox::FadeoutText >::Timer().