Public Member Functions | Protected Attributes
web_video_server::ImageStreamer Class Reference

#include <image_streamer.h>

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

List of all members.

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_

Detailed Description

Definition at line 13 of file image_streamer.h.


Constructor & Destructor Documentation

Definition at line 8 of file image_streamer.cpp.

Definition at line 15 of file image_streamer.cpp.


Member Function Documentation

Definition at line 34 of file image_streamer.h.

Definition at line 23 of file image_streamer.h.

virtual void web_video_server::ImageStreamer::restreamFrame ( double  max_age) [pure virtual]

Restreams the last received image frame if older than max_age.

Implemented in web_video_server::ImageTransportImageStreamer, and web_video_server::RosCompressedStreamer.

virtual void web_video_server::ImageStreamer::start ( ) [pure virtual]

Member Data Documentation

Definition at line 38 of file image_streamer.h.

Definition at line 43 of file image_streamer.h.

Definition at line 42 of file image_streamer.h.

Definition at line 41 of file image_streamer.h.

std::string web_video_server::ImageStreamer::topic_ [protected]

Definition at line 45 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