Public 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")
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 ()
void sendPartHeader (const ros::Time &time, const std::string &type, size_t payload_size)

Private Attributes

std::string boundry_
async_web_server_cpp::HttpConnectionPtr connection_

Detailed Description

Definition at line 10 of file multipart_stream.h.


Constructor & Destructor Documentation

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

Definition at line 7 of file multipart_stream.cpp.


Member Function Documentation

Definition at line 10 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 42 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 35 of file multipart_stream.cpp.

Definition at line 31 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 19 of file multipart_stream.cpp.


Member Data Documentation

Definition at line 23 of file multipart_stream.h.

Definition at line 22 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 Sun Jan 22 2017 04:06:43