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.
|
|
|
|
/**
|
|
|
|
|
* @file ComponentFactory.h
|
|
|
|
|
* @brief 组件工厂
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-04
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __COMPONENTFACTORY__
|
|
|
|
|
#define __COMPONENTFACTORY__
|
|
|
|
|
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKComponentFactory.h"
|
|
|
|
|
/**
|
|
|
|
|
* @brief 组件工厂类
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-04
|
|
|
|
|
*/
|
|
|
|
|
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__
|