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_Interface/FITKInterfacePhysics/FITKAbstractMaterial.h

80 lines
2.2 KiB
C

/**
*
* @file FITKAbstractMaterial.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*
*/
#ifndef _FITKABSTRACTMATERIAL_H___
#define _FITKABSTRACTMATERIAL_H___
#include "FITK_Kernel/FITKCore/FITKAbstractNDataObject.h"
#include "FITKInterfacePhysicsAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractDataManager.hpp"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-29
*/
class FITKInterfacePhysicsAPI FITKAbstractMaterial : public Core::FITKAbstractNDataObject
{
public:
explicit FITKAbstractMaterial();
virtual ~FITKAbstractMaterial() = 0;
/**
* @brief id使id
* @return int
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-04-03
*/
int getMaterialID() const;
/**
* @brief
* @return QString
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-06-13
*/
QString getMaterialDescribe() const;
/**
* @brief
* @param[i] des
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-06-13
*/
void setMaterialDescribe( const QString& des);
private:
/**
* @brief id使
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-04-03
*/
int _materialID{ -1 };
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-06-13
*/
QString _describe{};
};
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-07
*/
class FITKInterfacePhysicsAPI FITKMaterialManager : public Core::FITKAbstractDataObject
, public Core::FITKAbstractDataManager<FITKAbstractMaterial>
{
public:
explicit FITKMaterialManager() = default;
virtual ~FITKMaterialManager() = default;
};
}
#endif // !_FITKABSTRACTMATERIAL_H___