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)>() | |
|
) |
| | |
bond::Timeout::Timeout |
( |
const ros::WallDuration & |
d, |
|
|
boost::function< void(void)> |
on_timeout = boost::function<void(void)>() | |
|
) |
| | |
bond::Timeout::~Timeout |
( |
|
) |
|
Member Function Documentation
void bond::Timeout::cancel |
( |
|
) |
|
ros::WallDuration bond::Timeout::left |
( |
|
) |
|
void bond::Timeout::reset |
( |
|
) |
|
void bond::Timeout::setDuration |
( |
const ros::WallDuration & |
d |
) |
|
void bond::Timeout::setDuration |
( |
const ros::Duration & |
d |
) |
|
void bond::Timeout::timerCallback |
( |
const ros::WallTimerEvent & |
e |
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following files: