#include <rplidar_driver.h>
Public Member Functions | |
virtual bool | bind (const char *, uint32_t)=0 |
virtual void | clearDTR () |
virtual void | close ()=0 |
virtual void | flush () |
virtual bool | open () |
virtual int | recvdata (unsigned char *data, size_t size)=0 |
virtual void | ReleaseRxTx () |
virtual int | senddata (const _u8 *data, size_t size)=0 |
virtual void | setDTR () |
virtual bool | waitfordata (size_t data_count, _u32 timeout=-1, size_t *returned_size=NULL)=0 |
Definition at line 68 of file rplidar_driver.h.
virtual bool rp::standalone::rplidar::ChannelDevice::bind | ( | const char * | , |
uint32_t | |||
) | [pure virtual] |
Implemented in rp::standalone::rplidar::SerialChannelDevice, and rp::standalone::rplidar::TCPChannelDevice.
virtual void rp::standalone::rplidar::ChannelDevice::clearDTR | ( | ) | [inline, virtual] |
Reimplemented in rp::standalone::rplidar::SerialChannelDevice.
Definition at line 79 of file rplidar_driver.h.
virtual void rp::standalone::rplidar::ChannelDevice::close | ( | ) | [pure virtual] |
Implemented in rp::standalone::rplidar::SerialChannelDevice, and rp::standalone::rplidar::TCPChannelDevice.
virtual void rp::standalone::rplidar::ChannelDevice::flush | ( | ) | [inline, virtual] |
Reimplemented in rp::standalone::rplidar::SerialChannelDevice.
Definition at line 74 of file rplidar_driver.h.
virtual bool rp::standalone::rplidar::ChannelDevice::open | ( | ) | [inline, virtual] |
Reimplemented in rp::standalone::rplidar::SerialChannelDevice.
Definition at line 72 of file rplidar_driver.h.
virtual int rp::standalone::rplidar::ChannelDevice::recvdata | ( | unsigned char * | data, |
size_t | size | ||
) | [pure virtual] |
Implemented in rp::standalone::rplidar::SerialChannelDevice, and rp::standalone::rplidar::TCPChannelDevice.
virtual void rp::standalone::rplidar::ChannelDevice::ReleaseRxTx | ( | ) | [inline, virtual] |
Reimplemented in rp::standalone::rplidar::SerialChannelDevice.
Definition at line 80 of file rplidar_driver.h.
virtual int rp::standalone::rplidar::ChannelDevice::senddata | ( | const _u8 * | data, |
size_t | size | ||
) | [pure virtual] |
Implemented in rp::standalone::rplidar::SerialChannelDevice, and rp::standalone::rplidar::TCPChannelDevice.
virtual void rp::standalone::rplidar::ChannelDevice::setDTR | ( | ) | [inline, virtual] |
Reimplemented in rp::standalone::rplidar::SerialChannelDevice.
Definition at line 78 of file rplidar_driver.h.
virtual bool rp::standalone::rplidar::ChannelDevice::waitfordata | ( | size_t | data_count, |
_u32 | timeout = -1 , |
||
size_t * | returned_size = NULL |
||
) | [pure virtual] |
Implemented in rp::standalone::rplidar::SerialChannelDevice, and rp::standalone::rplidar::TCPChannelDevice.