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_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 93 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 95 of file topic_handlers.h.


Member Function Documentation

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

Definition at line 106 of file topic_handlers.h.

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

Definition at line 111 of file topic_handlers.h.


Member Data Documentation

Definition at line 121 of file topic_handlers.h.

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

Definition at line 122 of file topic_handlers.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Sat Oct 7 2017 03:08:51