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/FITK_Component/FITKOFDriver/FITKOFCreatePatchDriver.h

68 lines
1.9 KiB
C

/**********************************************************************
* @file FITKOFCreatePatchDriver.h
* @brief createPatch
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*********************************************************************/
#ifndef FITKOFCREATEPATCHDRIVER_H
#define FITKOFCREATEPATCHDRIVER_H
#include "FITK_Kernel/FITKAppFramework/FITKAbstractProgramDriver.h"
#include "FITK_Kernel/FITKAppFramework/FITKProgramDriverFactory.h"
#include "FITKOpenFoamMeshingDriverBase.h"
namespace AppFrame
{
class FITKProgramInputInfo;
}
namespace FoamDriver
{
/**
* @brief createPatch
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*/
class FITKOFCreatePatchDriver : public FITKOpenFoamMeshingDriverBase
{
Q_OBJECT
public:
explicit FITKOFCreatePatchDriver() = default;
virtual ~FITKOFCreatePatchDriver() = default;
/**
* @brief createPatch
* @return 1
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*/
int getProgramType() override;
/**
* @brief
* @return "createPatch"
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*/
QString getProgramName() override;
/**
* @brief createPatch
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*/
void start() override;
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-28
*/
void stop() override;
};
Register2FITKProgramDriverFactory(1, FITKOFCreatePatchDriver, FITKOFCreatePatchDriver)
}
#endif // FITKOFCREATEPATCHDRIVER_H