Public Member Functions | List of all members
livox_ros::Protocol Class Referenceabstract

#include <protocol.h>

Inheritance diagram for livox_ros::Protocol:
Inheritance graph
[legend]

Public Member Functions

virtual int32_t CheckPacket (const uint8_t *buf)=0
 
virtual int32_t CheckPreamble (const uint8_t *buf)=0
 
virtual uint32_t FindPacketLen (const uint8_t *buf, uint32_t buf_length)=0
 
virtual uint32_t GetPacketLen (const uint8_t *buf)=0
 
virtual uint32_t GetPacketWrapperLen ()=0
 
virtual uint32_t GetPreambleLen ()=0
 
virtual int32_t Pack (uint8_t *o_buf, uint32_t o_buf_size, uint32_t *o_len, const CommPacket &i_packet)=0
 
virtual int32_t ParsePacket (const uint8_t *i_buf, uint32_t i_len, CommPacket *o_packet)=0
 
virtual ~Protocol ()=default
 

Detailed Description

Definition at line 82 of file protocol.h.

Constructor & Destructor Documentation

virtual livox_ros::Protocol::~Protocol ( )
virtualdefault

Member Function Documentation

virtual int32_t livox_ros::Protocol::CheckPacket ( const uint8_t buf)
pure virtual
virtual int32_t livox_ros::Protocol::CheckPreamble ( const uint8_t buf)
pure virtual
virtual uint32_t livox_ros::Protocol::FindPacketLen ( const uint8_t buf,
uint32_t  buf_length 
)
pure virtual

Implemented in livox_ros::GpsProtocol.

virtual uint32_t livox_ros::Protocol::GetPacketLen ( const uint8_t buf)
pure virtual
virtual uint32_t livox_ros::Protocol::GetPacketWrapperLen ( )
pure virtual
virtual uint32_t livox_ros::Protocol::GetPreambleLen ( )
pure virtual
virtual int32_t livox_ros::Protocol::Pack ( uint8_t o_buf,
uint32_t  o_buf_size,
uint32_t o_len,
const CommPacket i_packet 
)
pure virtual
virtual int32_t livox_ros::Protocol::ParsePacket ( const uint8_t i_buf,
uint32_t  i_len,
CommPacket o_packet 
)
pure virtual

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


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46