You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
393 B
C++

#pragma once
#include <memory>
class CHardwareCfgFactory
{
public:
CHardwareCfgFactory(const std::string& strFtyType = "json");
virtual ~CHardwareCfgFactory();
void Create();
CHardwareConfiguration& Get();
private:
std::string getEnv(const std::string& strName);
std::string m_strFtyType{ "json" };
std::unique_ptr<CHardwareConfiguration> m_pHardwareCfg;
};