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_Kernel/FITKAppFramework/FITKLinuxShellDriver.h

68 lines
1.7 KiB
C

/**
*
* @file FITKLinuxShellDriver.h
* @brief
* @author libaojun (libaojunqd@Foxmail.com)
* @date 2024-06-09
*
*/
#ifndef __FITK_LINUXSHELL_DRIVER_H__
#define __FITK_LINUXSHELL_DRIVER_H__
#include "FITKAppFrameworkAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractDataObject.h"
#include "FITKAbstractProgramDriver.h"
namespace AppFrame
{
class FITKAbstractCommandRunner;
/**
* @brief driver
* @author libaojun (libaojunqd@Foxmail.com)
* @date 2024-06-09
*/
class FITKAppFrameworkAPI FITKLinuxShellDriver : public FITKAbstractProgramerDriver
{
Q_OBJECT
public:
/**
* @brief Construct a new FITKLinuxProgramerDriver object
* @author libaojun (libaojunqd@Foxmail.com)
* @date 2024-06-09
*/
explicit FITKLinuxShellDriver();
/**
* @brief Destroy the FITKLinuxProgramerDriver object
* @author libaojun (libaojunqd@Foxmail.com)
* @date 2024-06-09
*/
virtual ~FITKLinuxShellDriver();
private:
/**
* @brief
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-18
*/
void sendOutputMessage(const QString &str);
protected:
/**
* @brief ID
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-18
*/
qint64 _processId = -1;
/**
* @brief
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-23
*/
FITKAbstractCommandRunner* _commandRunner{};
};
}
#endif