#include <FUObject.h>
Inheritance diagram for FUObjectOwner:
Public Member Functions | |
virtual | ~FUObjectOwner () |
Destructor. | |
virtual void | OnOwnedObjectReleased (FUObject *object)=0 |
Notification from the object to its owner, when it is released. | |
Protected Member Functions | |
void | AttachObject (FUObject *object) |
Owns the given object. | |
void | DetachObject (FUObject *object) |
Detaches the given object. |
This interface allows containment classes to be notified when a contained object is released.
|
Owns the given object.
|
|
Detaches the given object. Use this function right before releasing the object to avoid calling the notification function (OnOwnedObjectReleased).
|
|
Notification from the object to its owner, when it is released.
Implemented in FUObjectRef< ObjectClass >, FUObjectContainer< ObjectClass >, FUObjectRef< FCDExternalReferenceManager >, FUObjectRef< FCDAnimated >, FUObjectRef< FCDPhysicsAnalyticalGeometry >, FUObjectRef< FCDEntityReference >, FUObjectContainer< FUPlugin >, FUObjectContainer< FCDAnimated >, and FUObjectContainer< FCDPlaceHolder >. |