Public Member Functions | Private Attributes | List of all members
swri::TypedTimerImpl< T > Class Template Reference

#include <timer_impl.h>

Inheritance diagram for swri::TypedTimerImpl< T >:
Inheritance graph
[legend]

Public Member Functions

void handleTimer (const ros::TimerEvent &event)
 
 TypedTimerImpl (ros::NodeHandle &nh, ros::Duration period, void(T::*callback)(const ros::TimerEvent &), T *obj)
 
- Public Member Functions inherited from swri::TimerImpl
ros::Duration desiredPeriod () const
 
ros::WallDuration maxDuration () const
 
ros::Duration maxPeriod () const
 
ros::WallDuration meanDuration () const
 
double meanFrequencyHz () const
 
ros::Duration meanPeriod () const
 
ros::WallDuration minDuration () const
 
ros::Duration minPeriod () const
 
void resetStatistics ()
 
size_t ticks () const
 
 TimerImpl ()
 

Private Attributes

void(T::* callback_ )(const ros::TimerEvent &)
 
T * obj_
 

Additional Inherited Members

- Protected Member Functions inherited from swri::TimerImpl
void tickBegin ()
 
void tickEnd ()
 
- Protected Attributes inherited from swri::TimerImpl
ros::Duration desired_period_
 
ros::WallDuration max_duration_
 
ros::Duration max_period_
 
ros::WallDuration min_duration_
 
ros::Duration min_period_
 
ros::Time tick_begin_normal_
 
ros::WallTime tick_begin_wall_
 
int ticks_
 
ros::Timer timer_
 
ros::WallDuration total_durations_
 
ros::Duration total_periods_
 

Detailed Description

template<class T>
class swri::TypedTimerImpl< T >

Definition at line 176 of file timer_impl.h.

Constructor & Destructor Documentation

template<class T >
swri::TypedTimerImpl< T >::TypedTimerImpl ( ros::NodeHandle nh,
ros::Duration  period,
void(T::*)(const ros::TimerEvent &)  callback,
T *  obj 
)
inline

Definition at line 182 of file timer_impl.h.

Member Function Documentation

template<class T >
void swri::TypedTimerImpl< T >::handleTimer ( const ros::TimerEvent event)
inline

Definition at line 197 of file timer_impl.h.

Member Data Documentation

template<class T >
void(T::* swri::TypedTimerImpl< T >::callback_) (const ros::TimerEvent &)
private

Definition at line 179 of file timer_impl.h.

template<class T >
T* swri::TypedTimerImpl< T >::obj_
private

Definition at line 178 of file timer_impl.h.


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


swri_roscpp
Author(s):
autogenerated on Fri Jun 7 2019 22:05:50