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.
117 lines
3.1 KiB
C++
117 lines
3.1 KiB
C++
|
|
/*****************************************************************//**
|
|
*
|
|
* @file FITKAbaqusData.h
|
|
* @brief Abaqus 数据管理
|
|
* @author fulipeng (flipengqd@yeah.net)
|
|
* @date 2024-03-15
|
|
*
|
|
*********************************************************************/
|
|
|
|
#ifndef _ABAQUS_DATA_H__
|
|
#define _ABAQUS_DATA_H__
|
|
|
|
#include "FITKAbaqusDataAPI.h"
|
|
#include "FITK_Kernal/FITKCore/FITKAbstractDataObject.h"
|
|
|
|
namespace FoamDriver
|
|
{
|
|
class FITKDataCaseManager;
|
|
class FITKDataCase;
|
|
class FITKJobManager;
|
|
|
|
/**
|
|
* @brief Abaqus 数据管理
|
|
* @author fulipeng (flipengqd@yeah.net)
|
|
* @date 2024-03-06
|
|
*/
|
|
class FITKAbaqusDataAPI FITKAbaqusData : public Core::FITKAbstractDataObject
|
|
{
|
|
public:
|
|
explicit FITKAbaqusData();
|
|
virtual ~FITKAbaqusData() = default;
|
|
|
|
/**
|
|
* @brief 获取数据管理
|
|
* @return 数据管理
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-27
|
|
*/
|
|
static FITKAbaqusData* GetDataFromAppFrame();
|
|
|
|
/**
|
|
* @brief 获取算例数据对象
|
|
* @return 当前选择的算例数据对象
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-15
|
|
*/
|
|
FITKDataCase* getCurrentCase();
|
|
|
|
/**
|
|
* @brief 设置当前选择的算例数据对象
|
|
* @currentData 当前选择的算例数据对象
|
|
* @return 设置状态 true 成功 false 失败
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-15
|
|
*/
|
|
bool setCurrentCase(FITKDataCase* currentData);
|
|
|
|
/**
|
|
* @brief 获取算例数据ID
|
|
* @return 当前选择的算例数据对象ID
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-26
|
|
*/
|
|
int getCurrentCaseID();
|
|
|
|
/**
|
|
* @brief 设置当前选择的算例数据ID
|
|
* @currentDataID 当前选择的算例数据对象ID
|
|
* @return 设置状态 true 成功 false 失败
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-26
|
|
*/
|
|
bool setCurrentCaseID(int currentDataID);
|
|
|
|
|
|
/**
|
|
* @brief 获取算例数据管理器
|
|
* @return 算例数据管理器
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
* @date 2024-03-26
|
|
*/
|
|
FITKDataCaseManager* getDataCaseManager();
|
|
/**
|
|
* @brief 获取作业管理器
|
|
* @return FITKJobManager*
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-04-01
|
|
*/
|
|
FITKJobManager* getJobManager();
|
|
private:
|
|
/**
|
|
* @brief 当前选择的算例ID
|
|
* @author fulipeng (flipengqd@yeah.net)
|
|
* @date 2024-03-06
|
|
*/
|
|
int _currentCaseID{ -1 };
|
|
|
|
/**
|
|
* @brief 算例管理器
|
|
* @author fulipeng (flipengqd@yeah.net)
|
|
* @date 2024-03-06
|
|
*/
|
|
FITKDataCaseManager* _caseManager{};
|
|
/**
|
|
* @brief 作业管理器
|
|
* @author BaGuijun (baguijun@163.com)
|
|
* @date 2024-04-01
|
|
*/
|
|
FITKJobManager* _jobManager = nullptr;
|
|
};
|
|
}
|
|
|
|
|
|
|
|
#endif
|