nt9856x/code/application/sifarsdk/test/test_utils/IHalMock.h

38 lines
1.4 KiB
C++

#ifndef I_HAL_MOCK_H
#define I_HAL_MOCK_H
#include "HalX86.h"
#include "Hal333DEMakePtr.h"
#include "CameraHal.h"
#include <map>
#include <thread>
class IHalMock : public HalX86, public std::enable_shared_from_this<IHalMock>
{
public:
IHalMock();
virtual ~IHalMock() = default;
// RETURN_CODE Init(void) override;
// RETURN_CODE UnInit(void) override;
// RETURN_CODE GetKeyContrlHandle(const SfKeyDefine &key, std::shared_ptr<VKeyContrl> &keyContrl) override;
// RETURN_CODE GetLedContrlHandle(const SfLedIndex &led, std::shared_ptr<VLedContrl> &ledContrl) override;
// RETURN_CODE GetCameraHal(const CameraType &type, std::shared_ptr<VCameraHal> &camera) override;
// const RtcDevice &GetRtcDevice(void) override;
// RETURN_CODE GetLightWeightCPU(std::shared_ptr<VLightWeightCPU> &lcpu) override;
// virtual void CheckAllPins(void);
// bool IsHalRuning(void);
// void LoadDrivers(void);
private:
// void InitAllLeds(void);
// void UnInitAllLeds(void);
// void InitAllKeys(void);
// void UnInitAllKeys(void);
// void InitCameras(void);
private:
// std::map<SfKeyDefine, std::shared_ptr<VKeyContrl>> mKeys;
// std::map<SfLedIndex, std::shared_ptr<VLedContrl>> mLeds;
// bool mHalRuning;
// std::shared_ptr<CameraHal> mMainCamera;
// std::thread mGpioHandle;
};
#endif // !I_HAL_MOCK_H