Public Types | Public Member Functions | Private Types
twist_mux::LockTopicHandle Class Reference

#include <topic_handle.h>

Inheritance diagram for twist_mux::LockTopicHandle:
Inheritance graph
[legend]

List of all members.

Public Types

typedef base_type::priority_type priority_type

Public Member Functions

void callback (const std_msgs::BoolConstPtr &msg)
bool isLocked () const
 isLocked
 LockTopicHandle (ros::NodeHandle &nh, const std::string &name, const std::string &topic, double timeout, priority_type priority, TwistMux *mux)

Private Types

typedef TopicHandle_
< std_msgs::Bool > 
base_type

Detailed Description

Definition at line 177 of file topic_handle.h.


Member Typedef Documentation

typedef TopicHandle_<std_msgs::Bool> twist_mux::LockTopicHandle::base_type [private]

Definition at line 180 of file topic_handle.h.

Reimplemented from twist_mux::TopicHandle_< std_msgs::Bool >.

Definition at line 183 of file topic_handle.h.


Constructor & Destructor Documentation

twist_mux::LockTopicHandle::LockTopicHandle ( ros::NodeHandle nh,
const std::string &  name,
const std::string &  topic,
double  timeout,
priority_type  priority,
TwistMux mux 
) [inline]

Definition at line 185 of file topic_handle.h.


Member Function Documentation

void twist_mux::LockTopicHandle::callback ( const std_msgs::BoolConstPtr &  msg) [inline]

Definition at line 200 of file topic_handle.h.

bool twist_mux::LockTopicHandle::isLocked ( ) const [inline]

isLocked

Returns:
true if has expired or locked (i.e. bool message data is true)

Definition at line 195 of file topic_handle.h.


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


twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Fri Aug 28 2015 13:25:02