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 |
Definition at line 57 of file RmpUsb.cpp.
segway::RmpUsb::Impl::Impl | ( | const std::string & | rDevicePort | ) |
Definition at line 137 of file RmpUsb.cpp.
void segway::RmpUsb::Impl::CheckDeadline | ( | ) | [private] |
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.
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.