Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
segway::RmpUsb::Impl Class Reference

List of all members.

Public Member Functions

 Impl (const std::string &rDevicePort)
size_t Read (Bytes &rData, float timeout, boost::system::error_code &rErrorCode)
size_t Write (const Bytes &rData, float timeout, boost::system::error_code &rErrorCode)

Private Member Functions

void CheckDeadline ()

Static Private Member Functions

static void Handle (const boost::system::error_code &rErrorCodeIn, size_t sizeIn, boost::system::error_code *pErrorCodeOut, std::size_t *pSizeOut)

Private Attributes

boost::asio::io_service m_IoService
boost::asio::serial_port m_SerialPort
boost::asio::deadline_timer m_Timer

Detailed Description

Definition at line 57 of file RmpUsb.cpp.


Constructor & Destructor Documentation

segway::RmpUsb::Impl::Impl ( const std::string &  rDevicePort)

Definition at line 137 of file RmpUsb.cpp.


Member Function Documentation

Definition at line 200 of file RmpUsb.cpp.

void segway::RmpUsb::Impl::Handle ( const boost::system::error_code &  rErrorCodeIn,
size_t  sizeIn,
boost::system::error_code *  pErrorCodeOut,
std::size_t *  pSizeOut 
) [static, private]

Definition at line 212 of file RmpUsb.cpp.

size_t segway::RmpUsb::Impl::Read ( Bytes rData,
float  timeout,
boost::system::error_code &  rErrorCode 
)

Definition at line 182 of file RmpUsb.cpp.

size_t segway::RmpUsb::Impl::Write ( const Bytes rData,
float  timeout,
boost::system::error_code &  rErrorCode 
)

Definition at line 164 of file RmpUsb.cpp.


Member Data Documentation

boost::asio::io_service segway::RmpUsb::Impl::m_IoService [private]

Definition at line 68 of file RmpUsb.cpp.

boost::asio::serial_port segway::RmpUsb::Impl::m_SerialPort [private]

Definition at line 69 of file RmpUsb.cpp.

boost::asio::deadline_timer segway::RmpUsb::Impl::m_Timer [private]

Definition at line 70 of file RmpUsb.cpp.


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


rmp_base
Author(s):
autogenerated on Wed Aug 26 2015 16:24:40