MeshLib C++ Docs
Loading...
Searching...
No Matches

the object to set timer from any thread and wait for alert time from another thread More...

#include <MRViewer/MRAsyncTimer.h>

Public Types

enum class  Event { Event::AlertTimeReached , Event::Terminate }
 to call from waiter thread More...

Public Member Functions

void setTime (const Time &time)
 sets alert time, forgetting about previous time
bool setTimeIfNotSet (const Time &time)
void resetTime ()
 reset the timer
void terminate ()
 orders the waiter thread to stop
Event waitBlocking ()

Detailed Description

the object to set timer from any thread and wait for alert time from another thread


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