Public Member Functions | Public Attributes | List of all members
rp::standalone::rplidar::TCPChannelDevice Class Reference

#include <rplidar_driver_TCP.h>

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

Public Member Functions

bool bind (const char *ipStr, uint32_t port)
 
void close ()
 
int recvdata (unsigned char *data, size_t size)
 
int senddata (const _u8 *data, size_t size)
 
 TCPChannelDevice ()
 
bool waitfordata (size_t data_count, _u32 timeout=-1, size_t *returned_size=NULL)
 
- Public Member Functions inherited from rp::standalone::rplidar::ChannelDevice
virtual void clearDTR ()
 
virtual void flush ()
 
virtual bool open ()
 
virtual void ReleaseRxTx ()
 
virtual void setDTR ()
 

Public Attributes

rp::net::StreamSocket_binded_socket
 

Detailed Description

Definition at line 39 of file rplidar_driver_TCP.h.

Constructor & Destructor Documentation

rp::standalone::rplidar::TCPChannelDevice::TCPChannelDevice ( )
inline

Definition at line 43 of file rplidar_driver_TCP.h.

Member Function Documentation

bool rp::standalone::rplidar::TCPChannelDevice::bind ( const char *  ipStr,
uint32_t  port 
)
inlinevirtual

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

Definition at line 45 of file rplidar_driver_TCP.h.

void rp::standalone::rplidar::TCPChannelDevice::close ( )
inlinevirtual

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

Definition at line 50 of file rplidar_driver_TCP.h.

int rp::standalone::rplidar::TCPChannelDevice::recvdata ( unsigned char *  data,
size_t  size 
)
inlinevirtual

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

Definition at line 65 of file rplidar_driver_TCP.h.

int rp::standalone::rplidar::TCPChannelDevice::senddata ( const _u8 data,
size_t  size 
)
inlinevirtual

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

Definition at line 61 of file rplidar_driver_TCP.h.

bool rp::standalone::rplidar::TCPChannelDevice::waitfordata ( size_t  data_count,
_u32  timeout = -1,
size_t *  returned_size = NULL 
)
inlinevirtual

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

Definition at line 55 of file rplidar_driver_TCP.h.

Member Data Documentation

rp::net::StreamSocket* rp::standalone::rplidar::TCPChannelDevice::_binded_socket

Definition at line 42 of file rplidar_driver_TCP.h.


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


rplidar_ros
Author(s):
autogenerated on Wed Jan 1 2020 04:01:40