Inviwo 0.9.12-pre
Inviwo documentation
|
#include <timer.h>
Public Types | |
using | Milliseconds = std::chrono::milliseconds |
Public Member Functions | |
Delay (Milliseconds defaultDelay, std::function< void()> defaltCallback, TimerThread &thread=util::getDefaultTimerThread()) | |
void | start (Milliseconds delay, std::function< void()> callback) |
void | start (Milliseconds delay) |
void | start (std::function< void()> callback) |
void | start () |
void | cancel () |
void | setDefaultDelay (Milliseconds delay) |
Milliseconds | getDefaultDelay () const |
void | setDefaultCallback (std::function< void()> callback) |
std::function< void()> | getDefaultCallback () const |
A one time delay.