|
VR-Engage
2.3
|
Stores a list of functions to be executed after a delay. Functions are executed on DtDe preTick or postTick once tick delay or timer reaches zero.
#include <functionQueue.h>
Public Member Functions | |
| QueuedFunction (std::function< void()> _f, int _ticks, double _time) | |
Public Attributes | |
| std::function< void()> | f |
| int | ticks |
| double | time |
|
inline |
| std::function<void()> makVre::DtFunctionQueue::QueuedFunction::f |
Function to be executed.
Referenced by QueuedFunction().
| int makVre::DtFunctionQueue::QueuedFunction::ticks |
Number of ticks to wait before execution.
Referenced by QueuedFunction().
| double makVre::DtFunctionQueue::QueuedFunction::time |
Time in seconds to wait before execution.
Referenced by QueuedFunction().