#include <RmpUsb.h>
Classes | |
class | Impl |
Public Member Functions | |
virtual bool | Receive (Bytes &rData, size_t size) |
RmpUsb (const std::string &rDevicePort) | |
virtual bool | Send (uint16_t commandId, uint32_t value1, uint32_t value2) |
virtual | ~RmpUsb () |
Private Attributes | |
std::unique_ptr< Impl > | m_pImpl |
segway::RmpUsb::RmpUsb | ( | const std::string & | rDevicePort | ) |
segway::RmpUsb::~RmpUsb | ( | ) | [virtual] |
Destructor
Definition at line 77 of file RmpUsb.cpp.
bool segway::RmpUsb::Receive | ( | Bytes & | rData, |
size_t | size | ||
) | [virtual] |
Receive response from rmp
rData | response |
size | expected size of data to receive [in byte] |
Implements segway::RmpTransport.
Definition at line 104 of file RmpUsb.cpp.
bool segway::RmpUsb::Send | ( | uint16_t | commandId, |
uint32_t | value1, | ||
uint32_t | value2 | ||
) | [virtual] |
Send command to rmp
commandId | command id |
value1 | first value |
value2 | second value |
Implements segway::RmpTransport.
Definition at line 80 of file RmpUsb.cpp.
std::unique_ptr<Impl> segway::RmpUsb::m_pImpl [private] |