54 bool done(u32 current_time)
const {
75 void reset(u32 start_time, u32 duration) {
u32 mStartTime
Start timestamp.
u32 elapsed(u32 current_time) const
Get elapsed time since timeout started.
u32 mDuration
Timeout duration.
bool done(u32 current_time) const
Check if the timeout has completed.
void reset(u32 start_time)
Reset the timeout to start counting from specified time.
Timeout(u32 start_time, u32 duration)
Construct a timeout with specified start time and duration.
void reset(u32 start_time, u32 duration)
Reset with a new start time and duration.
Timeout() FL_NOEXCEPT
Default constructor - creates an already-expired timeout.
Base definition for an LED controller.