Public Member Functions | Protected Member Functions | List of all members
imagezero_image_transport::ImageZeroPublisher Class Reference

#include <imagezero_publisher.h>

Inheritance diagram for imagezero_image_transport::ImageZeroPublisher:
Inheritance graph
[legend]

Public Member Functions

virtual std::string getTransportName () const
 
 ImageZeroPublisher ()
 
virtual ~ImageZeroPublisher ()
 
- Public Member Functions inherited from image_transport::SimplePublisherPlugin< sensor_msgs::CompressedImage >
virtual uint32_t getNumSubscribers () const
 
virtual std::string getTopic () const
 
virtual void publish (const sensor_msgs::Image &message) const
 
virtual void shutdown ()
 
virtual ~SimplePublisherPlugin ()
 
- Public Member Functions inherited from image_transport::PublisherPlugin
void advertise (ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, bool latch=true)
 
void advertise (ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, const SubscriberStatusCallback &connect_cb, const SubscriberStatusCallback &disconnect_cb=SubscriberStatusCallback(), const ros::VoidPtr &tracked_object=ros::VoidPtr(), bool latch=true)
 
virtual void publish (const sensor_msgs::ImageConstPtr &message) const
 
virtual void publish (const sensor_msgs::Image &message, const uint8_t *data) const
 
virtual ~PublisherPlugin ()
 

Protected Member Functions

virtual void advertiseImpl (ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, const image_transport::SubscriberStatusCallback &user_connect_cb, const image_transport::SubscriberStatusCallback &user_disconnect_cb, const ros::VoidPtr &tracked_object, bool latch)
 
virtual void publish (const sensor_msgs::Image &message, const PublishFn &publish_fn) const
 
- Protected Member Functions inherited from image_transport::SimplePublisherPlugin< sensor_msgs::CompressedImage >
virtual void connectCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void disconnectCallback (const ros::SingleSubscriberPublisher &pub)
 
const ros::PublishergetPublisher () const
 
virtual std::string getTopicToAdvertise (const std::string &base_topic) const
 
const ros::NodeHandlenh () const
 

Additional Inherited Members

- Static Public Member Functions inherited from image_transport::PublisherPlugin
static std::string getLookupName (const std::string &transport_name)
 
- Protected Types inherited from image_transport::SimplePublisherPlugin< sensor_msgs::CompressedImage >
typedef boost::function< void(const sensor_msgs::CompressedImage &)> PublishFn
 

Detailed Description

ROS image_transport publisher plugin that will convert sensor_msgs::Image messages to sensor_msgs::CompressedImage messages.

Definition at line 40 of file imagezero_publisher.h.

Constructor & Destructor Documentation

imagezero_image_transport::ImageZeroPublisher::ImageZeroPublisher ( )

Definition at line 35 of file imagezero_publisher.cpp.

virtual imagezero_image_transport::ImageZeroPublisher::~ImageZeroPublisher ( )
inlinevirtual

Definition at line 45 of file imagezero_publisher.h.

Member Function Documentation

void imagezero_image_transport::ImageZeroPublisher::advertiseImpl ( ros::NodeHandle nh,
const std::string &  base_topic,
uint32_t  queue_size,
const image_transport::SubscriberStatusCallback user_connect_cb,
const image_transport::SubscriberStatusCallback user_disconnect_cb,
const ros::VoidPtr tracked_object,
bool  latch 
)
protectedvirtual
virtual std::string imagezero_image_transport::ImageZeroPublisher::getTransportName ( ) const
inlinevirtual

Implements image_transport::PublisherPlugin.

Definition at line 48 of file imagezero_publisher.h.

void imagezero_image_transport::ImageZeroPublisher::publish ( const sensor_msgs::Image &  message,
const PublishFn publish_fn 
) const
protectedvirtual

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


imagezero_image_transport
Author(s): P. J. Reed
autogenerated on Wed Jun 5 2019 22:02:54