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

#include <MRAsyncTimer.h>

Public Types

using Command = std::function<void()>
 

Public Member Functions

MRVIEWER_API AsyncRequest ()
 
MRVIEWER_API ~AsyncRequest ()
 
MRVIEWER_API void request (const Time &time, Command command)
 
MRVIEWER_API void requestIfNotSet (const Time &time, Command command)
 
MRVIEWER_API void reset ()
 

Member Typedef Documentation

◆ Command

using MR::AsyncRequest::Command = std::function<void()>

Constructor & Destructor Documentation

◆ AsyncRequest()

MRVIEWER_API MR::AsyncRequest::AsyncRequest ( )

◆ ~AsyncRequest()

MRVIEWER_API MR::AsyncRequest::~AsyncRequest ( )

Member Function Documentation

◆ request()

MRVIEWER_API void MR::AsyncRequest::request ( const Time & time,
Command command )

◆ requestIfNotSet()

MRVIEWER_API void MR::AsyncRequest::requestIfNotSet ( const Time & time,
Command command )

◆ reset()

MRVIEWER_API void MR::AsyncRequest::reset ( )

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