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.

70 lines
1.7 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 ActionEventOperator.h
* @brief action点击事件处理基
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*
*/
#ifndef __FITKACTIONOPERATOR_H___
#define __FITKACTIONOPERATOR_H___
#include "FITKAbstractOperator.h"
namespace Core
{
/**
* @brief Action点击事件处理器实现事件的处理逻辑抽象类
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*/
class FITKCoreAPI FITKActionOperator : public FITKAbstractOperator
{
public:
explicit FITKActionOperator() = default;
virtual ~FITKActionOperator() = 0;
/**
* @brief 点击事件处理方法
* @return true 执行成功
* @return false 执行失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*/
virtual bool actionTriggered();
/**
* @brief 界面逻辑生成UI交互
* @return true 执行成功
* @return false 执行失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*/
virtual bool execGUI();
/**
* @brief 业务处理逻辑在execGUI后执行
* @return true 执行成功
* @return false 执行失败
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*/
virtual bool execProfession();
protected:
/**
* @brief 参数预处理
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-25
*/
virtual void preArgs();
};
}
#endif