◆ OnTick()
virtual void Pebble::TickTimer::OnTick |
( |
tm & |
tick_time, |
|
|
TimeUnits |
units_changed |
|
) |
| |
|
protectedpure virtual |
Event handler type for tick timer events
- Parameters
-
tick_time | the time at which the tick event was triggered |
units_changed | which unit change triggered this tick event |
◆ TickTimerStart()
void Pebble::TickTimer::TickTimerStart |
( |
TimeUnits |
tick_units | ) |
|
|
inlineprotected |
Starts the tick timer; fires on the OnTick event on every requested unit change. Calling this method multiple times will override the units and handler (i.e., only the last tick_units and handler passed will be used).
- Parameters
-
tick_units | a bitmask of all the units that have changed |
The documentation for this class was generated from the following file: