Public Member Functions | Public Attributes
rp::standalone::rplidar::SerialChannelDevice Class Reference

#include <rplidar_driver_serial.h>

Inheritance diagram for rp::standalone::rplidar::SerialChannelDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool bind (const char *portname, uint32_t baudrate)
void clearDTR ()
void close ()
void flush ()
bool open ()
int recvdata (unsigned char *data, size_t size)
void ReleaseRxTx ()
int senddata (const _u8 *data, size_t size)
 SerialChannelDevice ()
void setDTR ()
bool waitfordata (size_t data_count, _u32 timeout=-1, size_t *returned_size=NULL)

Public Attributes

bool _closePending
rp::hal::serial_rxtx_rxtxSerial

Detailed Description

Definition at line 39 of file rplidar_driver_serial.h.


Constructor & Destructor Documentation

Definition at line 45 of file rplidar_driver_serial.h.


Member Function Documentation

bool rp::standalone::rplidar::SerialChannelDevice::bind ( const char *  portname,
uint32_t  baudrate 
) [inline, virtual]

Implements rp::standalone::rplidar::ChannelDevice.

Definition at line 47 of file rplidar_driver_serial.h.

Reimplemented from rp::standalone::rplidar::ChannelDevice.

Definition at line 85 of file rplidar_driver_serial.h.

Implements rp::standalone::rplidar::ChannelDevice.

Definition at line 56 of file rplidar_driver_serial.h.

Reimplemented from rp::standalone::rplidar::ChannelDevice.

Definition at line 62 of file rplidar_driver_serial.h.

Reimplemented from rp::standalone::rplidar::ChannelDevice.

Definition at line 52 of file rplidar_driver_serial.h.

int rp::standalone::rplidar::SerialChannelDevice::recvdata ( unsigned char *  data,
size_t  size 
) [inline, virtual]

Implements rp::standalone::rplidar::ChannelDevice.

Definition at line 75 of file rplidar_driver_serial.h.

Reimplemented from rp::standalone::rplidar::ChannelDevice.

Definition at line 89 of file rplidar_driver_serial.h.

int rp::standalone::rplidar::SerialChannelDevice::senddata ( const _u8 data,
size_t  size 
) [inline, virtual]

Implements rp::standalone::rplidar::ChannelDevice.

Definition at line 71 of file rplidar_driver_serial.h.

Reimplemented from rp::standalone::rplidar::ChannelDevice.

Definition at line 81 of file rplidar_driver_serial.h.

bool rp::standalone::rplidar::SerialChannelDevice::waitfordata ( size_t  data_count,
_u32  timeout = -1,
size_t *  returned_size = NULL 
) [inline, virtual]

Implements rp::standalone::rplidar::ChannelDevice.

Definition at line 66 of file rplidar_driver_serial.h.


Member Data Documentation

Definition at line 43 of file rplidar_driver_serial.h.

Definition at line 42 of file rplidar_driver_serial.h.


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


rplidar_ros
Author(s):
autogenerated on Mon Mar 18 2019 02:34:23