Public Member Functions | Public Attributes | Private Attributes
OneShotTimer Class Reference

Horrible hack until ROS Supports this (ROS Trac #1387) More...

#include <one_shot_timer.h>

List of all members.

Public Member Functions

void cb (const ros::TimerEvent &e)
 OneShotTimer ()
const ros::Timeroperator= (const ros::Timer &rhs)
void registerOneShotCb (boost::function< void(const ros::TimerEvent &e)> callback)
void stop ()

Public Attributes

boost::function< void(const
ros::TimerEvent &e)> 
getCb ()

Private Attributes

bool active_
boost::function< void(const
ros::TimerEvent &e)> 
ros::Timer timer_

Detailed Description

Horrible hack until ROS Supports this (ROS Trac #1387)

Definition at line 42 of file one_shot_timer.h.

Constructor & Destructor Documentation

Definition at line 45 of file one_shot_timer.h.

Member Function Documentation

void OneShotTimer::cb ( const ros::TimerEvent e) [inline]

Definition at line 47 of file one_shot_timer.h.

const ros::Timer& OneShotTimer::operator= ( const ros::Timer rhs) [inline]

Definition at line 76 of file one_shot_timer.h.

void OneShotTimer::registerOneShotCb ( boost::function< void(const ros::TimerEvent &e)>  callback) [inline]

Definition at line 65 of file one_shot_timer.h.

void OneShotTimer::stop ( ) [inline]

Definition at line 70 of file one_shot_timer.h.

Member Data Documentation

bool OneShotTimer::active_ [private]

Definition at line 84 of file one_shot_timer.h.

boost::function<void (const ros::TimerEvent& e)> OneShotTimer::callback_ [private]

Definition at line 85 of file one_shot_timer.h.

boost::function<void (const ros::TimerEvent& e)> OneShotTimer::getCb() [inline]

Definition at line 60 of file one_shot_timer.h.

Definition at line 83 of file one_shot_timer.h.

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

Author(s): Eitan Marder-Eppstein, Vijay Pradeep
autogenerated on Thu Jan 2 2014 11:03:50