44 #include <boost/bind.hpp> 55 , publisher_xmlrpc_uri_(xmlrpc_uri)
56 , transport_hints_(transport_hints)
67 std::string
md5sum, type, latched_str;
68 if (!header.
getValue(
"md5sum", md5sum))
70 ROS_ERROR(
"Publisher header did not have required element: md5sum");
78 ROS_ERROR(
"Publisher header did not have required element: type");
83 if (header.
getValue(
"latching", latched_str))
85 if (latched_str ==
"1")
96 parent->headerReceived(shared_from_this(), header);
std::string publisher_xmlrpc_uri_
unsigned int connection_id_
Provides a way of specifying network transport hints to ros::NodeHandle::subscribe() and someday ros:...
const std::string & getPublisherXMLRPCURI()
static const ConnectionManagerPtr & instance()
const std::string & getMD5Sum()
PublisherLink(const SubscriptionPtr &parent, const std::string &xmlrpc_uri, const TransportHints &transport_hints)
bool setHeader(const Header &header)