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/FITKEasyParam/FITKParamDouble.h

95 lines
2.7 KiB
C

/**********************************************************************
* @file FITKParamDouble.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef FITKParamDouble_H
#define FITKParamDouble_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParam.h"
namespace Core
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKParamDouble : public FITKAbstractEasyParam
{
Q_OBJECT;
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamDouble();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKParamDouble();
/**
* @brief
* @return FITKAbstractEasyParam::FITKEasyParamType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual FITKAbstractEasyParam::FITKEasyParamType getParamType() override;
/**
* @brief
* @param[i] data
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual void copyParaData(FITKAbstractEasyParam* data) override;
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setValue(double value);
/**
* @brief
* @return double
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
double getValue();
/**
* @brief
* @param[i] range
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setRange(double* range);
/**
* @brief
* @param[i] range
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void getRange(double* range);
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
double _value = 0.0;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
double _range[2] = { -99999999,99999999 };
};
}
#endif