Public Member Functions | |
void | callback (const WallTimerEvent &e) |
void | pretendWork (const float t) |
void | setPeriod (const WallDuration p, bool reset=false) |
WallTimerHelper (float period, bool oneshot=false) | |
Public Attributes | |
int | calls_before_testing_period_ |
WallTime | expected_next_call_ |
WallDuration | expected_period_ |
bool | failed_ |
WallTime | last_call_ |
WallDuration | last_duration_ |
bool | testing_period_ |
WallTimer | timer_ |
int32_t | total_calls_ |
Definition at line 57 of file timer_callbacks.cpp.
WallTimerHelper::WallTimerHelper | ( | float | period, |
bool | oneshot = false |
||
) | [inline] |
Definition at line 60 of file timer_callbacks.cpp.
void WallTimerHelper::callback | ( | const WallTimerEvent & | e | ) | [inline] |
Definition at line 71 of file timer_callbacks.cpp.
void WallTimerHelper::pretendWork | ( | const float | t | ) | [inline] |
Definition at line 149 of file timer_callbacks.cpp.
void WallTimerHelper::setPeriod | ( | const WallDuration | p, |
bool | reset = false |
||
) | [inline] |
Definition at line 133 of file timer_callbacks.cpp.
Definition at line 166 of file timer_callbacks.cpp.
Definition at line 156 of file timer_callbacks.cpp.
Definition at line 157 of file timer_callbacks.cpp.
Definition at line 160 of file timer_callbacks.cpp.
Definition at line 155 of file timer_callbacks.cpp.
Definition at line 158 of file timer_callbacks.cpp.
Definition at line 165 of file timer_callbacks.cpp.
Definition at line 162 of file timer_callbacks.cpp.
int32_t WallTimerHelper::total_calls_ |
Definition at line 163 of file timer_callbacks.cpp.