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

#include <timer.h>

Public Types

using Milliseconds = std::chrono::milliseconds
 
using clock_t = std::chrono::high_resolution_clock
 

Public Member Functions

std::optional< clock_t::time_point > lastDelay ()
 

Detailed Description

A background thread to be shared by many timers and delays. Hold a queue of TimerInfo object with a time and a callback that will be called using dispatchFront when the time is reached. InviwoApplicaition owns a default TimerThread.


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