FadingCounter.h
Go to the documentation of this file.
Counts events, forgetting old ones. Useful for "3 errors/minute" limits.
Definition: FadingCounter.h:16
double horizon
read-only memory horizon in seconds; older events are forgotten
Definition: FadingCounter.h:29
void configure(double horizonSeconds)
0=remember nothing; -1=forget nothing; new value triggers clear()
Definition: FadingCounter.cc:33