43 type,
const std::string& topic,
size_t queueSize,
bool latch,
const 59 options.
latch = latch;
74 return impl->publisher;
85 return impl->publisher.getTopic();
92 return impl->publisher.getNumSubscribers();
99 return impl->publisher.isLatched();
119 impl->publish(variant);
121 ROS_ASSERT_MSG(
false,
"Call to publish() on an invalid Publisher");
boost::function< void(const SingleSubscriberPublisher &)> SubscriberStatusCallback
void publish(const boost::shared_ptr< M > &message) const
Header file providing the Message class interface.
Header file providing the Publisher class interface.
void connectCallback(const ros::SingleSubscriberPublisher &)
Header file defining exceptions for the variant topic tools.
ros::NodeHandlePtr nodeHandle
Header file providing the DataTypeRegistry class interface.
#define ROS_ASSERT_MSG(cond,...)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
const char * definition()