Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
web_video_server::ImageTransportImageStreamer Class Reference

#include <image_streamer.h>

Inheritance diagram for web_video_server::ImageTransportImageStreamer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImageTransportImageStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
virtual void start ()
virtual ~ImageTransportImageStreamer ()

Protected Member Functions

virtual void initialize (const cv::Mat &)
virtual void restreamFrame (double max_age)
virtual void sendImage (const cv::Mat &, const ros::Time &time)=0

Protected Attributes

std::string default_transport_
image_transport::Subscriber image_sub_
bool invert_
ros::Time last_frame
int output_height_
cv::Mat output_size_image
int output_width_
boost::mutex send_mutex_

Private Member Functions

void imageCallback (const sensor_msgs::ImageConstPtr &msg)

Private Attributes

bool initialized_
image_transport::ImageTransport it_

Detailed Description

Definition at line 49 of file image_streamer.h.


Constructor & Destructor Documentation

Definition at line 19 of file image_streamer.cpp.

Definition at line 29 of file image_streamer.cpp.


Member Function Documentation

void web_video_server::ImageTransportImageStreamer::imageCallback ( const sensor_msgs::ImageConstPtr &  msg) [private]

Definition at line 84 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 49 of file image_streamer.cpp.

void web_video_server::ImageTransportImageStreamer::restreamFrame ( double  max_age) [protected, virtual]

Restreams the last received image frame if older than max_age.

Implements web_video_server::ImageStreamer.

Definition at line 53 of file image_streamer.cpp.

virtual void web_video_server::ImageTransportImageStreamer::sendImage ( const cv::Mat &  ,
const ros::Time time 
) [protected, pure virtual]

Implements web_video_server::ImageStreamer.

Definition at line 33 of file image_streamer.cpp.


Member Data Documentation

Definition at line 66 of file image_streamer.h.

Reimplemented from web_video_server::ImageStreamer.

Definition at line 62 of file image_streamer.h.

Definition at line 74 of file image_streamer.h.

Definition at line 65 of file image_streamer.h.

Definition at line 73 of file image_streamer.h.

Definition at line 68 of file image_streamer.h.

Definition at line 64 of file image_streamer.h.

Definition at line 69 of file image_streamer.h.

Definition at line 63 of file image_streamer.h.

Definition at line 70 of file image_streamer.h.


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


web_video_server
Author(s): Mitchell Wills
autogenerated on Thu Jun 6 2019 18:02:48