Horrible hack until ROS Supports this (ROS Trac #1387) More...
#include <one_shot_timer.h>
Public Member Functions | |
void | cb (const ros::TimerEvent &e) |
OneShotTimer () | |
const ros::Timer & | operator= (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)> | callback_ |
ros::Timer | timer_ |
Horrible hack until ROS Supports this (ROS Trac #1387)
Definition at line 42 of file one_shot_timer.h.
OneShotTimer::OneShotTimer | ( | ) | [inline] |
Definition at line 45 of file one_shot_timer.h.
void OneShotTimer::cb | ( | const ros::TimerEvent & | e | ) | [inline] |
Definition at line 48 of file one_shot_timer.h.
const ros::Timer& OneShotTimer::operator= | ( | const ros::Timer & | rhs | ) | [inline] |
Definition at line 77 of file one_shot_timer.h.
void OneShotTimer::registerOneShotCb | ( | boost::function< void(const ros::TimerEvent &e)> | callback | ) | [inline] |
Definition at line 66 of file one_shot_timer.h.
void OneShotTimer::stop | ( | ) | [inline] |
Definition at line 71 of file one_shot_timer.h.
bool OneShotTimer::active_ [private] |
Definition at line 86 of file one_shot_timer.h.
boost::function<void(const ros::TimerEvent & e)> OneShotTimer::callback_ [private] |
Definition at line 87 of file one_shot_timer.h.
boost::function<void(const ros::TimerEvent & e)> OneShotTimer::getCb() [inline] |
Definition at line 61 of file one_shot_timer.h.
ros::Timer OneShotTimer::timer_ [private] |
Definition at line 85 of file one_shot_timer.h.