png_streamers.h
Go to the documentation of this file.
1 #ifndef PNG_STREAMERS_H_
2 #define PNG_STREAMERS_H_
3 
6 #include "async_web_server_cpp/http_request.hpp"
7 #include "async_web_server_cpp/http_connection.hpp"
9 
10 namespace web_video_server
11 {
12 
14 {
15 public:
16  PngStreamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection,
17  ros::NodeHandle& nh);
18  ~PngStreamer();
19 protected:
20  virtual void sendImage(const cv::Mat &, const ros::Time &time);
21 
22 private:
24  int quality_;
25 };
26 
28 {
29 public:
30  boost::shared_ptr<ImageStreamer> create_streamer(const async_web_server_cpp::HttpRequest &request,
31  async_web_server_cpp::HttpConnectionPtr connection,
32  ros::NodeHandle& nh);
33  std::string create_viewer(const async_web_server_cpp::HttpRequest &request);
34 };
35 
37 {
38 public:
39  PngSnapshotStreamer(const async_web_server_cpp::HttpRequest &request,
40  async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle& nh);
42 protected:
43  virtual void sendImage(const cv::Mat &, const ros::Time &time);
44 
45 private:
46  int quality_;
47 };
48 
49 }
50 
51 #endif
PngStreamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh)
virtual void sendImage(const cv::Mat &, const ros::Time &time)


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