12345678910111213141516171819202122232425 |
- #pragma once
- #include "../common/comm.h"
- #include "../common/notifier.h"
- #include "../common/sensor_socket.h"
- #include <thread>
- #include <mutex>
- #include "EgoClient.h"
- class CEgoWindow;
- class CMessageQueue;
- class CUdpSensor//:public ICanNotify
- {
- public:
- CUdpSensor(CMessageQueue* window);
- void Start();
- void Stop();
- void Notify(int8_t* buffer, int32_t size);
- void SetSensorSocket(SensorSocket<CUdpSensor>* can);
- private:
- CEgoWindow* _window;
-
- SensorSocket<CUdpSensor>* _socket;
- };
|