Public Member Functions | Protected Member Functions | Protected Attributes
jsk_topic_tools::ConnectionBasedNodelet Class Reference

#include <connection_based_nodelet.h>

Inheritance diagram for jsk_topic_tools::ConnectionBasedNodelet:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConnectionBasedNodelet ()

Protected Member Functions

template<class T >
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
virtual void onInit ()
virtual void subscribe ()=0
virtual void unsubscribe ()=0

Protected Attributes

boost::mutex connection_mutex_
boost::shared_ptr
< ros::NodeHandle
pnh_
std::vector< ros::Publisherpublishers_
bool subscribed_

Detailed Description

Definition at line 47 of file connection_based_nodelet.h.


Constructor & Destructor Documentation

Definition at line 50 of file connection_based_nodelet.h.


Member Function Documentation

template<class T >
ros::Publisher jsk_topic_tools::ConnectionBasedNodelet::advertise ( ros::NodeHandle nh,
std::string  topic,
int  queue_size 
) [inline, protected]

Definition at line 58 of file connection_based_nodelet.h.

Definition at line 45 of file connection_based_nodelet.cpp.

void jsk_topic_tools::ConnectionBasedNodelet::onInit ( ) [protected, virtual]
virtual void jsk_topic_tools::ConnectionBasedNodelet::subscribe ( ) [protected, pure virtual]
virtual void jsk_topic_tools::ConnectionBasedNodelet::unsubscribe ( ) [protected, pure virtual]

Member Data Documentation

Definition at line 72 of file connection_based_nodelet.h.

Definition at line 74 of file connection_based_nodelet.h.

Definition at line 73 of file connection_based_nodelet.h.

Definition at line 75 of file connection_based_nodelet.h.


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


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Sun Jan 25 2015 00:30:41