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.
AppFlow/FlowApp/WorkBenchHandler.h

72 lines
1.8 KiB
C++

/**
*
* @file WorkBenchHandler.h
* @brief 工作台处理类
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*
*/
#ifndef _FLOWAPP_WORKBENCH_HANDLER_H___
#define _FLOWAPP_WORKBENCH_HANDLER_H___
#include <QString>
#include "FITK_Kernel/FITKAppFramework/FITKWorkBenchHandler.h"
/**
* @brief 工作台命令行处理器
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
class FlowAppWorkBenchHandler : public AppFrame::FITKWorkBenchHandler
{
public:
/**
* @brief Construct a new Flow App Work Bench Handler object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
explicit FlowAppWorkBenchHandler() = default;
/**
* @brief Destroy the Flow App Work Bench Handler object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
virtual ~FlowAppWorkBenchHandler() = default;
/**
* @brief 处理命令行
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
virtual void execHandler() override;
/**
* @brief 程序结束写出文件
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-27
*/
virtual void execOutput() override;
private:
/**
* @brief 导入几何文件
* @param[i] fileName 文件名称
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void importGeoFile(const QString & fileName);
/**
* @brief 打开工程文件
* @param[i] fileName 文件名称
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void openProjectFile(const QString & fileName);
/**
* @brief 保存工程文件
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void saveProjectFile();
};
#endif