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

#include <jpeg_streamers.h>

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

Public Member Functions

 JpegSnapshotStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
 
 ~JpegSnapshotStreamer ()
 
- 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 jpeg_streamers.h.

Constructor & Destructor Documentation

◆ JpegSnapshotStreamer()

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

Definition at line 49 of file jpeg_streamers.cpp.

◆ ~JpegSnapshotStreamer()

web_video_server::JpegSnapshotStreamer::~JpegSnapshotStreamer ( )

Definition at line 57 of file jpeg_streamers.cpp.

Member Function Documentation

◆ sendImage()

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

Implements web_video_server::ImageTransportImageStreamer.

Definition at line 63 of file jpeg_streamers.cpp.

Member Data Documentation

◆ quality_

int web_video_server::JpegSnapshotStreamer::quality_
private

Definition at line 46 of file jpeg_streamers.h.


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


web_video_server
Author(s): Mitchell Wills
autogenerated on Wed Mar 2 2022 01:13:36