This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#include "FITKAbstractObjectContainer.hpp"
#include "FITKAbstractObject.hpp"
/**
* ~FITKAbstractObjectPrivate()
* 析构函数,用于清理资源。
* 此函数不接受参数,也不返回任何值。
*/
Core::FITKAbstractObjectPrivate::~FITKAbstractObjectPrivate()
{
// 遍历容器中的所有对象,调用它们的ObjectDestoried函数,然后清空容器
for (FITKAbstractObjectContainerPrivate* c : _containers)
c->ObjectDestoried();
_containers.clear();
}
Core::FITKAbstractObject::~FITKAbstractObject()
bool Core::FITKAbstractObject::isEnable()
return _objEnable;
void Core::FITKAbstractObject::enable(bool en /*= true*/)
_objEnable = en;