libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <Timer.hpp>
Static Public Member Functions | |
static TimerHandle | Schedule (float seconds, std::function< void()> f) |
static void | Trigger (void *param) |
This class provides time management mechanisms, such as timed calls.
|
static |
Calling schedule specifies an action that has to happen after some time has elapsed.
seconds | A floating point number specifying the number of seconds to wait before calling f. |
f | The function to be called. It will be invoked by the main thread. |
|
static |
Triggers a stored timer callback. Called by SDLMain when a timer event is received.