Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::Delay Class Reference

#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
 

Detailed Description

A one time delay.


The documentation for this class was generated from the following file: