Class to check periods of iterations.
More...
#include <num_collect/util/iteration_period_checker.h>
Class to check periods of iterations.
Definition at line 32 of file iteration_period_checker.h.
◆ iteration_period_checker()
num_collect::util::iteration_period_checker::iteration_period_checker |
( |
index_type | period | ) |
|
|
inlineexplicit |
◆ is_start_of_period()
auto num_collect::util::iteration_period_checker::is_start_of_period |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Check whether the current iteration is a start of the period.
- Returns
- Whether the current iteration is a start of the period.
Definition at line 59 of file iteration_period_checker.h.
◆ iterate()
void num_collect::util::iteration_period_checker::iterate |
( |
| ) |
|
|
inlinenoexcept |
◆ operator bool()
num_collect::util::iteration_period_checker::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Check whether the current iteration is a start of the period.
- Returns
- Whether the current iteration is a start of the period.
Definition at line 83 of file iteration_period_checker.h.
◆ operator++()
◆ reset()
void num_collect::util::iteration_period_checker::reset |
( |
| ) |
|
|
inlinenoexcept |
◆ counter_
index_type num_collect::util::iteration_period_checker::counter_ {0} |
|
private |
◆ period_
index_type num_collect::util::iteration_period_checker::period_ |
|
private |
The documentation for this class was generated from the following file: