#pragma once #include "../../common/comm.h" class CMessageQueue; class CAutoSensor { public: CAutoSensor(CMessageQueue * q); bool Start(); void Stop(); void Notify(int8_t * buffer,int32_t size); void SetSensorSocket(SensorSocket* can); private: CMessageQueue * _message; SensorSocket* _socket; };