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

Public Member Functions

void callback (const TimerEvent &)
 
 TimerHelper (Duration period, bool oneshot=false)
 
 TimerHelper (Rate r, bool oneshot=false)
 

Public Attributes

Duration expected_period_
 
bool failed_
 
Timer timer_
 
int32_t total_calls_
 

Detailed Description

Definition at line 650 of file timer_callbacks.cpp.

Constructor & Destructor Documentation

◆ TimerHelper() [1/2]

TimerHelper::TimerHelper ( Duration  period,
bool  oneshot = false 
)
inline

Definition at line 653 of file timer_callbacks.cpp.

◆ TimerHelper() [2/2]

TimerHelper::TimerHelper ( Rate  r,
bool  oneshot = false 
)
inline

Definition at line 662 of file timer_callbacks.cpp.

Member Function Documentation

◆ callback()

void TimerHelper::callback ( const TimerEvent )
inline

Definition at line 671 of file timer_callbacks.cpp.

Member Data Documentation

◆ expected_period_

Duration TimerHelper::expected_period_

Definition at line 678 of file timer_callbacks.cpp.

◆ failed_

bool TimerHelper::failed_

Definition at line 676 of file timer_callbacks.cpp.

◆ timer_

Timer TimerHelper::timer_

Definition at line 680 of file timer_callbacks.cpp.

◆ total_calls_

int32_t TimerHelper::total_calls_

Definition at line 681 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