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.

34 lines
731 B
C++


#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;
}