Public Member Functions | Private Member Functions | Private Attributes
web_video_server::MultipartStream Class Reference

#include <multipart_stream.h>

List of all members.

Public Member Functions

 MultipartStream (async_web_server_cpp::HttpConnectionPtr &connection, const std::string &boundry="boundarydonotcross", std::size_t max_queue_size=1)
void sendInitialHeader ()
void sendPart (const ros::Time &time, const std::string &type, const boost::asio::const_buffer &buffer, async_web_server_cpp::HttpConnection::ResourcePtr resource)
void sendPartAndClear (const ros::Time &time, const std::string &type, std::vector< unsigned char > &data)
void sendPartFooter (const ros::Time &time)
void sendPartHeader (const ros::Time &time, const std::string &type, size_t payload_size)

Private Member Functions

bool isBusy ()

Private Attributes

std::string boundry_
async_web_server_cpp::HttpConnectionPtr connection_
const std::size_t max_queue_size_
std::queue< PendingFooterpending_footers_

Detailed Description

Definition at line 17 of file multipart_stream.h.


Constructor & Destructor Documentation

web_video_server::MultipartStream::MultipartStream ( async_web_server_cpp::HttpConnectionPtr connection,
const std::string &  boundry = "boundarydonotcross",
std::size_t  max_queue_size = 1 
)

Definition at line 7 of file multipart_stream.cpp.


Member Function Documentation

Definition at line 65 of file multipart_stream.cpp.

Definition at line 14 of file multipart_stream.cpp.

void web_video_server::MultipartStream::sendPart ( const ros::Time time,
const std::string &  type,
const boost::asio::const_buffer &  buffer,
async_web_server_cpp::HttpConnection::ResourcePtr  resource 
)

Definition at line 54 of file multipart_stream.cpp.

void web_video_server::MultipartStream::sendPartAndClear ( const ros::Time time,
const std::string &  type,
std::vector< unsigned char > &  data 
)

Definition at line 44 of file multipart_stream.cpp.

Definition at line 35 of file multipart_stream.cpp.

void web_video_server::MultipartStream::sendPartHeader ( const ros::Time time,
const std::string &  type,
size_t  payload_size 
)

Definition at line 23 of file multipart_stream.cpp.


Member Data Documentation

Definition at line 36 of file multipart_stream.h.

Definition at line 35 of file multipart_stream.h.

Definition at line 34 of file multipart_stream.h.

Definition at line 37 of file multipart_stream.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