1、timemodeDataManager
parent
1cf3d9974d
commit
41e304a443
@ -0,0 +1,8 @@
|
|||||||
|
SOURCES += \
|
||||||
|
CFDStructDataManager.cpp \
|
||||||
|
CFDStructTimeModeDataManager.cpp \
|
||||||
|
|
||||||
|
HEADERS += \
|
||||||
|
CFDStructDataManager_global.h \
|
||||||
|
CFDStructDataManager.h \
|
||||||
|
CFDStructTimeModeDataManager.h
|
@ -0,0 +1,7 @@
|
|||||||
|
#include "CFDStructTimeModeDataManager.h"
|
||||||
|
|
||||||
|
CFDStructTimeModeDataManager &CFDStructTimeModeDataManager::GetInstance()
|
||||||
|
{
|
||||||
|
static CFDStructTimeModeDataManager res;
|
||||||
|
return res;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
#include "CFDStructDataManager_global.h"
|
||||||
|
|
||||||
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructTimeModeDataManager{
|
||||||
|
public:
|
||||||
|
static int timeMode;
|
||||||
|
static int iterationSteps;
|
||||||
|
|
||||||
|
static CFDStructTimeModeDataManager& GetInstance();
|
||||||
|
|
||||||
|
int& getTimeModeAddr();
|
||||||
|
int& getIterationoStepsAddr();
|
||||||
|
private:
|
||||||
|
CFDStructTimeModeDataManager();
|
||||||
|
~CFDStructTimeModeDataManager();
|
||||||
|
};
|
Loading…
Reference in New Issue