2#include <NDEVR/TimeSpan.h>
37 if (update_for_next_period)
RateLimiter(fltp08 seconds)
Constructs a RateLimiter with the specified minimum interval between firings.
bool shouldFire(Time time, bool update_for_next_period=true)
Checks whether enough time has elapsed to allow the action to fire.
TimeSpan m_update_period
The time span defining the minimum interval between firings.
void setCurrent(Time time)
Sets the current reference time, resetting the rate limiter period.
Stores a time span, or difference between two times, with an optional start time.
Represents a timestamp with utilities for manipulation and conversion.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.