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 353 of file timer_callbacks.cpp.

Constructor & Destructor Documentation

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

Definition at line 356 of file timer_callbacks.cpp.

Member Function Documentation

void WallTimerHelper::callback ( const WallTimerEvent e)
inline

Definition at line 367 of file timer_callbacks.cpp.

void WallTimerHelper::pretendWork ( const float  t)
inline

Definition at line 430 of file timer_callbacks.cpp.

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

Definition at line 423 of file timer_callbacks.cpp.

Member Data Documentation

int WallTimerHelper::calls_before_testing_period_

Definition at line 445 of file timer_callbacks.cpp.

WallDuration WallTimerHelper::expected_period_

Definition at line 437 of file timer_callbacks.cpp.

bool WallTimerHelper::failed_

Definition at line 439 of file timer_callbacks.cpp.

WallTime WallTimerHelper::last_call_

Definition at line 436 of file timer_callbacks.cpp.

bool WallTimerHelper::testing_period_

Definition at line 444 of file timer_callbacks.cpp.

WallTimer WallTimerHelper::timer_

Definition at line 441 of file timer_callbacks.cpp.

int32_t WallTimerHelper::total_calls_

Definition at line 442 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
autogenerated on Mon Nov 2 2020 03:52:46