bond::Timeout Class Reference

#include <timeout.h>

List of all members.

Public Member Functions

void cancel ()
ros::WallDuration left ()
void reset ()
void setDuration (const ros::WallDuration &d)
void setDuration (const ros::Duration &d)
 Timeout (const ros::WallDuration &d, boost::function< void(void)> on_timeout=boost::function< void(void)>())
 Timeout (const ros::Duration &d, boost::function< void(void)> on_timeout=boost::function< void(void)>())
 ~Timeout ()

Private Member Functions

void timerCallback (const ros::WallTimerEvent &e)

Private Attributes

ros::WallTime deadline_
ros::WallDuration duration_
ros::NodeHandle nh_
boost::function< void(void)> on_timeout_
ros::WallTimer timer_

Detailed Description

Definition at line 37 of file timeout.h.


Constructor & Destructor Documentation

bond::Timeout::Timeout ( const ros::Duration &  d,
boost::function< void(void)>  on_timeout = boost::function<void(void)>() 
)

Definition at line 34 of file timeout.cpp.

bond::Timeout::Timeout ( const ros::WallDuration &  d,
boost::function< void(void)>  on_timeout = boost::function<void(void)>() 
)

Definition at line 40 of file timeout.cpp.

bond::Timeout::~Timeout (  ) 

Definition at line 46 of file timeout.cpp.


Member Function Documentation

void bond::Timeout::cancel (  ) 

Definition at line 69 of file timeout.cpp.

ros::WallDuration bond::Timeout::left (  ) 

Definition at line 74 of file timeout.cpp.

void bond::Timeout::reset (  ) 

Definition at line 62 of file timeout.cpp.

void bond::Timeout::setDuration ( const ros::WallDuration &  d  ) 

Definition at line 56 of file timeout.cpp.

void bond::Timeout::setDuration ( const ros::Duration &  d  ) 

Definition at line 51 of file timeout.cpp.

void bond::Timeout::timerCallback ( const ros::WallTimerEvent &  e  )  [private]

Definition at line 79 of file timeout.cpp.


Member Data Documentation

ros::WallTime bond::Timeout::deadline_ [private]

Definition at line 55 of file timeout.h.

ros::WallDuration bond::Timeout::duration_ [private]

Definition at line 56 of file timeout.h.

ros::NodeHandle bond::Timeout::nh_ [private]

Definition at line 53 of file timeout.h.

boost::function<void(void)> bond::Timeout::on_timeout_ [private]

Definition at line 57 of file timeout.h.

ros::WallTimer bond::Timeout::timer_ [private]

Definition at line 54 of file timeout.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Friends Defines


bondcpp
Author(s): Stuart Glaser
autogenerated on Fri Jan 11 09:53:59 2013