|
#include <ArmarXCore/core/util/IceReportSkipper.h>
Public Member Functions | |
bool | checkFrequency (const Ice::Current &c, const std::optional< float > &frequency=std::nullopt) |
checks the frequency and returns true if the minimum required time for the frequency has passed. More... | |
bool | checkFrequency (const std::string &operationName, const std::optional< float > &frequency=std::nullopt) |
IceReportSkipper (float maxFrequency) | |
Definition at line 36 of file IceReportSkipper.h.
IceReportSkipper | ( | float | maxFrequency | ) |
Definition at line 32 of file IceReportSkipper.cpp.
bool checkFrequency | ( | const Ice::Current & | c, |
const std::optional< float > & | frequency = std::nullopt |
||
) |
checks the frequency and returns true if the minimum required time for the frequency has passed.
Usage:
c | |
frequency |
Definition at line 37 of file IceReportSkipper.cpp.
bool checkFrequency | ( | const std::string & | operationName, |
const std::optional< float > & | frequency = std::nullopt |
||
) |