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.
|
|
|
#include "CFDStructDataManager.h"
|
|
|
|
|
|
|
|
#include "CFDStructDataSolverTimeModeManager.h"
|
|
|
|
#include "CUIProperty/CUIConfig.h"
|
|
|
|
|
|
|
|
CFDStructDataManager* CFDStructDataManager::m_instance = NULL;
|
|
|
|
CFDStructDataManager::CFDStructDataManager()
|
|
|
|
{
|
|
|
|
this->initDataManagers();
|
|
|
|
}
|
|
|
|
|
|
|
|
CFDStructDataManager *CFDStructDataManager::getInstance()
|
|
|
|
{
|
|
|
|
if (m_instance == nullptr) {
|
|
|
|
m_instance = new CFDStructDataManager;
|
|
|
|
}
|
|
|
|
return m_instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
CUIConfig* CFDStructDataManager::getActionParamUIConfig(int i)
|
|
|
|
{
|
|
|
|
return m_solverTimeModeManager->getParamUIConfig();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CFDStructDataManager::initDataManagers()
|
|
|
|
{
|
|
|
|
m_solverTimeModeManager = new CFDStructDataSolverTimeModeManager;
|
|
|
|
}
|