#pragma once #include "../../common/comm.h" class CMessageQueue; class CLidarSensor { public: CLidarSensor(CMessageQueue* q); bool Start(); void Stop(); void Notify(int8_t * buffer,int32_t size); void SetSensorSocket(SensorSocket* can); void SetChannelReady(bool ret){_channelReady=ret;} private: //CMessageQueue *_q=nullptr; bool _channelReady=false; };