Public Member Functions | Public Attributes
WallTimerHelper Class Reference

List of all members.

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_

Detailed Description

Definition at line 57 of file timer_callbacks.cpp.


Constructor & Destructor Documentation

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

Definition at line 60 of file timer_callbacks.cpp.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 163 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
autogenerated on Tue Mar 7 2017 03:45:24