#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 () |
| clears command | |
Complete given command in given time may know only one command at a time terminate listener in destructor