#include <async_read_buffer.h>
Public Member Functions | |
AsyncReadBuffer (AsyncReadStream &s, size_t capacity, boost::function< void(const boost::system::error_code &)> error_callback) | |
void | read (size_t read_count, boost::function< void(ros::serialization::IStream &)> callback) |
Private Member Functions | |
void | read_cb (const boost::system::error_code &error, size_t bytes_transferred, boost::function< void(ros::serialization::IStream &)> callback) |
Private Attributes | |
boost::function< void(const boost::system::error_code &)> | error_callback_ |
std::vector< uint8_t > | mem_ |
AsyncReadStream & | stream_ |
Definition at line 47 of file async_read_buffer.h.
rosserial_server::AsyncReadBuffer< AsyncReadStream >::AsyncReadBuffer | ( | AsyncReadStream & | s, |
size_t | capacity, | ||
boost::function< void(const boost::system::error_code &)> | error_callback | ||
) | [inline] |
Definition at line 50 of file async_read_buffer.h.
void rosserial_server::AsyncReadBuffer< AsyncReadStream >::read | ( | size_t | read_count, |
boost::function< void(ros::serialization::IStream &)> | callback | ||
) | [inline] |
Definition at line 57 of file async_read_buffer.h.
void rosserial_server::AsyncReadBuffer< AsyncReadStream >::read_cb | ( | const boost::system::error_code & | error, |
size_t | bytes_transferred, | ||
boost::function< void(ros::serialization::IStream &)> | callback | ||
) | [inline, private] |
Definition at line 75 of file async_read_buffer.h.
boost::function<void(const boost::system::error_code&)> rosserial_server::AsyncReadBuffer< AsyncReadStream >::error_callback_ [private] |
Definition at line 100 of file async_read_buffer.h.
std::vector<uint8_t> rosserial_server::AsyncReadBuffer< AsyncReadStream >::mem_ [private] |
Definition at line 99 of file async_read_buffer.h.
AsyncReadStream& rosserial_server::AsyncReadBuffer< AsyncReadStream >::stream_ [private] |
Definition at line 98 of file async_read_buffer.h.