Go to the source code of this file.
|
class | ak::aObject |
| This class is used to store the main information of any object used Information contained is the UID and the reference counter. More...
|
|
◆ A_OBJECT_DESTROYING
◆ A_OBJECT_DESTROYING_WITHOWNER
#define A_OBJECT_DESTROYING_WITHOWNER if (m_owner != nullptr) { ak::aObject * obj = m_owner->parentObject(); if (obj != nullptr) { obj->removeChildObject(m_owner); } } |
Use to notify the parent object that this object is currently destroying.
◆ A_OBJECT_DESTROYING_WITHPARENT
#define A_OBJECT_DESTROYING_WITHPARENT if (m_parentObject != nullptr) { m_parentObject->removeChildObject(this); m_parentObject = nullptr; } |