Public Member Functions | Private Member Functions | Private Attributes
AsyncReadBuffer< AsyncReadStream > Class Template Reference

#include <AsyncReadBuffer.h>

List of all members.

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_

Detailed Description

template<typename AsyncReadStream>
class AsyncReadBuffer< AsyncReadStream >

Definition at line 42 of file AsyncReadBuffer.h.


Constructor & Destructor Documentation

template<typename AsyncReadStream>
AsyncReadBuffer< AsyncReadStream >::AsyncReadBuffer ( AsyncReadStream &  s,
size_t  capacity,
boost::function< void(const boost::system::error_code &)>  error_callback 
) [inline]

Definition at line 45 of file AsyncReadBuffer.h.


Member Function Documentation

template<typename AsyncReadStream>
void AsyncReadBuffer< AsyncReadStream >::read ( size_t  read_count,
boost::function< void(ros::serialization::IStream &)>  callback 
) [inline]

Definition at line 52 of file AsyncReadBuffer.h.

template<typename AsyncReadStream>
void 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 70 of file AsyncReadBuffer.h.


Member Data Documentation

template<typename AsyncReadStream>
boost::function<void(const boost::system::error_code&)> AsyncReadBuffer< AsyncReadStream >::error_callback_ [private]

Definition at line 85 of file AsyncReadBuffer.h.

template<typename AsyncReadStream>
std::vector<uint8_t> AsyncReadBuffer< AsyncReadStream >::mem_ [private]

Definition at line 84 of file AsyncReadBuffer.h.

template<typename AsyncReadStream>
AsyncReadStream& AsyncReadBuffer< AsyncReadStream >::stream_ [private]

Definition at line 83 of file AsyncReadBuffer.h.


The documentation for this class was generated from the following file:


rosserial_server
Author(s): Mike Purvis
autogenerated on Fri Aug 28 2015 12:44:56