Class nebula::util::RateChecker
ClassList > nebula > util > RateChecker
#include <rate_checker.hpp>
Public Functions
Type | Name |
---|---|
RateChecker (double min_rate_hz, double max_rate_hz, std::size_t buffer_size) |
|
double | get_average () const |
bool | is_full () const |
bool | is_valid () const |
void | update (double stamp) |
Public Functions Documentation
function RateChecker
inline nebula::util::RateChecker::RateChecker (
double min_rate_hz,
double max_rate_hz,
std::size_t buffer_size
)
function get_average
inline double nebula::util::RateChecker::get_average () const
function is_full
inline bool nebula::util::RateChecker::is_full () const
function is_valid
inline bool nebula::util::RateChecker::is_valid () const
function update
inline void nebula::util::RateChecker::update (
double stamp
)
The documentation for this class was generated from the following file nebula_common/include/nebula_common/util/rate_checker.hpp