12345678910111213141516171819202122232425262728 |
- #pragma once
- #include "../common/notifier.h"
- #include <iostream>
- #include <fstream>
- #include <ctime>
- #include <csignal>
- class CEgoClient;
- class CControlSensor;
- /*
- 获取车端反馈状态信息
- 车辆报警信息
- */
- class CCarSim
- {
- public:
- CCarSim(CEgoClient* car);
- void Start() ;
- void Stop();
- void OnPeerMessage(int16_t cmd, int16_t length, const void* data);
- int64_t testPing;
- private:
- CEgoClient* _car;
- CControlSensor* _control_sensor;
- std::string filename;
- };
|