|
#include <ArmarXCore/core/util/Throttler.h>
Public Member Functions | |
bool | check (const armarx::DateTime ×tamp) noexcept |
Check if enough time has passed since this function last returned true. More... | |
Throttler (float frequency) | |
Construct a new Throttler object. More... | |
The Throttler class.
Use this class to e.g. process data only at a certain frequency.
Definition at line 34 of file Throttler.h.
Construct a new Throttler object.
frequency | in [Hz] to check |
Definition at line 6 of file Throttler.cpp.
|
noexcept |
Check if enough time has passed since this function last returned true.
timestamp | in [µs] |
Definition at line 9 of file Throttler.cpp.