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

#include <topic_handlers.h>

List of all members.

Public Member Functions

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 88 of file topic_handlers.h.


Constructor & Destructor Documentation

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

Definition at line 90 of file topic_handlers.h.


Member Function Documentation

std::string Subscriber::get_topic ( ) [inline]

Definition at line 101 of file topic_handlers.h.

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

Definition at line 106 of file topic_handlers.h.


Member Data Documentation

Definition at line 116 of file topic_handlers.h.

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

Definition at line 117 of file topic_handlers.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Fri Aug 28 2015 12:44:56