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.

141 lines
4.3 KiB
C

/**********************************************************************
* @file FITKParamDoubleList.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef _FITKParamDoubleList_H
#define _FITKParamDoubleList_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParam.h"
namespace Core
{
class FITKParamDouble;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKParamDoubleList : public FITKAbstractEasyParam
{
Q_OBJECT;
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamDoubleList();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKParamDoubleList();
/**
* @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
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
int getCount();
/**
* @brief
* @param[i] index
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setValue(int index, double value);
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setValue(QList<double> value);
/**
* @brief
* @param[i] values
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setDoubleDatas(QList<FITKParamDouble*> values);
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void pushDoubleData(FITKParamDouble* value);
/**
* @brief
* @param[i] index
* @return double
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
double getValue(int index);
/**
* @brief
* @param[i] index
* @return FITKParamDouble*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamDouble* getDoubleData(int index);
/**
* @brief
* @return QList<FITKParamDouble*>
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
QList<FITKParamDouble*> getDoubleDatas();
/**
* @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
* @return void
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void clear();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
QList<FITKParamDouble*> _value;
};
}
#endif