You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
891 B
30 lines
891 B
/*
|
|
* @Author: your name
|
|
* @Date: 2022-04-20 15:50:00
|
|
* @LastEditTime: 2025-09-11 18:42:03
|
|
* @LastEditors: xiewenji 527774126@qq.com
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @FilePath: /ZCXD_MonitorPlatform/src/CoreLogicModule/src/CamDeal.cpp
|
|
*/
|
|
#include "ConfigBase.h"
|
|
#include "ConfigInstance.h"
|
|
#include "ConfigManager.h"
|
|
|
|
std::shared_ptr<ConfigBase> ConfigBase::GetInstance()
|
|
{
|
|
std::shared_ptr<ConfigBase> pInstance = std::make_shared<ConfigInstance>();
|
|
return pInstance;
|
|
}
|
|
bool compareBylay(const RegionConfigST &a, const RegionConfigST &b)
|
|
{
|
|
return a.basicInfo.lay < b.basicInfo.lay;
|
|
}
|
|
ConfigManagerBase *ConfigManagerBase::m_pInstance = nullptr;
|
|
ConfigManagerBase *ConfigManagerBase::GetInstance()
|
|
{
|
|
if (!m_pInstance)
|
|
{
|
|
m_pInstance = new ConfigManager();
|
|
}
|
|
return m_pInstance;
|
|
} |