79 bool m_firstIteration =
true;
81 uint32_t m_prevPrevTime = 0;
82 const int m_originalCompStatus;
83 const uint32_t m_period;
This class exists to simplify the cancellation logic in a motion function.
bool wait()
wait a certain amount of time
uint32_t getDelta()
Get the amount of time between the current iteration and the last iteration.
MotionCancelHelper(uint32_t period)
Construct a new Motion Cancel Helper object.