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 ComamdLineHandler.h
|
|
|
|
|
* @brief 命令行处理器
|
|
|
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
|
|
|
* @date 2024-04-06
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __COMMANDLINEHANDLER_H__
|
|
|
|
|
#define __COMMANDLINEHANDLER_H__
|
|
|
|
|
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKCommandLineHandler.h"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 自定义命令行处理器
|
|
|
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
|
|
|
* @date 2024-04-06
|
|
|
|
|
*/
|
|
|
|
|
class CommandLineHandler : public AppFrame::FITKCommandLineHandler
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* @brief Construct a new Command Line Handler object
|
|
|
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
|
|
|
* @date 2024-04-06
|
|
|
|
|
*/
|
|
|
|
|
explicit CommandLineHandler() = default;
|
|
|
|
|
/**
|
|
|
|
|
* @brief Destroy the Command Line Handler object
|
|
|
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
|
|
|
* @date 2024-04-06
|
|
|
|
|
*/
|
|
|
|
|
virtual ~CommandLineHandler() = default;
|
|
|
|
|
/**
|
|
|
|
|
* @brief 执行命令行
|
|
|
|
|
* @author LiBaojun (libaojunqd@foxmail.com)
|
|
|
|
|
* @date 2024-04-06
|
|
|
|
|
*/
|
|
|
|
|
void exec() override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|