MeshLib Documentation
Loading...
Searching...
No Matches
MR::AsyncTimer Class Reference

#include <MRAsyncTimer.h>

Public Types

enum class  Event { AlertTimeReached , Terminate }
 

Public Member Functions

MRVIEWER_API void setTime (const Time &time)
 
MRVIEWER_API bool setTimeIfNotSet (const Time &time)
 
MRVIEWER_API void resetTime ()
 
MRVIEWER_API void terminate ()
 
MRVIEWER_API Event waitBlocking ()
 

Member Enumeration Documentation

◆ Event

enum class MR::AsyncTimer::Event
strong
Enumerator
AlertTimeReached 
Terminate 

Member Function Documentation

◆ resetTime()

MRVIEWER_API void MR::AsyncTimer::resetTime ( )

◆ setTime()

MRVIEWER_API void MR::AsyncTimer::setTime ( const Time & time)

◆ setTimeIfNotSet()

MRVIEWER_API bool MR::AsyncTimer::setTimeIfNotSet ( const Time & time)

◆ terminate()

MRVIEWER_API void MR::AsyncTimer::terminate ( )

◆ waitBlocking()

MRVIEWER_API Event MR::AsyncTimer::waitBlocking ( )

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