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/ComponentFactory.h

41 lines
1.1 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* @file ComponentFactory.h
* @brief 组件工厂
* @author YanZhiHui(chanyuantiandao@126.com)
* @date 2024-04-19
*/
#ifndef __COMPONENTFACTORY__
#define __COMPONENTFACTORY__
#include "FITK_Kernel/FITKAppFramework/FITKComponentFactory.h"
/**
* @brief 组件工厂类
* @author YanZhiHui (chanyuantiandao@126.com)
* @date 2024-04-19
*/
class ComponentFactory : public AppFrame::FITKComponentFactory
{
public:
/**
* @brief 构造函数(默认实现)
* @author YanZhiHui (chanyuantiandao@126.com)
* @date 2024-04-19
*/
ComponentFactory() = default;
/**
* @brief 析构函数(默认实现)
* @author YanZhiHui (chanyuantiandao@126.com)
* @date 2024-04-19
*/
~ComponentFactory() = default;
/**
* @brief 虚函数重写创建自己的component
* @return QList<AppFrame::FITKComponentInterface*>
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-04
*/
QList<AppFrame::FITKComponentInterface *> createComponents() override;
};
#endif // !__COMPONENTFACTORY__