#include <image_streamer.h>
Public Member Functions | |
ImageTransportImageStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh) | |
virtual void | start () |
Protected Member Functions | |
virtual void | initialize (const cv::Mat &) |
virtual void | sendImage (const cv::Mat &, const ros::Time &time)=0 |
Protected Attributes | |
std::string | default_transport_ |
image_transport::Subscriber | image_sub_ |
bool | invert_ |
int | output_height_ |
int | output_width_ |
Private Member Functions | |
void | imageCallback (const sensor_msgs::ImageConstPtr &msg) |
Private Attributes | |
bool | initialized_ |
image_transport::ImageTransport | it_ |
Definition at line 43 of file image_streamer.h.
web_video_server::ImageTransportImageStreamer::ImageTransportImageStreamer | ( | const async_web_server_cpp::HttpRequest & | request, |
async_web_server_cpp::HttpConnectionPtr | connection, | ||
ros::NodeHandle & | nh | ||
) |
Definition at line 14 of file image_streamer.cpp.
void web_video_server::ImageTransportImageStreamer::imageCallback | ( | const sensor_msgs::ImageConstPtr & | msg | ) | [private] |
Definition at line 34 of file image_streamer.cpp.
void web_video_server::ImageTransportImageStreamer::initialize | ( | const cv::Mat & | ) | [protected, virtual] |
Reimplemented in web_video_server::LibavStreamer.
Definition at line 30 of file image_streamer.cpp.
virtual void web_video_server::ImageTransportImageStreamer::sendImage | ( | const cv::Mat & | , |
const ros::Time & | time | ||
) | [protected, pure virtual] |
void web_video_server::ImageTransportImageStreamer::start | ( | ) | [virtual] |
Implements web_video_server::ImageStreamer.
Definition at line 24 of file image_streamer.cpp.
std::string web_video_server::ImageTransportImageStreamer::default_transport_ [protected] |
Definition at line 60 of file image_streamer.h.
Reimplemented from web_video_server::ImageStreamer.
Definition at line 56 of file image_streamer.h.
bool web_video_server::ImageTransportImageStreamer::initialized_ [private] |
Definition at line 63 of file image_streamer.h.
bool web_video_server::ImageTransportImageStreamer::invert_ [protected] |
Definition at line 59 of file image_streamer.h.
Definition at line 62 of file image_streamer.h.
int web_video_server::ImageTransportImageStreamer::output_height_ [protected] |
Definition at line 58 of file image_streamer.h.
int web_video_server::ImageTransportImageStreamer::output_width_ [protected] |
Definition at line 57 of file image_streamer.h.