#include <iTimerHandle.h>
◆ iTimerHandle() [1/2]
igor::iTimerHandle::iTimerHandle |
( |
| ) |
|
|
default |
◆ iTimerHandle() [2/2]
igor::iTimerHandle::iTimerHandle |
( |
iTimerTickDelegate |
timerDelegate, |
|
|
const iaTime & |
interval, |
|
|
bool |
oneShot = false |
|
) |
| |
creates timer handle and registers it to the iTimer running with given interval
- Parameters
-
timer_delegate | timer delegate to register |
interval | the length of the interval |
oneShot | if true the timed even only occurs once |
◆ ~iTimerHandle()
igor::iTimerHandle::~iTimerHandle |
( |
| ) |
|
|
virtual |
◆ getEventTimerTick()
iTimerTickEvent & igor::iTimerHandle::getEventTimerTick |
( |
| ) |
|
◆ getInterval()
iaTime igor::iTimerHandle::getInterval |
( |
| ) |
const |
returns current intervall time
◆ handle()
void igor::iTimerHandle::handle |
( |
iaTime |
time | ) |
|
|
protectedvirtual |
calls timer event according to how much time passed by
◆ restart()
void igor::iTimerHandle::restart |
( |
| ) |
|
restarts timer by resetting to current time
◆ setInterval()
void igor::iTimerHandle::setInterval |
( |
iaTime |
interval | ) |
|
changes timer interval
- Parameters
-
interval | the length of the intervall |
triggers restart()
◆ start()
void igor::iTimerHandle::start |
( |
| ) |
|
◆ stop()
void igor::iTimerHandle::stop |
( |
| ) |
|
◆ triggerNow()
void igor::iTimerHandle::triggerNow |
( |
| ) |
|
what ever the settings this will trigger the timer handle right now and will not interfear with the interval set
◆ iTimer
The documentation for this class was generated from the following files: