Public Types | Public Member Functions | Private Types | List of all members
twist_mux::VelocityTopicHandle Class Reference

#include <topic_handle.h>

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

Public Types

typedef base_type::priority_type priority_type
 
- Public Types inherited from twist_mux::TopicHandle_< geometry_msgs::Twist >
typedef int priority_type
 

Public Member Functions

void callback (const geometry_msgs::TwistConstPtr &msg)
 
bool isMasked (priority_type lock_priority) const
 
 VelocityTopicHandle (ros::NodeHandle &nh, const std::string &name, const std::string &topic, double timeout, priority_type priority, TwistMux *mux)
 
- Public Member Functions inherited from twist_mux::TopicHandle_< geometry_msgs::Twist >
const geometry_msgs::Twist & getMessage () const
 
const std::string & getName () const
 
const priority_typegetPriority () const
 getPriority Priority getter More...
 
const geometry_msgs::Twist & getStamp () const
 
const double & getTimeout () const
 
const std::string & getTopic () const
 
bool hasExpired () const
 hasExpired More...
 
 TopicHandle_ (ros::NodeHandle &nh, const std::string &name, const std::string &topic, double timeout, priority_type priority, TwistMux *mux)
 TopicHandle_. More...
 
virtual ~TopicHandle_ ()
 

Private Types

typedef TopicHandle_< geometry_msgs::Twist > base_type
 

Additional Inherited Members

- Protected Attributes inherited from twist_mux::TopicHandle_< geometry_msgs::Twist >
geometry_msgs::Twist msg_
 
TwistMuxmux_
 
std::string name_
 
ros::NodeHandle nh_
 
priority_type priority_
 
ros::Time stamp_
 
ros::Subscriber subscriber_
 
double timeout_
 
std::string topic_
 

Detailed Description

Definition at line 142 of file topic_handle.h.

Member Typedef Documentation

◆ base_type

typedef TopicHandle_<geometry_msgs::Twist> twist_mux::VelocityTopicHandle::base_type
private

Definition at line 145 of file topic_handle.h.

◆ priority_type

Definition at line 148 of file topic_handle.h.

Constructor & Destructor Documentation

◆ VelocityTopicHandle()

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

Definition at line 150 of file topic_handle.h.

Member Function Documentation

◆ callback()

void twist_mux::VelocityTopicHandle::callback ( const geometry_msgs::TwistConstPtr &  msg)
inline

Definition at line 161 of file topic_handle.h.

◆ isMasked()

bool twist_mux::VelocityTopicHandle::isMasked ( priority_type  lock_priority) const
inline

Definition at line 156 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 Wed Oct 26 2022 02:14:17