Go to the documentation of this file.
35 #ifndef IMAGE_TRANSPORT_RAW_PUBLISHER_H
36 #define IMAGE_TRANSPORT_RAW_PUBLISHER_H
48 class RawPublisher :
public SimplePublisherPlugin<sensor_msgs::Image>
60 virtual void publish(
const sensor_msgs::ImageConstPtr& message)
const
66 virtual void publish(
const sensor_msgs::Image& message,
const uint8_t* data)
const;
69 virtual void publish(
const sensor_msgs::Image& message,
const PublishFn& publish_fn)
const
const ros::Publisher & getPublisher() const
Returns the internal ros::Publisher.
void publish(const boost::shared_ptr< M > &message) const
virtual std::string getTransportName() const
Get a string identifier for the transport provided by this plugin.
boost::function< void(const sensor_msgs::Image &)> PublishFn
Generic function for publishing the internal message type.
virtual std::string getTopicToAdvertise(const std::string &base_topic) const
Return the communication topic name for a given base topic.
virtual void publish(const sensor_msgs::ImageConstPtr &message) const
Publish an image using the transport associated with this PublisherPlugin.
image_transport
Author(s): Patrick Mihelich
autogenerated on Sat Jan 20 2024 03:14:50