#include <IntervalScheduler.h>
|
|
| xiiIntervalSchedulerBase (xiiTime minInterval, xiiTime maxInterval) |
|
xiiUInt32 | GetHistogramIndex (xiiTime value) |
| | Copyright (c) Theophilus Eriata. All Rights Reserved.
|
|
xiiTime | GetHistogramSlotValue (xiiUInt32 uiIndex) |
|
static float | GetRandomZeroToOne (int pos, xiiUInt32 &seed) |
|
static xiiTime | GetRandomTimeJitter (int pos, xiiUInt32 &seed) |
|
xiiTime | m_MinInterval |
|
xiiTime | m_MaxInterval |
|
double | m_fInvIntervalRange |
|
xiiTime | m_CurrentTime |
|
xiiUInt32 | m_uiSeed = 0 |
|
xiiUInt32 | m_Histogram [HistogramSize] = {} |
|
xiiTime | m_HistogramSlotValues [HistogramSize] = {} |
|
static constexpr xiiUInt32 | HistogramSize = 32 |
template<typename T>
class xiiIntervalScheduler< T >
- See also
- xiiIntervalSchedulerBase
◆ Update()
Advances the scheduler by deltaTime and triggers runWorkCallback for each work that should be run during this update step. Since it is not possible to maintain the exact interval all the time the actual delta time for the work is also passed to runWorkCallback.
The documentation for this class was generated from the following files: