Public Member Functions | Protected Member Functions | Private Attributes | List of all members
web_video_server::PngSnapshotStreamer Class Reference

#include <png_streamers.h>

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

Public Member Functions

 PngSnapshotStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
 
 ~PngSnapshotStreamer ()
 
- Public Member Functions inherited from web_video_server::ImageTransportImageStreamer
 ImageTransportImageStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
 
virtual void start ()
 
virtual ~ImageTransportImageStreamer ()
 
- Public Member Functions inherited from web_video_server::ImageStreamer
std::string getTopic ()
 
 ImageStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
 
bool isInactive ()
 
virtual ~ImageStreamer ()
 

Protected Member Functions

virtual void sendImage (const cv::Mat &, const ros::Time &time)
 
- Protected Member Functions inherited from web_video_server::ImageTransportImageStreamer
virtual void initialize (const cv::Mat &)
 
virtual void restreamFrame (double max_age)
 

Private Attributes

int quality_
 

Additional Inherited Members

- Protected Attributes inherited from web_video_server::ImageTransportImageStreamer
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_
 
- Protected Attributes inherited from web_video_server::ImageStreamer
async_web_server_cpp::HttpConnectionPtr connection_
 
image_transport::Subscriber image_sub_
 
bool inactive_
 
ros::NodeHandle nh_
 
async_web_server_cpp::HttpRequest request_
 
std::string topic_
 

Detailed Description

Definition at line 36 of file png_streamers.h.

Constructor & Destructor Documentation

web_video_server::PngSnapshotStreamer::PngSnapshotStreamer ( const async_web_server_cpp::HttpRequest &  request,
async_web_server_cpp::HttpConnectionPtr  connection,
ros::NodeHandle nh 
)

Definition at line 49 of file png_streamers.cpp.

web_video_server::PngSnapshotStreamer::~PngSnapshotStreamer ( )

Definition at line 57 of file png_streamers.cpp.

Member Function Documentation

void web_video_server::PngSnapshotStreamer::sendImage ( const cv::Mat &  img,
const ros::Time time 
)
protectedvirtual

Implements web_video_server::ImageTransportImageStreamer.

Definition at line 63 of file png_streamers.cpp.

Member Data Documentation

int web_video_server::PngSnapshotStreamer::quality_
private

Definition at line 46 of file png_streamers.h.


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


web_video_server
Author(s): Mitchell Wills
autogenerated on Wed Jun 5 2019 20:38:04