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_Interface/FITKInterfaceModel/FITKElementFactory.h

53 lines
1.3 KiB
C

/**
*
* @file FITKElementFactory.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*
*/
#ifndef _FITKELEMENT_FACTORY_H__
#define _FITKELEMENT_FACTORY_H__
#include "FITKInterfaceModelAPI.h"
#include "FITKModelEnum.h"
namespace Interface
{
class FITKAbstractElement;
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*/
class FITKInerfaceModelAPI FITKElementFactory
{
public:
/**
* @brief
* @param[i] t
* @return FITKAbstractElement*
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*/
static FITKAbstractElement* createElement(FITKModelEnum::FITKEleType t);
private:
/**
* @brief Construct a new FITKElementFactory object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*/
FITKElementFactory() = default;
FITKElementFactory(const FITKElementFactory &) = delete;
/**
* @brief Destroy the FITKElementFactory object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*/
~FITKElementFactory() = default;
};
}
#endif