#include <protocol.h>
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 |
Definition at line 82 of file protocol.h.
|
virtualdefault |
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
|
pure virtual |
Implemented in livox_ros::GpsProtocol.
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
|
pure virtual |
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
|
pure virtual |
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
|
pure virtual |
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.
|
pure virtual |
Implemented in livox_ros::SdkProtocol, and livox_ros::GpsProtocol.