compressed_image_transport::CompressedPublisher Class Reference

#include <compressed_publisher.h>

List of all members.

Public Member Functions

virtual std::string getTransportName () const
virtual ~CompressedPublisher ()

Protected Types

typedef
compressed_image_transport::CompressedPublisherConfig 
Config
typedef
dynamic_reconfigure::Server
< Config
ReconfigureServer

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)
void configCb (Config &config, uint32_t level)
virtual void publish (const sensor_msgs::Image &message, const PublishFn &publish_fn) const

Protected Attributes

Config config_
boost::shared_ptr
< ReconfigureServer
reconfigure_server_

Detailed Description

Definition at line 6 of file compressed_publisher.h.


Member Typedef Documentation

Definition at line 23 of file compressed_publisher.h.

typedef dynamic_reconfigure::Server<Config> compressed_image_transport::CompressedPublisher::ReconfigureServer [protected]

Definition at line 24 of file compressed_publisher.h.


Constructor & Destructor Documentation

virtual compressed_image_transport::CompressedPublisher::~CompressedPublisher (  )  [inline, virtual]

Definition at line 6 of file compressed_publisher.h.


Member Function Documentation

void compressed_image_transport::CompressedPublisher::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 
) [protected, virtual]

Definition at line 7 of file compressed_publisher.cpp.

void compressed_image_transport::CompressedPublisher::configCb ( Config config,
uint32_t  level 
) [protected]

Definition at line 21 of file compressed_publisher.cpp.

virtual std::string compressed_image_transport::CompressedPublisher::getTransportName (  )  const [inline, virtual]

Definition at line 8 of file compressed_publisher.h.

void compressed_image_transport::CompressedPublisher::publish ( const sensor_msgs::Image &  message,
const PublishFn &  publish_fn 
) const [protected, virtual]

Todo:
This probably misses some cases
Todo:
What about bayer??
Todo:
Try to avoid deprecated fromImage
Todo:
Use cv::imencode, can write directly to compressed.data

Definition at line 26 of file compressed_publisher.cpp.


Member Data Documentation

Definition at line 26 of file compressed_publisher.h.

Definition at line 25 of file compressed_publisher.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends


compressed_image_transport
Author(s): Patrick Mihelich
autogenerated on Fri Jan 11 09:40:34 2013