auto_sensor.h 348 B

12345678910111213141516171819
  1. #pragma once
  2. #include "../../common/comm.h"
  3. class CMessageQueue;
  4. class CAutoSensor
  5. {
  6. public:
  7. CAutoSensor(CMessageQueue * q);
  8. bool Start();
  9. void Stop();
  10. void Notify(int8_t * buffer,int32_t size);
  11. void SetSensorSocket(SensorSocket<CAutoSensor>* can);
  12. private:
  13. CMessageQueue * _message;
  14. SensorSocket<CAutoSensor>* _socket;
  15. };