dynamic_graph_manager
dynamic_graph::RosSubscribe Class Reference

Publish ROS information in the dynamic-graph. More...

#include <ros_subscribe.hh>

Inheritance diagram for dynamic_graph::RosSubscribe:
Collaboration diagram for dynamic_graph::RosSubscribe:

Public Types

typedef std::pair< boost::shared_ptr< dynamicgraph::SignalBase< int > >, boost::shared_ptr< ros::Subscriber > > bindedSignal_t
 

Public Member Functions

 RosSubscribe (const std::string &n)
 
virtual std::string getDocString () const
 
void display (std::ostream &os) const
 
void add (const std::string &signal, const std::string &topic)
 
void rm (const std::string &signal)
 
std::string list ()
 
void clear ()
 
template<typename T >
void add (const std::string &signal, const std::string &topic)
 
std::map< std::string, bindedSignal_t > & bindedSignal ()
 
ros::NodeHandle & nh ()
 
template<typename R , typename S >
void callback (boost::shared_ptr< dynamicgraph::SignalPtr< S, int > > signal, const R &data)
 
template<typename R >
void callbackTimestamp (boost::shared_ptr< dynamicgraph::SignalPtr< ptime, int > > signal, const R &data)
 

Private Types

typedef boost::posix_time::ptime ptime
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Private Attributes

ros::NodeHandle & nh_
 
std::map< std::string, bindedSignal_t > bindedSignal_
 

Static Private Attributes

static const std::string docstring_
 

Friends

template<typename T >
class internal::Add
 

Detailed Description

Publish ROS information in the dynamic-graph.


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