std::unique_ptr< Impl > _impl
double untilTime(double t) const
Returns the time difference until the overall time reaches the given time.
void resetProgress()
Resets the progress of the time window back to 0.
void resetTo(double timeStart)
Resets the handler to the given time.
bool reachedEndOfWindow(double timeWindowSize) const
double untilProgress(double windowSize) const
double time() const
Returns the current time as a double.
double untilWindowEnd(double timeWindowSize) const
Returns the time distance to the possibly truncated end of the current time window.
void completeTimeWindow(double timeWindowSize)
TimeHandler & operator=(const TimeHandler &)
double windowStart() const
Returns the window start as a double.
double windowProgress() const
Returns the window progress as a double.
void progressBy(double dt)
Progress the time window by the given amount.