#include <image_streamer.h>
Public Member Functions | |
std::string | getTopic () |
ImageStreamer (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, ros::NodeHandle &nh) | |
bool | isInactive () |
virtual void | restreamFrame (double max_age)=0 |
virtual void | start ()=0 |
virtual | ~ImageStreamer () |
Protected Attributes | |
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_ |
Definition at line 13 of file image_streamer.h.
web_video_server::ImageStreamer::ImageStreamer | ( | const async_web_server_cpp::HttpRequest & | request, |
async_web_server_cpp::HttpConnectionPtr | connection, | ||
ros::NodeHandle & | nh | ||
) |
Definition at line 8 of file image_streamer.cpp.
|
virtual |
Definition at line 15 of file image_streamer.cpp.
|
inline |
Definition at line 34 of file image_streamer.h.
|
inline |
Definition at line 23 of file image_streamer.h.
|
pure virtual |
Restreams the last received image frame if older than max_age.
Implemented in web_video_server::ImageTransportImageStreamer, and web_video_server::RosCompressedStreamer.
|
pure virtual |
Implemented in web_video_server::ImageTransportImageStreamer, and web_video_server::RosCompressedStreamer.
|
protected |
Definition at line 38 of file image_streamer.h.
|
protected |
Definition at line 44 of file image_streamer.h.
|
protected |
Definition at line 43 of file image_streamer.h.
|
protected |
Definition at line 42 of file image_streamer.h.
|
protected |
Definition at line 41 of file image_streamer.h.
|
protected |
Definition at line 45 of file image_streamer.h.