Public Member Functions | Public Attributes | List of all members
WallTimerHelper Class Reference

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_
 
WallDuration expected_period_
 
bool failed_
 
WallTime last_call_
 
bool testing_period_
 
WallTimer timer_
 
int32_t total_calls_
 

Detailed Description

Definition at line 354 of file timer_callbacks.cpp.

Constructor & Destructor Documentation

◆ WallTimerHelper()

WallTimerHelper::WallTimerHelper ( float  period,
bool  oneshot = false 
)
inline

Definition at line 357 of file timer_callbacks.cpp.

Member Function Documentation

◆ callback()

void WallTimerHelper::callback ( const WallTimerEvent e)
inline

Definition at line 368 of file timer_callbacks.cpp.

◆ pretendWork()

void WallTimerHelper::pretendWork ( const float  t)
inline

Definition at line 432 of file timer_callbacks.cpp.

◆ setPeriod()

void WallTimerHelper::setPeriod ( const WallDuration  p,
bool  reset = false 
)
inline

Definition at line 425 of file timer_callbacks.cpp.

Member Data Documentation

◆ calls_before_testing_period_

int WallTimerHelper::calls_before_testing_period_

Definition at line 447 of file timer_callbacks.cpp.

◆ expected_period_

WallDuration WallTimerHelper::expected_period_

Definition at line 439 of file timer_callbacks.cpp.

◆ failed_

bool WallTimerHelper::failed_

Definition at line 441 of file timer_callbacks.cpp.

◆ last_call_

WallTime WallTimerHelper::last_call_

Definition at line 438 of file timer_callbacks.cpp.

◆ testing_period_

bool WallTimerHelper::testing_period_

Definition at line 446 of file timer_callbacks.cpp.

◆ timer_

WallTimer WallTimerHelper::timer_

Definition at line 443 of file timer_callbacks.cpp.

◆ total_calls_

int32_t WallTimerHelper::total_calls_

Definition at line 444 of file timer_callbacks.cpp.


The documentation for this class was generated from the following file:


test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:02:03