Rose
|
Transmit regular signals synchronized to the system clock. More...
#include <TimerTick.h>
Public Member Functions | |
TimerTick (const TimerTick &)=delete | |
TimerTick (TimerTick &&)=delete | |
TimerTick & | operator= (const TimerTick &)=delete |
TimerTick & | operator= (TimerTick &&)=delete |
Static Public Member Functions | |
static uint32_t | TimerCallbackStub (uint32_t interval, void *param) |
The static function passed to SDL_AddTimer as the callback. More... | |
Public Attributes | |
TickProtocol::signal_type | secondSignal {} |
TickProtocol::signal_type | minuteSignal {} |
TickProtocol::signal_type | hourSignal {} |
TickProtocol::signal_type | daySignal {} |
Protected Member Functions | |
uint32_t | transmit (uint32_t interval) |
Called when the SDL timer expires. | |
Protected Attributes | |
SDL_TimerID | sdlTimerId |
The SDL_TimerID from the SDL API. | |
Transmit regular signals synchronized to the system clock.
|
inlinestatic |
The static function passed to SDL_AddTimer as the callback.
interval | the current interval |
param | the pointer to this Timer |