Public Member Functions | Private Member Functions | Private Attributes
rosserial_server::Subscriber Class Reference

#include <topic_handlers.h>

List of all members.

Public Member Functions

std::string get_name ()
ROS_DEPRECATED std::string get_topic ()
 Subscriber (ros::NodeHandle &nh, rosserial_msgs::TopicInfo &topic_info, boost::function< void(std::vector< uint8_t > buffer)> write_fn)

Private Member Functions

void handle (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg)

Private Attributes

ros::Subscriber subscriber_
boost::function< void(std::vector
< uint8_t > buffer)> 
write_fn_

Detailed Description

Definition at line 98 of file topic_handlers.h.


Constructor & Destructor Documentation

rosserial_server::Subscriber::Subscriber ( ros::NodeHandle nh,
rosserial_msgs::TopicInfo &  topic_info,
boost::function< void(std::vector< uint8_t > buffer)>  write_fn 
) [inline]

Definition at line 100 of file topic_handlers.h.


Member Function Documentation

std::string rosserial_server::Subscriber::get_name ( ) [inline]

Definition at line 114 of file topic_handlers.h.

Definition at line 111 of file topic_handlers.h.

void rosserial_server::Subscriber::handle ( const boost::shared_ptr< topic_tools::ShapeShifter const > &  msg) [inline, private]

Definition at line 119 of file topic_handlers.h.


Member Data Documentation

Definition at line 129 of file topic_handlers.h.

boost::function<void(std::vector<uint8_t> buffer)> rosserial_server::Subscriber::write_fn_ [private]

Definition at line 130 of file topic_handlers.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Thu Jun 6 2019 19:56:34