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.
64 lines
1.5 KiB
C++
64 lines
1.5 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 CFDPostWorkBenchHandler : public AppFrame::FITKWorkBenchHandler
|
|
{
|
|
public:
|
|
/**
|
|
* @brief Construct a new Flow App Work Bench Handler object
|
|
* @author libaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-08-26
|
|
*/
|
|
explicit CFDPostWorkBenchHandler() = default;
|
|
/**
|
|
* @brief Destroy the Flow App Work Bench Handler object
|
|
* @author libaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-08-26
|
|
*/
|
|
virtual ~CFDPostWorkBenchHandler() = 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 导入单个文件
|
|
* @author libaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
void importFile(AppFrame::IOFileInfo finfo);
|
|
/**
|
|
* @brief 导入文件夹
|
|
* @author libaojun (libaojunqd@foxmail.com)
|
|
* @date 2024-08-27
|
|
*/
|
|
void importFolder(AppFrame::IOFileInfo finfo);
|
|
|
|
};
|
|
|
|
#endif
|