#include <Timer.h>
Inheritance diagram for Teddy::SysSupport::Timer:
Public Methods | |
Timer (Uint32 frequency) | |
Constructor. More... | |
virtual void | run () |
virtual void | stop () |
virtual void | tick () |
Default tick() implementation. More... | |
Uint32 | getFrequency () |
void | setFrequency (Uint32 frequency) |
void | start () |
Static Public Methods | |
int | sdl_thread_function (void *data) |
This is the timer update function implementation. More... | |
Protected Attributes | |
SDL_Thread * | sdl_thread |
Uint32 | sync |
Uint32 | frequency |
bool | running |
Definition at line 38 of file Timer.h.
|
Constructor.
Definition at line 34 of file Timer.cpp. References frequency, running, and sdl_thread. Referenced by sdl_thread_function. |
|
Definition at line 41 of file Timer.cpp. References frequency. |
|
|
|
This is the timer update function implementation.
Definition at line 84 of file Timer.cpp. References Timer. |
|
Definition at line 46 of file Timer.cpp. References frequency. |
|
|
|
Definition at line 57 of file Timer.cpp. References running. |
|
Default tick() implementation.
Reimplemented from Teddy::MixIn::Tick. Reimplemented in Teddy::Application::BaseSimulationTimer. Definition at line 79 of file Timer.cpp. Referenced by run. |
|
Definition at line 59 of file Timer.h. Referenced by getFrequency, run, setFrequency, and Timer. |
|
|
|
Definition at line 57 of file Timer.h. Referenced by Timer. |
|
|